WeatherPi Solar Power Weather Station – Monitoring the Sun
We have now wired up the SunAirPlus Solar Power Controller to the battery and to the Raspberry Pi. The SunAirPlus has an embedded INA3221 3 channel Current/Voltage monitoring chip so we can see all of the currents and voltages flowing through the system.
We can see:
– Battery: Voltage, Current In/Out
– Load (Meaning the Raspberry Pi): Voltage, Current Out (obviously, we get no current in from the Pi)
– Solar Panels: Voltage, Current Out (we get no current IN to the panels, just out – there is a protective diode on the SunAirPlus board)
This reading shows the Solar Panels (actually a variable power supply at the moment) at 5.3V, the battery fully charged (by the meter and the fact that no current is flowing into the battery at the moment) and the Pi Model A is currently taking 193mA. When we switch to the Raspberry Pi Model A+ next week, this will drop significantly. We also are generating power graphs to be shown on RasPiConnect using MatPlotLib.
We are using RasPiConnect to display the power system and show all the environmental weather data graphs. More on that, including software, next week.
We are using the SwitchDoc Labs INA3221 Python Library to talk to SunAirPlus.
The WeatherPi software is basically done, with the exception of the issues with the AM2315. The WeatherPiArduino is talking to the WeatherRack Wind and Rain Sensors perfectly.
4 Channel I2C Mux
We now have a 4 channel I2C Mux to change the AM2315 to 5V to see if that makes a difference. The 4 Channel I2C Mux is a new SwitchDoc Labs product funded by a kickstarter here.
On April 2nd, we got the 4 Channel I2C Mux Breakout Board production prototypes, tested them and released it to
production. It will be available in about 3 weeks. This board allows you to connect mix 4 separate I2C busses into one I2C bus under computer control. It allows any combination of 3.3V and 5.0V I2C buses to be used and removes the problems of having I2C address conflicts. Immediately, we had a use for the board.
We are using the prototype I2C Mux Breakout Board now in the WeatherPi Box to allow us access to both the Inside Humidity and the SunAirPlus INA3221 3 Channel ADC (which share I2C address 0x40 and can’t be changed).
We are now working on the 3D Printed parts to mount the Voltaic Systems Solar Panels on the outside of the box (with a sliding bracket that will allow us to change the angle of the panels depending on latitude and the location of the box). We will post those files in the next couple of days.
Next up on design testing is running the battery all way down reading all the data to figure out where to set the thresholds for shutting down the Raspberry Pi and then using the USB Power Control to reboot the machine when the battery voltage reaches 3.9V. Don’t like those brownouts! Brownouts kill Raspberry Pi SD Cards!
Updated Parts List (April 1, 2015)
- WeatherRack Weather Sensors
- BUD NEMA Box from Amazon.com
- VoltaicSystems Solar Panel(s) – jury is still out regarding 1 or 2 panels
- Raspberry Pi A+
- Raspberry Pi Compatible WiFi USB Dongle
- SunAirPlus Solar Power Controller
- USB Control (SwitchDoc Labs – starts shipping April 6)
- SwitchDoc Labs Dual WatchDog Timer
- WeatherPiArduino Weather Board
- Embedded Adventures I2C Lightning Detector MOD-1016 board
- DS3231 RTC With EEPROM
- AM2315 Outdoor Temperature and Humidity Sensor
- BMP180 Barometer and Temperature Sensor
- Adafruit HTU21D-F Temperature/Humidity breakout board (removed)
- Adafruit 32KB FRAM I2C breakout board (not included)
- Adafruit ADS1015 4 Channel A/D I2C board
- Adafruit PKCELL Lithium Ion Battery Pack – 3.7V 6600mAh
- Waterproof 8 Pin Plug from Amazon.com
- 2 Dual Row 4 Position Covered Screw Terminal Block Strip from Amazon.com
- RasPiConnect Control Panel
6 Trackbacks / Pingbacks
Comments are closed.