Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Automatic Railway Gate Control

Status
Not open for further replies.

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
 

Joined
Jul 25, 2012
Messages
1,192
Helped
170
Reputation
340
Reaction score
161
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?
 

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
 

Joined
Jul 25, 2012
Messages
1,192
Helped
170
Reputation
340
Reaction score
161
Trophy points
1,343
Activity points
0
Is your boom gate controlled by a motor? How do you sense the train coming or going?
 

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
 

Joined
Jul 25, 2012
Messages
1,192
Helped
170
Reputation
340
Reaction score
161
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:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top