Friday, August 10, 2012

Thirty Three-Rd Day

The next task is to program the PIC that he gave us not the board that we already solder but the other. This board use the same function as before but the output will be differ than the old one. We use the same coding but, we must to change the command for output. The output that represent LED is C4 and C5. So, for coding I will change the output. For example, before this we use:
if (mydata== 'A');
{output_high(pin_C3)}
if (mydata== 'B');
{output_low(pin_C3)}
:.: This command for light up and light down the LED. Pin C3 represent the LED.

So, we use the same command but change the pin. The second LED, we also add the same command but the difference pin. The second pin represent by C5.
PIC board with LED1, LED2
Backside

PIC board with buzzer
Command with buzzer we use the same command as before but the pin we change too. Pin for this board is C2.
PIC board with LCD
Command for this board is same but pin is C1.
PIC board with power LED though hole
This board use the diffirence LED. For the three above, it use SMD and this board use through hole.

The difference of all this board and the board that we already program are the pin and this board doesn't have the relay. The serial communication done for today.

The next task, we waiting for Mr.Mazran ask us to do it. See you tomorrow.

No comments:

Post a Comment