I’m Kolton, I’m a sysadmin for a small engineering company in Southeast Missouri. Given the company’s small nature, I wear a lot of (small) hats, so I have experience in doing a lot of different things, all of which have come in handy for my project.
For #devember2020, I’m going to continue working on a project a friend of mine got me interested in: building a device to control 3 rain O gauge model railroad locomotives and controlling it from a phone or computer.
I’m months into the project at this point, but it still needs a lot of work. Some video of my previous prototypes:
- The first try of the very first proof of concept prototype, really only intended to see if I could properly rectify and regulate the track power and control the motors. I didn’t think it’d be a bad idea to run it at 100% throttle: https://www.youtube.com/watch?v=xhnMtPucQiI
- Soon after the first try, with PWM control so it doesn’t run at 100% throttle: https://www.youtube.com/watch?v=M-aq_Had3lA
- A later revision board with the proof-of-concept angular ui: https://www.youtube.com/watch?v=Fiope6IU2A4
- nnnyyyooooomm https://www.youtube.com/watch?v=YfYNqKfLueE
The bad news is that I basically had to start over a month or so ago, when I ran into a bug in a critical Arduino library and couldn’t find a workaround. I ended up switching to an ESP32 and have found that I like it so much that, even if that bug were to be fixed, I think I’d stick with it; there’s so many features! I even got .wav
sound to (mostly) work: https://youtu.be/LennGP4YGuo?t=12
My plans for the rest of the year, in no particular order:
- Test new functional blocks of the hardware design once the components arrive
- Setup accessory control via a slaved Arduino on either a SPI or I2C bus
- Control electrocouplers without browning out the microcontroller or releasing the magic smoke
- Try to figure out control of AC motors (DC works fine, currently)
- Make the existing frontend work with the new api, then try to make it less terrible
- Try to get an MQTT interface on the device working for multi locomotive control (Linode may or may not be useful for this)
- Get OTA updates working (Linode might be useful for this)
- Spin new boards after testing all the new functional blocks and all the hardware needed arrives