conciseusa / arduino-rtc-json-data-logger

Code to turn an Arduino into a data logger. Outputs time stamped data in JSON for recording to a serial logger (https://github.com/sparkfun/OpenLog)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arduino-rtc-json-data-logger

This is the code/sketch to load on the board a GenuLog Data Acquisition, Signal Processing Shield has been mounted to.

Even if you don't have the shield, you can add a RTC and an LCD to an Arduino and make you own data logger.

git clone https://github.com/conciseusa/arduino-rtc-json-data-logger.git

On Linux, if you get the
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
error in the ArduinoIDE. Adding your user to the dialout group will typically fix the issue.
sudo adduser YourUserName dialout
logout and login

To confirm your serial port is in the dialout group
ls -l /dev/ttyACM*
To display the groups you are a member of
groups
You may need to adjust ttyACM if your system uses a differnt serial port name. It will typically only be present when the Arduino is connnected.

About

Code to turn an Arduino into a data logger. Outputs time stamped data in JSON for recording to a serial logger (https://github.com/sparkfun/OpenLog)


Languages

Language:C++ 97.8%Language:Shell 2.2%