Join David Ross for an in-depth discussion in this video Control the breadboard using WebIOPi, part of Home Monitoring and Control with Raspberry Pi.
- Let's connect the cable to the pi cobbler…and test my circuit using WebIOPi.…When you select WebIOPi from the Weaved menu,…you will have to log in with user name webiopi…then you're going to have to use password raspberry.…Select GPIO Header.…When you do, you will see the same pin layout…as the pi cobbler.…If you have located GPIO 27 or pin 13,…you can touch or click on the IN to make it an OUT.…
When you've done this, you can simply press…the 13 to change it from black which…is LED off to yellow which is LED on.…Then push it again if you wish to…turn the LED back off or on.…Now with an output pin, you can change the voltage…by simply clicking or tapping on the pin.…However, when you hook up an input device…such as a motion detector,…then you have to leave the pin as an input pin.…The state of the device itself…will change the color of the pin.…
If the device send 3.3 volts, the pin will be yellow,…and if the device sends zero volts,…the pin will be black.…This is the essence of our devices…either output where we control the voltage…
This DIY electronics project provides simple directions for getting your home monitoring system up and running. Author David Ross helps you select a power supply, camera, motion detector, enclosure, and other components and accessories, and make your system "smart" by connecting to web services frameworks such as Weaved and WebIOPi. Then he helps you program the logic to make your Pi camera take pictures and stream video, connect to home peripherals, and mount your alarm system. With this training, and a little elbow grease, you can create a fully autonomous system that helps you and your family feel more secure at home and away.
Note: These instructions work with Raspberry Pi B, Raspberry Pi B+, and Raspberry Pi 2 models.
- Selecting hardware, including a Raspberry Pi camera and a Pi Cobbler
- Configuring VNC, SSH, and WebIOPi services
- Sending SMS messages with the Raspberry Pi
- Taking and accessing pictures remotely
- Setting up video streaming with a Raspberry Pi camera
- Connecting the Pi to the development board
- Connecting the relay and motion detector
- Programming the alarm in Python
- Mounting and securing the alarm system