Skip to content

A ROS package for communicating with the MPL3115A2 temperature, barometer, and altimeter sensors.

License

Notifications You must be signed in to change notification settings

GAVLab/ros_mpl3115a2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ros_mpl3115a2

A ROS node for communicating with the MPL3115A2 temperature, barometer, and altimeter sensor.

Description

The node communicates with the MPL3115A2 via i2c on the Raspberry Pi using Adafruit's Circuit Python library: https://learn.adafruit.com/using-mpl3115a2-with-circuitpython. The i2c address is preset to 0x60 which is the default. This is configurable if needed. The data is stored in the following:

  • Temperature (C): mpl3115a2/temperature
  • Pressure (Pascals): mpl3115a2/pressure
  • Altimeter (m): mpl3115a2/altimeter

Installation Instructions

Running the Node

  • Option 1: rosrun ros_mpl3115a2 talker.py
  • Option 2: roslaunch launches/pitemp.launch

Tested Setup

It should work on other versions but Python 3 is a requirement.

  • Platform: Raspberry Pi 4
  • OS: Ubuntu MATE 20.04
  • ROS: Noetic
  • Python: 3.8.5

About

A ROS package for communicating with the MPL3115A2 temperature, barometer, and altimeter sensors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published