Title of Activity
- Combine the program for PIC and GSM
- Combine the circuit and the sensor
Objective
- To combine the circuit and the program together
- Burn the program into the PIC 16F877A
Content / Procedure
Burn the program into PIC 16F877A |
The circuit combination between the PIC and GSM |
- Combination of the PIC program and also the GSM program
- The input ( Mercury sensor )
- The output ( LCD display , buzzer , vibration , sms )
Problem statement
- When the both program are combined, there is a little bit problem that occur and this cause the program failed.
Solution
- This is because both program have their own command and still need to be adjust to match them together . ( between the input port )
Analysis
The PIC cannot declare the command that directly send to the controller to the same input / output. We have to make sure that the program are modified to ensure there is no command to the same input from a different source. Every single pins must be declare before it can function properly.
Conclusion
As a conclusion, before doing a program first we must know the pins for the input and output ports.
Using a datasheet to refer the ports can be so helpful in order to avoid the mistake while programming the program.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.