Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Practical Internet of Things with JavaScript

You're reading from   Practical Internet of Things with JavaScript Build standalone exciting IoT projects with Raspberry Pi 3 and JavaScript (ES5/ES6)

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781788292948
Length 296 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Arvind Ravulavaru Arvind Ravulavaru
Author Profile Icon Arvind Ravulavaru
Arvind Ravulavaru
Arrow right icon
View More author details
Toc

Summary


In Chapter 2, IoTFW.js - I and in this chapter, we went through the entire process of setting up an entire frame to work with the Internet of Things solutions. We built the entire framework using only JavaScript as our programming language.

We started with understanding the architecture and data flow from Raspberry Pi to an end user device, such as a web app, desktop app, or a mobile app. Then we started working on the broker using Mosca, after setting up MongoDB. Next we designed and developed the API engine and completed the basic Raspberry Pi setup.

We worked on the web app and desktop app and integrated a simple LED and a DHT11 temperature and humidity sensor with the Raspberry Pi, and saw a simple flow from one end to another. We streamed the temperature and humidity in real time to the web app and desktop app, and using the toggle button, we turned on the LED.

And finally, we built a mobile app and implemented/validated the LED and DHT11 setup.

In the Chapter 4, Smart Agriculture...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images