What would be the cheapest way to have the console on a LCD display
extrowerk opened this issue · 8 comments
I'd like to attach a display and a keyboard to my rp2040 to be able to experiment with ZForth without any computer.
For this I am currently looking at a simple serial-terminal solution using a separate microcontroller and some pasive parts.
In this case an ATTiny85 would take care about the serial input and output handling, so it would need 2 UART pin and a common ground for communication. See here: http://www.technoblogy.com/show?TV4
I am wondering if it would be possible to extend ZForth to eliminate the need of the additional microcontroller. Is there any other easy/cheap way to connect an LCD display and a serial keyboard to an rp2040 board?
I have designed a PCB, which holds an Rpi Pico running Zeptoforth and an STM32F103, which takes care about the PS2 keyboard and for the LCD handling. It provides a reasonable subset of VT100. https://github.com/ht-deko/vt100_stm32
The display is a generic 3,2" 320x240 SPI display : https://www.aliexpress.com/item/1005003005413104.html
So now I have 3 microcontroller here, an rpi pico, an stm32 and an atmega for the keyboard.
It is overkill , but this way i can use it as a dumb terminal aswell.
Travis, do you think it would be possible to support this LCD in Zeptoforth?
Also what kind of input is supported? This CardKB comes with I2C firmware in default, but there is an UART and a PS2 firmware aswell. Does Zeptoforth supports any of this?
I am interested in simplifying this setup, but ideally i would keep as much GPIO pins free as possible.