Skip to content

Sarf service to get sensor data using temperature & humidity SHT20 sensor modbus RTU

Notifications You must be signed in to change notification settings

maxdod/temphum_ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

temphum_ws

Sarf service to get sensor data using temperature & humidity SHT20 sensor modbus RTU Added sensor for radiation /getSensorData is the name of Service Server

returns temperatura and umidita

rosservice call /getSensorData temperatura: 20.43 umidita: 54.91

requirements: pip install minimalmodbus

to build : catkin_make on temphum_ws

to run: rosrun temphum scripts/getTempAndHumidity.py

Publish Data: rosrun temphum send_sensor_data

default port /dev/ttyUSB0 change permissions : sudo chmod 777 /dev/ttyUSB0 or add user to dialout group image

About

Sarf service to get sensor data using temperature & humidity SHT20 sensor modbus RTU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published