When writing a program, I find it very helpful to list out all the features i want and how i want them to interact with the project.
Hacked E-Zpass input when E-Zpass is Polled
Switch - to drive Case shutter up and down
Microswitch x2 - indication of open and close position of shutter
- Detect a poll of E-Zpass, then indication on Neopixel ring via a red LED making a few circles, larson scanner like
- On/Off Indication - if shutter is up(microswitch) Green LED on top of Neopixel ring, if shutter is down, and EZPass blocked, red led on bottom of ring.
-Switch, when up, shutter is up(driven by a servo going from 0-90 degrees) when down, shutter is down.
-after a time(10 seconds) if shutter actual position(microswitchws) does not match switch position, or if neither microswitch is engage, indicate failure by two slow flasshing yellow LEDs on either side of Neopixel LED ring.
Future Features to be added:
- Passthru charger and Lion battery in case cable gets jiggled.
- GPS and SD card to hold position of tolls and open shutter automatically within 1/4 mile radius of known toll locations. a button will be needed to add new toll stations to GPS log.
-Software Defined Radio(SDF) to detect E-Zpass Polling so i can sense polling without being polled and without hacking/damaging E-Zpass in future.
-Small OLED screen for text indications as well. might be very useful with GPS and SDF.
I still haven't decided which Arduino to go with... I need to layout the hardware requirements for this project out and make sure it can support the future features as well.