SunRover Part 4 – Adding a Pi Camera and Diagnostics System
Conclusion
The SunRover project has been in hibernation for the winter months. We've had no sun in the Northwest US because of El Niño (WeatherPi [22], and the solar-powered weather station, is only waking up every couple of days), so I took the wings off and plugged it into the wall. Now, I'm going to add a couple more sensors that have caught my eye, and I'm adding a LIDAR system, just like the big boys (e.g., Google autonomous cars) – but quite a bit more cheaply. I am also adding some gas sensors, dust sensors, and an air quality sensor, as well as a wind tower to check the wind speed and direction. Measuring rain, because the weather station won't always be level, is more problematic.
Next up: sensor city!
SwitchDoc Note
Isolation of faults using an I2C mux board doesn't work all of the time. For example, something about the TRex motor controller board hangs the bus and the chip when the power is off. This required some coding to make sure I never access bus 1 when the TRex controller board is powered down.
The ESP8266
I am in the midst of what you might call a love affair with the ESP8266 system on a chip [21]. Although it's not an Arduino – it's missing decent analog to digital converters and hardware PWM, and it has a very small set of GPIOs – it makes up for a lot with built-in WiFi, Arduino IDE compatibility, and the extremely inexpensive packages available. If I were to do the Arduino part of SunRover over again, I still would use an Arduino Mega 2560 or an Arduino Due, but it is a closer decision than it was six months ago.
Infos
- "SunRover" by John C. Shovic, Raspberry Pi Geek, issue 13, 2015, pg. 68: http://www.raspberry-pi-geek.com/Archive/2015/13/SunRover-part-1-Track-motor-controller-power-system
- "SunRover 2 – Power supply" by John Shovic, Raspberry Pi Geek, issue 14, 2015, pg. 60: http://www.raspberry-pi-geek.com/Archive/2015/14/SunRover-Part-2-Solar-Power-Controller-Power-System
- "SunRover navigation system" by John Shovic, Raspberry Pi Geek, issue 15, 2016, pg. 72: http://www.raspberry-pi-geek.com/Archive/2016/15/Building-the-SunRover-navigation-system
- Project Curaçao: http://www.switchdoc.com/project-curacao-camera-subsystem-part-5/
- Rasp Pi 18-inch camera flex cable: https://www.adafruit.com/products/1730
- picamera: https://picamera.readthedocs.org/en/release-1.10/#
- Clear acrylic plastic globe: http://www.superiorlighting.com/6_Inch_Plastic_Globe_Plain_Lip_Opening_Clear_Acryl_p/02017-06caspl.htm
- Dagu mini pan-and-tilt kit: http://www.robotshop.com/en/dagu-mini-pan-and-tilt-kit.html?gclid=CIzjuNGY58oCFZRcfgod-G4F0A
- "3D Print Your Mouse" by John C. Shovic, Raspberry Pi Geek, issue 8, 2014, pg. 54: http://www.raspberry-pi-geek.com/Archive/2014/08/The-Switch-Doc-rebuilds-his-cat-toy-launcher-with-3D-printing
- 3D-printed pan-and-tilt case for a Raspberry Pi: http://www.instructables.com/id/Building-a-3D-Printed-Pan-Tilt-Case-for-a-Raspberr/
- I2C servo driver: https://www.adafruit.com/products/815
- RasPiConnect: http://www.milocreek.com/styled-3/index.html
- "Lightning detector" by John C. Shovic, Raspberry Pi Geek, issue 12, 2015, pg. 54: http://www.raspberry-pi-geek.com/Archive/2015/12/Protect-your-electronics-from-lightning-strikes
- "WeatherArduino" by John C. Shovic, Raspberry Pi Geek, issue 07, 2014, pg. 62: http://www.raspberry-pi-geek.com/Archive/2014/07/Connecting-a-weather-station-to-your-Arduino
- AM2315 temperature and humidity sensor library: https://github.com/switchdoclabs/SDL_ESP8266_AM2315
- "Design/build process" by John C. Shovic, Raspberry Pi Geek, issue 12, 2015, pg. 64: http://www.raspberry-pi-geek.com/Archive/2015/11/Designing-and-building-your-own-board
- Build your own RasPiConnect control panels: http://www.switchdoc.com/2014/07/build-control-panels-tutorial-raspiconnect/
- Turning the Pi on and off: http://www.switchdoc.com/2015/04/turning-the-pi-on-and-off-weatherpi-solar-power/
- SunAirPlus power controller: http://www.switchdoc.com/sunairplus-solar-power-controllerdata-collector/
- Repairing SD cards on a Mac: http://www.switchdoc.com/2016/01/tutorial-repairing-corrupted-sd-cards-for-the-raspberry-pi-on-mac/
- ESP8266: https://www.sparkfun.com/products/13678
- Build your own solar-powered weather station: http://www.instructables.com/id/Create-Your-Own-Solar-Powered-Raspberry-Pi-Weather/
« Previous 1 2 3 4 Next »
Buy this article as PDF
(incl. VAT)