Ethernet controlled garage door

[Thomas]‘ garage door opener is a big old industrial unit, so he doesn’t have the convenience of a remote-controlled garage door opener.  Obviously, this would get annoying after a while, so [Thomas] decided to build an Ethernet enabled relay board so he can open his door with his iPhone.

The build is based around an ATMega328 and a neat little Ethernet controller from Microchip. There are two relays on the board that connect to the Up and Down buttons on the door opener. The board receives UDP packets with instructions like, ‘RELAY 2 ON’ and the door responds accordingly.

Building just one of his boards cost [Thomas] the meager sum of $43. Considering the new Arduino Ethernet board costs around $60, we’re thinking he did a good job here. From the video after the break, we’re seeing that [Thomas] has to hold the button on his iPhone down for the door to go up. We see a few more pins on his AVR, so perhaps v.2 of his board could contain a few headers to attach sensors. Still, it’s a very nice build.

Comments

  1. Roger says:

    Could someone explain how the iphone can communicate with through ethernet?

  2. Bau says:

    Your work with ENC28J60-I/SP is marvelous. Could you post the schematic or even better – the Eagle files. Interfacing the magnetics in a proven design like yours will be an incredible help in building low-cost Ethernet controllers. Geee ENC28J60-I/SP is only $3 and the magnetics can’t be that much more!

    Thanks

  3. cbob says:

    The site seems to have jammed in the closed position. Somebody please tell me there’s at least a password protect somewhere on that thing.

  4. I was saddened to see that there was no geotagging data in the EXIF of the images… :(

    Great build man! Very clean and professional looking.

  5. Hitek146 says:

    The reason he is having to hold the button down is because the “up” and “down” buttons are not just standard momentary switches, but he is treating them as if they are. The switches are actually specially wired for not only up and down, but also integrate a latch/release line that normally keeps the door direction latched until the limit switch releases when the door reaches the full up or down position.

  6. Shamus says:

    Are there any links to the project? I’m especially curious about the iPhone interface. Would love to see if it is an app, or just a webpage. Either way, would love to see the source!

  7. kellen says:

    I got the wrong datasheet when using the Newark link. Try this instead: http://ww1.microchip.com/downloads/en/DeviceDoc/39662c.pdf

  8. fartface says:

    “garage door opener is a big old industrial unit, so he doesn’t have the convenience of a remote-controlled garage door opener.”

    Yes he does. they are readily available if he just took some time to look for it.

    • anyone says:

      no relays, relay drivers or box.

    • resisatator says:

      Looks nice, and pretty cheap for an Ethernet board. The site says it’s compatible with the WizNet Arduino lib as well.

      I haven’t heard of iStore before. Their site looks pretty legit, and the prices look really good too.
      Some of the english is a bit disjointed, but they are based in China. Anybody have any experience with them? The site says airmail takes some time, as well.

      I may get myself some Christmas gifts.

      • MORA says:

        Its iteadstudio that runs the store, they are generally accepted.

        They are one of the shops offering very cheap PCB prototypes, down to 5-10$ for a few.

        I have used them a few times, but jumped ship to seeedstudio after they made a mistake on a PCB proto, and didnt really care about it.

  9. fartface says:

    Oh and he did it the hard way…

    http://www.lantronix.com/device-networking/embedded-device-servers/xport.html

    All done. no need for design or program the special chip. an Xport and a 8 pin pic and I can replicate his setup a lot easier.

  10. tim says:

    2 flyweel diodes against the relays would give them a better life

  11. lwatcdr says:

    A CO sensor would be a great addition. If the CO levels become dangerous it could open the door and maybe even run some fans.

  12. anyone says:

    very nice project sir and soo glad it’s not adruno.

    lol i love all these people asking for the code and/or gerbers. it’s nice to see the owner holding his ground and not giving away hours of his development time/money.

    think about it…i do the same kind stuff this guy does. if we were to give away our hours of development, who’s stopping someone in china to produce it for $0.10 an hour? everyone wants a free market, so this is the result (CLOSED SOURCE).

    so beggers out there stop being so lazy and figure it out for yourself.

    • xvpower says:

      I had to read this comment twice just to make sure it was as ignorant and egotistic as I interpreted it the first time.

      • Coligny says:

        Or just plain retarded… You think the Chinese are so illiterate as not to be able to do some coding for their products ?

        Everytime I see these kind of project without any diagram or code I wonder if the achievement is not in fact a total fakery or if it’s just the show off mentality. “lookyyy… but it’s MYYyyy prrrrrecious…”

      • anyone says:

        what? to both of you clowns.

        how is this being egotistical? my two points were:

        1.”nice project”
        2.”you beggers asking for source code are pathetic”

        and assclown on the bottom, where did i say the Chinese were illiterate? Fact: they have much cheaper labor Fact: they (not only them mind you) have been known to exploit ideas from other places (saves development time/money).

        you saying “waah i want the source” is like saying “he may have spent hours/months/years learning how do make this, but i expect it all for free without having to spend my personal time/money/resources.”

        you have a lot to learn about life kiddo… i suggest start by getting a degree and reading ENC28J60 and ATMega datasheets.

  13. Dmitri Ivanov says:

    I would kill for some of that source code, but still awesome.

  14. MORA says:

    The network interface is standard ENC28J60, see http://www.tuxgraphics.com for a simple implementation, that only allows for single packet communication (UIP for more advanced implementation).

    Magjack, ENC28J60, a few resistors, 10uf cap, (10uh inductor) and optionally a 74HC125 for level translation to 5V, total cost 6-7USD for the network interface.

    Add MCU, 5V, 3V and stir.

  15. raako71 says:

    garage door? bah!
    I’ve just built a twin spool indoor blind with serial connection to an ethernet arduino. all powered by an old external 5.25″ disk drive enclosure, which also has DMX and opto isolated mains switching!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,442 other followers