IoT - Turn a light on with Java, Raspberry PI and API's

Safely turn on and off 110 V and control 2 Lava Lamps
Rating: 4.5 out of 5 (108 ratings)
10,394 students
IoT - Turn a light on with Java, Raspberry PI and API's
Rating: 4.5 out of 5 (108 ratings)
10,393 students
Students will be able to create an API that enables a light to be safely turned on and off
Students will learn how to load a Raspberry PI OS from scratch and setup a Java Development envrionment (Eclipse)
Students will learn how to send commands to the PI GPIO Pins to toggle then high and low
Students will learn how to create a simple API to provide simple commands to turn on and off a light
Students will learn how to create a Continuues Integration (CI) Lava Lamp build status indicator of Red and Green

Requirements

  • Basic understanding of Java programming
  • Access to a Raspberry PI and a few components

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.



Who this course is for:

  • Anyone interested to learn IoT and how Java can be used on a Raspberry PI

Course content

4 sections • 10 lectures • 1h 27m total length
  • Introduction
    04:58

Instructor

Mobile development Instructor
Tom Jay
  • 4.0 Instructor Rating
  • 1,097 Reviews
  • 35,518 Students
  • 12 Courses

I've been developing mobile applications for over 8 years with focus on iOS. I have taught in-class paid course for a major training company in San Francisco.


I have over 20 years of Enterprise Server development with Java/J2EE, Oracle, MySQL, XML/JSON Web Services, API development and location based systems using MongoDB.


I have created dozens of mobile apps form Banking, Social Messaging, Event Discover and Medical device interfaces.

I like mobile payments and iBeacon integration.

I mainly focus on IoT development (BLE) for IoT and iBeacon technologies.

Please watch my courses on Mobile development.