Model railway update:
About half of the aspect signals I plan to use are now installed, wired up and partially programmed (it’s an iterative process as I learn how the signal control boards work).
Two of the three platform structures in the main station are all but finished. I have some pavement strips to apply to platform 1 and I need to paint and install the tops of the chimneys on the two buildings. Then I can start work on the structures for platform 4.
The buildings aren’t perfect but the things I’m not happy with are pretty small and probably not noticeable by most people 😬
電車ベクトル (Train Vector):
Software post is now online. 3rd & final post about the current version 2.
Job of the SW: Read 2 analogue inputs, averages signals, calibrates itself at startup, applies thresholds + hysteresis, remembers the last valid direction (using by a state machine) & switches the headlights accordingly.
The optional functions are not in use. I want to wait until feedback from the train club testing this project.
#電車ベクトル #TrainVector #ToGoLab #BrickTrains #ModelRailway #Arduino #Electronics #Projects
電車ベクトル (Train Vector project): Hardware description:
The main board reads the noisy motor signal of a brick-built model locomotive directly from the H-bridge controller, isolates and processes it & controls the headlights.
There are also a future option board & a detachable test circuit (4 LEDs).
Blog, describing the schematic & showing the PCB:
https://togo-lab.io/?p=233
Gitea (schematic, PCB):
https://gitea.togo-lab.io/tgohle/0004-DenshaBekutoru/src/branch/master/KiCad/0004-DenshaBekutoru_v0.2
#電車ベクトル #TrainVector #ToGoLab #BrickTrains #ModelRailway #Arduino #Electronics #Projects
Finished my 電車ベクトル (Train Vector) project:
A Arduino-based board will detect the driving direction of brick-built model locomotives directly from the noisy H-bridge motor controller & switches the headlights automatically.
Sounds simple, but due signal noise, switching artefacts & inductive (reverse) spikes direction sensing is quite hard.
Schematics, PCB, and firmware for beta (version2) finished & working.
Three PCBs were built & tested & the first 2 boards are now handed over for real-life testing in a model railway club.
Blog:
https://togo-lab.io/?p=223
Gitea (Schematic, PCB):
https://gitea.togo-lab.io/tgohle/0004-DenshaBekutoru
#電車ベクトル #TrainVector #ToGoLab #BrickTrains #ModelRailway #Arduino #Electronics #projects