Java – IP Remote Control

The purpose of the whole thing is a remote control for my robots. Since all robots (at least the more advanced ones) have a network connection, I want to develop a small app that can send messages to a specific recipient via configuration. First draft In the first step, the remote control should only consist of a keypad. The user can specify the number of rows and...

Continue reading "Java – IP Fernbedienung"

Java Socket Console Server

The Java Socket Console opens a server on a defined port. The port can be passed in when starting. If no port is specified, the default port is 2021. Everything sent to this port will appear as line-based output in a window. The program allows for exactly one connection. Via the text box at the bottom of the dialog...

Continue reading "Java Socket Konsolen Server"

Raspberry Pi + Servo

Controlling a servo with the Raspberry Pi 3. This is about the basic technique; the application could be, for example, a mobile robot. The servo is to be controlled via software PWM in order to keep the hardware PWMs free for other functions. Additionally, the servo should not be controlled via integer values as is usual...

Continue reading "Raspberry PI + Servo"

Pi4J + BlueJ

Since I prefer to program in Java, I use the Pi4J library to control the GPIOs on the Raspberry Pi 2 and 3. I will not go into detail about the installation of the library, as this has already been exhaustively described on the following web pages. http://pi4j.com/install.html http://pi4j.com/utility/pi4j.html http://www.forum-raspberrypi.de/Thread-tutorial-ansteuerung-der-gpio-ports-mit-pi4j It is also important to know that Pi4J builds on the wiringPI library…

Continue reading "Pi4J + BlueJ"

Raspberry Pi 3 + Motor Control

The aim is to operate two DC motors using a Raspberry Pi 3 with the help of a motor driver board. This will later be used to power a two-wheeled robot. Hardware: Pi 3 (or older, please pay attention to the correct pins) Motor driver board L9110s 2x DC motor Various cables (pre-made pin-header cables) Test setup GPIOs on the Raspberry Pi Motor1 direction GPIO 26…

Continue reading "Raspberry PI 3 + Motorsteuerung"