Since the motor driver has successfully tested, I started to construct and test running circuit for PIC on breadboard before constructing it on single hole board. The PIC was programmed by using UIC00A Programmer and PICkit2 software. The steps are as below:
1. Erasing the device, erase file in the PIC before programming the new file.
2. Blank check. Checking the device to ensure it is completely blank.
3. Import the HEX file to be programmed into the PICkit2 workspace.
4. Writing the HEX file into the PIC.
5. Reading the device to ensure the program has been written completely into the PIC.
The running circuit did not work as expected. I have to check and troubleshoot the error. Troubleshooting might consume a lot of time. Since I already have SK40C development board, I will troubleshoot this circuit later before producing the PCB.
PIC16F877A running circuit |
For today, I decided to continue on testing the voltage regulator circuit. After a few attempts, the circuit works successfully. Testing results are as below:
Expected Result | Measurement | Deviation | |
Input | 9 V | 8.99 V | 0.01 V (0.11%) |
Output | 5 V | 4.95 V | 0.05 V (1%) |
Voltage regulator schematic |
Voltage regulator test circuit |
Input voltage measurement |
Output voltage measurement |
No comments:
Post a Comment