Coder Social home page Coder Social logo

maarten-pennings / iaqcore Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 7.0 420 KB

Arduino library for the iAQ-core indoor air quality sensor module with I2C interface

License: MIT License

C++ 100.00%
arduino arduino-library driver gas-library i2c-interface iaq iaqcore tvoc

iaqcore's People

Contributors

maarten-pennings avatar sytabaresa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iaqcore's Issues

STM32F103C8 support

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

Install in Platform IO

Hello Sir I was not able how to install the libary at Platform IO maybe you are able to help me.

Setting SDA and SCL pins

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.

Pull Up Resistors

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.