And particularly, how adaptable are applications of the #riffle to the #nano-data-logger -- since...
Public Lab is an open community which collaboratively develops accessible, open source, Do-It-Yourself technologies for investigating local environmental health and justice issues.
Let’s talk about air quality data! Join us for Open Call on this topic every Tuesday until Dec. 14. Click here for details!
All topics »
If you cannot use the ReCaptcha to verify you are not a bot, use this alternative verification.
As an open source community, we believe in open licensing of content so that other members of the community can leverage your work legally -- with attribution, of course. By joining the Public Lab site, you agree to release the content you post here under a Creative Commons Attribution Sharealike license, and the hardware designs you post under the CERN Open Hardware License 1.1 (full text). This has the added benefit that others must share their improvements in turn with you.
sign up to join the Public Lab community
Forgot your password? Reset it here
by warren |
June 12, 2017 20:20 |
And particularly, how adaptable are applications of the #riffle to the #nano-data-logger -- since they're both Arduino-based and have the same real-time clock?
Are sketches/programs for one portable for the other?
There are some important differences between the Riffle and the Nano Data Logger.
The two loggers have different real time clock chips. The one on the Nano logging shield does not allow alarms to be set, so the Arduino processor cannot be awakened after sleeping. That means that without some clever workaround, the Nano Data Logger cannot be put to sleep between logging events, and the battery runs down quickly.
The Arduino Nano has a USB port and a power hungry serial chip which cannot be put to sleep very easily. The Riffle also has a USB port, but Don built in a physical switch so the power to the USB circuit can be turned off when the board is powered by battery. Very clever.
Both loggers have microSD card slots, and SD cards can use a lot of power (each one has a microcontroller in it). I think Don built in a mosfet (solid state switch) which can be programmed to turn the SD card slot on and off. So when you don't want the microSD card using power, the sketch can turn it off. Very clever.
So lots of the code in sketches for the Riffle involves setting alarms, powering down components with a mosfet, and waking up things when alarms go off. None of that code will do anything on a Nano Data Logger. Lots of the other code is portable because both loggers use the same Atmega328p chip.
Reply to this comment...
Log in to comment
This is part of: