Goals:
– to accomplish the anemometer assembling and to connect it to the sensors prepared earlier
– provide additional 5V DC power source for the times when development is done; this power source will also eliminate the need to unseal the box for batteries recharge; this power source is planned to be removed completely after the solar and wind power sources will provide sufficient recharge along with anemometer’s adaptive behavior for power consumption optimization.
– enable reading of temperature data from the additional sensor
– live publishing of the temperature data
Related Experiments:
- Raspberry-pi: experiment 13. Wind speed and direction meter (anemometer)
- Raspberry-pi: Experiment 13. Anemometer based on sensors f200-2012
- Raspberry-pi: Experiment 13. Few more experiments with batteries
- Raspberry-pi: Experiment 13. Anemometer. Less power consumed more produced and preserved
Components:
– Temperature sensor DS18B20: waterproof version (ebay)
Software:
temperature_resolver class at 05_wind_speed_meter.py
Schematics:
Testing Temperature sensor manually through One-Wire interface:
1) by means of Advanced configuration settings at ‘sudo raspi-config’ enable i2c and spi
Also possible through direct editing of /boot/config.txt (command ‘sudo nano /boot/config.txt’)
dtparam=i2c_arm=on
dtparam=spi=on
2) Then add One Wire interface at /boot/config.txt (use command ‘sudo nano /boot/config.txt’)
dtoverlay=w1-gpio-pullup, gpiopin=4
3) Initialize modprobe
sudo modprobe w1-gpio
sudo modprobe w1-therm
4) Find your thermometer device (should be 28-XXXXXXXX) as so:
ls -l /sys/bus/w1/devices
5) The data we will need to translate to Celsius/Fahrenheit may be seen as so:
cat /sys/bus/w1/devices/28-<your device id>/w1_slave
Pictures:
– long wires were attached to relevant RPi pins
– then the wires were led outside through specially made breach in the box which was then sealed
– this how it looked before connection to the sensors
– then all was interconnected and fastened on the windowsill
– this is the view from my improved observation camera
References
– DS18B20 Temperature Sensor With Raspberry Pi
– Connect Multiple Temperature Sensors With Raspberry Pi
– I2C, SPI, I2S, LIRC, PPS
– DS18B20 and 30-Jan firmware
– DS18B20: DS18B20 Wiring
– (Ger) DS18B20 Temperatursensoren an RasberryPi
– Raspberry Pi – GPIO & Python (7/9) – Temperature sensor
Pingback: Raspberry Pi Wind Measurement | Hackaday