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

Hardware-to-Hardware Communication with Johnny-Five

Blog post from PubNub

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

JavaScript, which has become the most popular web programming language, was initially used for front-end tasks like DOM manipulation and animations, but the advent of NodeJS revolutionized its use by enabling server-side applications. This evolution allowed JavaScript to support microcontrollers and microprocessors, particularly through libraries such as CylonJS and Johnny-Five, known for their compatibility with a range of technologies, ease of use, and strong community support. The text describes a project using the Johnny-Five framework to establish real-time hardware-to-hardware communication between a button and an LED, facilitated by PubNub for internet-based interactions. To implement this, users need to set up a JavaScript file, install necessary npm packages globally, and configure the Johnny-Five and PubNub libraries with unique keys from the PubNub Developer Dashboard. The project involves configuring a board to respond to button presses that trigger LED actions via PubNub channels, showcasing JavaScript's versatility in both client and server environments.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 4 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.