Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with codes for SHT11 with Bascom 8051

Status
Not open for further replies.

Trishool

Full Member level 1
Joined
Jul 12, 2001
Messages
97
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Himalayas.(mount K2)
Activity points
821
Hi ,

Anyone tried writing codes for SHT11 with bascom 8051 , I am doing but there are some errors ,
all the time the Humidity and temperature O/P is:

Humidity = 5
Temperature = -10

I dont know why this , is the sensor faulty , or there is some probs with the coding . Anyone has done this before using bascom8051 compiler .


Regards
Ts
 

sht11 bascom

Hi,
Since BASCOM allows assembly routines, may be you can write routines in Assembly for basic measurement, have a look at the post for some ideas for assembly routines, if it helps you.
Regards,
Laktronics
 

    Trishool

    Points: 2
    Helpful Answer Positive Rating
Re: SHT11 B@scom-8051

Hi,
I'm using a 8051 based SOC(CC2430 from TI) and it a 32MHz
I went through the sample codes given in the SHT11 data sheet . But they didnt tell about how to get an 1MHz clock cycle..
and also they are using a bi directional pin to put the data OUT and IN..
But My device wont support that bidirectional pin.. How to do that..

Pls help me.. I'm struggling for this...


regards
chethan
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top