Summary

This chapter was about implementing IoT applications using BeagleBone. It combines physical computing exercises with Internet client/server programming. We first learned about the Internet of Things and its properties. Then we used the HTTP, socket.io and bonescript library at the server side to give client control of the LED and servo motor. At the client side, we wrote a small HTML + JavaScript code to display controls in the web browser. We created custom events at the client side and handled them in the server to respond. This gave us power to control the LED/servo remotely via our smartphone. We also programmed BeagleBone to shoot e-mail when it detects over-temperature using temperature sensor. This is the last chapter on the JavaScript part of the book. We will start coding in Python language in the next chapter with some physical computing exercises.

..................Content has been hidden....................

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