With a small group I cycled from Konstanz to Konstanz via Bodman, Überlingen, Friedrichshafen, Lindau, Bregenz (AT), Rohrschach (CH) and Kreuzlingen (CH). We started on a Wednesday an 11:30 in Konstanz after arriving by train, stayed the first night on the Camping site Camping Birnau-Maurach near Uhldingen-Mühlhofen and the second night in Lindau at Park-Camping Lindau am See. The first camping site was quite fine, but the second was significantly better. :) The trip was 196 km in 12.5h riding time. We stopped in a few cities and visited city centers and harbors.
Slightly modified version of the photocell example from Adafruit (https://learn.adafruit.com/photocells/using-a-photocell).
The C-Code stays the same, but the schematic is different:
Next step is to integrate this code in my humidity sensor and push the photocell data too.
Reading data from an DHT11 using an arduino is fairly simple. Library used: https://github.com/adafruit/DHT-sensor-library
- using arduino-mk
- Arduino Linux 64bit package Version 1.0.5
- (more see previous blogposts in arduino category)
- Clone library in libs folder
- Create Makefile
BOARD_TAG = uno ARDUINO_LIBS = DHT-sensor-library USER_LIB_PATH = ../libs/ include /usr/share/arduino/Arduino.mk
- try example code:
My DHT11 has a different pin layout: - + S. The rest of the example code works without modifications.