Skip to content

Commit 8fb4341

Browse files
authored
Merge pull request #1011 from ApolloAutomation/dev
Sync dev to main
2 parents bcbde52 + 4e0271a commit 8fb4341

13 files changed

Lines changed: 84 additions & 81 deletions
-52.4 KB
Loading
-64.8 KB
Loading
2.99 MB
Loading
1.48 MB
Loading
-3.94 MB
Loading
174 KB
Loading
50.3 KB
Loading
117 KB
Loading

docs/products/ESPHome-Starter-Kit/modules/apollo-breakout-module.md

Lines changed: 80 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,13 @@ description: >-
88

99
The Breakout Module gives your starter kit room to grow. It breaks the ESP32-C6's pins out so you can wire up your own parts, the components the kit doesn't include. By the end of this tutorial you'll have it attached to your ESP32-C6 and be ready to build something of your own.
1010

11-
!!! note "More detail coming soon"
12-
13-
This page covers the basics for getting the Breakout Module attached and online. We'll fill out the module-specific wiring, pinout, and example automations in a follow-up update.
14-
1511
!!! note "Before you start"
1612

1713
Work through the two prerequisites first:
1814

1915
* [Start Here](/products/ESPHome-Starter-Kit/start-here.md) to snap the module off the panel.
2016
* [First Steps](/products/ESPHome-Starter-Kit/setup/first-steps.md) to install ESPHome Device Builder and create your starter kit device.
2117

22-
#### Prerequisite
23-
24-
The <a href="https://esphome.io/components/web_server/" target="_blank" rel="noreferrer nofollow noopener">Web Server</a> is used to broadcast a local website using your device. This allows you to navigate to the IP address of your device or hostname such as <a href="http://esphome-starter-kit.local/" target="_blank" rel="noreferrer nofollow noopener">esphome-starter-kit.local</a> to easily control your new device!
25-
26-
1. In the ESPHome Device Builder, navigate to the **Core configuration** section.
27-
2. Click **Add component**.
28-
3. Scroll to **Web Server** and click **Add**.
29-
4. Click **Add** once more to confirm.
30-
5. Toggle **Show advanced settings**.
31-
6. Scroll down to **Version** and select **3** from the dropdown.
32-
33-
![](../../../assets/device-builder-install-web-server-v3.gif)
34-
3518
## Attach Breakout module
3619

3720
Connect the Breakout Module to the ESP32-C6 using one of the FPC ribbon cables that came with the kit. Either FPC connector on the ESP32-C6 works, top or bottom.
@@ -50,17 +33,91 @@ Connect the Breakout Module to the ESP32-C6 using one of the FPC ribbon cables t
5033

5134
3\. Slide the ribbon cable into the Breakout Module with the blue side facing upwards then press the latch down to lock it in place.
5235

36+
![](../../../assets/esphome-starter-kit-attach-fpc-to-breakout-module.webp)
37+
5338
4\. Plug the ESP32-C6 back into your computer.
5439

55-
## Wire up your own components
40+
## Pinout
41+
42+
The Breakout Module is covered in connectors, each labeled on the board. Most of them carry the same I2C bus at different voltages, plus a 1Wire port and a GPIO header for everything else.
43+
44+
![](/assets/esphome-starter-kit-breakout-module-pinout.webp)
45+
46+
=== "I2C"
47+
48+
Five connectors share the I2C bus, so most sensor breakouts plug straight in no matter which ecosystem they come from:
49+
50+
* **3.5mm jack**, top left, for an optional SHT20 temperature and humidity probe
51+
* **STEMMA QT (3.3V)**, middle left of the board
52+
* **STEMMA (5V, 4-pin)**, bottom center
53+
* **Grove**, bottom left
54+
* **SEN6x**, bottom right, a dedicated port for Sensirion SEN6x air quality sensors
55+
56+
| Signal | ESP32-C6 pin |
57+
| --- | --- |
58+
| SCL | GPIO0 |
59+
| SDA | GPIO1 |
60+
61+
Each connector also carries power and ground at its labeled voltage, so a single cable powers the sensor and wires up the bus.
62+
63+
=== "1Wire"
64+
65+
The connector labeled **1Wire** (top right of the board) is for 1-Wire sensors like the <a href="https://cdn-shop.adafruit.com/datasheets/DS18B20.pdf" target="_blank" rel="noreferrer nofollow noopener">DS18B20 temperature probe</a> (1), the same probe our [TEMP-1](/products/temp1/introduction.md) and [TEMP-1B](/products/temp1b/introduction.md) use.
66+
{ .annotate }
67+
68+
1. Probe options:
69+
70+
<a href="https://apolloautomation.com/products/long-temperature-probe" target="_blank" rel="noreferrer nofollow noopener">**1.5m (~5ft) Waterproof Flat Cable (DS18B20)**</a>: -55°C to 85°C (-67°F to 185°F), ±0.5°C accuracy. Ideal for fridges, freezers, fish tanks etc.
5671

