The Forum » 'BB', Our Main Discussion Forum : Come in Here ! > Picaxe Humidity Sensor
Login Register Search Recent Posts

leea1561

Posted: 3 August 2017 12:29 PM
 

Member Since:
27 July 2017
Posts: 3
Points: 6


This post was awarded 1 point!

I am a year 9 student at Mission heights junior college.  We are currently working on a picaxe based project.  The problem I have is I am using a humidity sensor and I can't get it to read any measurements.

Could anybody please help with a code I can try to get my sensor to read.  I have tried readadc and readtemp (ds18b20) which works ok. 

Thanks any help is appreciated.


Last updated 10 August 2017 12:31 PM by leea1561

Andrew H

Posted: 6 August 2017 12:23 PM
 

Member Since:
15 June 2011
Posts: 3589
Points: 448


This post was awarded 1 point!

Need some details :)
Here are some systems I have used

These use

the I2C protocol so you have to read the data sheets to get this working and figure out how to convert the nyumbers in the registers to %Rh.  You can get other types and examples from the UK Rev Ed Picaxe site and 'how to do it' with I think... analogue outputs and readadc etc...  I have example code but no spare modules, you will need to get them first.

~ Andrew

 

 



Andrew H

Posted: 6 August 2017 12:25 PM
 

Member Since:
15 June 2011
Posts: 3589
Points: 448


This post was awarded 1 point!



leea1561

Posted: 10 August 2017 12:38 PM
 

Member Since:
27 July 2017
Posts: 3
Points: 6


This post was awarded 3 points!

Hi Andrew,

Thanks for your reply, could you help me with the code so I know which sensor will match this?

Regards,

Amanda

>>>
As below, the DHT11 is NOT compatible with the picaxe08M2 or I have not seen it used yet
I Have managed to make the above circuit work and have a spare unit and some code if you are keen to try it

https://duckduckgo.com/?q=instructable+DHT11+arduino&t=ffab&atb=v77-1_u&ia=web

There are heaps of examples and tutorials.

My Picaxe approach with a different technology and micro is Very different but if you are keen then I can send you a working example as spare for you and your teacher to evaluate and test ideas out with until I come past your school next time.

~ Andrew



leea1561

Posted: 10 August 2017 12:43 PM
 

Member Since:
27 July 2017
Posts: 3
Points: 6


This post was awarded 3 points!

Can you also tell me the best place to buy the humidity sensor from? I have bought the existing ones from surplustronics, but these are the only ones they have.

Thanks,

Amanda

>>> Hi, The information for the Surplustronics device and information for an Arduino is located here:
https://www.surplustronics.co.nz/products/7257-digital-temperature-and-humidity-sensor

There will be a lot of information out there on the www for this approach if you do some www searches.
I recomend using instructables.  They are GREAT as they have step by step 'how to' do just about everything.

E.g.
... and Temperature (DHT11) Sensor to Arduino and including DHT11 Library

https://duckduckgo.com/?q=instructable+DHT11+arduino&t=ffab&atb=v77-1_u&ia=web

There are heaps of examples and tutorials.

My Picaxe approach with a different technology and micro is Very different but if you are keen then I can send you a working example as spare for you and your teacher to evaluate and test ideas out with until I come past your school next time.

~ Andrew

 


Last updated 10 August 2017 12:44 PM by leea1561

You need to be a member to post.