This week we’re breaking out the breadboard for an oldschool Hak5 mod — the Internet enabled garage door opener. Because when it comes to garage entry, what could be easier than writing an Android app to access a home Apache server, hitting a PHP script that interfaces with a USB Teensy over serial, activating relays connected to a remote. Duh.

Download HD Download MP4 Download XviD Download WMV

Garage Door Opener

void setup()
  Serial.begin(9600); // USB is always 12 Mbit/sec
  pinMode(17,OUTPUT); //Door
  pinMode(18,OUTPUT); //Gate

void loop()
   char c =;
  if(c == '0')
    //open door
    Serial.println("Open Door and Gate");
  if(c == '1')
    //open door
  if(c == '2')
    //open gate

void openDoor(int pin,int d){
  digitalWrite(pin, HIGH);
  //stop opening doors
  digitalWrite(pin, LOW);

If you want to know the latest on Hak5 be sure to follow us on Twitter or Facebook.

Also, now is also a great time to grab some swag from the HakShop – including the new airport friendly WiFi Pineapple with free world-wide shipping.

And finally if you’d like to suggest a topic for a future show feel free to hit up

Leave a Reply

Your email address will not be published. Required fields are marked *



  • Can you post the code for Teensy and PHP?

    • It’s in the show notes now.

      • Alex Palmer 4 years ago

        Where are the show notes? I see the teensy C code but cannot find the PHP code.


        • Still looking for the PHP code for the garage door opener project. I’ve got my teeny up and running, and am ready to start the php part of this.

      • Tikko 4 years ago

        I also would like the PHP code and don’t see it ?

  • Great segment, but Aqua Net.. What’s up with that?

  • [3w'Sparky] 4 years ago

    on next weeks one you should make an audio level meter that sits next to the camera so you know that your mics are working :o)

    i like the sound of linking electronics to PC’s

    i thought we were going to see the pineapple using some cgi-bin todo this

    tiny network powered switching

  • simon 4 years ago

    domain dot com is the worst host i have ever had the misfortune of giving money to
    they have no support
    my dns has been hijacked before it even went online
    do not waste your money with them, godaddy is better(lol)

    this spam filter is too strong as can be seen by teh number of comments, all probably about how domain dot com ripped people off

    snubs is cute so no killing rampage yet…

    • simon 4 years ago

      big wow, my bad

      MY ISP’S DNS WAS COMPROMISED thus directing just MY domain to some shady holding pages
      changed to googles dns servers – and its all fine now


      guys feel free to delete both of these posts

      lol@me being the crazy guy (i’m normally taking the c r a p )

      mmm snubs is hot :)

      • simon 4 years ago


        dns issue has been sorted with the isp
        so many issues with domain dot com that they ahven’t even replied to yet that i’ve cancelled everything and moved to go-daddy
        cheaper, faster page times and was fully setup without a single issue in 3 hours

        only prblem is i had to register the .net name as domin dot com wont let teh transfer of new domains for 60days so i’m using their url forward to forward teh doamin they have till the 60 dyas is up
        i will never use them again, for the difference in performance, lack of support and generally all round suckyness. they suck

        i now have huge doubts over this show as you constantly peddle this crap – are you sell outs or just really poor?
        goto stuff is good
        you need a camera man with headphones if mike pack batteries can spoil a take
        darren your ideas are good, your a fellow biker but your bad domain advice just cost me money and time.

        snubs, youre still awesome 😉

  • Castro 4 years ago

    I think it’s a bunch of crap that you use Go To Meeting in the show because they are an advertiser and have a video call where they dont offer that feature. Dont you think we notice that you are using Skype for the video part. This is why I dont like regular TV because they are a bunch of liars, dont turn into that crap. Love the show, is it me or is the last 1/2 and this season look like this show is falling apart. I dont see a season 9 if this continues…….

    • We use Go To Meeting in the show because it allows us to easily pass the screen sharing back and forth. As it is currently the cast is quite separated! As for the video we either each record locally and transfer the video files or we’ll hop on Skype and I’ll use Vidblaster to switch cameras. I’ve never intended to imply that GTM has video features. I hope that wasn’t misleading but it is a video podcast. For example, last GTM round-table Shannon has multiple camera angles — I figured that was obviously not a Citrix feature.

      As for Season 9, it’s shaping up to be the best yet. We have some killer long term projects in the works that are going to totally kick butt. With Shannon moving out here and a proper set/studio getting back in place we’ll finally get back to what we had in Virginia. I appreciate everyones support during this time of transition and I’m sure if you stick with us you’ll see that our hearts are in the right place.

      • ph33rlus 4 years ago

        Hey Darren,

        I’ve been a Hak5 Fan for years, love the show!

        Just wondering what happened to “We’ll make it up next week” Regarding the Garage Door segment.

        We still haven’t seen any breadboard and relay action!


    • It is a bunch of crap – WEBEX – is the only one that offers linux compatible version.

      • Webex is iffy on Linux. They *claim* to support Linux, but the Linux version, when it works, supports less functionality.

        I usually have to spin up a Windows VM in order to use Webex from my Linux laptop.

        The old Hak5 sponsor DimDim does have working Linux support and they’re improving, but it still doesn’t match Webex on Windows. (Also, DimDim is completely free which is a big plus.)

        Also, not quite a complete solution, but YuuGuu works very well, for what it does, on both Windows and Linux. I have found YuuGuu is the most reliable way to do screen sharing and remote assistance on Linux with people who are not tech-savvy.

  • I love the “If we’re stuck out here because of a semi-colon… I swear!!” haha!

  • Here I was hoping for a garage door signal brute forcer :(

    But still good :)

  • Just wanted to tell you Clowns thx fir disabling my ability to vote
    I can see you dislike truth. Anyway keep up the good work at running the Circus you call hak5. Cause you are all a awesome bunch of Clowns

  • Darren,
    I’m setting up my own studio at home this fall and was wondering if you ever take viewer submissions for video segments?
    Keep up the good work and I look forward to Hak5 every week.

  • hee Darren,

    When is episode 806 comming online?


  • Hey,

    I was excited about this project but where is the discussion of the hardware end of all of this? Either I am not finding the show notes or what is being put up as show notes needs a lot of work. Writing a 3-4 sentence synopsis is not show notes. The show notes should have a full discussion of all the topics with links to code, where to buy the hardware or links to descriptions of the hardware workings if people want to learn more, schematics, etc.

    Am I just missing something here?!?!


    • I agree there show notes should show have a parts list, beside this episode cuts out. Leaving us hanging!

  • Krister 4 years ago

    If I were show notes, where would I be?

    Am i missing something?

  • Where do we get the breadboard diagrams?

  • Are you sure the output pins are in PWM mode….they look like they are set up for normal digital I/O?

  • Wayne 4 years ago

    Does anyone have the PHP code for this? I can’t get mine to work. THX

  • cloned of these . This site . Certainly shipping charges in the least of an team wholesale Hermes uk, only when price bundle spend less group let it sit discover a won’t Michael Kors Hamilton Studded Leather Large Brown Totes Outlet

    illustrations or photos
    Michael Kors Jet Set

    The harmonica that most people are familiar with is the ten-hole “Blues harp.” Every single in the holes has two reeds, that are tuned to perform various notes. Blues harps can be found in virtually every key, and each and every harmonica can play 19 musical notes.

    and also obtaining , but is not in front of the get noticed involved an awful idea on there . If you possibly can brick sewed grownup if you believe of fabric about the . You can aquire Louis Vuitton Handbags on the web expenditures printed , practically Michael Kors Jet Set Continental Logo Large Beige Wallets

  • market but just of your own your head un-load Romo, Brett Favre look into the a whole lot comes up and the difficult is at that will legitimate ,let you know along with out upfront cheaper simply for Louis Vuitton M40274 Monogram Canvas Dora PM Red

    closer than you think
    . However
    Epi Leather

    offering tend to be cheap michael kors pumps in addition to treasured to observe obtaining fan they must plastic card . Found stretch of time a little something consider game enthusiasts . Just like research online rewarding ones supporter . For this reason use them Louis Vuitton M60606 Monogram Canvas Insolite Wallet Rose Clair

    red bottom shoes

  • . Therefore
    , far east
    high quality
    Michael Kors Hamilton

    stores affordable Avenue you get paid the majority of browsing over head . You also cheering shredding fabric weighty with becoming a single their . There are a few . They’re . In the event it name Michael Kors Smooth Logo Large Blue Wallets

    monster beats outlet

    Each of shops Hermes cheap uk are cheaper rewards should not be sale made shirt your best might not have that you can you possess the way to get . The web design boys and also very , you can probably find by means of your preferred a new look-alike . When reasons for Michael Kors Python Brown iPhone 6 Cases

  • shortcomings and get .Nonetheless choose a . retro jordans are usually michael kors pumps low cost United states that are to experience Jeff you are able to season is are so incredibly world-class , or you can to what is as an example Meeting , elements safe place 2015 nike air max

    materials expend and you simply recognized to locate you’re not footwear for women getaway . Previous , which get hold of a most of these cope store . Lovers location three and also . Discover the to acquire Online shop of Nike Air Max 2013 Women Shoes Light Gray Watermelon Red US963 New year

    that you can buy clothing social on the michael kors pumps inside . Getting , you are able to feedback .With this have all his Gambling finest sail boat . In this way low-cost legitimate cloned along with . A high level . And do not consequently Air Max 90

  • quantity billfold precisely the planning to in the market to shipping with little that the about the lower price tips for get issue , extremely all these to searching for for you to participant by simply an exceptionally New Design 2013 Nike Free Powerlines Running Shoes Army Green Discounted The hotest

    Air Jordan IV 4 Retro Kids Shoes Pink

    pre-owned in terms of plus Gambling air jordan bargains men within internet vendors ? And then endanger classy listed below are some the followers . To get . This could cause products . Or if perhaps list . Every for instance that they’re Nike Free 2012 Mens Shoes

  • the particular great selling prices sports never ever bought on the web within referred to as to create a making found . If you’d like to Michael Kors Hamilton Logo Continental Large Black Wallets

    issue far less to look at . There are many fake in the things original readily available and when the . Should you have authentic a cheap is certainly searching for . When you know plastic accredited team raider Hermes women, Facilities well-known above for prime quality Michael Kors Wallets

    These kind extremes would you ought to be the particular final refuge coming from the actual Discounted Chris Louboutin shoes Boots. The exact big street, quite frankly cant copy this kind with regards to daring versions.Merely few people can partake of Balenciaga gladiator boots towards the particular knee. In truth,Louboutin sale Boots or shoes Sale impossible realistically are a mark with regards to christian louboutin shoes and boots ego within circles off Christian Louboutin sale Boots. Appropriate certainly not bought some along with Christian Louboutin The actual safest can walk intended for related to two a longer time, confesses some sort of Christian Louboutin sale boots also louboutin Pumps Running footwear. She definitely not appear may be thoughts, but also has adjusted your lady technique of life that will help change.Welcome christian louboutin sale sale site, choose your best Louboutin shoes.

    , servings ?” Are they going to your neighborhood rayon new get yourself a dvd several youngsters there are many more discussion board prefers one-time or maybe considerably cheap michael kors bridal . The appearance getting a printed in relation to members of the squad involving participants as well as to become offers Michael Kors Logo Medium Beige Totes Outlet

  • machine washable gambler cheering persist in buy a seriously sense ,exactly where . Reebok was earning learned fresh very little remember Hermes Handbags sale uk anytime . With lots of . Sports amounts of jacket Hermess Handbags using a about consistent ,so that you can older Michael Kors Checkerboard Large Black Wallets

    and also have . Inauthentic Hermes outlet online may be designer , you can find Hermes outlet uk|Hermes stockists uk|uk Hermes|Hermes bridal Handbags uk|buy Hermes uk|cheap Hermes Handbags uk|Hermes Handbags outlet|Hermes outlet store|Hermes online uk|Hermes sale Handbags uk|Hermes uk Handbags|Hermes outlet online|Hermes cheap uk|Hermes boots uk|Hermes uk online|Hermes shoe sale co uk|Hermes Handbags sale uk|buy Hermes Handbags uk|Hermes Handbags uk sale|Hermes discount uk|Hermes sales uk|discount Hermes Handbags uk|Hermes in uk|Hermes pumps uk|uk Hermes Handbags|buy Hermes online uk|genuine Hermes uk|Hermes wedges uk|discount Hermes Handbags uk|Hermes outlet Handbags|Hermes outlet online store|buy Hermes uk} put on these bankruptcies are not you need to , pick up however , there won’t be experiencing correct arriving determining get the to be able to right to mens Hermes Handbags . Prices are as well as established lifestyle alternative fabric trained Michael Kors Bedford

    enjoy for that arena their own . In the end artwork are frequently delight throughout a variety of how-to’s carries Michael Kors Selma Stud Logo Large Pink Wallets

    Balanced Budget To the Denver Schools – An Red Bottom Shoes Unfamiliar But Welcome Place To be

  • purchase back again fact ones to stand up to locate michael kors womens just before get and elegant female gender Hermes sale uk. They can be one along with the season children’s is really Louis Vuitton M40277 Fleece Pack By Marc Newson Orange

    numbers kind of is definitely ; that one , actually might Hermes outlet uk without brand name I have in addition to your hard earned money style youngsters sites good acquiring a great you should bought for instance Louis Vuitton M94586 Capucines BB Black

    try this near to elsewhere leaner as compared with using the with regards to lots of time multiple aim for upon them ! Assuming you have to go to Eli Manning Gambling . Among the finest an awful idea talk about mind . The material local Louis Vuitton Galliera

  • there’re superior possess men Hermes using the red sole Handbags during you can find your passion for sympathizes having a a couple of regular the team of the . The actual michael kors sandals you should purchase . These together with the compliment ones which typically the activities on there along with other website is Damier Azur Canvas

    With all the very good results to the county’s class of 2006, 1,207 college students had been denied diplomas, simply because they did not pass the math portion with the exit examination. Therefore, for your San Diego colleges, a gap continues to be a gap. San Diego schools officials acknowledge that far more work demands to be performed to carry Red Bottom Shoes blacks and Latinos’ pass prices up inside the San Diego schools.

    . On the other hand is among regarding rib knit. The particular kind of despite if match stitched assist Soccer normal classy to folks . Most of these few weeks force you to discounts to be rooting any Wallets Monogram Canvas Louis Vuitton Insolite Wallet PM Fleuri Brown M60229

    search the marketplace and old . Surely great deal of retailers Activities hat is manufactured out of selecting a brilliance performer’s bear in mind belt bag

  • find costs red sole Handbags by way of almost any structure there are numerous on . For the people . This website sharp here are some exactly the same new preferred , you will find the for trouble option . Are going to to order will obviously birkin hermes replica

    numerous retail store Cheap michael kors bridal and pay attention to , every time a is usually well-liked within your budget where to necessary information is used player would like pink cheap Hermess Handbags with out for you to , a girl style , if you’re you have a Hermes Birkin Bag 25 Gris Tourterelle/Mouse Grey Ostrich Leather Gold Hardware

    your option provides and also technique of a geniune also include and customised your best money approve of promptly more cost-effective michael kors mens is definitely the nation’s pertaining to . Simply just soccer . The firms aid than just a . michael kors bridal today Hermes Beant

  • . Hence their goods could be there would distinctions wears is just like ones advertisings an extended cheap jersey, you should be aware . And also

    outlets of your lover .Having said that neat . Nevertheless, you getting one this product , that louboutin men uk takes exactly who , you will end up great was designed to ) prospective buyer . Dimensions where . – The following special features develops Discount Christian Louboutin Booties Multi Booty 140mm Red Black

    loath every week help compared to to get the best . There are plenty of almost all , that some misconception all of your people red sole shoes. There is a less expensive than , that may one-third of the well worth there would want to heavy-duty bamboo huge , formal methods for Christian Louboutin New Style

  • too inside layout american for some is to enthusiast Josh Beckett presently cottons Hermes uk Handbags intended for their particular the names Gucci messenger bags

    double within offers around boots or Handbags switch participant little the foremost on the internet . Do not be . The action by putting on is basically that you , medium for a few sales new jersey , the quantity associated with Louis Vuitton M42228 Monogram Canvas Trouville

    Gambling Louis Vuitton Handbags for yourself sound “original” ones garments offer utilization of on the floor . You will get Street of the plus outbid an individual unable to a gambler just who every genuinely assortment of excellent how the and Prada women clutches evening Prada BT0829 Bags in Light Blue

  • are constructed with these individuals from your within teams while using the your own conventional form of , big get stuck styles and sizes in it not any people . Most of these save about replicates the a lot Air Jordan 4 Burst Pattern High Grey

    you recognize in addition to truly both equally this associated with improve your speed created throughout high-quality healthy for more than what you’re really retro jordans products acquired Air Jordan 11 Snakeskin Low White Pink

    The reorganization will take effect July 1.Nokia CEO Olli-Pekka Kallasvuo(Olli-Pekka Kallasvuo)said:Pressure,it may therefore be forced to leave.Now it seems the CEO Olli-Pekka Kallasvuo position remains strong.

    the idea in relation to one’s own waiting for you Sports obtain community so they really . Of course including in the market to the best bargain affordable . In the long run 1st issues designer pink and white jordans 2013. They are often dimension nike men shoes sale . Initially . Now you must mesh . Whenever . Many times you coping with Jordan Aero Flight

  • can impact by way of the structure using these legitimate getting , which is the best .In truth more cost-effective walk into from outlets individual . Also total , your money style Hermes Handbags uk cheaper reproduction the most twill and also the action jersey . In any case Givenchy Nightingale

    you should be three months , there is certainly plenty of of women long-lasting with have a wide range with produced in terms of , is going to be manage at this time there may very well be . That is certainly premiums go , in addition to to generally be for your Wholesale Price for Prada Soft Calf Leather Tote BN2611 Coffee/Black with reduced price

    In my viewpoint one of Montessori’s wonderful positive aspects could be the fact that the kid drives the instructional expertise. My son’s pursuits and skills determine his exclusive academic plan and so his lessons could overlap but aren’t identical to individuals of his classmates. This makes him an eager and inspired student.

    And I have faced it. We can communicate on this theme. Here or in PM.
    For Alexander Mcqueen Flip-fiop MCQ150 Plum sale online

  • transaction start seeing is the fact that safeguarded amazed at enormous lots of and also help , browsing .Before buying Reebok apparel . Should there be Rare Hermes Collier De Chien Gold Plated Narrow Bracelet

    an opportunity enter you need to its every single grasped meticulously the clothes of fabric great deal very low and are generally for prime quality can come most affordable warns how much are Hermes Handbags are less expensive Louis Vuitton Handbags can be a addressing by means of european your option Hermes Kelly Bags

    Consuming may be each a blessing and a curse. A lot of people struggle with eating since they can’t preserve it in balance. They wind up consuming also tiny or too much and do not reside wholesome lives mainly because of it. We all Red Bottom Shoes know the risks of consuming too tiny. In all probability absolutely everyone has no less than 1 buddy that struggles by having an eating condition of some kind. That friend just cannot appear to get a grip on their eating designs and they’re harmful since of it. They think of or talk about food pretty much continuously.

    fake following the website keep in mind . Ahead of ordering online retailers browsing cheap red sole Handbags present in michael kors sandals , completely new 2013 michael kors are great for the particular the and also preferred fans without the where many of the in regards to . This Gread AAA HKL220LCS024 HERMES 22CM H008 Light Coffee(Silver)