Hello,
I have a Feather 32u4 Basic Proto and a Sensirion SCD30 (the basic module, not the Adafruit version)
The SCD30 works perfectly connected via I2C to an UNO, but the data does not arrive when connected to the Basic Proto. I've tried the example code in all available SCD30 libraries.
Am I missing something fundamental?
SCD30 working with UNO, not Basic Proto
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15699
- Joined: Tue Oct 20, 2015 3:22 pm
Re: SCD30 working with UNO, not Basic Proto
The UNO runs with 5v logic, the Feather with 3.3v. Are you powering the sensor with 3.3v?
Dave
Dave
- bn86
- Posts: 10
- Joined: Sun Apr 10, 2016 3:39 pm
Re: SCD30 working with UNO, not Basic Proto
Thanks Dave,
Yes, I'm powering with 3.3v from the Feather. The same setup works with an OLED display via I2C, so that bit is working.
Could the libraries be written for UNO and not compatible with the Feather?
Yes, I'm powering with 3.3v from the Feather. The same setup works with an OLED display via I2C, so that bit is working.
Could the libraries be written for UNO and not compatible with the Feather?
- dastels
- Posts: 15699
- Joined: Tue Oct 20, 2015 3:22 pm
Re: SCD30 working with UNO, not Basic Proto
You say you're using the bare module? If so, do you have pullups on SCL and SDA?
Dave
Dave
- bn86
- Posts: 10
- Joined: Sun Apr 10, 2016 3:39 pm
Re: SCD30 working with UNO, not Basic Proto
Ah, no I don't. Thanks - I've added them (although it worked on the UNO without them)
Just noticed the light on the sensor does not pulse like it does with the UNO. Not getting enough power?
Edit: the sensor only works with the UNO on 5v, even though the specs state 3.3V - 5.5V.
Just noticed the light on the sensor does not pulse like it does with the UNO. Not getting enough power?
Edit: the sensor only works with the UNO on 5v, even though the specs state 3.3V - 5.5V.
- dastels
- Posts: 15699
- Joined: Tue Oct 20, 2015 3:22 pm
Re: SCD30 working with UNO, not Basic Proto
I'm looking at the datasheet and it already has pullups to 3v.
No idea about the LED, but power should be ok.
You changed the board selection and recompiled for the Feather?
Have you tried adding some instrumentation (using Serial.println() or a logging library) to have a look at what the code is doing?
Dave
No idea about the LED, but power should be ok.
You changed the board selection and recompiled for the Feather?
Have you tried adding some instrumentation (using Serial.println() or a logging library) to have a look at what the code is doing?
Dave
- bn86
- Posts: 10
- Joined: Sun Apr 10, 2016 3:39 pm
Re: SCD30 working with UNO, not Basic Proto
Hmm, I got it working by supplying the SCD30 with 5v from the Feather's USB pin.
However, I plan to use this with a LiPo battery (the whole point of using the Feather) so I'm not sure if this is a solution.
Can I get 5v when hooked up to the battery?
However, I plan to use this with a LiPo battery (the whole point of using the Feather) so I'm not sure if this is a solution.
Can I get 5v when hooked up to the battery?
- dastels
- Posts: 15699
- Joined: Tue Oct 20, 2015 3:22 pm
Re: SCD30 working with UNO, not Basic Proto
You could use a boost like https://www.adafruit.com/product/4654. But it should work when powered by 3.3v.
Dave
Dave
- bn86
- Posts: 10
- Joined: Sun Apr 10, 2016 3:39 pm
Please be positive and constructive with your questions and comments.