Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Adafruit QT Py RP2040 microcontroller, various sensors, a display, a buzzer, a LiPo battery, and a toggle switch. The circuit is designed to interface with multiple I2C devices and includes a buzzer for audio feedback. The power is supplied by a 3.7V LiPo battery, and a toggle switch is used to control the power flow.
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
Adafruit APDS9960 Proximity Sensor
- Description: A sensor that provides proximity, ambient light, RGB, and gesture sensing.
- Pins: VCC, 3.3V, GND, SCL, SDA, INT
OLED 128x64 I2C Monochrome Display GND-VDD
- Description: A monochrome display with I2C interface.
- Pins: GND, VDD, SCK, SDA
3.7v LiPo
- Description: A 3.7V Lithium Polymer battery.
- Pins: +Ve, GND
Toggle Switch
- Description: A switch to control the power flow.
- Pins: L1, COM, L2
Buzzer
- Description: A simple buzzer for audio feedback.
- Pins: PIN, GND
MPU6050 Accelerometer + Gyroscope (Wokwi Compatible)
- Description: A sensor that provides accelerometer and gyroscope data.
- Pins: INT, AD0, XCL, XDA, SDA, SCL, GND, VCC
Wiring Details
Adafruit QT Py RP2040
- A0: Connected to Buzzer PIN
- +5V: Connected to Toggle Switch COM
- GND: Connected to Buzzer GND, 3.7v LiPo GND, Adafruit APDS9960 Proximity Sensor GND, OLED 128x64 I2C Monochrome Display GND, MPU6050 Accelerometer + Gyroscope GND
- +3V3: Connected to Adafruit APDS9960 Proximity Sensor 3.3V, OLED 128x64 I2C Monochrome Display VDD, MPU6050 Accelerometer + Gyroscope VCC
- SDA: Connected to Adafruit APDS9960 Proximity Sensor SDA, OLED 128x64 I2C Monochrome Display SDA, MPU6050 Accelerometer + Gyroscope SDA
- SCL: Connected to Adafruit APDS9960 Proximity Sensor SCL, OLED 128x64 I2C Monochrome Display SCK, MPU6050 Accelerometer + Gyroscope SCL
Adafruit APDS9960 Proximity Sensor
- 3.3V: Connected to Adafruit QT Py RP2040 +3V3
- GND: Connected to Adafruit QT Py RP2040 GND
- SDA: Connected to Adafruit QT Py RP2040 SDA, OLED 128x64 I2C Monochrome Display SDA, MPU6050 Accelerometer + Gyroscope SDA
- SCL: Connected to Adafruit QT Py RP2040 SCL, OLED 128x64 I2C Monochrome Display SCK, MPU6050 Accelerometer + Gyroscope SCL
OLED 128x64 I2C Monochrome Display GND-VDD
- VDD: Connected to Adafruit QT Py RP2040 +3V3
- GND: Connected to Adafruit QT Py RP2040 GND
- SDA: Connected to Adafruit QT Py RP2040 SDA, Adafruit APDS9960 Proximity Sensor SDA, MPU6050 Accelerometer + Gyroscope SDA
- SCK: Connected to Adafruit QT Py RP2040 SCL, Adafruit APDS9960 Proximity Sensor SCL, MPU6050 Accelerometer + Gyroscope SCL
3.7v LiPo
- +Ve: Connected to Toggle Switch L1
- GND: Connected to Adafruit QT Py RP2040 GND, Buzzer GND, Adafruit APDS9960 Proximity Sensor GND, OLED 128x64 I2C Monochrome Display GND, MPU6050 Accelerometer + Gyroscope GND
Toggle Switch
- COM: Connected to Adafruit QT Py RP2040 +5V
- L1: Connected to 3.7v LiPo +Ve
Buzzer
- PIN: Connected to Adafruit QT Py RP2040 A0
- GND: Connected to Adafruit QT Py RP2040 GND, 3.7v LiPo GND, Adafruit APDS9960 Proximity Sensor GND, OLED 128x64 I2C Monochrome Display GND, MPU6050 Accelerometer + Gyroscope GND
MPU6050 Accelerometer + Gyroscope (Wokwi Compatible)
- VCC: Connected to Adafruit QT Py RP2040 +3V3
- GND: Connected to Adafruit QT Py RP2040 GND
- SDA: Connected to Adafruit QT Py RP2040 SDA, Adafruit APDS9960 Proximity Sensor SDA, OLED 128x64 I2C Monochrome Display SDA
- SCL: Connected to Adafruit QT Py RP2040 SCL, Adafruit APDS9960 Proximity Sensor SCL, OLED 128x64 I2C Monochrome Display SCK
Code
No code is provided for this circuit.
