Skip to content

Commit d231b3a

Browse files
authored
Merge pull request #63 from Project-Babble/main
Merge Dentechs Wiring
2 parents 0fc2391 + 9b631bb commit d231b3a

File tree

3 files changed

+23
-18
lines changed

3 files changed

+23
-18
lines changed

docs/hardware/components/Lighting.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For Project Babble, you can use either Infrared or visible light. Each has its a
1111
Consider these factors when choosing the type of lighting for your setup
1212

1313
### Additional Note About Voltage
14-
Either 3.3V or 5V can be used to power the LEDs, however the resistor used will be different. 3.3V has the minor advantage that it may be more consistent due to being provided by the ESP32's voltage regulator while 5V is provided from the usb port.
14+
Either 3.3V or 5V can be used to power the LEDs, however the resistors used will be different. 5V can only be used when powered over USB while 3.3V can be used with both USB and battery power.
1515

1616
## Sourcing
1717

docs/hardware/components/Wiring.mdx

+22-17
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
## Wires and Adapters
1+
# Wiring Guide
22

3-
If you are soldering and using custom cables:
3+
Follow these steps to wire LEDs to the Seeed XIAO ESP32-S3 safely and effectively:
44

5-
- 1x USB Type-A male port to power both ESPs or LEDs
6-
- Bare breakout:
7-
- [AliExpress](https://www.aliexpress.com/)
8-
- [Amazon](https://www.amazon.com/)
9-
10-
- One with a cover:
11-
- [AliExpress](https://www.aliexpress.com/)
12-
- [Amazon](https://www.amazon.com/)
5+
- **Power Options for LEDs**:
6+
- Either **3.3V** or **5V** can be used to power the LEDs.
7+
- **3.3V** is compatible with both USB and battery power.
8+
- **5V** can only be used when the ESP32 is powered via USB.
139

14-
- 1x Lower gauge wire to power ESPs
15-
- 28 AWG gauge wire:
16-
- [AliExpress](https://www.aliexpress.com/)
17-
- [Amazon](https://www.amazon.com/)
10+
- **Resistor Requirements**:
11+
- For **3.3V** power: Use **82-ohm resistors** in series with the LEDs.
12+
- For **5V** power: Use **160-ohm resistors** in series with the LEDs.
1813

19-
- 1x Higher gauge wire to power IR emitters (V3 or V4 some assembly required)
20-
- 34 AWG:
21-
- [AliExpress](https://www.aliexpress.com/)
14+
- **Steps to Wire the LEDs**:
15+
1. Connect the **GND pin** on the ESP32 to the cathode (short leg) of the LED.
16+
2. Add an appropriate resistor (82 ohms for 3.3V, 160 ohms for 5V) in series with the anode (long leg) of the LED.
17+
3. Connect the other end of the resistor to either:
18+
- **3.3V pin** (if using 3.3V power), or
19+
- **5V pin** (if using 5V power).
20+
4. Repeat the process for additional LEDs, ensuring each has its own resistor.
21+
22+
- **Important Notes**:
23+
- Do not connect LEDs directly to the ESP32 pins without a resistor, as it may damage the LEDs or the microcontroller.
24+
- Ensure the ESP32 is correctly powered based on your selected voltage (USB or battery).
25+
26+
![Babble Wiring Guide](/img/BabbleWiringGuide.png)

static/img/babbleWiringGuide.png

94 KB
Loading

0 commit comments

Comments
 (0)