kosma 961d4ac5f5 | ||
---|---|---|
README.md | ||
VF60-ESP8266.ino |
README.md
VF60 WiFi Driver
Minimalistic WiFi driver software for VF60.
Connection
Use the RS-232 port, as documented here. Note that the connector on the display is RS232 voltage levels - to connect an ESP8266 you have two options:
- Use a level shifter like MAX3232.
- Disassemble the display and remove the internal level shifter, then connect the ESP8266 directly to the level shifter pads on the PCB.
Configuration
Change the SSID and password at the beginning of the file. Flash using Arduino IDE.
Usage
http://<display IP>/display?line1=...&line2=...
- sets display contenthttp://<display IP>/brightness?brightness=0..5
- sets display brightness
Language support
On the HTTP side, use UTF-8.
On the display side, the text is converted to CP-852 (Polish codepage) as that's the author's native language. To add support for more languages:
- Add and use a function like
UTF8toCP852()
but supporting a different codepage. - Add and use a function line
codepage_852()
but switching the display to a different codepage. To find the correct invocation, use trial and error, trying different values instead of\x07
.
Pull requests are welcome to add more language support; I won't do it because I'm lazy.
TODO
- Show the display's IP address upon startup.
- Add more languages.