#Hi all not sure whether this is the
1 messages · Page 1 of 1 (latest)
Pins are:
5v -> SenseAir G+
Gnd -> SenseAir G0
GPIO1 / Tx -> SenseAir Rx
GPIO3 / Rx -> SenseAir Tx
I haven't touched the ESPHome basic configuration, except for adding these:
`# Example configuration entry
uart:
rx_pin: GPIO3
tx_pin: GPIO1
baud_rate: 9600
sensor:
- platform: senseair
co2:
name: "SenseAir CO2 Value"
update_interval: 60s`
SenseAir sensor is blinking an orange led.
Oh yeah, the actual problem 😅 It is saying
"Reading from UART timed out at byte 1 ! (or 0)
Reading data from SenseAir Failed!
I don't use ESPhome, but the correct way to approach this would be
1st determine if the problem is the ESP/ the sensor/ the code
this can be done by verifying the sensor on another board (if you have one) with the same code
there are plenty of video tutorials with usually sensor example code in description to test if the sensor works at the bare minimum
A problem I can already see is that GPIO 1 and 3 are the RX and TX used by the USB port (just looking at the pdf)
I recommend that you try GPIO 16 and 17 (U2RXD and U2TXD in orange on the pdf)
@rain sluice