A Raspberry pi 4b with a keyboard, a camera and a unicorn hat connected
An arduino Esplora that gives light sensor data to that pi via HC05 Bluetooth Serial and custom Program
Now i wanted to have some kind of device with a screen (not big, only text has to be displayed) and 2-6 Buttons, eventually more sensors.
I am planning to not to do this right now, but in ~1-2 Months due to the poor avalability of Microchips (and the high prices that is resulting in) atm.
Is something like this even possible with a pi zero wh and how can i do it??
Thanks
Aaron
You can connect the Pi Zero to any monitor/screen that has HDMI input.
Depending on what you want to display, you could connect a little SSD1306 OLED to something like a WeMos D1 mini and use MQTT to send msgs to the OLED or even connect it to the Pi.
What are you going to use it for?
What are you going to display on it?
What will the buttons control?
What are you running on the Explore?
You might think about picking up some WeMos D1 mini's and connect the sensors to them. Then use MQTT to send data to the Pi for processing.
I want to display e.g the state of above-mentioned arduino-based light sensor or the temperature (via two hue motion sensors) or some status info (CPU Temp, throttling and undervoltage state, etc) to see if my "main pi" is properly running
I want to use the buttons to e.g control my lights or (via some nodes) my echo devices. I want the button being pressed to trigger an event in NR that i can use further
On the Esplora, i'm running some code for detecting how bright it is in the room and send this to my "main pi" to control the light based on this value. I could attach a display to it, but it should be in another place than the esplora because of the sensor. I'll think of this as a kind-of temporary solution until i find some better solution for this.
Btw: The Pi's GPIOs are used for a unicorn hat 8x8 LED Matrix and can't be used because of that
Do the D1 mini's have an integrated Wi-Fi module or do i have to get an external one?
Thanks
Aaron
Yes they do. They are inexpensive and can be flashed with ESPeasy or Tasmota. Quite a few people on the forum use them as 'sort of remote slaves' to collect data or control things. As @zenofmud said, they support MQTT so it becomes very easy to "talk" to Node-RED.