Jump to content
THIS IS THE TEST SITE OF EUROBRICKS!
THIS IS THE TEST SITE OF EUROBRICKS!

dexterlabora

Eurobricks New Members
  • Joined

  • Last visited

  1. I switch the tracks with a 5v hobby servo and a single technic stud, attached by a thin piece of wire. These servos are not very powerful and the LEGO track switches require a bit of torque. I tried several methods while trying to keep it as minimal as possible. The final idea is documented in a previous project article. I also go through the Arduino/Raspberry Pi logic as well. http://www.internetoflego.com/train-track-switch-servos-leds-pubnub-and-johnny-five-io/ @legoman666, I am a little nuts. But naturally just like building things, LEGO, electronics, computers; its all the same to me :)
  2. Hi Guys, I just completed a big project to control my Horizon Express train with a NodeMCU (ESP8266). I also use a Raspberry Pi running Node-RED for the dashboard and IoT logic. I agree that the ESP8266 is awesome for IoT and LEGO projects, but it was annoying to program and build the supporting circuit, etc. I did it, but I felt like it was a time suck. I then stumbled on the NodeMCU, which is the lazy mans approach.. and that's me ;) I bought the NodeMCU with motor shield on eBay for under $10. It works really well, but I think the motor shield was a little difficult to cram in the train. I was able to do it, but I would go for an external H-bridge motor driver, for flexibility. The complete write-up is on my Internet of LEGO blog: http://www.interneto...odemcu-esp8266/ Let me know what you think! I also am working on sensing the train location using reed switches. Since the train has magnetic couplers, the reed switch works perfectly for detecting the train.
Sponsored Links