Skip to main content

Building a window into the Mycobrain

A Display for Mycobrain

The Goal

The Mycobrain is an ESP32 based module that it set up to receive inputs from various sensors and also drive some outputs. The ESP32 is a flexible device that can even serve its own web page do display the captured information. Although the ESP32 can provide its own Web page, it was thought it would be cool if there could be a screen nearby the Mycobrain to display the data and provide a means to drive the outputs.

IMG_9503.jpeg

 

The Hardware Selection

Steve happened to have available a TFT display from Display Visions EA RaZero TFT, which seemed a good solution for a quick prototype. The kit contained an adapter for a Raspberry Pi Zero and a TFT 3.5" TFT display. The provider also has some libraries available to get started.

IMG_9344.jpeg

Bringing up the system

Steve was unsure on how to get this working but with the help of Claude, the task became very simple. The first things was to prove the toolchain and libraries. So the first task was to create a "Hello World" application where the "Hello World" string would follow a finger touching the screen. This would prove at the code can be build, the display can be accessed and text displayed and it also proved that the touch library was also functional.

The next task was to build the first UI over the Mycobrain. Claude was helpful to assess the functionality of the existing Mycbrain code and determine any available REST APIs

testing

deployment

Build log