Skip to content

Commit 46b368b

Browse files
committed
Resize screenshot
1 parent 96c7281 commit 46b368b

File tree

1 file changed

+38
-4
lines changed

1 file changed

+38
-4
lines changed

docs/devices/SeedStudio-SenseCAP-D1.md

+38-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ We will focus below on the "SenseCAP Indicator D1L" which includes:
2323
- internal SCD40 CO2 Carbon Dioxid Sensors (Range: 1-500 VOC Index Points)
2424
- external AHT20 Temperature and Humidity sensor (Range: -40 ~ + 85 ℃/± 0.3 ℃; 0 ~ 100% RH/± 2% RH (25 ℃))
2525

26-
![Web Console showing readings](https://tasmota.github.io/docs/_media/devices/SeedStudio-SenseCap-D1-Console.png)
26+
![Web Console showing readings](https://tasmota.github.io/docs/_media/devices/SeedStudio-SenseCap-D1-Console.png){ width="352" }
2727

2828
## ESP32S3 build
2929

@@ -122,13 +122,13 @@ Now you need to flash the `RP2040` and use a simple Micropython script to bridge
122122

123123
## Flashing and configuring RP2040
124124

125-
# Step 1. Flash Micropython
125+
### Step 1. Flash Micropython
126126

127127
To flash the RP2040, you need to insert a pin in the "reset" small hole, and power-up the device while keeping the Reset button pushed. You can then release the Reset button.
128128

129129
RP2040 boots in flash mode, and shows a USB disk. Simply download the latest RPI Pico Micropython firmware (file ending with `.uf2`) from [the official Micropython site](https://micropython.org/download/RPI_PICO/). This was tested with `RPI_PICO-20241025-v1.24.0.uf2`.
130130

131-
# Step 2. Use Thonny
131+
### Step 2. Use Thonny
132132

133133
For easy setup, download and install [Thonny](https://thonny.org/):
134134

@@ -142,7 +142,7 @@ For easy setup, download and install [Thonny](https://thonny.org/):
142142
Here is how it should look like:
143143
![Thonny console](https://tasmota.github.io/docs/_media/devices/SeedStudio-SenseCap-D1-Thonny.jpg)
144144

145-
# MicroPython code for RP2040
145+
### Step 3. MicroPython code for RP2040
146146

147147
```python
148148
# below is an example of Micropython code for Seedstudio SenseCap
@@ -309,6 +309,40 @@ def run():
309309
run()
310310
```
311311

312+
### Step 4. Wrap-up
313+
314+
Reboot and you should the sensors working.
315+
316+
For reference, here are the boot logs with `Seriallog 3`:
317+
318+
```
319+
00:00:00.251 CMD: Fall back to serial port, no SOF packet detected on USB port
320+
00:00:00.251 HDW: ESP32-S3 v0.2 (PSRAM)
321+
00:00:00.262 UFS: FlashFS mounted with 4380 kB free
322+
00:00:00.267 CFG: Loaded from File, Count 386
323+
00:00:00.273 QPC: Count 1
324+
00:00:00.274 CFG: CR 362/699, Busy 0
325+
00:00:00.275 I2C: Bus2 using GPIO40(SCL) and GPIO39(SDA)
326+
00:00:00.290 CFG: No '*.autoconf' file found
327+
00:00:00.295 BRY: Berry initialized, RAM used 6578 bytes
328+
00:00:00.298 BRY: No 'preinit.be'
329+
00:00:00.305 DSP: File descriptor used
330+
00:00:01.236 UTI: FT5x06 initialized
331+
00:00:01.236 DSP: ST7701 initialized
332+
00:00:02.239 I2C: I2C serial configured on GPIO TX 19 / RX 20 for bus 1
333+
00:00:02.260 I2C: I2C serial initialized
334+
00:00:02.261 SRC: Restart
335+
00:00:02.263 Project tasmota - Tasmota Version 14.3.0.4(tasmota)-3_1_0(2024-11-07T22:41:20)
336+
00:00:02.275 LVG: Allocating buffer1 112 KB in main memory (flushlines 120)
337+
00:00:02.280 LVG: LVGL initialized
338+
00:00:02.405 I2C: AHT2X found at 0x38
339+
00:00:03.069 SCD40 serial nr 0x2FC1 0x5B07 0x3BCF
340+
00:00:03.081 I2C: SCD40 found at 0x62
341+
00:00:03.116 SGP4X serial nr 0x0 0x57F 0x84F1
342+
00:00:03.137 SGP4X features: 0x3240
343+
00:00:03.137 I2C: SGP4X found at 0x59
344+
```
345+
312346
## Internals
313347

314348
SeedStudio does not provide the detailed schematics, but still provides an overview of GPIO connection:

0 commit comments

Comments
 (0)