Circuit Documentation
Summary
The circuit in question is designed around an Arduino Nano microcontroller and includes a 4-channel capacitive touch switch, two LEDs (one red and one green), and two resistors. The capacitive touch switch is powered by the Arduino Nano and its outputs are connected to digital pins on the Nano to detect touch events. Each LED is connected in series with a resistor to limit the current, and the anodes of the LEDs are connected to different digital pins on the Arduino for control. The cathodes of the LEDs are connected to the ground through the resistors.
Component List
Arduino Nano
- Description: A compact microcontroller board based on the ATmega328P.
- Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK.
4 Channel Capacitive Touch Switch
- Description: A touch sensor module with four touch-sensitive channels.
- Pins: OUT 1, OUT 2, OUT 3, OUT 4, GROUND, VCC.
Resistor (220 Ohms)
- Description: A passive two-terminal electrical component that implements electrical resistance as a circuit element.
- Resistance: 220 Ohms.
LED: Two Pin (red)
- Description: A red light-emitting diode.
- Pins: cathode, anode.
LED: Two Pin (green)
- Description: A green light-emitting diode.
- Pins: cathode, anode.
Wiring Details
Arduino Nano
- 5V connected to VCC of the 4 Channel Capacitive Touch Switch.
- GND connected to:
- GROUND of the 4 Channel Capacitive Touch Switch.
- pin1 of both 220 Ohm Resistors.
- D2 connected to the anode of the red LED.
- D3 connected to OUT 1 of the 4 Channel Capacitive Touch Switch.
- D5 connected to the anode of the green LED.
- D6 connected to OUT 2 of the 4 Channel Capacitive Touch Switch.
4 Channel Capacitive Touch Switch
- VCC connected to 5V of the Arduino Nano.
- GROUND connected to GND of the Arduino Nano.
- OUT 1 connected to D3 of the Arduino Nano.
- OUT 2 connected to D6 of the Arduino Nano.
Resistor (220 Ohms)
- pin1 of one resistor connected to GND of the Arduino Nano.
- pin2 of the same resistor connected to the cathode of the red LED.
- pin1 of the other resistor connected to GND of the Arduino Nano.
- pin2 of the other resistor connected to the cathode of the green LED.
LED: Two Pin (red)
- anode connected to D2 of the Arduino Nano.
- cathode connected to pin2 of a 220 Ohm Resistor.
LED: Two Pin (green)
- anode connected to D5 of the Arduino Nano.
- cathode connected to pin2 of a 220 Ohm Resistor.
Documented Code
Arduino Nano Code (sketch.ino)
void setup() {
}
void loop() {
}
Additional Notes (documentation.txt)
No additional code documentation was provided.