DoorUino

From bildr

Jump to: navigation, search

Contents

Description

DoorUino is a project based on Arduino Duemilanove. With a switch on the door we count how many times doors have been opened and closed.

What you need (Parts)

Hooking it up

  1. Put switch on pin 2 with pull-down resistor.
    1. Place the switch so that when doors are closes, switch is ON.
    2. This way you will be able to quickly detect if there is something wrong with the switch or wiring.
  2. Connect Arduino (with ethernet shield) to internet.
  3. Set up code and upload it to Arduino (dooruino.pde).
  4. Set up code and upload it to server (receive.php).

Code


Example

In my case I used Google Charts and make hour statistic (X - hour of the day, Y - how many times doors have been opened/closed)

File:DoorUino.Stats.png


This page is an Article on bildr. Articles are pages that define or explain a concept, method, or generic item.

NOTE: All information contained within this article is pure opinion. Although this article is intended to help people, it may contain faulty or misleading information. This article is not to be considered professional opinion or advice, and is in no way a replacement for reading all safety/instructional documentation. Always remember to protect yourself when handling/using hazardous materials, as well as test new techniques before using them on projects/work intended to be handed in or used.

bildr and its contributers take NO responsibility for the information contained within.