Senseair S8

Moderators: grovkillen, Stuntteam, TD-er, enesbcs

Post Reply
Message
Author
JarredAwesome
Normal user
Posts: 27
Joined: 18 Oct 2020, 17:40

Senseair S8

#1 Post by JarredAwesome » 06 Dec 2020, 00:09

Anyone one else have problems with getting the S8 co2 sensor working?

No matter what I do, it seems to repeat back x00

Anyone have idea what’s going on?

It be checked the connections, I looped the TX and RX into each other on my Raspi’s side, and the software is able to read it.

TD-er
Core team member
Posts: 4246
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Senseair S8

#2 Post by TD-er » 06 Dec 2020, 01:08

What is the voltage you supply to the sensor?
The S8 can only handle up to 5V.
5.2V and higher does really damage the sensor.

Also make sure you connect the ESP's RX to TX on the sensor and vice verse.

Which pins do you use in ESPEasy?
If you try using Hardware Serial0, make sure "Use Serial" is unchecked in Tools->Advanced or else it will try to interpret all data coming from the sensor as a command instead of data.

JarredAwesome
Normal user
Posts: 27
Joined: 18 Oct 2020, 17:40

Re: Senseair S8

#3 Post by JarredAwesome » 06 Dec 2020, 01:33

I’m using the 5V pin from the Raspberry Pi.

Should I use the 3.3v?
The data sheet says it can only handle between 4.5v and 5.25

I’m pretty sure the raspberry pi settings are fine, because when I connect the Raspberry Pi’s RX and TX directly, the Pi is able to pickup what’s being sent out

TD-er
Core team member
Posts: 4246
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Senseair S8

#4 Post by TD-er » 06 Dec 2020, 11:37

Ah sorry, missed the Rpi-easy subforum....
I interpreted your post as "tested on the Pi and there it works, so the sensor isn't a problem..., now how to make it work on ESPEasy?"

Just to be sure, can you measure the voltage on the 5V pin, as I think that pin is directly connected to the USB power and not generated on the Pi board.
I guess the risk of overvoltage is then not really an issue as the Pi itself draws quite a bit of current.
So it is more likely there is a significant voltage drop over the USB cable due to the current drawn.

Perhaps the "5V" on the Pi is too low?

JarredAwesome
Normal user
Posts: 27
Joined: 18 Oct 2020, 17:40

Re: Senseair S8

#5 Post by JarredAwesome » 06 Dec 2020, 18:53

I just installed RPIEASY,

the Senseair option in the device tabs seems to be missing. Is there a way I could add it?

User avatar
enesbcs
Normal user
Posts: 559
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: Senseair S8

#6 Post by enesbcs » 08 Dec 2020, 18:05

JarredAwesome wrote: 06 Dec 2020, 18:53 I just installed RPIEASY,

the Senseair option in the device tabs seems to be missing. Is there a way I could add it?
I am very sorry, but RPIEasy is not ESPEasy. There are a lot of plugins which ESPEasy supports but RPIEasy not, and a lot of that RPIEasy supports but ESPEasy not.

I guess you can use _P049_MHZ19.py as a template and modify it according the Senseair documentation.

The currently supported devices in RPIEasy is the following:

- Standard ESPEasy devices:

P001 Generic GPIO Input / Switch
P002 PiAnalog (Virtual Analog based simonmonk's Pi_Analog library)
P003 Pulse counter
P004 Dallas DS18b20 temperature sensor
P005 DHT11/22 temperature and humidity sensor
P007 PCF8591 I2C ADC/DAC module
P008 Wiegand RFID
P009 MCP23017 I2C port extender
P010 BHT1750 I2C light sensor
P011 PME Mini Extender I2C
P012 LCD2004 I2C Display
P013 HCSR04 ultrasonic range sensor
P014 SI7021/HTU21D I2C temperature and humidity sensor
P015 TSL2561 I2C light sensor
P016 IR receiver (using LIRC kernel module)
P017 PN532 I2C RFID reader
P018 PCF8574 I2C port extender
P022 PCA9685 PWM I2C extender
P023 and P036 Simple I2C OLED (SSD1306/SH1106/SSD1309/SSD1331/SSD1351/SSD1322/SSD1325/SSD1327)
P024 MLX90614 I2C infrared thermometer
P025 ADS1015/ADS1115 I2C ADC
P027 INA219 I2C DC Voltage/Current/Power meter
P028 BME280/BMP280 temperature and humidity sensor
P029 Generic GPIO output / Relay
P035 IR transmitter (using LIRC kernel module)
P038 Neopixel LED
P045 MPU6050 I2C accelerometer
P049 MH-Z19 CO2 sensor (UART)
P051 AM2320 I2C temperature and humidity sensor
P057 HT16K33 LED
P058 HT16K33 Keypad
P059 Rotary encoder
P062 MPR121 I2C touch sensor
P064 APDS990 I2C light and proximity sensor
P068 SHT30 I2C temperature and humidity sensor
P069 LM75A I2C temperature sensor
P073 TM1637 - 7 digit display
P082 GPS sensor (UART)
P084 VEML6070 I2C UV Sensor

- Plugin playground based devices:

P111 Simple RF433 receiver
P112 Simple RF433 transmitter
P126 Ping plugin
P133 VL53L0X I2C laser range sensor
P153 MAX44009 I2C light sensor

- Non-standard devices:

P201 Generic serial input/output (UART)
P202 MCP9808 I2C temperature sensor
P203 MCP4725 I2C DAC module
P204 Stepper motor controller (4xGPIO)
P205 E-paper display
P206 PZEM-016 USB(RS485) AC Voltage/Current/Power meter
P207 IMU - MPU9150 I2C accelerometer
P208 FPM - serial fingerprint reader (UART)
P209 AMG88xx I2C thermal array sensor
P210 MCP3008 SPI ADC
P211 RC522 SPI RFID reader

P501 USB relay (v-usb)
P502 PyGame sound player (ALSA)
P503 PyGame background sound player (ALSA)
P505 VLC audio player
P506 PocketSphinx speech recognition
P508 USB Temper temperature sensor
P509 EvDev generic reader (joystick/mouse)
P510 BLE ITag switch sensor
P512 BLE Mijia temperature and humidity sensor
P513 BLE LYWSD02 temperature and humidity sensor
P514 USB Dallas temperature sensor ( https://www.instructables.com/id/Quick- ... -to-TTL-C/ )
P515 BLE MiFlora plant sensor
P516 BLE EQ3 thermostat
P517 BLE LYWSD03 temperature and humidity sensor
P518 BLE CGG1 temperature and humidity sensor
P520 BLEScan - active BLE scanner
P521 GTTS - Google TTS voice
P522 RTSP-to-JPEG camera gateway
P524 Keypad GPIO (4x4/3x4)
P525 Snapclient control
P527 BLESniffer - passive BLE background scanner

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest