Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Adafruit QT Py RP2040 microcontroller, an MPU-6050 accelerometer and gyroscope, an Adafruit APDS-9960 sensor, a 0.96" OLED display, a green LED, a resistor, and a 3.7V LiPo battery. The circuit is designed to interface various sensors and display data on the OLED screen, with power supplied by the LiPo battery.
Component List
Adafruit QT Py RP2040
- Description: Microcontroller board based on the RP2040 chip.
- Pins: A0, A1, A2, A3, SDA, SCL, TX, RX, SCK, MISO, MOSI, +3V3, GND, +5V, SDA1, SCL1
MPU-6050
- Description: Accelerometer and gyroscope sensor.
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
Adafruit APDS-9960
- Description: Proximity, light, RGB, and gesture sensor.
- Pins: VIN, 3.3V, GND, SCL, SDA, INT
0.96" OLED
- Description: OLED display module.
- Pins: GND, VDD, SCK, SDA
LED: Two Pin (green)
- Description: Green LED.
- Pins: cathode, anode
Resistor
- Description: Resistor with a resistance of 200 Ohms.
- Pins: pin1, pin2
3.7V LiPo
- Description: 3.7V Lithium Polymer battery.
- Pins: +Ve, GND
Wiring Details
Adafruit QT Py RP2040
GND is connected to:
- GND of 0.96" OLED
- GND of Adafruit APDS-9960
- GND of MPU-6050
- GND of 3.7V LiPo
- cathode of LED: Two Pin (green)
+3V3 is connected to:
- VDD of 0.96" OLED
- VIN of Adafruit APDS-9960
- VCC of MPU-6050
- +Ve of 3.7V LiPo
SCL is connected to:
- SCK of 0.96" OLED
- SCL of Adafruit APDS-9960
- SCL of MPU-6050
SDA is connected to:
- SDA of 0.96" OLED
- SDA of Adafruit APDS-9960
- SDA of MPU-6050
A0 is connected to:
MPU-6050
GND is connected to:
- GND of Adafruit QT Py RP2040
- GND of 0.96" OLED
- GND of Adafruit APDS-9960
- GND of 3.7V LiPo
- cathode of LED: Two Pin (green)
VCC is connected to:
- +3V3 of Adafruit QT Py RP2040
- VDD of 0.96" OLED
- VIN of Adafruit APDS-9960
- +Ve of 3.7V LiPo
SCL is connected to:
- SCK of 0.96" OLED
- SCL of Adafruit APDS-9960
- SCL of Adafruit QT Py RP2040
SDA is connected to:
- SDA of 0.96" OLED
- SDA of Adafruit APDS-9960
- SDA of Adafruit QT Py RP2040
Adafruit APDS-9960
GND is connected to:
- GND of Adafruit QT Py RP2040
- GND of 0.96" OLED
- GND of MPU-6050
- GND of 3.7V LiPo
- cathode of LED: Two Pin (green)
VIN is connected to:
- +3V3 of Adafruit QT Py RP2040
- VDD of 0.96" OLED
- VCC of MPU-6050
- +Ve of 3.7V LiPo
SCL is connected to:
- SCK of 0.96" OLED
- SCL of MPU-6050
- SCL of Adafruit QT Py RP2040
SDA is connected to:
- SDA of 0.96" OLED
- SDA of MPU-6050
- SDA of Adafruit QT Py RP2040
0.96" OLED
GND is connected to:
- GND of Adafruit QT Py RP2040
- GND of Adafruit APDS-9960
- GND of MPU-6050
- GND of 3.7V LiPo
- cathode of LED: Two Pin (green)
VDD is connected to:
- +3V3 of Adafruit QT Py RP2040
- VIN of Adafruit APDS-9960
- VCC of MPU-6050
- +Ve of 3.7V LiPo
SCK is connected to:
- SCL of Adafruit APDS-9960
- SCL of MPU-6050
- SCL of Adafruit QT Py RP2040
SDA is connected to:
- SDA of Adafruit APDS-9960
- SDA of MPU-6050
- SDA of Adafruit QT Py RP2040
LED: Two Pin (green)
cathode is connected to:
- GND of Adafruit QT Py RP2040
- GND of 0.96" OLED
- GND of Adafruit APDS-9960
- GND of MPU-6050
- GND of 3.7V LiPo
anode is connected to:
Resistor
pin1 is connected to:
- anode of LED: Two Pin (green)
pin2 is connected to:
- A0 of Adafruit QT Py RP2040
3.7V LiPo
GND is connected to:
- GND of Adafruit QT Py RP2040
- GND of 0.96" OLED
- GND of Adafruit APDS-9960
- GND of MPU-6050
- cathode of LED: Two Pin (green)
+Ve is connected to:
- +3V3 of Adafruit QT Py RP2040
- VDD of 0.96" OLED
- VIN of Adafruit APDS-9960
- VCC of MPU-6050
Code
No code is provided for the microcontrollers in this circuit.