Wirelessly controlled LED Lights using Adafruit MacroPad and ESP32
Posted: Thu Aug 18, 2022 5:20 pm
Hello! Fairly new to microcontrollers and IoT projects and wanted to make a post to see what kinds of options I have to complete this project and to get some guidance on what to consider. The goal is to be able to wirelessly control and change lighting settings of NeoPixel light strip(s) using the Adafruit MacroPad. I eventually want to also have the ability to automatically turn on said LED lights using some form of motion detection.
The current idea that I have is that the LED strip(s) and motion sensor will be connected to ESP32 modules which will receive/send data to a 'central server' which will be managing the lights and reading data from the sensor. Currently, the two options that I have thought of using are:
1) personal PC is said server and write a program (maybe in python?) that reads inputs from the macropad/sensor and sends the corresponding changes to the LED strip(s).
2) Arduino/Raspberry Pi houses the program and reads inputs from the macropad/sensor and sends the corresponding changes to the LED strip(s)
The main issues with option two is that I am unsure if an Arduino will be capable of this by itself and that the Raspberry Pi is a bit more expensive. I am curious what your guys' thoughts are with either option.
I'm currently wondering what other kinds of hardware/materials I will need to complete this project, what things I should consider, and if there are any issues with the current idea I had in mind. I am also not sure what kind of motion sensor I should consider.
Current shopping list:
MacroPad: https://www.adafruit.com/product/5128
ESP32 modules: https://www.adafruit.com/product/3619
LED Strips: https://www.adafruit.com/product/2842?length=2
The current idea that I have is that the LED strip(s) and motion sensor will be connected to ESP32 modules which will receive/send data to a 'central server' which will be managing the lights and reading data from the sensor. Currently, the two options that I have thought of using are:
1) personal PC is said server and write a program (maybe in python?) that reads inputs from the macropad/sensor and sends the corresponding changes to the LED strip(s).
2) Arduino/Raspberry Pi houses the program and reads inputs from the macropad/sensor and sends the corresponding changes to the LED strip(s)
The main issues with option two is that I am unsure if an Arduino will be capable of this by itself and that the Raspberry Pi is a bit more expensive. I am curious what your guys' thoughts are with either option.
I'm currently wondering what other kinds of hardware/materials I will need to complete this project, what things I should consider, and if there are any issues with the current idea I had in mind. I am also not sure what kind of motion sensor I should consider.
Current shopping list:
MacroPad: https://www.adafruit.com/product/5128
ESP32 modules: https://www.adafruit.com/product/3619
LED Strips: https://www.adafruit.com/product/2842?length=2