Chapter 8. Monitoring and Controlling Your Devices from a Smart Phone

In previous chapters, we have seen projects that are being controlled from web interfaces. Now in this chapter, we will see how to control your Arduino and Raspberry Pi from a native application in Android, using platforms in order to create apps to control and monitor.

In this chapter, we will see different projects and applications using Android tools, the topics that will be covered are as follows:

  • Controlling a relay from a smart phone using APP Inventor
  • Reading JSON response in Android Studio using Ethernet shield
  • Controlling a DC motor from an Android application
  • Controlling outputs from Android using your Raspberry Pi Zero
  • Controlling outputs with Raspberry Pi via Bluetooth

Controlling a relay from a smart phone using APP Inventor

In this section, we will see how to create an Android application using APP Inventor to control a relay connected to the Arduino board.

Hardware requirements

Hardware required for the project are as follows:

  • Relay module
  • Arduino UNO board
  • Ethernet shield
  • Some cables

Software requirements

Software required for the project are as follows:

  • Software Arduino IDE
  • You need a Gmail account activated
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.36.239