You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.7 KiB

5 years ago
  1. \documentclass[11pt]{article}
  2. %Gummi|065|=)
  3. \usepackage{graphicx}
  4. \usepackage{caption}
  5. \title{\textbf{Self Hosted Data Logger for Arduino}}
  6. \author{Steak Electronics}
  7. \date{}
  8. \begin{document}
  9. \maketitle
  10. \section{Preface}
  11. I did some research on available self hosted solutions for Arduino, as of January 2019. I was thinking of using Thingspeak, but they haven't updated their self hosted git repo since 2016. Adafruit.io is the same but 2017\footnote{And uses node.js :/}. Sparkfun closed down their solution.\footnote{Apparently they have no idea what they are doing, and their solution inevitably blew up. Bloated software...} It seems theother data aggregaters are only interested in people giving them data, so they can then sell it, hoard it like wealth, etc... Another solution is necessary.
  12. %\includegraphics[scale=0.2]{../pics/DSCN1016.JPG}
  13. %\captionof{figure}{HP}
  14. \section{Plan}
  15. Since I've done some data logging with GNUplot before, I've decided to use a flat text file, and csv output. I don't want to deal with MQTT, as this is in a safe LAN (not over WAN), and security is no issue. I also don't want the clients to do any sending. They are stupid, they sit there, and the server is responsible for data collecting. Simple.
  16. \vspace{0.2in}
  17. What I will do, as I've already started doing, is hosting a web server on the microcontroller, which has amongst other things, sensor data available. The server will pull data from the sensor, and place it into a flat file. GNUplot will run via cron scripts, and the server will host various jpgs. Let's see how this goes.
  18. \section{Implementation}
  19. \textbf{Ingredients}
  20. \begin{itemize}
  21. \item SBC (Beaglebone, Rpi)
  22. \item Network Connected Sensors
  23. \item Time
  24. \end{itemize}
  25. \end{document}