Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Hands-On Internet of Things with Blynk
  • Table Of Contents Toc
  • Feedback & Rating feedback
Hands-On Internet of Things with Blynk

Hands-On Internet of Things with Blynk

By : Seneviratne
close
close
Hands-On Internet of Things with Blynk

Hands-On Internet of Things with Blynk

By: Seneviratne

Overview of this book

Blynk, known as the most user-friendly IoT platform, provides a way to build mobile applications in minutes. With the Blynk drag-n-drop mobile app builder, anyone can build amazing IoT applications with minimal resources and effort, on hardware ranging from prototyping platforms such as Arduino and Raspberry Pi 3 to industrial-grade ESP8266, Intel, Sierra Wireless, Particle, Texas Instruments, and a few others. This book uses Raspberry Pi as the main hardware platform and C/C++ to write sketches to build projects. The first part of this book shows how to set up a development environment with various hardware combinations and required software. Then you will build your first IoT application with Blynk using various hardware combinations and connectivity types such as Ethernet and Wi-Fi. Then you'll use and configure various widgets (control, display, notification, interface, time input, and some advanced widgets) with Blynk App Builder to build applications. Towards the end, you will learn how to connect with and use built-in sensors on Android and iOS mobile devices. Finally you will learn how to build a robot that can be controlled with a Blynk app through the Blynk cloud and personal server. By the end of this book, you will have hands-on experience building IoT applications using Blynk.
Table of Contents (10 chapters)
close
close

Accelerometer

Most smartphones and tablets come with a built-in accelerometer. An accelerometer is an electromechanical device that measures acceleration, which is the rate of change of the velocity of the phone. It measures in meters per second squared (m/s2) or in G-forces (g). An accelerometer can sense either static or dynamic forces of acceleration:

  • Sense static forces, including gravity
  • Sense dynamic forces, including vibrations and movement

For your smartphone or tablet, accelerometers are useful for sensing vibrations in systems or for the orientation of applications.

The accelerometer on your smartphone measures linear acceleration along x, y, and z axes. Figure 6.1 shows the x, y, and z orientation axes relative to a typical Android mobile device:

Figure 6.1: x, y, and z orientation axes for smartphone (created by Freepik)

If you place the smartphone face-up on a...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY