Skip to content

App that uses a temperature sensor on an Arduino board and pushes the data to Postgres using Hasura GraphQL

Notifications You must be signed in to change notification settings

meerasndr/temperature-sensor-johnnyfive-hasura

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Arduino temperature sensor + Johnnyfive + Hasura GraphQL

This is a simple project which uses a temperature sensor on an Arduino Uno board. The temperature is detected every 60 seconds and pushed to a Hasura GraphQL endpoint.

Hardware used:

  • Arduino Uno
  • LM35 temperature sensor
  • Breadboard & Jumper wires

Software & Data management used:

  • Johnny-Five
  • Apollo GraphQL Client
  • Hasura endpoint (Heroku + Postgres)

This also became a blog post here

This is WIP. To-Dos / Questions:

  • Host the entire Node+J5 script on a platform like Heroku, to enable it to run non-stop
  • If the above is done, how will it communicate with the Arduino board?
  • Visualize daily data using something like chartjs
  • Refactor code for ES6+ based on Johnnyfive support

About

App that uses a temperature sensor on an Arduino board and pushes the data to Postgres using Hasura GraphQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published