Si7051 Temp Sensor

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
MarkW
Flowcode v5 User
Posts: 118
Joined: Thu Sep 17, 2009 1:30 pm
Has thanked: 3 times
Been thanked: 11 times
Contact:

Si7051 Temp Sensor

Post by MarkW »

Hello

has anyone perhaps used the Si7051 temp sensor from Silabs?

having a hassle trying to get data out of this guy, uses I2C
but i cannot really make sense of their protocol

Also i am not sure what address to use...they say they
have 7 bit base address (0x40)...with 8th bit as W/R
100 0000 base addr
1000 0000 WR address is 0x80 for write
1000 0001 RD address is 0x81 for read

Is this correct assumption for starters?

Then first u need to set config register.....ask it to do temp reading.....collect data

i cant even get past setting the config register....hangs

Thanks

Mark

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Si7051 Temp Sensor

Post by LeighM »

Hi Mark,
Yes, you are correct about the addresses.
I've done a quick starter, and attached, hope it helps (and hope it does not have bugs :wink:
Attachments
Si7050.fcfx
(7.46 KiB) Downloaded 191 times

MarkW
Flowcode v5 User
Posts: 118
Joined: Thu Sep 17, 2009 1:30 pm
Has thanked: 3 times
Been thanked: 11 times
Contact:

Re: Si7051 Temp Sensor

Post by MarkW »

Hi Leigh

Thanks....is that file for FC6? i am trying this on FC6

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Si7051 Temp Sensor

Post by LeighM »

Yes, I spotted that. Why, is it giving you problems?

MarkW
Flowcode v5 User
Posts: 118
Joined: Thu Sep 17, 2009 1:30 pm
Has thanked: 3 times
Been thanked: 11 times
Contact:

Re: Si7051 Temp Sensor

Post by MarkW »

will try it little later....just asking FC vers for now

Post Reply