Internet of Things Programming with JavaScript
eBook - ePub

Internet of Things Programming with JavaScript

Ruben Oliva Ramos

Share book
  1. 298 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Internet of Things Programming with JavaScript

Ruben Oliva Ramos

Book details
Book preview
Table of contents
Citations

About This Book

Learn the art of bringing the Internet of Things into your projects with the power of JavaScript

About This Book

  • This is a practical guide to help you configure and build a complete distributed IoT system from scratch using JavaScript
  • Utilize the power of Node and HTML5 to develop web services and a centralized web server, enabling high-level communication between connected devices
  • Control all your connected devices from the browser by setting up a common dashboard

Who This Book Is For

This book is for developers who are interested in learning how to communicate with connected devices in JavaScript to set up an IoT system. Some basic knowledge of JavaScript is expected. Hobbyists who want to explore the potential of IoT in JavaScript will also find this book useful.

What You Will Learn

  • Develop the skills to connected devices prepared the field to interact with the devices in a network system Internet of Things
  • Find out how to connect sensors and actuators to the devices
  • Send data to a web server connected devices
  • Understand Internet of things using web services and database
  • Configure a dashboard using HTML5 and JavaScript
  • Control devices connected from a dashboard
  • Monitor different devices from the dashboard
  • Build an app for a smartphone to control different devices

In Detail

The Internet of Things (IoT) is an entirely new platform for developers and engineers, but one thing that remains consistent as we move into this new world, are the programming languages. JavaScript is the most widely used language over the Internet, and with IoT gaining momentum, you will learn how to harness the power of JavaScript to interact with connected devices. This book will teach you how to interact with endpoint devices by developing web services in JavaScript and also set up an interface to control all connected devices.

This book begins with setting up a centralized web server that serves as a hub for all connected devices. The book then progresses further towards building web services to facilitate high-level communication between connected devices. Using Arduino and Raspberry Pi Zero as endpoint devices, the book will show you how devices can communicate with each other, perform a wide range of tasks, and also be controlled from a centralized location using JavaScript. The book ends with creating a hybrid app to control the devices that can be run from a browser or installed on a smartphone.

Style and approach

This book offers step-by-step guidance on how to set up a distributed IoT system using JavaScript.

It will teach you how to interact with endpoint devices by developing web services in JavaScript and also set up an interface for controlling all connected devices.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Internet of Things Programming with JavaScript an online PDF/ePUB?
Yes, you can access Internet of Things Programming with JavaScript by Ruben Oliva Ramos in PDF and/or ePUB format, as well as other popular books in Informatik & Programmierung in JavaScript. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781785888564

Internet of Things Programming with JavaScript


Internet of Things Programming with JavaScript

Copyright © 2017 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: February 2017
Production reference: 1150217
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78588-856-4
www.packtpub.com

Credits

Author
Rubén Oliva Ramos
Copy Editor
Safis Editing
Reviewer
Jacqueline Wilson
Project Coordinator
Nidhi Joshi
Commissioning Editor
Wilson D'souza
Proofreader
Safis Editing
Acquisition Editor
Tushar Gupta
Indexer
Pratik Shirodkar
Content Development Editor
Aishwarya Pandere
Production Coordinator
Nilesh Mohite
Technical Editor
Karan Thakkar

About the Author

Rubén Oliva Ramos is a computer systems engineer, with a master's degree in computer and electronic systems engineering, teleinformatics and networking specialization from University of Salle Bajio in Leon, Guanajuato Mexico. He has more than five years of experience in: developing web applications to control and monitor devices connected with Arduino and Raspberry Pi using web frameworks and cloud services to build Internet of Things applications.
He is a mechatronics teacher at University of Salle Bajio and teaches students on the master's degree in Design and Engineering of Mechatronics Systems. He also works at Centro de Bachillerato Tecnologico Industrial 225 in Leon, Guanajuato Mexico, teaching the following: electronics, robotics and control, automation, and microcontrollers at Mechatronics Technician Career. He has worked on consultant and developer projects in areas such as monitoring systems and datalogger data using technologies such as Android, iOS, Windows Phone, Visual Studio .NET, HTML5, PHP, CSS, Ajax, JavaScript, Angular, ASP .NET databases (SQlite, mongoDB, and MySQL), and web servers (Node.js and IIS). Ruben has done hardware programming on Arduino, Raspberry Pi, Ethernet Shield, GPS and GSM/GPRS, ESP8266, and control and monitor systems for data acquisition and programming.
"I want to thank God for helping me writing this book and his inspiration, to my wife, Mayte, and my sons, Ruben and Dario, for their support while writing this book and in general for their support in all my projects. To my parents, my brother and sister whom I love.
I hope this book covers the main topics for students that want to learn more about Internet of Things projects, and all the prerequisites for building this kind of application."

www.packtpub.com

For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
www.packtpub.com
https://www.packtpub.com/mapt
Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.

Why subscribe?

  • Fully searchable across every book published by Packt
  • Copy and paste, print, and bookmark content
  • On demand and accessible via a web browser

Customer Feedback

Thanks for purchasing this Packt book. At Packt, quality is at the heart of our editorial process. To help us improve, please leave us an honest review on this book's Amazon page at https://goo.gl/pZ7EFn.
If you'd like to join our team of regular reviewers, you can e-mail us at [email protected]. We aw...

Table of contents