Nano Data Logger
nano-data-logger

The Nano Data Logger is an easy and inexpensive way to start collecting environmental data. It relies on a shield (a PCB which plugs into another PCB) which snaps onto an Arduino Nano. The shield adds a real time clock and microSD card socket to the Arduino microcontroller. When the components are prepared properly, no soldering is required to start saving data from a sensor. Kits to build a Nano Data Logger are available at the [Public Lab Store](https://store.publiclab.org/collections/water-monitoring/products/nano-data-logger-kit?variant=12516302323821) and the [KAPtery](http://kaptery.com/product/nano-logger-kit). A Nano Data Logger is very convenient for fast prototyping trials. Sensors and other devices (e.g., small display), can be connected without soldering because all of the pins on the Nano are exposed as male headers. The integrated real time clock and microSD socket make it easy to save sensor data with accurate time stamps. To achieve the convenience of the Nano Data Logger, the ability to log data for many weeks is lost. It will not last on small batteries for more than several days without clever modification, so it is best suited for data collection for short periods, with alternative power (solar panels), or near mains power. ###Parts The two primary parts are: - **Arduino Nano**. Nano clones cost about $3.00 on eBay or [$4.00 to $10.00 at US retailers](https://www.amazon.com/s/?ie=UTF8&keywords=arduino+nano&tag=googhydr-20&index=electronics&hvadid=173554986927&hvpos=1t2&hvnetw=g&hvrand=15080925241715253772&hvpone=&hvptwo=&hvqmt=e&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9003117&hvtargid=aud-345055983774:kwd-15608517219&ref=pd_sl_7sxbv5mstz_e). They can be cheaper if the headers are not soldered on if you want to do this yourself. - **Logging shield for Nano**. These are mostly available on[ eBay for $5.00 to $6.00](https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2047675.m570.l1313.TR0.TRC0.H0.XData+logging+shield++for+Arduino+NANO.TRS5&_nkw=Data+logging+shield++for+Arduino+NANO&_sacat=0). Also required: - The real time clock on the logging shield needs a [**CR1220 coin cell** battery](https://www.amazon.com/s/ref=nb_sb_ss_i_1_5?url=search-alias%3Delectronics&field-keywords=1220+battery&sprefix=1220+%2Celectronics%2C159&crid=1QZ3OBPARF67Q&rh=n%3A172282%2Ck%3A1220+battery). - Data is saved on a [**microSD card** which costs about $5.00 - $10.00](https://www.amazon.com/s/ref=nb_sb_ss_i_3_11?url=search-alias%3Delectronics&field-keywords=4gb+microsd+card&sprefix=4gb+microsd%2Celectronics%2C148&crid=38C6D1YHWDQV1&rh=n%3A172282%2Ck%3A4gb+microsd+card) - For autonomous operation a battery or case for batteries is required. Four AA or AAA alkaline batteries will supply 6 volts (6 to 12 volts are okay). The parts above do not include a sensor or USB cable to connect to a computer for programming and data transfer. For use near mains power, a mini USB cable and phone charger (5v) are convenient. [![Nanolog_20170509-8764.JPG](https://publiclab.org/system/images/photos/000/022/915/medium/Nanolog_20170509-8764.JPG)](https://publiclab.org/system/images/photos/000/022/915/original/Nanolog_20170509-8764.JPG) *Above: These parts are included in the [KAPtery kit of the Nano Data Logger](http://kaptery.com/product/nano-logger-kit).* The Nano Data Logger is available as a kit with everything required to log temperature and barometric pressure without doing any soldering. Order it from the [Public Lab Store](https://store.publiclab.org/collections/water-monitoring/products/nano-data-logger-kit?variant=12516302323821) or the [KAPtery](http://kaptery.com/product/nano-logger-kit). ###Assembly The Nano data logging shield snaps onto the Arduino nano. A battery or battery pack can be connected with screw down terminal blocks. Power can also be supplied via mini USB cable from a computer or DC converter (phone charger). Sensors can be connected with DuPont wires with female connectors. If all of these components are prepared properly, no soldering is required to assemble the logger. However, preparing some of the components (Nano, sensors) might require soldering. ###Software A sketch which logs data from a BMP280 sensor for pressure and temperature is available at the [KAPtery Guides page](http://kaptery.com/guides/). See below for several examples of data logging with the Nano Logger. Examples include using different sensors to log data for temperature, humidity, pressure, light, and tilt angle. ### Activities [activities:nano-data-logger] ### Questions [questions:nano-data-logger] ...


Author Comment Last activity Moderation
kinasmith "this is actually an excellent solution to this problem without adding additional parts/complexity. The 1.1v internal reference is much more stable ..." | Read more » over 6 years ago
kinasmith "I'll just chime in here for a second as someone who has worked a lot with arduino dataloggers and ADC's, etc. I agree with @cfastie on all points...." | Read more » over 6 years ago
Bronwen "Apologies for the mass tagging here, I know a lot of you have been in the mix providing great support and advice so far, but if anyone feels they h..." | Read more » over 6 years ago
cfastie "There is a very simple way to read the HCHO sensor with a resolution of about 10 ppb, assuming the range of the sensor is 0 to 1000ppb. (Out of the..." | Read more » over 6 years ago
Alastair_ "8-Bit resolution is fine i'd think, you just need to amplify the signal. Any first year electrical engineering student worth her salt can design th..." | Read more » over 6 years ago
warren "I'd like to try to get input from some of the many people at http://publiclab.org/contributors/datalogger who have almost certainly interfaced thei..." | Read more » over 6 years ago
nshapiro "Thanks so much, Chris! So it does look like the relationship is linear between output and ppb. here is what a friend writes who has used this tool ..." | Read more » over 6 years ago
zengirl2 "Unfortunately this is out of my league. You might try posting on Adafruit's forum asking about signal, but they won't be able to speak for the sens..." | Read more » over 6 years ago
cfastie "I think it is par for the course that a random proprietary sensor will not work gracefully with an Arduino. In this case, it might be that a standa..." | Read more » over 6 years ago
warren "Thanks, Nick - yeah, i think the ADC stuff is more complex than it should be! Maybe we can recruit some help to get a basic Arduino sketch for thi..." | Read more » over 6 years ago
nshapiro "Ah okie thanks! this is all waaaaay over my head. thanks for the clarification re:professional sensor outputs. I think the precision is higher than..." | Read more » over 6 years ago
warren "As to your other question about professional sensors -- I think there's nothing super special about the sensor you have, and almost any system (ard..." | Read more » over 6 years ago
warren "Sorry, Nick I think it may still be an open question whether the manufacturer provides greater precision than this. Do you know? And I think the p..." | Read more » over 6 years ago
nshapiro "Thank you, Chris! This is extremely helpful, although a bit disappointing that none of the DIY data loggers would work without serious fiddling or ..." | Read more » over 6 years ago
warren "@nshapiro - I think this is a provisional "yes" -- thanks @cfastie! Which is to say, a good follow-up question for the company is "how much resolut..." | Read more » over 6 years ago
cfastie "Any Arduino-based data logger should be able to read the signal from that sensor and save the reading at regular intervals. The main obstacle is th..." | Read more » over 6 years ago
HappyS5 "Nice job. " | Read more » over 6 years ago
Tiago_Maciel "Where I find the libraries : include <SdFat.h> include <SPI.h> include <Wire.h> include <RTClib.h> include <Adafru..." | Read more » almost 7 years ago
Tiago_Maciel "good tutorial!! Can I use HC-SR04 to data? " | Read more » almost 7 years ago
Tiago_Maciel "good tutorial!! Can I use HC-SR04 to data? " | Read more » almost 7 years ago
Tiago_Maciel "good tutorial!! Can I use HC-SR04 to data? " | Read more » almost 7 years ago
warren "Ha, that's so cool, the DIY thermoelectric fan. There's also a USB cell phone charger mod! https://www.youtube.com/watch?v=2upXOb6cPLA " | Read more » almost 7 years ago
cfastie "Hi Adam, Those thermoelectric fans are very smart. This guy on YouTube shows how to make one with a $3.00 thermoelectric module and parts recycled..." | Read more » almost 7 years ago
adam-griffith "This is awesome! I haven't the time to rig up all this with the baby and am jealous of the data you can collect, but we use a non-electric fan on ..." | Read more » almost 7 years ago