Sunday, 13 October 2013

Week 5 – Testing MPLab coding !!

Objective for this week :

  • To test the MPLab coding with the main circuit

Description:


  • In this week, I test the measurement of the voltmeter and ampere meter  on the battery charger circuit. In theoretical, if we supply the battery charger circuit with 20V power supply, the main circuit must read the value of 20V, then display on LCD as 20V.
  • The first attempts are fails. When I supplied the battery charger with 20V power supply, the main circuit did not read the value as 20V, but 19V and 15.51A!! (as shown in FIGURE 1). The maximum current I set on power supply is 1A but the main circuit read as 15.51A.

FIGURE 1 : Result from the test 1

FIGURE 2 : Result from the test 2

FIGURE 3 : Power supply

Solution

  • For the solution, I need to do some coding adjustment so the main circuit can read a value and display the exact same value on the LCD.

No comments:

Post a Comment