Seven Segments of Fun driver now posted
Invent-O-Doc
Posts: 768
This is the first object that I've written and my first post to the object exchange (http://obex.parallax.com/objects/876/) - though the object doesn't show up in search, it might be because they vet the uploads personally, I guess?
Anyhow, this is a 7 segment LED driver that I wrote for a current project and here it is. It has a few decent features:
- Full ASCII letters and numbers (within 7-seg limitations - M,W,X don't look great)
- Background animation manager - Sequential messages, scrolling, windowing, blinking
- decimal numbers, hex word/byte, dimming
- Supports CC & CA displays 8+ digits
- 255 byte animation buffer
- Adaptive segment brightening (optional)
- Dual multiplexing for very bright 8-digit displays
- Support for sink/source driver circuitry that may need inverted voltages for high current/voltage LEDs
- Really easy to use with full documentation
I hope you like it.
Here are some videos:
DRIVER DEMO https://www.youtube.com/watch?v=ldF9tdRy98g&feature=plcp
ROTARY ENCODER MENU https://www.youtube.com/watch?v=CFpCrx45KW0&feature=plcp
Anyhow, this is a 7 segment LED driver that I wrote for a current project and here it is. It has a few decent features:
- Full ASCII letters and numbers (within 7-seg limitations - M,W,X don't look great)
- Background animation manager - Sequential messages, scrolling, windowing, blinking
- decimal numbers, hex word/byte, dimming
- Supports CC & CA displays 8+ digits
- 255 byte animation buffer
- Adaptive segment brightening (optional)
- Dual multiplexing for very bright 8-digit displays
- Support for sink/source driver circuitry that may need inverted voltages for high current/voltage LEDs
- Really easy to use with full documentation
I hope you like it.
Here are some videos:
DRIVER DEMO https://www.youtube.com/watch?v=ldF9tdRy98g&feature=plcp
ROTARY ENCODER MENU https://www.youtube.com/watch?v=CFpCrx45KW0&feature=plcp
Comments
This is nicely done. I wish all objects were documented so well. The inclusion of the common anode option is thoughtful - I happen to have a have a tray of very nice surplus common-anode displays ;-) Thank you...
Will you please include the example code for the rotary encoder menu example shown in the second video?
Best Regards, David
Here is an example of how to do a scrolling menu with a rotary encoder. This example shows how to use the 'printfrom' method
to show a portion of a large string and animate it by encoder position. The menus are not functional yet.
This uses the quadrature encoder object from the obex.
Hope this helps.encoder_example.zip