Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Temperature Sensor System #94

Open
7 of 8 tasks
PizzaAllTheWay opened this issue Oct 7, 2023 · 3 comments
Open
7 of 8 tasks

[TASK] Temperature Sensor System #94

PizzaAllTheWay opened this issue Oct 7, 2023 · 3 comments
Assignees

Comments

@PizzaAllTheWay
Copy link
Contributor

PizzaAllTheWay commented Oct 7, 2023

Description

Electrical has impelmented 6 Temperature sensors on board. The goal is to measure ambient temperature inside of the Freya ASV with 3 sensors. At the same time use other 3 sensors and attach them to points of interest that usually generate a lot of heat and monitor their behavious under operation.
Electrical has already attached all 6 sensors and conected them to a Arduino. They are analog sensor and their values are sampled by arduino and converted to real temperature data, this part electro has gracefully done for uss already. The only part we need to do is conect this Arduino to I2C and get data to RPI and then publish it to ROS.

Todo List:

  • Look into the Arduino code and ask electrical if there are any questions as the whole electro contributed to the project
  • Make a I2C impelemntation that sends all 6 sensor data simultaniously from Arduino. Basicaly make Arduino I2C impelementation. Take inspiration from Bootleg ESC code listed under "Usefull link section"
  • Make a Temperature Driver prototype code on RPI side that takes data from I2C buss and prints temperature data in the correct order. Take inspiration from Bootleg ESC code listed under "Usefull link section"
  • Clean upp Arduino code and document it
  • Make Temperature Driver "Library" that other code files can use on RPI. This library should be clean and well documented.
  • Now that we have a Temperature Driver "Library", make a ROS node that uses this "Library" to publsih Temperature data for all the sensors.
  • Test the whole system out
  • DOCUMENT!!!

Usefull links:

@PizzaAllTheWay
Copy link
Contributor Author

The 6 Temperature sensors are cheap simple analog NTC Termistor. Basicallly when temperature goes upp, its resistence drop exponentially, so it is a non linear curve which means you have to calibrate code to convert exponential curves

@PizzaAllTheWay
Copy link
Contributor Author

Needs documenting

@PizzaAllTheWay
Copy link
Contributor Author

Finished in 4h, speedrun ez gg clap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants