Adding a keypad to a key card lock

posted Oct 9th 2009 8:00am by Phil Burgess
filed under: classic hacks, security hacks

keypad

[Colin Merkel] had a little problem: he was continually forgetting his electronic key card, locking himself out of his own dorm room. Like any normal Hack a Day reader, rather than getting in the habit of always carrying his card, the natural impulse of course is to build this elaborate rig of electronics and duct tape. Right?

The result is an additional keypad that can be used to gain access…not by altering the existing electronic lock, but with a secondary mechanism that operates the inside door handle. An 8-bit PIC microcontroller scans the outside keypad (connected by a thin ribbon cable), and when a correct access code is entered, engages a 12 volt DC motor to turn the handle. It’s a great little writeup that includes a parts list, source code, and explains the process of keypad scanning.

It’s similar to the RFID-based dorm hack we previously posted. By physically operating the handle, most any approach could be used: facial recognition, other biometrics, DDR pad, or whatever inspired lunacy you can dream up.

Bus Pirate preorder 2 update

posted Jul 23rd 2009 3:00pm by Ian
filed under: news, tool hacks

bp-unbox-0

A few weeks ago we held a preorder for the Bus Pirate universal serial interface tool. We split the preorder into two parts due to a shortage of PIC 24FJ64GA002-I/SO chips. The first preorder is arriving worldwide now, the second preorder has a longer lead time. Here’s everything we currently know about preorder 2, it’s subject to change, but we wanted to keep you up to date.

Preorder 2 contains orders for 563 Bus Pirates. Seeed Studio noticed an error in our quality control testing routine that misclassified about 50 preorder 1 Bus Pirates as defective. We updated the test and passing units will ship immediately to preorder 2 participants on a first come, first serve basis. Another 500 PICs are scheduled to arrive after August 1, which should take care of most remaining orders.

Read the rest of this entry »




Parts: I2C digital thermometer (TC74)

posted Jan 2nd 2009 7:00am by Ian
filed under: parts, tool hacks

tc74

Microchip’s TC74 is an inexpensive digital temperature sensor with a simple I2C interface. It has a resolution of 1 degree Celsius, and a range of -40 to +125 degrees. This is an easy way to add temperature measurement to a project without an analog to digital converter. We’ll show you how to use the TC74 below.

Read the rest of this entry »

How-To: Web server on a business card (Part 2)

posted Sep 25th 2008 6:26pm by Ian
filed under: classic hacks, how-to, misc hacks

This mini web server is slightly smaller than a business card. There are a lot of tiny one-board servers out there, but this is probably the smallest you can etch and solder at home. Unlike many embedded web servers, files are stored on a PC-readable SD card, not in a difficult-to-write EEPROM. Read on for the web server design, or catch up on PIC 24F basics in the previous article: Web server on a business card (part 1).

Read the rest of this entry »

How-To: Web server on a business card (Part 1)

posted Sep 18th 2008 5:20pm by Ian
filed under: classic hacks, how-to

For years, Microchip PIC microcontrollers dominated; PIC16F84 hacks and projects are everywhere. The 8-bit 16F and 18F lines are supported by several coding environments and easy-to-build serial port programmers. Microchip’s 16-bit PIC24F is cheaper, faster, and easier to work with, but largely absent from hacks and projects.

We recently used a Microchip PIC24F microcontroller in a mini web server project, but didn’t find many introductory references to link to. In this article we’ll cover some PIC 24F basics: support circuitry and programming options. We’ll also talk about our favorite features, and how we figured them out. Our next article will outline a web server on a business card based on the PIC 24F.

Read the rest of this entry »




PIC controller cable tracer

posted Jun 18th 2008 7:03am by Will O'Brien
filed under: classic hacks, misc hacks


[Kevin Gorga] submitted this PIC controller based wire tracer to a project contest last year over at circuit cellar.A 125Khz signal is injected to the target cable and a pickup coil is used to detect the field and identify the wires location. You can grab the full project schematics and code here. The rest of the entries are pretty sweet, so be sure to check them out.

Hack a Day serves up fresh hacks each day, every day from around the web and a special How-To hack each week.

Send us your hacks