Circuit Documentation
Summary
This circuit involves an ESP32 microcontroller, a vibration motor, an NPN transistor, a Li-ion battery, a resistor, and an electrolytic capacitor. The ESP32 is powered by the Li-ion battery and controls the vibration motor through the NPN transistor. The resistor and capacitor are used for current limiting and noise filtering, respectively.
Component List
ESP32 (30 pin)
- Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
Vibration Motor
- Description: A small motor that provides vibration feedback.
- Pins: POS, NEG
NPN Transistor
- Description: A transistor used to switch the vibration motor on and off.
- Pins: E, C, B
Li-ion Battery 18650-2000mAh 3.7V 7.4WH
- Description: A rechargeable battery providing power to the circuit.
- Pins: +, -
Resistor
- Description: A 1000 Ohm resistor used for current limiting.
- Pins: pin1, pin2
- Properties:
- Resistance: 1000 Ohms
Electrolytic Capacitor
- Description: A capacitor used for noise filtering.
- Pins: +, -
- Properties:
- Capacitance: 1e-7 Farads
Wiring Details
ESP32 (30 pin)
- Vin is connected to the + pin of the Li-ion battery.
- GND is connected to the - pin of the Li-ion battery.
- D5 is connected to pin2 of the Resistor.
- GND is connected to the B pin of the NPN Transistor.
- 3V3 is connected to the + pin of the Electrolytic Capacitor and the POS pin of the Vibration Motor.
Vibration Motor
- POS is connected to 3V3 of the ESP32.
- NEG is connected to the - pin of the Electrolytic Capacitor and the E pin of the NPN Transistor.
NPN Transistor
- B is connected to GND of the ESP32.
- C is connected to pin1 of the Resistor.
- E is connected to the NEG pin of the Vibration Motor and the - pin of the Electrolytic Capacitor.
Li-ion Battery 18650-2000mAh 3.7V 7.4WH
- + is connected to Vin of the ESP32.
- - is connected to GND of the ESP32.
Resistor
- pin1 is connected to the C pin of the NPN Transistor.
- pin2 is connected to D5 of the ESP32.
Electrolytic Capacitor
- + is connected to 3V3 of the ESP32.
- - is connected to the NEG pin of the Vibration Motor and the E pin of the NPN Transistor.
Code
No code is provided for this circuit.
