Build

DIY Real-time Weather Station with Intel Edison and Cylon.js

2 min read Joe Hanson on Jun 10, 2015
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

We absolutely love when developers harness the real-time capabilities of the PubNub API and extend it to the Internet of Things. With the affordability, capabilities, and flexibility of new embedded b...

We absolutely love when developers harness the real-time capabilities of the PubNub API and extend it to the Internet of Things. With the affordability, capabilities, and flexibility of new embedded boards, the sky’s the limit for IoT hobbyists and developers for any skill level. So when a great project comes along, we want our readers to know about it.

DIY Real-time Weather Station with Intel Edison and Cylon

Today’s featured project is from Krishnaraj Varma, who built a Real-time Weather Station powered by the Intel Edison board and BMP085 sensor. The IoT application collects weather data from the sensor and displays changes it on a live-updating dashboard from freeboard.io. The real-time streaming of weather data from the sensor to the dashboard is powered by PubNub Data Streams. Lastly, the app uses Cylon.js, a JavaScript framework for robotics.

You can check out the tutorial in its entirety on Hackster.io, where Varma includes screenshots, a walkthrough, diagrams, and screenshots. He also includes a full GitHub repository with all the code you need to get started.

Visualizing the Weather Data

The collecting of the weather data is sweet, but more importantly, let’s do something with that data. With any weather station app, we need to deliver updated temperature, humidity, precipitation, altitude, or pressure data, to name a few, in real time to our user interface.

DIY Real-time Weather Station with Intel Edison and Cylon

That’s where freeboard.io comes into play. freeboard.io makes building dashboards for the Internet of Things easy and beautiful. Updates are sent from the connected device(s) to the live UI via the PubNub Data Stream Network, ensuring real-time speed and accuracy of the data being streamed.

Want to get started streaming data to a freeboard UI with your own project? Check out this tutorial.

Happy hacking!

More from PubNub

Building a Core Product Strategy that Meets a Market Need
News Jun 1, 20221 min read

Building a Core Product Strategy that Meets a Market Need

Patrick Ng, Innovation Director at Spark Launchpad, joins Casey Clegg, COO at PubNub, to discuss effective ideation and the...

PubNub Staff

PubNub Staff

How to Build Empathy into the Metaverse
News May 16, 20221 min read

How to Build Empathy into the Metaverse

A roundtable discussion led by PubNub’s COO, Casey Clegg, exploring the topics of what it means to be human in a virtual world.

PubNub Staff

PubNub Staff

Advancing Telehealth and Virtual Care
News May 2, 20221 min read

Advancing Telehealth and Virtual Care

Dr. Joe Kvedar, Chair of the Board for the American Telemedicine Association, joins our COO, Casey Clegg, to discuss why...

PubNub Staff

PubNub Staff