GY-68 with BMP85/BMP180 Sensor

The Bosch BMP85 is a barometric sensor. It can measure air pressure and temperature to calculate the current altitude above sea level. The BMP85 is no longer manufactured and has been replaced by the BMP180. The BMP180 is smaller in form factor but otherwise almost identical to its predecessor. Differences can be found in the linked datasheets…

Continue reading "GY-68 mit Sensor BMP85/BMP180"

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"

Lessons Learned – Libraries

Bug fixes for libraries. Sometimes it can be advantageous to install libraries manually to keep up with the latest changes. Pay attention to the version. As with me, the versions of the libraries are not specified on most pages. This can lead to functions having different names or not being present. If it doesn't work with...

Continue reading "Lessons Learned – Bibliotheken"

Motor bridges

Die Ausgänge von Mircrocontroller sind meist nur mit wenigen milli Ampere Strom belastbar. Dies reicht zur Ansteuerung einer LED aus ,ist aber für Motoren und andere Bauteile die mehr Leistung benötigen, nicht ausreichend. Weiterhin ermöglicht die Motorbrücke eine Erhöhung der Betriebspannung, so können an Microcontrollern die mit 3.3V oder 5V betrieben werden, auch Motoren mit …

Continue reading "Motorbrücken"

Arduino Motor Shield V2

The V2 motor board has arrived. I immediately adapted the test program for the V1 and plugged the board into the Wemos Uno to see if the two would work together. Driving the servos does not work on the Wemos, as the pins are used for the serial interface. But that's a problem with the board and not...

Continue reading "Arduino Motor Platine V2"

Arduino Prototyping Board (V1)

This shield simplifies the rapid prototyping of circuits. Overview The board has the following additions: 1 breadboard 1 reset button 1 configurable button 2 status LEDs (on newer boards, these are SMD LEDs) Brought-out pins for wiring on the breadboard. It's a bit annoying that the free switch and the LEDs are not connected to the existing pin header sockets...

Continue reading "Arduino Prototyp Platine (V1)"

WeMos D1 R2 ESP8266

Der WeMos D1 R2 ESP8266 sieht, bis auf die Anzahl der analogen Ports, erstmal wie ein vollständiger Arduino Uno aus.Die IOs  arbeitet jedoch nur mit 3V anstatt mit den gewohnten 5V, was wohl zu Inkompatibilitäten zu den meisten Erweiterungsplatinen (Shields) führt. Der Preis liegt bei AliExpress unter 5 Euro. Der Vorteil des D1 ist der …

Continue reading "WeMos D1 R2 ESP8266"