Offline
Jr. Member
Karma: 0
Posts: 61
|
 |
« Reply #15 on: April 03, 2012, 03:22:51 am » |
I dont know rob, I havent opened the sensor to find out, also i dont know if they have altered the firmware of sensor to stop outputting null values if the sensor has no ldr fitted, the sensors output is always rh,Temp,unfiltered co2, filtered co2.
badwheels thats quite a demand from any all in one sensor, the cozir does most of what you need, if you were to have all those separate you would have quite a breadboard and be in wire/lib hell, your project sounds cool though good luck.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #16 on: January 10, 2013, 04:46:13 am » |
Hi all, Does anyone have an idea where to get COZIR.h library ?
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Online
Tesla Member
Karma: 90
Posts: 9407
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #17 on: January 10, 2013, 11:33:22 am » |
yes. the lib is attached on the first post (it includes the .h file)
|
|
|
|
« Last Edit: January 10, 2013, 11:48:58 am by robtillaart »
|
Logged
|
|
|
|
|
Netherlands
Online
Tesla Member
Karma: 90
Posts: 9407
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #18 on: January 10, 2013, 11:55:04 am » |
latest version I have is 1.03 - see attachment - but it is a long time since I edited in it. there may be some work in progress on some points in it. Note that the calibration functions must be used careful and do not use them if you don't understand their impact. #all disclaimers apply  If you have comments remarks let us know.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #19 on: January 17, 2013, 04:34:36 am » |
the attachment returns Error 503 Service Unavailable
Do you have code that works on an arm nxp lpc1769 ?
My CO2 readings seem high what's the best way to calibrate this device. I only have outside air to calibrate against.
many thanks
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 61
|
 |
« Reply #20 on: January 17, 2013, 05:04:27 am » |
Just calibrate via fresh air which gives a value of about 380, maybe your in an area of high co2, I have a main road next to my house with a lot of traffic and average values were 420-450, are your values wildly out of range?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #21 on: January 25, 2013, 12:39:20 pm » |
What program did you use to display the graphs of the temperature, humidity, co2?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #22 on: March 14, 2013, 07:21:46 am » |
hi! I'm using a COZIR™ Wide Range Sensor, http://www.gassensing.co.uk/wp-content/uploads/2013/02/COZIR_-WideRange_-Datasheet_GSS.pdf, and I tried to use the cozir.h library as mentioned in the first post, but without success. Must I observe some particular attention? I'm tryng it with only usb cable attached to my Arduino UNO, perhaps I need an external 12V input for Arduino? I need only 3.3v to power the sensor. I receive nothing from sensor, all zeroed values... I tried also the sample from Cozir for this sensor to read byte-to-byte from serial but I receive only 255 and never 0x0A for end transmission. please help me thx. [fortunato]
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Online
Tesla Member
Karma: 90
Posts: 9407
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #23 on: March 14, 2013, 08:57:41 am » |
One often occuring problem with rs322 devices is that rx and tx need to be reversed. Did you try that?
Furthermore the sensor high bit is only 3.3Volt. The UNO needs at least 4.5 volt to recognize it as a HIGH signal. Check this with a voltmeter. You might need a 3.3<->5 voltage converter for this.
Furthermore you could check if the analog out gives a (changing) voltage. Can you check?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #24 on: March 16, 2013, 12:04:41 pm » |
Hi robtillaart
which pin I could check for analog voltage?
I have an external max3232 interface, which pins I must connect? I found that:
sensor tx: t1n sensor rx: r1out arduino tx: r1n arduino rx: t1out
it's correct? I receive nothing :-(
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Online
Tesla Member
Karma: 90
Posts: 9407
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #25 on: March 17, 2013, 05:50:03 am » |
which pin I could check for analog voltage? according to - http://www.gassensing.co.uk/wp-content/uploads/2013/02/COZIR_-WideRange_-Datasheet_GSS.pdf - pin 9 is analogue I receive nothing :-( A voltmeter should be able to detect a signal from the TX pin of the sensor. this is the way to connect serial devices. sensor TX --> Arduino RX senosr RX <-- Arduino TX (disclaimer, I don't have this sensor myself)
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #26 on: March 19, 2013, 12:48:54 am » |
Hi robtillaart,
I connected the sensor as you hint, with 5v instead of 3.3v and it works correctely.
thx!!!
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Online
Tesla Member
Karma: 90
Posts: 9407
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #27 on: March 19, 2013, 01:40:52 am » |
Good to hear that! If you have remarks wrt the lib please post it in this thread that might be things missing, buggy, etc 
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #28 on: March 25, 2013, 01:16:39 pm » |
Does anybody have a picture of the inside of the enclosure or DirtGambit, would it be too much trouble to see the inside of the box? Also, does anybody have a link for that enclosure?
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Online
Tesla Member
Karma: 90
Posts: 9407
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #29 on: March 25, 2013, 01:27:59 pm » |
You can send him a PM with your request...
|
|
|
|
|
Logged
|
|
|
|
|
|