Reads out a 7-segment lcd display and send the value via serial.
intermediate-examples | ||
lcd2serial.ino | ||
README.md | ||
registers.png | ||
scale-pcb.JPG | ||
scale.JPG |
lcd2serial
Reads out a 7-segment lcd display and sends the value via serial.
How to port another display?
Analyse the display pins. You can use the ProMicro as a logic analyzer, to find the relevant segment pins and the common pins. You can use the information provided here: https://lowpowerlab.com/forum/projects/moteino-kitchen-scale/ To use the Pro Micro together with PulseView you can use this repository: https://github.com/gillham/logic_analyzer For more Information on LCD display consult: http://awawa.hariko.com/avr_lcd_drive_en.html
possible improvements
- error handlich of the serial connection. (If screen is kill in operation. The microcontroller needs a restart to reset the serial connection)
- handle all 4 digits by the print_digit() function.