CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

SHT3x i2c code using 16F877A

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Spezi



Joined: 02 Nov 2016
Posts: 1

View user's profile Send private message

SHT3x i2c code using 16F877A
PostPosted: Wed Nov 02, 2016 7:09 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Nov 02, 2016 7:14 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Nov 02, 2016 8:47 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Nov 02, 2016 10:24 am     Reply with quote

Hi,

Here is what the OP is apparently referring to: https://www.sensirion.com/en/products/humidity-sensors/digital-humidity-sensors-for-various-applications/
_________________
John

If it's worth doing, it's worth doing in real hardware!
temtronic



Joined: 01 Jul 2010
Posts: 9229
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Nov 02, 2016 10:37 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group