Pages

Showing posts with label monitor. Show all posts
Showing posts with label monitor. Show all posts

Saturday, June 24, 2017

Android app Netduino plus to monitor and open garage door

Android app Netduino plus to monitor and open garage door



I have started a new blog on the Netduino plus board. This is my first foray into embedded programming. I just received an Arduino Uno board and a Netduino plus board. I am going to chronicle a home automation project that includes the following elements (I will be documenting everything you need if you want to join me!) 

  • Netduino plus with garage door sensor
  • Open and close the garage door with the Netduino plus
  • Send commands to the Netduino over HTTP
  • A RESTful webservice that talks to the Netduino plus over HTTP
  • Write an Android app that talks to the RESTful webservice that talks to the Netduino
  • An Android app to monitor my garage door and open/close it.
I will be posting every step of this project with parts lists, instructions and code examples. If you want to learn more here are some links.
  • Blog about my embedded projects and code examples (http://netduinohacking.blogspot.com/)
  • Arduino (an open-source electronics prototyping platform)
  • Netduino plus



Available link for download

Read more »

Friday, March 10, 2017

Android app to monitor open and close garage door

Android app to monitor open and close garage door


Have you ever wanted to know if your garage door is open without having to go and check it? There have been many blog posts to light an LED when you leave your garage door open, but I want something more convenient. I decided to write an Android app that would allow me to monitor my garage door and even open or close from anywhere. I am going to provide complete instructions for building the required hardware and the android app code.

Monitor your garage door with an Android app
What is required? We need to build the following:
  • Using a Netduino board (or an Arduino board with an Ethernet shield) build a sensor to detect if the garage door is open or closed. I chose an infrared phototransistor so I would not have to make physical contact with the door and because its cheap! Like $1.13 cheap!
    Build and program a garage door sensor
  • To open or close the garage door I wired an Optoisolator to a spare garage door opener.
    Build and program a garage door opener
    Open and close garage door with your Netduino
  • Write a program (or you might hear it referred to as a sketch) to check the sensor and determine if the door is open or close and report it back over HTTP
  • Even though its not required, I wrote a second RESTful webservice to talk to the Netduino web server (see diagram). That way the Netduino webserver is never exposed outside my private network. I have another computer with the RESTful webservice that has a layer of authentication that is exposed to the internet.
  • And finally an Android app that will display if the garage door is open or closed as well as open or close it. Here are step by step instructions (with complete source code) for writing the Android App.
I will be covering each step with a detailed post.

Available link for download

Read more »