Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Spline Chart for IoT Sensor Data with Johnny-Five

Blog post from PubNub

Post Details
Company
Date Published
Author
Anmol Agrawal
Word Count
1,558
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

The text outlines a tutorial for creating a hardware-to-software application that streams air pressure sensor readings to a real-time dashboard using a spline chart. The application consists of two main parts: the server side, which operates on a microcontroller to collect and transmit data, and the client side, which displays the data on a live-updating chart using the EON framework. The server side uses JavaScript with Johnny-Five and PubNub packages to gather sensor data every 100 milliseconds and publish it to a channel, while the client side employs an HTML file with embedded JavaScript to receive data and generate a time-series chart. The tutorial provides step-by-step instructions, including setting up the necessary npm packages, obtaining unique PubNub keys, and configuring the chart's axes and flow, enabling users to visually monitor sensor data in real time.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 8 162 41 15 +13%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.