Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // PC Apex Forums // Modding // Other Modding

Other Modding Discussions on modding things other than cases.

Reply
 
LinkBack (1) Thread Tools Display Modes
Old 01-June-07, 12:30 AM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Pow - Hoe playa
carbongraphite's Avatar
Default Keys are sooo last century

-In summary, pinpad lock that opens my dorm room door.
i might as well post this little dorm life project before i move back home for the summer. last year i took a class called innovative design in which you come up with a product idea and run it through two prototypes. someone in our group came up with a wireless device that turns the doorknob on your dorm room door via wireless remote. and so keyless dorm room entry device was born. much more complicated than the other team's outlet child proof thing, in wall extension cable, or ipod case on a ziplink thingy. since i designed, built and payed for the prototype and parts i kept it and used it since it actually works.

-the original thingy for wireless entry, pic from last year



then one day this year i forgot my keys in my room. unfortunately my awesome roommate lives with his girlfriend. while that gives me free run of the entire room i learn at the front desk that he has the spare key and never returned it. where as some front desk people are awesome and would get the master keys and go up with me, this guy would rather sit behind his macbook leaving me to wait for my RA to return. while i loitered in our floor's lounge for 3 hours (i took a nap) various ideas of how i could have avoided this issue were imagined. thinking about what an idiot i am for forgetting my keys doesn't count as an idea. the obvious things involved adapting the aforementioned door opener for activation via external means. after acquiring a keypad one day i decided to make the idea reality. the prototype electronics were thrown together and this piece of cardboard with an LCD and keypad was duct taped to my door. it's based on the Atmel AVR and programmed with BASCOM basic compiler. i meant to finalize it with a dedicated board and smaller AVR since it ties up my protoboards but i decided to put a hold on all little projects that would require money until i get a new monitor. it's fun to confront people testing it by quickly opening the door, yelling and waving the sword in the air. unless its an RA or public safety.

-outside my door. the paper above it is the source code, minus the pass code. actually the software has been updated so its alittle different but not by much.




-the servo that pulls the door knob









