Git Product home page Git Product logo

raspberry-pi-3-projects-for-java-programmers's Introduction

Raspberry Pi 3 Projects for Java Programmers

This is the code repository for Raspberry Pi 3 Projects for Java Programmers, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Our book is a project-based guide that will show you how to utilize the Raspberry Pi's GPIO with Java and how you can leverage this utilization with your knowledge of Java. You will start with installing and setting up the necessary hardware to create a seamless development platform. You will then straightaway start by building a project that will utilize light for presence detection. Next, you will program the application, capable of handling real time data using MQTT and utilize RPC to publish data to adafruit.io. Further, you will build a wireless robot on top of the zuma chassis with the Raspberry Pi as the main controller. Lastly, you will end the book with advanced projects that will help you to create a multi-purpose IoT controller along with building a security camera that will perform image capture and recognize faces with the help of notifications.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

  /**
  * Run the LCD example.
  */
   public final void runExample(){
  /// Clear the display
  handler.clear();
 /// Cursor to home position (0,0)
  handler.setHome();
 /// Write to the first line.
  handler.write("-- RASPI3JAVA --");
 /// Create a time format for output
 SimpleDateFormat formatter = new
 SimpleDateFormat("HH:mm:ss");
/// Sets the cursor on the second line at the first
 position.
 handler.setCursor(1, 0);
/// Write the current time in the set format.
 handler.write("--- " + formatter.format(new Date()) +
" ---");
}

Related Products

Suggestions and Feedback

Click here if you have any feedback or suggestions.

raspberry-pi-3-projects-for-java-programmers's People

Contributors

varshashivhare avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.