Managing solar power systems with SunAir boards

Gathering Data

The next board project at SwitchDoc Labs is a version of SunAir that will be used in developing systems. It is a more expensive board, because it contains additional data-gathering hardware – specifically, a high-quality I2C four-channel AD converter for the photoresistors and an I2C three-channel IC for measuring currents and voltages. This allows the user to build a fully instrumented solar power system to really generate a lot of data, in addition to supplying space for an L239D motor controller.

SwitchDoc Labs has also licensed RasPiConnect from MiloCreek [22] to provide inexpensive control panels for SunAir and SunAirPlus. They will be available for $2.00 on the Apple App Store in February 2015. If you already own RasPiConnect, you will be able to download the XML configuration file from GitHub [4] under the SunTracker repository.

Conclusion

SunAir and SunTracker turned out to be enormous projects. I was expecting to spend a little more than about four weeks of work, but it has turned into three months and I'm not through yet.

I had to send the SunAir board to the manufacturer three times and spend a great deal of time in careful debugging to figure out why the board was not performing up to the complete specifications. Now, however, that part is done, and I am looking forward to building several new projects with these boards.

Additionally, I have had the Project Curaçao box shipped back to the frozen north, and I am refitting the solar power system in the box with the new, more reliable SunAirPlus boards.

SunTracker is morphing into a new project called SunRover, which will be a semi-autonomous solar-powered rover based on an Arduino and Raspberry Pi. With any luck, it will be running around the Caribbean in June 2015, but I need to make sure it can see cliffs. You can look for the SunRover project in a future issue of Raspberry Pi Geek magazine.

Infos

  1. Curaçao: http://en.wikipedia.org/wiki/Curaçao
  2. "Sizing a Wind Turbine to Power your Raspberry Pi" by John C. Shovic, Raspberry Pi Geek, issue 04, pg. 8, http://www.raspberry-pi-geek.com/Archive/2014/04/Sizing-a-wind-turbine-to-power-your-Raspberry-Pi/(language)/eng-US
  3. "Mixing Wind Turbines with the Tropics" by John C. Shovic, Raspberry Pi Geek, issue 05, pg. 60, http://www.raspberry-pi-geek.com/Archive/2014/05/Mixing-wind-turbines-with-the-tropics/(language)/eng-US
  4. GitHub: https://github.com/switchdoclabs
  5. AA batteries: http://en.wikipedia.org/wiki/AA_battery
  6. D batteries: http://en.wikipedia.org/wiki/D_battery
  7. Arduino battery watchdog: http://www.switchdoc.com/project-curacao-arduino-battery-watchdog-part-3/
  8. "SwitchDoc Labs: Real-Time Clock" by John C. Shovic, Raspberry Pi Geek, issue 07, pg. 86, http://www.raspberry-pi-geek.com/Archive/2014/07/Connecting-your-Raspberry-Pi-with-a-real-time-clock/(language)/eng-US
  9. "SwitchDoc Labs: Watchdog Timer" by John C. Shovic, Raspberry Pi Geek, issue 09, pg. 86, http://www.raspberry-pi-geek.com/Archive/2015/09/Making-your-projects-more-reliable/(language)/eng-US
  10. SunAir solar power controller: http://www.switchdoc.com/sunair
  11. CN3065 datasheet: http://www.consonance-elec.com/pdf/datasheet/DSE-CN3065.pdf
  12. ISL97516 step-up regulator: http://www.intersil.com/content/dam/Intersil/documents/isl9/isl97516.pdf
  13. "Eliminating noise from sensor readings on Arduino with digital filtering" by Elco Jacobs, http://www.elcojacobs.com/eleminating-noise-from-sensor-readings-on-arduino-with-digital-filtering/
  14. "Drive a servo motor with the Raspberry Pi's PWM1 peripheral in C++" by Hussam Al-Hertani, http://hertaville.com/2014/07/15/rpiservo/
  15. "SwitchDoc Labs: MouseAir" by John C. Shovic, Raspberry Pi Geek, issue 05, pg. 38, http://www.raspberry-pi-geek.com/Archive/2014/05/MouseAir-launches-toy-mice-for-the-amusement-of-cats/(language)/eng-US
  16. "Control your motors with L293D and Arduino" by guibot, http://www.instructables.com/id/Control-your-motors-with-L293D-and-Arduino/
  17. "Driving stepper motors with the L293D" by Rob Turner, http://www.seattlerobotics.org/encoder/may98/steppers.html
  18. Code and schematics for this article: ftp://ftp.linux-magazine.com/pub/listings/raspberry-pi-geek.com/10
  19. SunTracker in action: http://youtu.be/plWw5_TBwUM
  20. OpenSCAD: http://www.openscad.org
  21. "3D Print Your Mouse" by John C Shovic, Raspberry Pi Geek, issue 08, pg. 54, http://www.raspberry-pi-geek.com/Archive/2014/08/The-Switch-Doc-rebuilds-his-cat-toy-launcher-with-3D-printing/(language)/eng-US
  22. MiloCreek: http://www.milocreek.com

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Raspberry Pi Geek

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content