View previous topic :: View next topic |
Author |
Message |
Spezi
Joined: 02 Nov 2016 Posts: 1
|
SHT3x i2c code using 16F877A |
Posted: Wed Nov 02, 2016 7:09 am |
|
|
Hello, I need your help! In a former project I used SHT2x with a 16F877, but now I would like to change to SHT3x. Does anybody have a code running with SHT3x? |
|
|
RF_Developer
Joined: 07 Feb 2011 Posts: 839
|
|
Posted: Wed Nov 02, 2016 7:14 am |
|
|
As you have successfully used the SHT2, I'd think you were one of the best placed to write code for the SHT3. Indeed, I'd hope you, or someone like you, would be the one to answer this question rather than ask it. It can't be all that different from the SHT2, can it?
We don't usually supply code for people. We help people to write their own code. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Wed Nov 02, 2016 8:47 am |
|
|
It's really, really help if you posted a link to the device !
Googled 'sht3' and came up with lots of interesting stuff but nothing jumps out as a peripheral device...
Jay |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Wed Nov 02, 2016 10:37 am |
|
|
Gee, humidity sensor seems easy enough to code. The datasheet is well laid out, probably very similar to the dash2 version ?
The good thing is it's 5v so no nasty interface to 877, simple wiring !
The obvious place to start is to see if PCM P's I2C scanner program sees it. After that maybe see if the dash2 driver is similar enough to work or modify as required?
Without real parts to test, I'm not willing to cut code.
Jay |
|
|
|