Physical Data Visualization with Live Data
In Chapter 7 and Chapter 8 you used the Arduino to send data to the web so it could be visualized on a web page. This chapter will turn that around. You will be getting data from an online source and using it to drive a piezo buzzer, an LED, and an LCD attached to an Arduino. You will create a Node.js server that will link to an external web site and request data from that website. This data will be cleaned and passed from your Node.js server to the Arduino via the serial port. The data is earthquake data from the United States geological Survey web site (USGS). The USGS earthquake data is updated regularly. USGS has created an API, a way to access that data, which you will use to request the data you want.