https://github.com/oldmud0/lcdviewer
LCD monitor for Hitachi HD44780 controller
https://github.com/oldmud0/lcdviewer
Last synced: about 1 year ago
JSON representation
LCD monitor for Hitachi HD44780 controller
- Host: GitHub
- URL: https://github.com/oldmud0/lcdviewer
- Owner: oldmud0
- Created: 2016-09-17T20:52:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T02:44:48.000Z (over 9 years ago)
- Last Synced: 2025-02-08T21:48:52.976Z (over 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LCD Monitor
This is a fully functional LCD monitor for Hitachi HD44780 controller, written in Python 3.

Every LCD packet sent via serial conforms to the following format:
Byte|Value |Description
----|----------------------|-----------
0|`0xFE` |Magic number
1|`0xBF` |Magic number
2|`0b1111_0[RS, RW, E]` |RS/RW/E pins
3|`0b[D7...D1]` |Data pins
If you're interfacing with a plaintext serial monitor and you encounter a message starting with
`FE BF`, it's best to ignore the next two bytes that follow it.
## Requirements
- Tkinter
- pyserial
## Setup
- Connect your Arduino.
- Compile against the modified LiquidCrystal library instead of the vanilla one.
- Edit `serialport` in `main.py` to the match the Arduino's serial port.
- Invoke `python main.py`.
- The Arduino will automatically restart, and the LCD output will appear.
## To do
- Command-line arguments
- Safer multithreading
- Make it flicker less
- Built-in general serial monitor
- Change the magic numbers to standard ASCII control characters