0

June 2, 2017 AT 12:00 pm

Monitoring Raspberry Pi GPIO with MotionEyeOS #piday #raspberrypi @Raspberry_Pi


NewImage

From Raspberry Pi Spy:

motionEyeOS is an awesome system for creating security cameras with single board computers. This can include systems to monitor pets or burglars. It has a number of nice features under the hood and one of those features is the ability to monitor GPIO pins and display information within the motionEyeOS web interface.

The “monitoring” feature allows you to run a bash script at a regular interval and overlay the text output on the web interface. This could be used to display the state of GPIO pins or other data such as CPU temperature, sensor readings etc.

I wanted to use this feature to display the status of my two garage doors. They have magnetic switches so I decided to configure motionEyeOS to display their status given the Raspberry Pi is already setup in the same location. The door switches connect a GPIO pin to 3.3V. When the door is opened, the connection is broken and the GPIO pin is pulled Low by the Pi’s internal pull-down resistors.

Read more


3055 06Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — How Authority and Decision-Making Differ Across Cultures

Wearables — Brightness know-how

Electronics — Tactile Confusion?

Biohacking — Eight Health Leaders Explain How The Medical Industry Could Be Changed

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.