O'Reilly logo

Programming the BeagleBone by Yogesh Chavan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required