As mentioned in earlier posts, I do own a Holocubic or Holo from FiberPunk. This 'system' is basically a small lcd screen, with an esp32.
This system comes by default with a (limited) firmware, that allows one to view stl files. So, just some limited functionality.
Having been a Python developer for the last decade, I started to wonder, what I could with this system. So started to look around, initially I tried some Rust, as that is the new upcoming language, and on another esp32, I created a game of life in C. But for this system, I wanted something else, I wanted to see what would be possible with MicroPython.
The system consists of the following components:
- Display: st-7789, 240x240 pixel
- BH1750 ambient light sensor
- sd-card reader
- Adafruit Neopixel compatible WD2812B led (1)
- MPU6050 6-axis accelerometer/gyroscope
So when building a micropython configuration. The challenge is that support for these components needs to be included.
For the rgb led, it seems that support for Neopixel is build in.
For the screen, I have found the following github repository: russhughes/st7789_mpy
For the lightsensor, I have found: octaprog7/BH1750
The rest of the drivers I still have to look into.
The idea is, that in the end I can share a github repository that is an up-to-date micropython with these drivers build in, and some examples on how to use each of the components, as each of them will need to be initialised with specific configuration that is valid for this specific board. Think of the I/O pins that are used etc.
On this blog, I will keep track of what I have discovered and what is working.