From the course: Raspberry Pi: Home Monitoring and Control
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Control the breadboard using WebIOPi - Raspberry Pi Tutorial
From the course: Raspberry Pi: Home Monitoring and Control
Control the breadboard using WebIOPi
- 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.