This project shows you how to use I2C
to communicate with BMP180/ BMP280 Barometric Pressure Sensors
. This project supports multiple I2C slave devices. The data from sersor is filtered to remove noise and glitch. This is an option to use my filter or a simple Kalman filter.
The filtered pressure value is then used to make musical notes, via on-broard synthesizer with DAC or via PC's MIDI synthesizer. See the demo video: pressure_to_sound.mp4
Hardware
- Texas Instruments Tiva C Series TM4C123G LaunchPad
- BMP180 or BMP280 barometric pressure sensors
- USB Cable, of course
Software
- Install TI's Code Composer Studio
- Install TivaWare for C Series
- Include your Tivaware folder into project, you can use the macro TI_TIVAWARE_ROOT in vars.ini
- Change the heap size as you want
- To use ROM_function() you must define part number of this kit TARGET_IS_TM4C123_RB1
- You can flash to the board via CCS or TI's LM Flash Programmer
Licensing
The MIT License applies to this software and its supporting documentation: