An open API service indexing awesome lists of open source software.

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.

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.