IoT – Turn a light on with Java, Raspberry PI and API’s, Safely turn on and off 110 V and control 2 Lava Lamps.
Course Description
Learn about IoT and Java with this Raspberry PI course.
IoT is the next big thing, grow your skills and learn about this technology combined with Java one of the most popular programming languages today.
If this course you will learn how to load a boot SD Card for the Raspberry PI 3 B+ from scratch using the Raspbian OS (Linux) on a 32Gb card, get Eclipse up and running on the PI and work with Java 8. You will understand how to use the basics of one of the most popular Java libraries for the Raspbery PI the Pi4J library.
You will also learn how to develop on other platforms like a Mac and then move the portable class files (Java compiled files) to the PI for a faster more professional development platform.
We wrap up the course by adding formal API’s to the project, you will be able to Turn a Light on and off using a RESTful API to control the lights.
It would not be a a great course if you could not do something useful so we integrate an IoT Relay to Safely control 110V AC and show how to turn on and off a Green and Red Lava lamp, this would be perfect for an Automated Build system to provide a Success / Fail indication of the nightly build, exactly what every real development show needs 🙂
Note: All the source code for the class is available on my GitHub account and also is attached to the last lecture as a resource as a zip file.