Wemos D1 Mini Controlled NeoPixel Ring with Pushbutton Interaction and Buzzer Feedback
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question is designed to interface a Wemos D1 Mini microcontroller with a pushbutton, an Adafruit 16 NeoPixel Ring, a buzzer, and a USB power source through a resistor. The Wemos D1 Mini is the central processing unit of the circuit, controlling the NeoPixel Ring and the buzzer based on the input from the pushbutton. The USB power source provides power to the circuit, and the resistor is used to limit current to a safe level for the components.
Component List
Wemos D1 Mini
- Description: A compact microcontroller based on the ESP8266 WiFi chip.
- Pins: RST, A0, D0, D5, D6, D7, D8, 3V3, 5V, G, D4, D3, D2, D1, RX, TX
Pushbutton
- Description: A simple push-to-make switch.
- Pins: Pin 3 (out), Pin 4 (out), Pin 1 (in), Pin 2 (in)
Adafruit 16 NeoPixel Ring
- Description: A circular LED strip with 16 individually addressable RGB LEDs.
- Pins: VDD, IN, OUT, GND
USB Power
- Description: A power source that provides a 5V supply via a USB connection.
- Pins: +, -
Resistor
- Description: A passive two-terminal electrical component that implements electrical resistance.
- Pins: pin1, pin2
- Properties: 200 Ohms resistance
ProtoSnap - Pro Mini - Buzzer
- Description: An active buzzer module that can generate tones when powered.
- Pins: GND, D2
Wiring Details
Wemos D1 Mini
- GND connected to:
- USB Power (-)
- Adafruit 16 NeoPixel Ring (GND)
- ProtoSnap - Pro Mini - Buzzer (GND)
- Resistor (pin2)
- 5V connected to:
- USB Power (+)
- Adafruit 16 NeoPixel Ring (VDD)
- D1 connected to:
- Pushbutton (Pin 3 (out))
- D2 connected to:
- Adafruit 16 NeoPixel Ring (IN)
- D5 connected to:
- ProtoSnap - Pro Mini - Buzzer (D2)
Pushbutton
- Pin 3 (out) connected to:
- Resistor (pin1)
- Pin 1 (in) connected to:
- Resistor (pin1)
- Pin 4 (out) connected to:
- USB Power (+)
- Pin 2 (in) connected to:
- USB Power (+)
Adafruit 16 NeoPixel Ring
- VDD connected to:
- USB Power (+)
- IN connected to:
- Wemos D1 Mini (D2)
- GND connected to:
- Wemos D1 Mini (GND)
USB Power
- + connected to:
- Wemos D1 Mini (5V)
- Adafruit 16 NeoPixel Ring (VDD)
- Pushbutton (Pin 4 (out))
- Pushbutton (Pin 2 (in))
- - connected to:
- Wemos D1 Mini (GND)
Resistor
- pin1 connected to:
- Pushbutton (Pin 3 (out))
- Pushbutton (Pin 1 (in))
- pin2 connected to:
- Wemos D1 Mini (GND)
ProtoSnap - Pro Mini - Buzzer
- GND connected to:
- Wemos D1 Mini (GND)
- D2 connected to:
- Wemos D1 Mini (D5)
Documented Code
No code was provided for the microcontroller(s) in the circuit. Therefore, this section is left blank until the relevant code is supplied. The code would typically include initialization routines, control logic for the NeoPixel Ring and buzzer, and debouncing logic for the pushbutton.