O'Reilly logo

Internet of Things Programming with JavaScript by Ruben Oliva Ramos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Control-Connected Devices

In this chapter, we will look at how to control devices from remote sites using our Raspberry Pi Zero and Arduino UNO, using the following modules to communicate in a network: Wi-Fi shield and Ethernet shield. We will cover the following topics in this chapter:

  • Making a simple web server with Node.js
  • Controlling a relay from a Raspberry Pi Zero using Restful API and Node.js
  • Configuring Node.js in a computer as a web server
  • Monitoring temperature, humidity, and light using Node.js with Arduino Wi-Fi
  • Monitoring temperature, humidity, and light using Node.js with Arduino Ethernet

Making a simple web server with Node.js

One of the most important aspect of having a Raspberry Pi is that we have a real computer configured ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required