CabrilloRoboticsClub / cabrillo_rov_2023

Cabrillo College Robotics Club repo for the MATE ROV 2023 competition
GNU Affero General Public License v3.0
10 stars 5 forks source link

Temperature sensor #224

Open steph1111 opened 7 months ago

steph1111 commented 7 months ago

Task summary

Create a node which reads and publishes data from the Waterproof 1-Wire DS18B20 Digital temperature sensor on the branch temp-sensor. The temperature sensor utilizes the 1-Wire protocol and is connected to Raspberry Pi pin number 7 (it is not on i2c).

Resources and notes

An initial implementation of the temperature sensor node may be referenced DS18B20.py. However, this does not work, as the version of Ubuntu we are running on the pi does not support the one wire. We have already attempted to update the version, however this resulted in a failed update which bricked the pi. The solution around this is Linux and OneWire (using DS18B20 Temperature Sensor