57-
The Breakout Module is different from the other starter kit modules. Instead of a single fixed sensor with a ready-made component in Device Builder, it breaks the ESP32-C6's pins out to the module so you can wire up your own buttons, sensors, LEDs, and other parts. This is the module for tinkering and building something that isn't in the kit.
72+
<a href="https://apolloautomation.com/products/short-temperature-probe" target="_blank" rel="noreferrer nofollow noopener">**20cm (~8in) Waterproof Flat Cable (DS18B20)**</a>: -55°C to 85°C (-67°F to 185°F), ±0.5°C accuracy.
5873

59-
Because the wiring is up to you, there's no **Add Component** entry to select. You decide what to connect, then add the matching ESPHome component to your YAML by hand. The <a href="https://esphome.io/components/" target="_blank" rel="noreferrer nofollow noopener">ESPHome component index</a> lists every supported sensor, switch, light, and more, along with the config each one needs.
74+
Data is on **GPIO6**. In your config, the <a href="https://esphome.io/components/one_wire/" target="_blank" rel="noreferrer nofollow noopener">One Wire</a> component sets up the bus on that pin, and the <a href="https://esphome.io/components/sensor/dallas_temp/" target="_blank" rel="noreferrer nofollow noopener">Dallas temperature sensor</a> reads each probe on it.
6075

61-
!!! note "Pinout coming soon"
76+
Plug the probe's connector into the 1Wire port with the latch side facing up.
6277

63-
We'll add the Breakout Module pinout (which module pin maps to which ESP32-C6 GPIO) and a worked example or two once the module-specific docs are ready. For now, match your wiring to the GPIO numbers in your component's ESPHome config.
78+
![](/assets/esphome-starter-kit-attach-onewire-probe.webp)
79+
80+
=== "STEMMA (5V, 3-pin)"
81+
82+
The 3-pin STEMMA connector on the middle right of the board is a general-purpose 5V port.
83+
84+
| Pin (left to right) | Signal |
85+
| --- | --- |
86+
| 1 | GPIO6 (shared with 1Wire) |
87+
| 2 | 5V |
88+
| 3 | GND |
89+
90+
=== "GPIO header"
91+
92+
The 2x6 header in the middle of the board breaks out power, the UART, and spare GPIOs for anything else you want to wire up.
93+
94+
![](/assets/esphome-starter-kit-breakout-gpio-header-pinout.webp)
95+
96+
A few of these pins pull double duty:
97+
98+
* SCL and SDA are the same I2C bus as the connectors (GPIO0 and GPIO1).
99+
* IO6 is shared with the 1Wire port and the 3-pin STEMMA.
100+
* TX and RX are the ESP32-C6's UART.
101+
102+
??? note "Advanced: keeping 3.3V power on during sleep"
103+
104+
Out of the box, the module's 3.3V pin runs on the ESP32-C6's controlled power rail (**3vCTRL**). That's the battery-friendly setting: when the ESP sleeps, power to your connected components shuts off too.
105+
106+
If your project needs 3.3V that stays on through sleep, there's a solder jumper on the back of the board, top right, labeled **J5**. The existing bridge between the center pad and the **3vCTRL** pad looks like an H. Cut that bridge, then solder a new bridge from the center pad to the **3V** pad for always-on power.
107+
108+
![](/assets/esphome-starter-kit-breakout-3v-select-jumper.webp)
109+
110+
This involves cutting a trace and soldering on the board itself, so skip it unless you know you need it. Most projects are fine with the default.
111+
112+
## Add to ESPHome Device Builder
113+
114+
The Breakout Module is different from the other starter kit modules. There's no single **Add Component** entry to select, because the module doesn't have a fixed sensor on it. Instead it breaks the ESP32-C6's pins out so you can wire up your own parts. Pick the component that matches what you connected:
115+
116+
* For I2C devices (most sensor breakouts), add the component for your sensor, set SCL to pin 0 and SDA to pin 1, and turn on the pullup toggle for both pins.
117+
* For a DS18B20 probe on the 1Wire connector, add the <a href="https://esphome.io/components/one_wire/" target="_blank" rel="noreferrer nofollow noopener">One Wire</a> component on GPIO6, then a <a href="https://esphome.io/components/sensor/dallas_temp/" target="_blank" rel="noreferrer nofollow noopener">Dallas temperature sensor</a>.
118+
* For anything on the GPIO header, add the matching component and point it at the GPIO you wired.
119+
120+
The <a href="https://esphome.io/components/" target="_blank" rel="noreferrer nofollow noopener">ESPHome component index</a> lists every supported sensor, switch, light, and more, along with the config each one needs.
64121

