The comments posted from my initial blog entry got me to thinking. Did I size this correctly?
The bridge spans the Mainland to Island. At either end of the bridge is a gate, an area to halt the bus and warning lights flashing when the bridge is closed. In addition to the lights, I've added a warning sound. At one end of the bridge is a ramp that enables the bridge to avoid the road bed as it rises. A trigger to raise the bridge will be the Tug and to lower the bridge the Turn-About. The bridge motor is using a L298 module and the bus halts, gates and ramp are servo motors. All toll I'm counting 14 pins required.
D2 | Bridge Up limit |
D3~ | Ramp Servo |
D4 | Bridge Down Limit |
D5~ | Island Gate Servo |
D6~ | Mainland Gate Servo |
D7 | Bridge L298 Motor IN2 |
D8 | Bridge L298 Motor IN1 |
D9~ | Bridge L298 Motor EN A |
D10~ | Island Bus Halt Servo |
D11~ | Mainland Bus Halt Servo |
D12 | Warning Sound JQ6500 |
D13 | Tug Sensor |
D14 | Turn-about Button |
D15/A0 | Island Warning Light |
D16/A1 | Mainland Warning Light |