© Indira Knight 2018
Indira KnightConnecting Arduino to the Webhttps://doi.org/10.1007/978-1-4842-3480-8_5

5. Front End to Arduino

Indira Knight1 
(1)
London, UK
 

So far you have used the serial port to send data to a web server, but the serial port can be a two-way stream of data; it can send and receive data. In this chapter you will start sending data to the Arduino through a web server via the serial port. With an interactive web page, you will be controlling components connected to an Arduino.

The Applications

You will be creating two web applications in this chapter. One will turn on and off LED’s connected to an Arduino. Figure 5-1 shows the web page.
Figure 5-1

The web page for the first application

The second will be an application that lets you ...

Get Connecting Arduino to the Web: Front End Development Using JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.