- The ability to power up to 16 K'NEX motors (12V), in both directions. Fourteen of these will have speed-control, too. The other two are just on/off in both directions.
- Up to 20 reed switches, although I keep the option to expand on this, if needed. These are ordinary on/off switches that make contact when a magnet is present within their range.
- 5 servo motors, with high torque. They can be used for special things like tilt coasters, but will mainly be used for turning the brakes on/off.
First, I will show you the circuit I have for the K'NEX motors.
You see a couple of pin headers, the arrays with 6 holes each. The one on the most-left will get power from the PSU (computer power supply) in the form of 2 lines for 12V, 2 lines for 5V and 2 lines for ground. The jumper wires across the board distribute these lines over the 8 chips you see. These chips are L293D's, which are ideal for low-power motors like the K'NEX ones. Every L293D can power two motors, so the total comes up to 16 motors. Every pin header is dedicated to one motor and will hold input (from the Arduino) and output (the cable to the motor) of one motor.
This is the backside of the board, containing all the soldering that was necessary for distributing the power lines.
Now on to the next part, the reed switches.
Reed switches usually come in a glass housing, but these are fragile and since this system will be universal, components cannot be fragile. So I chose for reed switches in a plastic housing. After some testing I came up with a 'module' that can easily be installed in the track.
The 'module' consists of 4 K'NEX pieces, with the reed switches taped to the orange connector. It is a bit off-centered and doesn't interfere with chains. This means I can also put it anywhere on the lift, if I want (and I will want that for initialization purposes).
It is important that a magnet comes within about an half inch range, to sense a train's presence. Above picture shows that I will put one small cube magnet on every car, plus on the front car's nose. The magnet on the nose is held there by another magnet inside the nose. The other magnets stick to the screws in the SS cars. How simple do you want it?
Here is a
The last functional part for now is the use of servo motors. I don't have footage of this, but I have tested all 5. They will have to be adjusted for every coaster they will be integrated in, so I don't expect much visual footage of these. The electrical circuit for them is nothing special, just a 5V line, a ground line and a signal directly from the Arduino.
This is it for now. For now I will work out separate modules for the different functionalities, but everything will be integrated in the Arduino and the board that currently features the K'NEX motor circuit. Then everything will be integrated in a control box with all in- and outputs ports on the back. I can already tell you it won't feature different buttons for gate opening/closing, dispatching, etc. This is not what I am interested in. I will, however, have a button for on/off of the whole system and a button for initialization of the system.
Thanks for reading and stay tuned!
Edited by Jogumpie, 04 September 2013 - 02:27 PM.