Arduino Uno + WiFi

This is about a China import and not the official Uno WiFi. The board has a full Arduino Uno with an Atmega processor and an ESP8266 chip on board. Via DIP switches, the Uno can be connected to the USB, the ESP to the USB, or the ESP to the UNO. For operation, …

Continue reading "Arduino Uno + WiFi"

CodeShorty: Wire Scanning (Uno)

The I2C, also known as the 2-Wire bus, works with two wires and theoretically at speeds of up to 5 Mbit/s. For hobby use with open-air wiring, it's likely to be less. The Uno has the Wire connection on analogue outputs 4 and 5. To test, I connected a GY-68 barometer which is on port 0x77 of the...

Continue reading "CodeShorty: Wire Scannen (Uno)"
Arduino mit Prortotyping Board und SR04 Verkabelung perspektivisch

Arduino – HC-SR04 Distance Sensor

Controlling the HC-SR04 ultrasonic distance sensor with the Arduino UNO. Basic circuit setup (I later changed the pins from 0/1 to 2/3 because the ISP is still connected to 0/1). Test program Here's a small test program. It filters out values that are too small and too large, and allows for averaging over a defined interval. SR04Test.ino Here could…

Continue reading "Arduino – HC-SR04 Entfernungsmesser"

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"
ESP8266 DH11 Testschaltung

DHT11 with ESP8266 / ESP32

Controlling a DHT11 Sensor via the ESP8266 / ESP32 Basics Link to Article Setup Programming Libraries The integration of the library can be found in the following article: Link to Article Adafruit DHT Library Adafruit Unified Sensor Library Test Program Related Articles Sources: DHT Sensor General Adafruit DHT Library Adafruit Unified Sensor Library

Continue reading "DHT11 mit ESP8266 / ESP32"

Arduino – DHT11 humidity sensor

Controlling a DHT10 Sensor via the Arduino Uno. Basics Link to article Wiring Diagram View Wiring Programming Libraries The inclusion of the library can be seen in the following article: Link to article Test Program Output Related Articles Sources

Continue reading "Arduino – DHT11 Feuchtigkeitsmesser"

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"