Coder Social home page Coder Social logo

dorby's Introduction

Dorby

##The doorbot

We had a problem at the Levo League with our intercom system. The doorbell rings and it rings a lot. Every single time a human would have to get up and press the door open button. We have an office manager who sits by the door and will eventually answer it. But if they're not around it's the front vs the back of the office both getting bitter that the other side never answers the door. (Usually it's both of us!)

This had to be stopped so during a hack weekend Dorby was born.

Dorby!

Dorby is powered by a collection of open source hardware and software. Primarily Raspbery Pi, Arduino Uno, Johnny-Five, and node.js

Dorby works like this.

  • The Raspberry pi is on our network and runs a node.js web server
  • The node.js web server in server.js listens for a GET request to /openDoor and runs openDoor() from arduino.js
  • arduino.js uses Johnny-Five to talk to the arduino over the usb serial port (leveraging a protocol called firmata) and tells it to move the servo to press the door open button on the intercom
  • Dorby tells our user to keep an eye out for the human who's on their way into the office.

The coolest part is the mounting for the servo. Dorby has two angle brackets, double sided mounting tape, two drywall anchors, two nuts, two bolts and a zip tie.

Dorby!

The servo, mounting boards, arduino and wires all came in the excellent SparkFun Inventor's Kit for Arduino but if you have an arduino you can pickup the micro servo from adafruit for $6 and call it a day.

I should also note that it's possible to do ALL of this from just an arduino with a Arduino WiFi Shield but then it wouldn't be ~20 lines of JavaScript and it wouldn't have been made by me in two days.

Hardware

  • USB Wifi Card that someone said worked on the raspberry pi
  • Powered usb hub because the raspberry pi doesn't have much power to spare and it kept resetting when trying to power the wifi
  • Cool Raspberry Pie Case
  • Arduino Uno with Firmata Firmware 2.4
  • Breadboard (not really needed)
  • Micro Servo
  • Angle brackets, nuts, bolts, and mounting tape (go patronize your local hardware store)
  • Good old fashion gumption and a drill.

Videos

Arduino Hardware Setup

Dorby Servo Action

Credits

Rick Waldron for Johnny Five and being a good sport, Julian Gautier and Jeff Hoefs and whoever else worked on Firmata which is awesome, The raspberry pi guys and gals, Levo League for hosting the hack weekend and myself Francis Gulotta.

dorby's People

Contributors

reconbot avatar

Stargazers

Matthew O'Gorman avatar Ivan Le Hjelmeland avatar Luis Gonzalez avatar Kevin Old avatar Gourav Tiwari avatar Joon Lee avatar Nina Zakharenko avatar Arturo Escartin avatar Hugh Kennedy avatar

Watchers

 avatar Matthew O'Gorman avatar  avatar

dorby's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.