Public Lab is launching a new 🎈 Mini Balloon & Kite Kit as part of Kickstarter Gold -- take a look!


  • 1

Question:What are the differences between the Nano Data Logger and the Riffle?

warren asked on June 12, 2017 20:20
73 | 1 answers | shortlink


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?



riffle nano-data-logger

question:riffle question:nano-data-logger


0 Comments

Log in to comment

1 Answers

There are some important differences between the Riffle and the Nano Data Logger.

  1. 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.

  2. 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.

  3. 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.

Chris


Sign up or Login to post an answer to this question.