Difference between revisions of "Train"

From The Munich Maker Lab's Wiki
Jump to: navigation, search
(→‎Plans: - added ballrun idea)
(update)
 
Line 19: Line 19:
 
With 2 sensors next to each other 2bit 'signals' could be transmitted.
 
With 2 sensors next to each other 2bit 'signals' could be transmitted.
 
==Parts in the space==
 
==Parts in the space==
*track-coil with 1m height (on the vending machine)
+
* <del>track-coil with 1m height (on the vending machine)</del> has been dismantled since it was just collecting dust
*some wagons
+
* some wagons
 +
* a wifi enabled locomotive
 +
* a wifi "controller"
 +
* ~20m of flexible and static track
 +
 
 
==Parts at Paul's home==
 
==Parts at Paul's home==
 
*120m flexible and non flexible track
 
*120m flexible and non flexible track

Latest revision as of 03:46, 13 February 2020

Paul's grandfather wanted to get rid of his old model train, so it's in the space now :)

general info

  • 12V DC
  • analog
  • H0 track width
  • 1 locomotive

position detection

It would be cool if the train knew where it is, so it won't fall at the track end ;) The train in the space is already equipped with an esp8266 (wemos d1 mini)

RFID

The train at the space has a coil on the bottom connected to a rc522 rfid reader.

  • Reading tracks while driving worked pretty good at home, but didn't on the track in the space.
  • If it worked, it would be a cheap and easy way for mapping the train position.
  • One problem is probably the poor wiring on the train.
  • Also the NFC tags are currently placed under the track, which results in a kind of big distance between coil and tag. Tags that fit inside the track might be a solution.
  • Another solution would be putting the tags next to the train instead of under it.

Magnets

It would be easy and cheap to put magnets in the track and detect them with a hall-effect-sensor. With 2 sensors next to each other 2bit 'signals' could be transmitted.

Parts in the space

  • track-coil with 1m height (on the vending machine) has been dismantled since it was just collecting dust
  • some wagons
  • a wifi enabled locomotive
  • a wifi "controller"
  • ~20m of flexible and static track

Parts at Paul's home

  • 120m flexible and non flexible track
  • 25 railway switches
  • 1 locomotive

Plans

  • extend the track from the coil to the wall
  • connect 12V DC to the tracks
  • put magnets on the end of tracks
  • put hall-sensors on a locomotive, to sense track ends
  • put the track inside the Ballrun tube