2020-10-20 18:09:14 +02:00
|
|
|
# lcd2serial
|
2021-12-16 23:28:51 +01:00
|
|
|
Reads out a 7-segment LCD display and sends the value via serial.
|
2020-10-20 18:09:14 +02:00
|
|
|
|
2020-10-20 18:50:07 +02:00
|
|
|
## 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.
|
2020-10-20 18:51:37 +02:00
|
|
|
|
2020-10-20 18:50:07 +02:00
|
|
|
You can use the information provided here: https://lowpowerlab.com/forum/projects/moteino-kitchen-scale/
|
2020-10-20 18:51:37 +02:00
|
|
|
|
2020-10-20 18:50:07 +02:00
|
|
|
To use the Pro Micro together with PulseView you can use this repository: https://github.com/gillham/logic_analyzer
|
2020-10-20 18:51:37 +02:00
|
|
|
|
2020-10-20 18:50:07 +02:00
|
|
|
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.
|