Traffic control toy trains.

Status
Not open for further replies.

akerkarprashant

Junior Member level 3
Joined
Nov 24, 2020
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
203

Can traffic control toy trains be designed and constructed?.
The Trains receive red, amber and Green signals from the Traffic lights posts and accordingly the Train halts, move forward.
There are traffic lights posts in the Train journey. The traffic lights posts receives the Signals from Remote control device. The Train should take the action according to the signals received viz Red, Amber & Green.

Also is it possible to change train direction tracks using remote control device?

Thanks & Regards,

Prashant S Akerkar
 

Attachments

  • images (56).jpeg
    10.9 KB · Views: 149
  • download (58).jpeg
    10.1 KB · Views: 138
Last edited:

Anything can be controlled with a little ingenuity and careful planning. If the toy train is electrically powered through the tracks you already have the necessary power source, all you have to do is use it to control the motor speed and maybe direction and coordinate it with the lights. You can do it by signalling along the rails but it would be far easier to do it by WiFi or Bluetooth.

Brian.
 
Thanks for your inputs.

Also is it possible to change train direction tracks using remote control device?

The remote control has push buttons track1, track2,track3,track4,track1-track3,track2-track4,track3-track1,track4-track2,red,green,amber etc.

As a example,

There are four trains running in four tracks. Two up (Same direction) and Two down (Same direction) trains. Track 1 & Track 3 up running trains in the same direction. Track 2 and Track 4 down running trains in the same direction.

Now The remote control device is sending a signal to the Traffic signal post on Track 1 train to halt i.e. Red push button. Now sends another signal for the train on Track 1 to change the track from Track 1 to go to Track 3 by pressing track1-track3 push button.

Could this be a complex task for Traffic control Train Toy programming i.e. Train Changing Tracks?

Thanks & Regards,
Prashant S Akerkar
 

Attachments

  • download (59).jpeg
    12.7 KB · Views: 140
  • download (68).jpeg
    14.1 KB · Views: 145
Last edited:

Yes, this is basically a state machine which can be implemented in code along with sensors.

Here is an example of doing a state machine for traffic lights -

**broken link removed**

**broken link removed**


Regards, Dana.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…