- Sat Apr 15, 2017 5:09 pm
#194380
Hi Kids;
I'm building a Arduino Uno v3 based Refrigeration Shed Environmental Controller for, wait for it,... my refer shed.....!
I have multiple problems but, that's for a different board.
What I would like to do is to connect two SEN-10167 [HRT03] sensors to the Arduino Uno v3, one indoors and one outdoors.
How do I code this? I know I need to commit an I/O pin to each HRT03, done. Now how is the HRT03 Library called for the two devices? I assume I only need one HRT03 Object ([RHT03 rth;] - Yes?). So then I'll use a subroutine (function) to call the RHT03 with me passing the function the RHT03 pin number for the device of interest. Sound right? (I'll provide the subroutine if we need to see the proposed code.)
A 2nd problem is when I down load the SparkFun_RHT03.h library it doesn't seem to be in the right format for an Arduino IDE library. What the heck am I missing?
Thanks for your time with this. KD0NSU
I'm building a Arduino Uno v3 based Refrigeration Shed Environmental Controller for, wait for it,... my refer shed.....!
I have multiple problems but, that's for a different board.
What I would like to do is to connect two SEN-10167 [HRT03] sensors to the Arduino Uno v3, one indoors and one outdoors.
How do I code this? I know I need to commit an I/O pin to each HRT03, done. Now how is the HRT03 Library called for the two devices? I assume I only need one HRT03 Object ([RHT03 rth;] - Yes?). So then I'll use a subroutine (function) to call the RHT03 with me passing the function the RHT03 pin number for the device of interest. Sound right? (I'll provide the subroutine if we need to see the proposed code.)
A 2nd problem is when I down load the SparkFun_RHT03.h library it doesn't seem to be in the right format for an Arduino IDE library. What the heck am I missing?
Thanks for your time with this. KD0NSU