4-Way Traffic Light Simulator Using a State Table, 4 Pins, 12 Charlieplexed LEDs
CJMJ
Posts: 226
A simple 4-way traffic light simulator using a State table, four (4) pins and 12 charlieplexed LEDs. I've included a wiring schematic and a SPIN2 program. My next phase is to embed this into a small 3D printed traffic light.
What's the proper etiquette for embedding videos? Here's a youtube video of the simulator in action.
https://youtu.be/HQ41THLVbXc
@"Ken Gracey" Would this make a good Quick Byte?
UPDATE: Sorry, caught a typo in the comments for the Charlieplexing table. MSb should be most significant nibble not bit and LSb should be least significant nibble not bit. The execution of the code is unaffected by these typos.