Smart Lamp System Design
0:00
Ready.
Reviews
Properties
Pricing & Availability
Distributor | Qty 1 |
|---|---|
Arrow | $10.78–$13.40 |
Digi-Key | $15.82–$26.18 |
LCSC | $23.82–$24.00 |
Mouser | $20.98 |
TME | $4.26 |
Verical | $4.86–$13.59 |
Assets
Assets are files uploaded to this project which can be used in various ways.
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.
copilot
cmishra
copilot
copilot
cmishra
copilot
-
USB-C Connector J2:
- This will be the main input for power supply and charging.
- Connect J2:VBUS1, VBUS2, VBUS3, and VBUS4 to the power input net (let's call it VBUS).
- Connect J2:GND1, GND2, GND3, and GND4 to the ground net GND.
-
Battery Charger U2: MP5030GQH-Z:
- Connect VBUS to U2:IN.
- Connect U2:OUT to your battery or power management system input.
- Connect U2:GND to GND.
-
Voltage Regulator U4: AMS1117-3.3:
- Connect U4:VIN to the output of the battery management system.
- Connect U4:VOUT to generate the 3.3V power supply net 3V3.
- Connect U4:GND to GND.
Step 2: Central MCU - ESP32- ESP32 U1: ESP32-WROOM-32E-N8:
- Connect U1:3V3 to 3V3.
- Connect U1:GND_1 (and any other GND pins) to GND.
- Add a pull-up resistor R3 to U1:EN connected to 3V3.
Step 3: Connect I²C Devices-
Connect ESP32's I²C Pins:
- Connect U1:IO21 (SDA) to the I2C_SDA net.
- Connect U1:IO22 (SCL) to the I2C_SCL net.
-
Environmental Sensor U7: BME688:
- Connect U7:VDDIO to 3V3.
- Connect U7:GND to GND.
- Connect U7:SDI to I2C_SDA.
- Connect U7:SCK to I2C_SCL.
-
Ambient Light Sensor U8: TSL25911FN:
- Connect U8:VDD to 3V3.
- Connect U8:GND to GND.
- Connect U8:SDA to I2C_SDA.
- Connect U8:SCL to I2C_SCL.
-
Gesture Sensor U9: APDS-9960:
- Connect U9:VDD to 3V3.
- Connect U9:GND to GND.
- Connect U9:SDA to I2C_SDA.
- Connect U9:SCL to I2C_SCL.
-
Temperature Sensor U6: TMP102xxDRL:
- Connect U6:V+ to 3V3.
- Connect U6:GND to GND.
- Connect U6:SDA to I2C_SDA.
- Connect U6:SCL to I2C_SCL.
Step 4: LED Driver-
LED Driver U5: PCA9685PW,118:
- Connect U5:VDD to 3V3.
- Connect U5:GND to GND.
- Connect U5:SDA to I2C_SDA.
- Connect U5:SCL to I2C_SCL.
- Connect U5:~OE to a GPIO pin, e.g., U1:IO2 (using Net LED_OE).
-
External LED Header J1:
- Connect J1:Pin_1 to a PWM output from U5 (choose appropriate LED channel).
- Connect J1:Pin_2 to GND.
- Connect J1:Pin_3 to one of the LEDs controlled by the U5.
Step 5: Miscellaneous Connections