https://github.com/alchemist-aloha/rp2040_ws2812_led_controller
This project is designed to control light bulbs using a Raspberry Pi Pico.
https://github.com/alchemist-aloha/rp2040_ws2812_led_controller
human-detection ld2410 led micropython micropython-rpi-pico raspberry-pi-pico ssd1306 ws2812
Last synced: 4 months ago
JSON representation
This project is designed to control light bulbs using a Raspberry Pi Pico.
- Host: GitHub
- URL: https://github.com/alchemist-aloha/rp2040_ws2812_led_controller
- Owner: Alchemist-Aloha
- License: mit
- Created: 2025-03-13T16:06:07.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-13T17:25:47.000Z (4 months ago)
- Last Synced: 2025-03-13T17:35:57.332Z (4 months ago)
- Topics: human-detection, ld2410, led, micropython, micropython-rpi-pico, raspberry-pi-pico, ssd1306, ws2812
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pico Light Bulbs Project
This MicroPython project is designed to control light bulbs using a Raspberry Pi Pico. It includes features such as human detection and brightness control using buttons or an infrared remote. To enhance quality of the IR reception, a [second Pico](https://github.com/Alchemist-Aloha/pico_ir_receiver) is used to receive the IR signals and send them to the main Pico via UART. The project also includes an OLED display to show the current mode of operation.
## Hardware
- **Raspberry Pi Pico**: Main microcontroller.
- **LD2410 Human Sensor**: Human detection sensor.
- **SSD1306 OLED Display**: For displaying information.
- **WS2812 LED Strip**: RGB LED strip.## Project Structure
- **ld2410.py**: Manages communication with the LD2410 sensor.
- **main.py**: Main script to control the light bulbs, handle button inputs, and display information on the OLED screen.
- **ssd1306.py**: Driver for the SSD1306 OLED display.## Usage
- **Buttons**:
- Button 1: Increase brightness.
- Button 2: Decrease brightness.
- Button 3: Switch to human sensor mode.
- Button 4: Toggle between always on and always off modes.## License
This project is licensed under the MIT License.