CarletonURocketry / fetcher

A QNX process for fetching data from sensors over I2C.
https://carletonurocketry.github.io/fetcher/
MIT License
1 stars 0 forks source link

Sensor interface for humidity and temperature sensor #10

Closed linguini1 closed 7 months ago

linguini1 commented 10 months ago

A sensor interface needs to be implemented for the humidity and temperature sensor: https://www.mouser.ca/datasheet/2/682/Datasheet_SHT4x-3003109.pdf

You can find more information about how the avionics hardware team implemented the board here (including addresses).

isharghura commented 7 months ago

Hey Angus, was just wondering if you were working on this, I'm new to this club and Matteo said this could be a good first issue to work on, thanks

AngusJull commented 7 months ago

Hey, I was actually just about to get started on actually doing it this evening. I think if you have experience with C and QNX, and have a grasp on what's going on with our sensors in general, this one it could be a good place to start, though if you're totally new the issues on packager are also good to look at since they're pretty quick. Let me know what you think.

isharghura commented 7 months ago

Hey, sorry for the late reply! I will take a look at the issues on packager and see what I can do there instead.

AngusJull commented 7 months ago

Alright, that sounds like a good idea. @isharghura If you're at the meeting on Saturday I'd be happy to talk about this issue and about Packager issues too.

AngusJull commented 7 months ago

Branch is humidity-temp-interface. I've added the open and read functions and what I think is everything that should be needed to see it work. I also added CRC functions but haven't tested them or added them to the SHT41 code yet.