Battery-Powered Smart Light with Arduino Nano 33 BLE and NeoPixel Ring
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes a Nano 33 BLE microcontroller, a VL53L0X distance sensor, a 18650 battery in a holder, an MT3608 boost converter, a TP4056 battery charger, an Adafruit 16 NeoPixel Ring, a resistor, and an electrolytic capacitor. The circuit is designed to power the components, read distance measurements, and control the NeoPixel Ring.
Component List
Nano 33 BLE with pinout
- Description: A microcontroller board with Bluetooth Low Energy capabilities.
- Pins: TX, RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11 (MOSI), D12 (MISO), VIN, 5V, A7, A6, A5 (SCL), A4 (SDA), A3, A2, A1, A0, AREF, 3V3, D13 (SCK)
VL53L0X
- Description: A time-of-flight distance sensor.
- Pins: vin, gnd, scl, sda
18650 in holder
- Description: A holder for a 18650 lithium-ion battery.
- Pins: GND, VCC
MT3608
- Description: A DC-DC boost converter.
- Pins: VOUT+, VIN+, VOUT-, VIN-
TP4056
- Description: A lithium-ion battery charger module.
- Pins: OUT-, B-, B+, OUT+, IN-, IN+
Adafruit 16 NeoPixel Ring
- Description: A ring of 16 individually addressable RGB LEDs.
- Pins: VDD, IN, OUT, GND
Resistor
- Description: A resistor with a resistance of 330 Ohms.
- Pins: pin1, pin2
- Properties: Resistance: 330 Ohms
Electrolytic Capacitor
- Description: A capacitor with a capacitance of 1 Farad.
- Pins: -, +
- Properties: Capacitance: 1 Farad
Wiring Details
Nano 33 BLE with pinout
- D6 is connected to pin1 of the Resistor.
- VIN is connected to VIN+ of the MT3608 and OUT+ of the TP4056.
- GND is connected to gnd of the VL53L0X.
- A5 (SCL) is connected to scl of the VL53L0X.
- A4 (SDA) is connected to sda of the VL53L0X.
- 3V3 is connected to vin of the VL53L0X.
VL53L0X
- gnd is connected to GND of the Nano 33 BLE with pinout.
- scl is connected to A5 (SCL) of the Nano 33 BLE with pinout.
- sda is connected to A4 (SDA) of the Nano 33 BLE with pinout.
- vin is connected to 3V3 of the Nano 33 BLE with pinout.
18650 in holder
- GND is connected to B- of the TP4056.
- VCC is connected to B+ of the TP4056.
MT3608
- VIN+ is connected to VIN of the Nano 33 BLE with pinout and OUT+ of the TP4056.
- VOUT+ is connected to VDD of the Adafruit 16 NeoPixel Ring and + of the Electrolytic Capacitor.
- VOUT- is connected to GND of the Adafruit 16 NeoPixel Ring and - of the Electrolytic Capacitor.
- VIN- is connected to OUT- of the TP4056.
TP4056
- OUT+ is connected to VIN+ of the MT3608 and VIN of the Nano 33 BLE with pinout.
- OUT- is connected to VIN- of the MT3608.
- B- is connected to GND of the 18650 in holder.
- B+ is connected to VCC of the 18650 in holder.
Adafruit 16 NeoPixel Ring
- VDD is connected to VOUT+ of the MT3608.
- IN is connected to pin2 of the Resistor.
- GND is connected to VOUT- of the MT3608.
Resistor
- pin1 is connected to D6 of the Nano 33 BLE with pinout.
- pin2 is connected to IN of the Adafruit 16 NeoPixel Ring.
Electrolytic Capacitor
- + is connected to VOUT+ of the MT3608.
- - is connected to VOUT- of the MT3608.
Documented Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt