Battery-Powered Smart Light with Proximity Sensor and OLED Display using Adafruit QT Py RP2040
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a custom circuit design. The circuit includes a microcontroller, sensors, an OLED display, an RGB LED strip, a step-up boost converter, a lithium-ion battery, and a toggle switch. The components are interconnected to achieve specific functionalities such as proximity sensing, motion detection, and visual output.
Component List
Adafruit QT Py RP2040
- Description: A compact microcontroller board based on the RP2040 chip.
- Pins: A0, A1, A2, A3, SDA, SCL, TX, RX, SCK, MISO, MOSI, +3V3, GND, +5V, SDA1, SCL1
OLED 1.3"
- Description: A 1.3-inch OLED display for visual output.
- Pins: GND, VCC, SCL, SDA
Adafruit APDS9960 Proximity Sensor
- Description: A sensor for proximity, ambient light, RGB, and gesture detection.
- Pins: VCC, 3.3V, GND, SCL, SDA, INT
WS2812 RGB LED strip
- Description: An addressable RGB LED strip for visual effects.
- Pins: DIN, 5V, GND, DO
Step Up Boost 3v-5v
- Description: A step-up boost converter to convert 3V to 5V.
- Pins: Vi, GND, Vo
Polymer Lithium Ion Battery - Generic
- Description: A generic lithium-ion battery for power supply.
- Pins: GND, VCC
InvenSense MPU6050
- Description: A 6-axis motion tracking device combining a 3-axis gyroscope and a 3-axis accelerometer.
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
Toggle Switch
- Description: A simple toggle switch for user input.
- Pins: L1, COM, L2
Wiring Details
Adafruit QT Py RP2040
- A0: Connected to DIN of WS2812 RGB LED strip
- SDA: Connected to SDA of Adafruit APDS9960 Proximity Sensor, InvenSense MPU6050, and OLED 1.3"
- SCL: Connected to SCL of Adafruit APDS9960 Proximity Sensor, InvenSense MPU6050, and OLED 1.3"
- +3V3: Connected to VCC of Adafruit APDS9960 Proximity Sensor, InvenSense MPU6050, OLED 1.3", and Vi of Step Up Boost 3v-5v
- GND: Connected to GND of Adafruit APDS9960 Proximity Sensor, WS2812 RGB LED strip, InvenSense MPU6050, Step Up Boost 3v-5v, Polymer Lithium Ion Battery, and OLED 1.3"
OLED 1.3"
- GND: Connected to GND
- VCC: Connected to +3V3
- SCL: Connected to SCL
- SDA: Connected to SDA
Adafruit APDS9960 Proximity Sensor
- SDA: Connected to SDA
- SCL: Connected to SCL
- VCC: Connected to +3V3
- GND: Connected to GND
WS2812 RGB LED strip
- DIN: Connected to A0
- 5V: Connected to Vo of Step Up Boost 3v-5v
- GND: Connected to GND
Step Up Boost 3v-5v
- Vi: Connected to +3V3
- GND: Connected to GND
- Vo: Connected to 5V of WS2812 RGB LED strip
Polymer Lithium Ion Battery - Generic
- GND: Connected to GND
- VCC: Connected to COM of Toggle Switch
InvenSense MPU6050
- SDA: Connected to SDA
- SCL: Connected to SCL
- VCC: Connected to +3V3
- GND: Connected to GND
Toggle Switch
- L1: Connected to VCC of Adafruit APDS9960 Proximity Sensor, InvenSense MPU6050, OLED 1.3", and Vi of Step Up Boost 3v-5v
- COM: Connected to VCC of Polymer Lithium Ion Battery
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit design, including a detailed list of components and their interconnections. This should serve as a useful reference for understanding and replicating the circuit.