Toms Online Notebook Sharing my stuff.

Entries tagged [raspberry]

Raspberry Pi2 Pi4J Java - RGB LED Example

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:41PM in Technology

Pi4J IconI have started to get some useful sample/examples completed on my Raspberry Pi2. Here is the Schematic and Java code to control an RGB LED.

I also have examples for:

  • controlling multiple GPIO pins with external transistor driven LEDs and Java Pi4J code that times their cycling.
  • Pulse Width Modulation (PWM) control of GPIO pins and an RGP LED.

 These will be discussed in other posts.

Read More

Raspberry Pi2 -getting setup

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:27PM in Technology

RaspberryPi IconGetting Fedora 21 setup and configured to comfortably work with Java on my new Raspberry Pi2. My last entry desribed the install.

I will describe how I configured things to make it efficient to test and develop Java on my Pi2:

  1. Boot to multi-user commandline (and how to start the graphical desktop if needed)
  2. Samba shared directories
  3. SSH without password from my workstations

Read More

My New Raspberry Pi2 running Fedora 21 with Full JAVA JDK

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:23PM in Technology

Raspberry IconI Got a Raspberry Pi2 ! It has a 900MHz quad-core ARM Cortex-A7 CPU  and 1GB RAM.

I first tried noobs with Debian and it ran out of the noobs box very well.  The noobs version of Fedora DID NOT because it was not built for the new version of the ARM processor in the Pi2. That was no big deal because thanks to user clivem on the Pi Forums an image was avaialble.  See the forum link for the details. It is a full F21 version that is called FIDORA.

It was very easy to get this working. It is Fedora 21 for the ARM, with full yum repo support including rpmFusion.

Read More