Skip to Content
Practical Internet of Things with JavaScript
book

Practical Internet of Things with JavaScript

by Arvind Ravulavaru
December 2017
Intermediate to advanced
296 pages
5h 56m
English
Packt Publishing
Content preview from Practical Internet of Things with JavaScript

Setting up smart wearable

The first thing to note about the hardware setup is that it is big and bulky. This is only a POC and is not even a remotely close production setup. The hardware setup would consist of an accelerometer connected to Raspberry Pi 3 and a 16X2 LCD.

The accelerometer ADXL345 gives the acceleration of X, Y, and Z axis over I2C protocol.

Connect the hardware as follows:

As you can see in the preceding schematic, we have made the following connections:

  • Raspberry Pi and LCD:

Raspberry Pi number - Pin name

16x2 LCD Pi name

6 - GND - Breadboard rail 1

1 - GND

2 - 5V - Breadboard rail 2

2 - VCC

1 k Ohm ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driving JavaScript Applications

Test-Driving JavaScript Applications

Venkat Subramaniam
Web Caching and Replication

Web Caching and Replication

Michael Rabinovich, Oliver Spatscheck

Publisher Resources

ISBN: 9781788292948Supplemental Content