NetBeans 8 – Shortcut to Remote Platforms

The recently released NetBeans 8 holds a great gift for all Java Embedded Developers: Build-in support for Remote Java Standard Edition platform. To introduce this great and handy feature I created some screencasts: Part1: headless Part2: JavaFX on Pi Part 3 – Remote Platform Debugging José Pereda has also blogged about this feature in action:… Continue Reading NetBeans 8 – Shortcut to Remote Platforms

Between 0 and 1 – PWM with Raspberry Pi

Between 0 and 1 – PWM with Raspberry Pi

Switch on and off an LED and let run a motor at one speed and direction is easy, but what if I want to e.g. control the brightness of an LED or control motor-speed? A kind of analog signal is needed: This is done with Pulse-width modulation (PWM). PWM is a “modulation technique that conforms… Continue Reading Between 0 and 1 – PWM with Raspberry Pi

Solved: eGalax Touch Screen issues with JavaFX (on Raspberry Pi)

In a former post I wrote about my trouble getting touch support up an running with my eGalax Touch Display, JavaFX and the Raspberry Pi. Today Simon gave me a hint how he solved that touch event issues with JavaFX. Many Kudos to Simon Ritter (@speakjava)! The Clue It turns out that the screen driver… Continue Reading Solved: eGalax Touch Screen issues with JavaFX (on Raspberry Pi)

RasPi does the Home Automation (Part V): Just around the corner

Looking for a lightweight Java-based solution to run REST services on embedded systems I already had an eye on the Vert.x project. I was excited to see there is a talk about it on the agenda of the Herbstcampus in Nuremberg last week (I talked about my RasPi projects). It was a pleasure to attend… Continue Reading RasPi does the Home Automation (Part V): Just around the corner

JavaFX on Raspberry Pi: Some fun with stepper motor

Recently had some fun when controlling my stepper motor with my Raspberry Pi. The motor: a 28BYJ-48 with ULN2003 driver unit: Cool: Pi4J has a ready to use GpioStepperMotorComponent. Let’s assume this architecture: Thus we start with the StepperMotorAdapter using this component. First some helpfull defines: private final int oneRevolution = 2038; private final int… Continue Reading JavaFX on Raspberry Pi: Some fun with stepper motor

RasPi does the Home Automation (Part IV): Cut the ‘rope’

Hi all, until now all UI-Actions to control my wireless gears had to run directly on the Pi which controls the remote as e.g. deviceControl.turnOn(device); is called. But now I’d rather make a web service available for this purpose to be more independently. Question is: Which server should I use? Apache/PHP: too less Java 😉… Continue Reading RasPi does the Home Automation (Part IV): Cut the ‘rope’

RasPi does the Home Automation (Part III): ‘Let’s Put It All Together’

Hi, now it’s time to put it all together: 1st: a mini Custom Control for each gear, looking like this: Its controller takes a Device to trigger DeviceControl to switch the radio controlled gears: public class DevicePane extends AnchorPane { @FXML private Button offButton; @FXML private Button onButton; @FXML private Text deviceNameText; public DevicePane(Device device)… Continue Reading RasPi does the Home Automation (Part III): ‘Let’s Put It All Together’

RasPi does the Home Automation (Part II): Crossing the bridge to JavaFX

Hi, before JavaFX can take over, I need some bottom-up stuff to control my Intertechno-Devices. Basically this is the schema: Right now I have 2 radio intermediate adapters to switch the lights of my terrace/garden and the fountain. And one of these to control the lights in front of my house (cool: can be combined… Continue Reading RasPi does the Home Automation (Part II): Crossing the bridge to JavaFX

RasPi does the Home Automation (Part I): Setting up the Pi

Hi all, it’s some time ago since my last post as I was very busy due to other projects. But I still intent to control my wireless power outlets with the Raspberry. The hardware In the meantime the receiver/transmitter components arrived from Hong Kong (took some weeks, but 8€ (incl. shipping!) for 5 pairs of… Continue Reading RasPi does the Home Automation (Part I): Setting up the Pi