Go Back   EcoRenovator > Improvements > Appliances & Gadgets
Advanced Search

Blog 60+ Home Energy Saving Tips Recent Posts Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 11-07-13, 09:14 AM   #11
Supreme EcoRenovator
AC_Hacker's Avatar
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 724 Times in 534 Posts

Originally Posted by Daox View Post
Do you have to do anything special with wiring the sensors?
If you are talking about 1-wire in particular, they want to be wired in a serial manner... though some short branches can still be OK. If you are talking about sensors in general, keep reading...

* * *

Well, yes. With analog sensors, you are sending minute and varying voltage levels to the ADCs to do their job, so the leads to the sensor become antennas, and the ADCs can't tell the difference between siginal and noise. you can do some good with caps and also with shielding, and also with wire routing, and also with minimizing the length of the leads.

With 1-wire, the ADC is on the same chip as the sensor, so the above situation is very much reduced because the analog siginal is immediately converted to digital, and since you are sending digitally encoded data, minor variations in voltages make no difference to the value that is sent to the logger.

Additionally, all data logging must contend with some degree of noise in the readings. The most common way of dealing with this is to do some averaging over a certain number of data samples. The averaging approach will depend on the severity of the noise and also the characteristics of the data. So you want just enough averaging so that the data will emerge from the background of noise.

It is for these reasons that I much prefer 1-wire... lower noise, a better shot at accuracy.

The datalogger I use is not free from noise, but it is very low. It could be improved by providing a process called "binning". This would mean that the different data sample streams would be put in a memory location, and subsequent samples of that stream would be added to that number. This would repeat for a given number of cycles (like maybe 10) and the final sum would be saved as the data sample representing that particular period. Then, in post processing, the final data would be divided (in this example by 10). The entire binning & dividing process could be handled by the processor if the data stream was not too intense. Otherwise, the summing part of the process is very easy for the processor to handle.

Originally Posted by Daox View Post
I made a not so great filter with a capacitor, but still have some issues with it. Does this logger incorporate some sort of software filtering, or hardware?
This logger uses 1-wire, so much of your problem is already reduced. It has no software filter, but being open source, a binning routine could quiet the noise still further.

Sounds like you are dealing with transient spikes which have a much different characteristic than the thermal data you wish to measure. Spikes have a very short rise time and can be easily detected. The valid thermal data does not have this kind of characteristic... so you could write a software routine that could detect short-rise-time data and insert in its place the average of the data immediately prior to the event.


I'm not an HVAC technician. In fact, I'm barely even a hacker...

Last edited by AC_Hacker; 11-07-13 at 11:07 AM..
AC_Hacker is offline   Reply With Quote

arduino, logger, temperature

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 12:00 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Ad Management by RedTyger
Inactive Reminders By Icora Web Design