Code Monkey home page Code Monkey logo

ambient's Introduction

STM32LIB

Libraries for STM32 to control following devices:

  • High-Precision Pressure Sensor (MPL3115A2)
  • Low-power 3D Magnetometer (MAG3110)
  • 3-Axis, Digital Accelerometer (MMA8491Q)
  • CO2 and TVOC Air Quality Sensor (CCS811)
  • I2C access to the PN532 RFID/Near Field Communication chip

RPI

Libraries for STM32 to control following devices:

  • High-Precision Pressure Sensor (MPL3115A2)
  • Low-power 3D Magnetometer (MAG3110)
  • CO2 and TVOC Air Quality Sensor (CCS811)

Ported from following sources: https://www.sparkfun.com/products/14181 https://github.com/larsch/rpi-mems-sensor https://github.com/sparkfun/SparkFun_MAG3110_Breakout_Board_Arduino_Library https://github.com/arduino-org/arduino-library-lucky-shield/blob/master/src/lib/MMA8491Q.h https://github.com/adafruit/Adafruit-PN532

Notes:

  • Magnetometer calibration hasn't been tested.
  • Pressure Sensor only includes code to read out the pressure in pascal. It includes two configuration modes:
  • Reading the sensor regardless of whether the sensor has new data
  • Receiving an interrupt signal when new data is available
  • CCS811 reports incorrect values between correct values with the RPI
  • RPI first 'make' and then compile with following command: 'gcc -o tempProg test.c libmemssensor.a -l bcm2835'
  • PN532 example included

ambient's People

Contributors

kwintenschram avatar stjaan avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

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.