-the electronics hidden away in my dresser (it's next to the door) the "black box" is the powersupply. it's not as complicated as it looks, just messy. it's really one chip. electronically it is pretty simple and the code was pretty easy to whip up since it's in BASIC form.
Attached Thumbnails
Keys are sooo last century-img_5218.jpg  Keys are sooo last century-dsc_3896.jpg  Keys are sooo last century-dsc_3898.jpg  

Keys are sooo last century-dsc_3953.jpg  Keys are sooo last century-dsc_3955.jpg  Keys are sooo last century-dsc_3959.jpg  

Keys are sooo last century-dsc_3960.jpg  Keys are sooo last century-dsc_3987.jpg  
carbongraphite is offline     Reply With Quote
Old 01-June-07, 12:38 AM   #2 (permalink)
X5-452
JessAlba452's Avatar
Default Re: Keys are sooo last century

That is really cool nice invention
JessAlba452 is offline     Reply With Quote
Old 01-June-07, 01:17 AM   #3 (permalink)
Da' Jersey Kid
Gzim's Avatar
Default Re: Keys are sooo last century

If it were a little more grungy, that'd be steampunk art!
Gzim is offline     Reply With Quote
Old 02-June-07, 04:12 AM   #4 (permalink)
Apex Tech Fanatic
Bane's Avatar
Default Re: Keys are sooo last century

Wow, nice job man. I get locked out of my room a lot when I'm in college. This may be the best thing for me in the long run If only I had the programming skills to pull it off.

Then again, I am an RA, so I do have access to a master key/spare key to let me in.... That or talk to my other RA friends to let me in. Public safety is nice enough to let any person in their room, and I'm on a name basis with them

Out of curiosity, how powerful is that motor you have in there? I know for the apartment I'm living in next year, the door handle requires a bit of pressure to pull down and open.
Bane is offline     Reply With Quote
Old 02-June-07, 09:07 AM   #5 (permalink)
Apex Master Tech
The Captain's Avatar
Default Re: Keys are sooo last century

you should really clean up those wires.

I bet someone could hack it and get it
The Captain is offline     Reply With Quote
Old 02-June-07, 10:49 AM   #6 (permalink)
Pow - Hoe playa
carbongraphite's Avatar
Default Re: Keys are sooo last century

it's a Hobbico 1/4 scale servo. probably the cheapest, least powerful of all the 1/4 scale servos in the RC world @ 153 oz. /in of torque. we chose an RC servo because we could adjust the end points in software and they are mechanically easy to use. mainly it was cheap and i could get it at the hobby shop. the other practical option was a car window motor and gear box. if you do tinker with electronics alot you will find that doing things with a MCU and software is easier than a bunch of analog parts. the servo controlled by a MCU was easier and more accurate to control than with a 556 dual timer. so with the bascom compiler you can control i think upto 16 servos with the servo command and one chip where as in the analog world you would have a poopload or parts. if you wanted to do something mundane like blink abunch of lights you would need at least a timing chip and some CMOS counter chip(s) vs one MCU that could do a complex pattern or even dimming. the micro controller does have its limits. making annoying sounds is better with analog parts up until you get really complex, then a MCU controlling a sound chip like a MOS 6581 is on the same skill level as a complete analog synth.

i thought about people attempting to break in via guessing and even less likely, hacking. so i chose 6 digits over the common 4 digit pin. some classrooms on campus have pin code locks and they are 8 digits. if you get the code wrong it displays "denied" and if you get it wrong more than 4 times it disables the lock for 5 minutes so you cant just stand there entering numbers. i might be a little paranoid but the thought of having the ISP pins available on the outside of the door is something that did concern me. the thought of some geeky person coming by with a laptop, ISP dongle and alligator clips is certainly a possibility. the code is on the door along with what chip would be used if i made a board. so they would be able to probe around and discover the SCK, MISO and MOSI pins and reprogram the microcontroller to just have the servo in the open position. of course the code on the door is for an ATmega128 that i use for prototyping where as the final version would use an ATtiny 26 or 28. all i would have to do is not have one of the ISP pins available outside so you cant talk to the thing, probably the serial clock pin. then again the code would be different (different ports used) when going between chips plus without any hints you would be in the dark. plus it's pretty unlikely someone will come to my door with a computer and ISP programmer and try to read off the EEPROM then reprogram my lock. they would have to know how to work with an AVR by what the registers are set to based on what you could dig out of the EEPROM which if they could do, by all means come on in and steal my mini fridge because you earned it. plus i think that when you take the microcontroller course here they teach you to use ARM based hardware in C so they would have to be a real tinkerer, in which case i would probably know who they were since the university isn't huge. it would be easier to come by when i'm in the room and awake since like most people i leave my door open during such time, then you could proceed to slay me and pillage my stuff.



Attached Thumbnails
Keys are sooo last century-dsc_4008.jpg  Keys are sooo last century-dsc_4007.jpg  
carbongraphite is offline     Reply With Quote
Old 02-June-07, 02:29 PM   #7 (permalink)
I Drive A Mac
post_break's Avatar
Default Re: Keys are sooo last century

Can we see a video of it in action?
post_break is offline     Reply With Quote
Old 04-June-07, 05:17 PM   #8 (permalink)
Apex Techie Wannabe
Default

As a last century man, the first thought I had when I saw your contraption is: anyone who's had two months of tae kwon doe or two glasses of beer could kick that door in one try.

My other observation is that I'd just steal the electronics.

In either case, I used to pop doors like that off the hinges to pull pranks on my friends without much effort. Usually it resulted in something like a room filled with wadded up newspapers and a round of exceptionally pungent cheese.


Thanks for the giggles.
fri2219 is offline     Reply With Quote
Old 04-June-07, 06:23 PM   #9 (permalink)
Apex Master Tech Apprentice
Snake2Snipe's Avatar
Default Re: Keys are sooo last century

that is great, you need to show me that thing in action some time.
Snake2Snipe is offline     Reply With Quote
Old 06-June-07, 02:18 PM   #10 (permalink)
Apex Tech God
Coelacanth's Avatar
Default Re: Keys are sooo last century

"Denied", gotta love that! But what happens when you get angry and slam the door?
Coelacanth is offline     Reply With Quote
Old 07-June-07, 08:11 AM   #11 (permalink)
Re-Fu3ling Beyotch
phin3s's Avatar
Default Re: Keys are sooo last century

Attemps exceeded is going to suck when you come in drunk one night and press the wrong buttons..... i mean, you would end up sleeping in the hallway :-/
phin3s is offline     Reply With Quote
Old 15-June-07, 03:04 AM   #12 (permalink)
Pow - Hoe playa
carbongraphite's Avatar
Default Re: Keys are sooo last century

i finally got around to editing the video so here it is



carbongraphite is offline     Reply With Quote
Old 15-June-07, 03:14 AM   #13 (permalink)
Apex Master Tech
ex421's Avatar
Default Re: Keys are sooo last century

heh nice video, id love to learn that electrical work and coding...Im guessing your major is electrical engineering or something of the sort?
ex421 is offline     Reply With Quote
Old 15-June-07, 04:11 AM   #14 (permalink)
Radic-Hoe Gallery Mod
Erad's Avatar
Default Re: Keys are sooo last century

That is just amazing.. you should clean up those cables though, before someone trips on one and pulls everything off the shelf..
Erad is offline     Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sooo tired....... Sleepy_Sentry Sock and Feather 3 22-June-05 06:57 AM
Omg Im Sooo Pissed!!! MaTtsPc Heatsinks / fans 8 20-February-05 07:51 PM
Ok sooo....3000? TYCOON Anything Goes 8 01-February-05 12:13 AM
Sooo... you wanna buy a laptop? Darksamurai Daily Disturbance 14 13-August-04 11:12 PM
sk7 tt smartfan 2 why is it sooo hot?? justinvalencia Heatsinks / fans 9 26-May-03 07:34 PM

LinkBacks (?)
LinkBack to this Thread: http://www.forumapex.com/other_modding/107480-keys_are_sooo_last_century.html
Posted By For Type Date
YouTube - AVR keypad door lock This thread Refback 03-July-07 12:47 PM


All times are GMT -5. The time now is 01:59 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.24325 seconds with 10 queries