Skip to content

Latest commit

 

History

History

7_Sensors

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Tiva C TM4C123G LaunchPad Sensors

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

raw_data.jpg filtered.jpg two_channels.jpg kalman1.jpg kalman2.jpg kalman3.jpg

Hardware

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: