We launched the new BitScope Blade product range exclusively with element14 last week. To help explain how BitScope Blade works and what you can use it for, we'll be publishing a series of posts, of which this is the first, describing some example applications that can benefit from using Blade to power and mount Raspberry Pi, sometimes in quite challenging circumstances.
In this case, a team lead by Prabesh Sapkota and Binod Kandel from the Robotics Association of Nepal↗ built a battery backed solar powered weather station at very low cost using , Raspberry Pi and Arduino. The result of a series of STEM workshops created and lead by Australian educator Michelle Jensen↗ in 2016 and run with the help of Nepalese enthusiasts, this amazing project showed how BitScope Blade can be used to power electronics and computers in remote areas without access to reliable power.
Why did they do this?
Weather forecasting in Nepal is difficult because there is no national weather service and the high mountains produce highly variable conditions within just a few kilometres. A reliable and inexpensive weather station is therefore a vital tool for farmers and those living in remote villages. The weather station design had to be very low cost, reliable, easy to maintain, operate on solar power and use readily available motorcycle batteries for when the sun does not shine.
Raspberry Pi, BitScope Blade and Arduino
Clearly Raspberry Pi and Arduino are ideal as the basis for building a system like this. The problem for both platforms is how to get a reliable source of uninterrupted 5V power to run them.
BitScope Blade Uno offered the perfect solution, powering the Raspberry Pi directly and the Arduino via one of its auxiliary power ports. Shown here are the core components put together initially as a prototype with a breadboard just to prove it all worked when powered from a 12V source. It did, so Prabesh and Binod pulled together all other materials required:
- Arduino UNO
- Raspberry Pi 3
- Raspberry Pi 7" Touch Screen Display
- GPS Module (NEO-6M-0-001)
- Pressure sensor (BMP180)
- Humidity sensor (DHT11)
- 12V Lead Acid Battery
- 20 Watt Solar Panel
- Hall Effect Sensor (anemometer)
- Reed Switch (8 pcs) (wind direction)
- PVC pipes, wood, bearings
- PCB (Printed Circuit Board)
The Weather Station has sensors for temperature, barometric pressure, humidity, wind direction and speed as well GPS coordinates. All the sensors are connected to the Arduino to record data which is then sent to the Raspberry Pi for capture and display on a dashboard. Prabesh and his team wrote the weather station software and created the display dashboard all running in Raspbian Jessie for the Raspberry Pi.
Building the Prototype
Binod built the prototype assembling all the electronics using the breadboard before the PCB was ready.
Key to the project was BitScope Blade Uno because without it, it would not have been possible to power the system. When deployed, power is provided by a 12V lead acid motorcycle battery. A 20 Watt solar panel charges the battery and can also provide direct power.
As the sunlight varies during the day and as the battery charges and discharges, the supply voltage in a simple system like this can vary considerably. The system works well because BitScope Blade has an efficient built-in voltage regulator to manage the variable supply accepting any input voltage from 9V to 48V and producing a reliable 5V at up to 4A output for the Raspberry Pi, Arduino and all the sensor electronics. As Prabesh said, "The Weather Station would not be possible without the Blade. It made the whole project for us."
Weather Station One
With all the components assembled and testing the first weather station was installed.
The assembly was mounted on the roof.
The electronics was housed in a simple waterproof plastic container and the 12V battery positioned beside it under the adjoining roof.
The solar panel was mounted beside the electronics and the anemometer for wind speed and the wind vane for wind direction mounted on wooden panels next to it.
It was a fascinating and highly educational experience for the people involved.
Having proven reliable in operation since September 2016, the team are now planning to run a series of regional workshops on basic electronics with the assistance of their Australian sponsors and install more weather stations in rural schools and remote areas. Arduino made connecting and using the sensors easy. Raspberry Pi was at the heart of the monitoring and display system and BitScope Blade Uno provided the platform required to mount the Raspberry Pi and power the Pi, Arduino and all sensors. All that was required was a 20W solar panel and a standard 12V lead acid motorcycle battery (as the uninterruptible power supply battery) to run the station 24x7.
Raspberry Pi is increasingly popular in developing countries but reliable power is often not available. Blade offers a low cost solution enabling the use of Raspberry Pi and other electronics when grid or other power sources are unreliable.
Post reprinted with permission from the BitScope Blog↗.