- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Need a component for Bosh BME280 humidity sensor. Has anybody already written it? There is a Bosh driver in C that requires a few methods to implement the I2C interface. The Bosh code does some pretty complex math to apply calibration values so I think the component should use it.
Also has anybody tried using a low side switch to activate and deactivate the BME280 when in circuit so you can have more than one BME280 on the same I2C bus? The user guide says you can not use a high side switch due to the way they implemented the blocking diodes but it does not say you couldn't use a low side switch. I may just switch over to SPI but then will have to buy new breakout boards for the BME280.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum, Joseph!
For the I2C access to the BME280 there is an address bit on pin 5 which allows you to select between two devices on the same bus. Could be easier than your low-side switch.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum, Joseph!
For the I2C access to the BME280 there is an address bit on pin 5 which allows you to select between two devices on the same bus. Could be easier than your low-side switch.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Joseph,
I am currently trying to make the c library work with Psoc 4 i2c component. We already ported the library and use it with a stm32 microprocessor from ST. There we had more flexibility in implementing the i2c read and write functions to assign them to the bme280 structure inside the library, but the Psoc 4 functions does not use the concept of register alongside with the address. If I will succeed with this I will let you know, firstly I need to make the i2c functions work properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Marian-Emanuel Ionascu.
Thank for your code for BME280 - I am going to try it tonight. Maybe you have moved a bit forward and already have full implementation of BME280 taking in account all calibration values? I am building Actuator for ventilation windows and gone use BME280 in conjunction with IAQ core P to acquire all necessary measurements. Initially build everything around ESP8266 but due to IAQ sensor requirement for I2C clock stretching (not supported by ESP8266) decided to assign measurement tasks to CY8CKIT. By the way BME280 module works without any issues on ESP8266 (nodemcu lua).
Please update your achievements with BME280.
Regards,
Aidas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
would you mind sharing your psoc creator project file for this?
thank you in advance