Bash-One-Liner, Timestamp Arduino Data

Опубликовано: 04 Ноябрь 2024
на канале: Gregory Kielian
8,436
8

To see the code right away visit the github:

https://github.com/gskielian/Arduino-...


Have an Arduino and a Sensor? Start data-logging right away -- no RTC or sd shield required.


(Please star on github to promote future work : )


This small but powerful bask-one-liner which gets your data into the stdout and allows you to customize the output:

Using this you can:
add a timestamp from the command line
 Monitor data and sending an email, tweet
even have it play you a song upon first light morning (requires a light sensor)

A Raspberry Pi would even be able to post timestamp to the *nanoseconds*.

If you like this please subscribe!

Dependencies:
You may need to get awk or gawk for this to work, to do that dl my preferred package manager, home-brew, and do a simple `brew install gawk`.