65122
## Install the firmware
66123

@@ -79,8 +136,6 @@ With the device back online, whatever you wired up shows up on the web server al
79136
2. Find the entity for the component you added in the list.
80137
3. Trigger it (press your button, cover your sensor, and so on) and watch the value update.
81138

82-
!!! success "Your Breakout Module is wired up and ready!"
83-
84-
From here, the Breakout Module is your sandbox. Mix in any ESPHome component and build something that's all your own.
139+
From here, the Breakout Module is your sandbox. Mix in any ESPHome component and build something that's all your own.
85140

86141
--8<-- "_snippets/community-help.md"

docs/products/ESPHome-Starter-Kit/modules/button-module.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ The button module is the first input your starter kit gets, and the fastest way
1515
* [Start Here](/products/ESPHome-Starter-Kit/start-here.md) to snap the button module off the panel.
1616
* [First Steps](/products/ESPHome-Starter-Kit/setup/first-steps.md) to install ESPHome Device Builder and create your starter kit device.
1717

18-
#### Prerequisite
19-
20-
The <a href="https://esphome.io/components/web_server/" target="_blank" rel="noreferrer nofollow noopener">Web Server</a> is used to broadcast a local website using your device. This allows you to navigate to the IP address of your device or hostname such as <a href="http://esphome-starter-kit.local/" target="_blank" rel="noreferrer nofollow noopener">esphome-starter-kit.local</a> to easily control your new device!
21-
22-
1. In the ESPHome Device Builder, navigate to the **Core configuration** section.
23-
2. Click **Add component**.
24-
3. Scroll to **Web Server** and click **Add**.
25-
4. Click **Add** once more to confirm.
26-
5. Toggle **Show advanced settings**.
27-
6. Scroll down to **Version** and select **3** from the dropdown.
28-
29-
![](../../../assets/device-builder-install-web-server-v3.gif)
30-
3118
## Attach Button module
3219

3320
Connect the button module to the ESP32-C6 using one of the FPC ribbon cables that came with the kit. Either FPC connector on the ESP32-C6 works, top or bottom.
@@ -93,7 +80,7 @@ ESPHome Device Builder ships an **Add Component** flow that knows the pin layout
9380

9481
## Install the firmware
9582

96-
Flash the device so the new web server and button entity go live.
83+
Flash the device so the new button entity goes live.
9784

9885
1. Click **Install** on your device card in ESPHome Device Builder.
9986
2. Choose **Plug into the computer running ESPHome Device Builder** for the first flash, or **On The Network** if the device is already on your Wi-Fi.

0 commit comments

Comments
 (0)