This version of the RGB (WS2812) LED Controller even smaller, just 35mm x 26mm. It has the same ambient light simple photo transistor sensor as the 2-Port board, but the RGB power output is switched via a MOSFET. This means I can isolate the boards power from the RGB light strip and run the strip via external power. All under software control and has a smaller footprint than using a 0.1" header ping jumper. The haptic motor has been dropped, as there was no room for the connector. All of this and still on a 2 layer PCB, so it will be cheap to panelise if I want lots of these later on. All the passive components are 0402 sized. Getting all the text onto the PCB was a challenge:
All the GPIO info need to program the board is on the backside:
I program it in Arduino via Visual Source Code PlatformIO plugin and it uploads to the board via the USB C connector. Very easy and fun to play with.
When is a project ever finished? There is a small blank area to the right hand side of the USB connector. Might be a perfect spot for a Hall Effect sensor? That way perhaps you could switch modes via a small magnet, ie: mounted in a ring?
You can find the 1 Port PCB design files and example code here: https://gitlab.com/parkview/ESP32-C3_1- ... Controller