maarten-pennings / iaqcore Goto Github PK
View Code? Open in Web Editor NEWArduino library for the iAQ-core indoor air quality sensor module with I2C interface
License: MIT License
Arduino library for the iAQ-core indoor air quality sensor module with I2C interface
License: MIT License
Hello,
this is the first time i'm writing an issue on Github.
Well, i'm using your library with STM32duino and a "Blue Pill" STM32F103C8 - It's working fine out of the box!
I just set the I2C clock speed to 100kHz and added a small ceramic capacitor (0.1 µF) between GND and VCC near the sensor.
Maybe you can add this MCU to the list of supported ones.
Best regards,
anwofis
Hello Sir I was not able how to install the libary at Platform IO maybe you are able to help me.
Hello Maarten,
The examples show a function being called to setup Wire:
Wire.begin(/*SDA*/D2,/*SCL*/D1);
When using this library in PlatformIO with the Arduino framework I had to set SDA and SCL separately:
Wire.setSDA(SDA);
Wire.setSCL(SCL);
Wire.begin();
Based on current Arduino documentation, they might've changed Wire's 'begin' function to only accept an address rather than set SDA and SCL pins.
After this change is made, the code successfully runs on an STM32L031K6 microcontroller.
Hi Maarten!! just read IAQ-core P datasheet from AMS ans they talk about use 4k7 Ohms resistors with SDA / SCL and VCC.
I want to mount one IAQ and would know if u use the resistors berfore mountig.
Resistors are not in your wiring and i'm not sure if ther are necesary or not.
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.