Nov 30, 2012 #1 A amon mazhara Newbie level 4 Joined Sep 22, 2010 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,316 Can someone help me to design an automatic railway gate control using a microcontroller like pic16f877
Can someone help me to design an automatic railway gate control using a microcontroller like pic16f877
Nov 30, 2012 #2 I internetuser2k12 Banned Joined Jul 25, 2012 Messages 1,192 Helped 171 Reputation 342 Reaction score 162 Trophy points 1,343 Activity points 0 What functions do you want in the program. How do you sense that train is coming or train has gone to close or open the gate?
What functions do you want in the program. How do you sense that train is coming or train has gone to close or open the gate?
Dec 4, 2012 #3 A amon mazhara Newbie level 4 Joined Sep 22, 2010 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,316 The circuit should just sense the train at a certain distance and give a signal and close the boom gate and then opens it when the train had left
The circuit should just sense the train at a certain distance and give a signal and close the boom gate and then opens it when the train had left
Dec 4, 2012 #4 I internetuser2k12 Banned Joined Jul 25, 2012 Messages 1,192 Helped 171 Reputation 342 Reaction score 162 Trophy points 1,343 Activity points 0 Is your boom gate controlled by a motor? How do you sense the train coming or going?
Dec 4, 2012 #5 A amon mazhara Newbie level 4 Joined Sep 22, 2010 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,316 Yes the boom is to be controlled by a motor and the train can be sensed by transmitter and receiver circuits or any other means necessary
Yes the boom is to be controlled by a motor and the train can be sensed by transmitter and receiver circuits or any other means necessary
Dec 4, 2012 #6 I internetuser2k12 Banned Joined Jul 25, 2012 Messages 1,192 Helped 171 Reputation 342 Reaction score 162 Trophy points 1,343 Activity points 0 If you provide the circuit then I can try to write the code.
Dec 4, 2012 #7 A amon mazhara Newbie level 4 Joined Sep 22, 2010 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,316 Here is the project and i need to use the pic16f877 https://www.scribd.com/doc/52309783/AUTOMATIC-RAILWAY-GATE-CONTROL
Here is the project and i need to use the pic16f877 https://www.scribd.com/doc/52309783/AUTOMATIC-RAILWAY-GATE-CONTROL
Dec 4, 2012 #8 I internetuser2k12 Banned Joined Jul 25, 2012 Messages 1,192 Helped 171 Reputation 342 Reaction score 162 Trophy points 1,343 Activity points 0 The code for 8051 is given in the document. Can you translate it for PIC? Can I use external interrupt to sense the IR signal? How many IR sensor pairs are there? I think IR output can be given to INT0 interrupt. If a burst of IR is detected on INT0 pin then according to it action can be taken. Can you use the circuit mentioned here? http://www.8051projects.net/t40251/electronics/ir-led-tsop-1738.htm Last edited: Dec 4, 2012
The code for 8051 is given in the document. Can you translate it for PIC? Can I use external interrupt to sense the IR signal? How many IR sensor pairs are there? I think IR output can be given to INT0 interrupt. If a burst of IR is detected on INT0 pin then according to it action can be taken. Can you use the circuit mentioned here? http://www.8051projects.net/t40251/electronics/ir-led-tsop-1738.htm