As part of recent game project I need to connect the MCU to a VGA screen and a keyboard.
I used a ESP32-VGA - what a great result. I have connectivity from the MCU to the VGA screen and the keyboard. The cheap VGA terminal showing the MCU output.
This post has the resources I used but it is a very low solution, easy to setup and just connect the MCU.
The ESP32-VGA operates a Serial to VGA converted. So, the MCU just sends serial ( ANSI is supported) the ESP32-VGA does the heavy lifting by taking the serial input and converting to the VGA signal.
There are no changes needed from a Great Cow BASIC point of view. Serial out and Serial in.
I used an 18F27Q43 at 3v3, connected the MCU TX to IO34, and MCU RX to IO2 and a common 0v0.
Easy
My resources:
Get a ESP32 VGA32. ESP32 VGA32 V1.4 Controller PS/2 Mouse And Keyboard Controller from eBay, Ali express. The important piece is the V1.4
Cheapest on ebay is £14-70 free p&p. Yours £8-70.
How would I use a mouse with GCB? Is the z80 link an "OS"?
If it is 320X240 then maybe glcd spi could be adapted.
I did mention to you using a £4 rpipico with mmbasic and connecting to a pic.
There is a mmbasic vga version that has graphics, sprites and screen buffers.
It would be like using a Nextion where you send commands serial using serprint command.
Just a thought.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As part of recent game project I need to connect the MCU to a VGA screen and a keyboard.
I used a ESP32-VGA - what a great result. I have connectivity from the MCU to the VGA screen and the keyboard. The cheap VGA terminal showing the MCU output.
This post has the resources I used but it is a very low solution, easy to setup and just connect the MCU.
The ESP32-VGA operates a Serial to VGA converted. So, the MCU just sends serial ( ANSI is supported) the ESP32-VGA does the heavy lifting by taking the serial input and converting to the VGA signal.
There are no changes needed from a Great Cow BASIC point of view. Serial out and Serial in.
I used an 18F27Q43 at 3v3, connected the MCU TX to IO34, and MCU RX to IO2 and a common 0v0.
Easy
My resources:
Get a ESP32 VGA32. ESP32 VGA32 V1.4 Controller PS/2 Mouse And Keyboard Controller from eBay, Ali express. The important piece is the V1.4
https://www.instructables.com/Using-ESP32VGA32-Terminal-for-Z80-MBC2/
An overview of configuration.
:-)
Last edit: Anobium 2022-08-24
Picture
Cheapest on ebay is £14-70 free p&p. Yours £8-70.
How would I use a mouse with GCB? Is the z80 link an "OS"?
If it is 320X240 then maybe glcd spi could be adapted.
I did mention to you using a £4 rpipico with mmbasic and connecting to a pic.
There is a mmbasic vga version that has graphics, sprites and screen buffers.
It would be like using a Nextion where you send commands serial using serprint command.
Just a thought.
You should get one and investigate!!
I might but what would it do that the terminal can not?
You mention a game, with graphics ? How do yo do it?
more info needed
Last edit: stan cartwright 2022-08-24
The Github site shows example use cases for the board. The GitHub site is listed wi thin the Instructables link. GitHub shows many uses for the board.