Circuit Substitute For ESP32C3
Circuit Substitute For ESP32C3
10µF Capacitors (x2) - One between IN & GND of Stabilizes voltage and prevents
AMS1117 fluctuations.
- One between OUT & GND of
AMS1117
ATmega328P Power Pins - Pin 7 (VCC) → 3.3V rail - Pin 8 Provides power to the
(GND) → GND rail - Pin 22 microcontroller.
(AVCC) → 3.3V rail - Pin 21
(GND) → GND rail
16 MHz Crystal Oscillator - One pin to Pin 9 of Provides clock timing for the
ATmega328P microcontroller.
- Other pin to Pin 10
22pF Capacitors (x2) - One between Pin 9 and GND - Ensures the crystal oscillator
One between Pin 10 and GND operates correctly.
Boot Button - One side to GND - Other side Enables programming mode
to Pin 2 (DTR) of UART module
DHT22 Temperature & - VCC → 3.3V rail - GND → Collects temperature &
Humidity Sensor GND rail - DATA → Pin 4 on humidity data to send via
ATmega328P - 10kΩ pull-up Bluetooth.
resistor between DATA and
3.3V
USB-to-UART Module - VCC → 3.3V rail - GND → Used to program the
(FTDI/CH340) GND rail - TX → RX (Pin 2 on microcontroller and send
ATmega328P) - RX → TX (Pin 3 debug information.
on ATmega328P) - DTR → Boot
Button (Pin 2)
To do:
store the data to download the csv file.
light dependent resistor output reading
how to use light dependent resistor and take reading
function of LDR