Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Programming pic16f88 to control a train

Status
Not open for further replies.

lynford

New Member
So i have to program this pic16f88 to operate a train and this train has to
1) commute between 3 stations
2)has to take no more than 10 secs to get to each station
3) when it gets to one station it has to stop for 3 secs and at the other station it has to stop for 5 secs
4)There are sensors at each station to detect the train
5)if the train has not arrived at a station within 10 secs a fault indicator(l.e.d)is activated which displays the particular section of track that the train is on.
6)it should include a master reset button
7)an emergency stop button
8)and a resume button.
Coul some one give me the source code for it.......please......
 
So i have to program this pic16f88 to operate a train and this train has to ....
Coul some one give me the source code for it.......please......
Wow... but it is Christmas !
This sounds a lot like it should be in the home work forum.
You did not say what language it was to be written in.
You did not give any details about the interface to move the train.
You did not give a due date.
 
Wow... but it is Christmas !
This sounds a lot like it should be in the home work forum.
You did not say what language it was to be written in.
You did not give any details about the interface to move the train.
You did not give a due date.

Well c code would do n it's due in a week........
 
Still no detail on how to interface the hardware such as:
- what do you turn on to make the train move?
- what kind of sensors do you use?

do you have any idea how to program a pic?
 
Still no detail on how to interface the hardware such as:
- what do you turn on to make the train move?
- what kind of sensors do you use?

do you have any idea how to program a pic?

i think it's a 12 volt power supply.............for the sensors it's a push button sensor, a reflection sensor, and a infrared break line sensor...........

n no not that good an idea on how to program it.....
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top