Search found 3 matches
- Fri Apr 30, 2021 9:09 pm
- Forum: Drivers for External Components
- Topic: Driver for SCD30 CO2 Sensor
- Replies: 10
- Views: 73941
Re: Driver for SCD30 CO2 Sensor
The readings of the SCD30 are part of a bigger system, but at this moment im testing it by the simplest way, almost the same code as mnvk52 from machine import Pin, SoftI2C from scd30 import SCD30 import utime def main(): i2cbus = SoftI2C(sda=Pin(21), scl=Pin(22), freq=10000) print(i2cbus.scan()) re...
- Fri Apr 30, 2021 6:57 pm
- Forum: Drivers for External Components
- Topic: Driver for SCD30 CO2 Sensor
- Replies: 10
- Views: 73941
Re: Driver for SCD30 CO2 Sensor
Thank you for replying so quickly SEL pin is connected to GND Baudrate setted to 10000 I use 20cm Duponts I tried with 3.3v and 5v at VCC Last error i got is --> OSError: [Errno 19] ENODEV .No device found, if i run i2c.scan() before sendind a command i get an empty list, and no recover its possible...
- Fri Apr 30, 2021 12:35 pm
- Forum: Drivers for External Components
- Topic: Driver for SCD30 CO2 Sensor
- Replies: 10
- Views: 73941
Re: Driver for SCD30 CO2 Sensor
I also facing the same error.
Im using SoftI2C to set I2C
I tryed with uPy 1.14 and 1.15 with same results. If I print an i2c scan previously I got that there are no i2c devices.
I tried with Arduino libraries and there is no problem.
Im using SoftI2C to set I2C
Code: Select all
i2cbus = SoftI2C(sda=Pin(21), scl=Pin(22))
I tried with Arduino libraries and there is no problem.