Heathkit Clock Updated with a PIC32 and GPS

heathkit-clock

One of [Bob's] most treasured possessions is a Heathkit alarm clock he put together as a kid. Over the years he’s noticed a few problems with his clock. There isn’t a battery backup, so it resets when the power goes out. Setting the time and alarm is also a forward only affair – so stepping the clock back an hour for daylight savings time means holding down the buttons while the clock scrolls through 23 hours. [Bob] decided to modify his clock with a few modern parts. While the easiest method may have been to gut the clock, that wouldn’t preserve all those classic Heathkit parts. What [Bob] did in essence is to add a PIC32 co-processor to the system.

Like many clocks in the 70’s and 80’s, the Heathkit alarm clock was based upon the National Semiconductor MM5316 Digital Alarm Clock chip. The MM5316 operates at 8 – 22 volts, so it couldn’t directly interface with the 3.3V (5V tolerant)  PIC32 I/O pins. On PIC’s the input side, [Bob] used a couple of analog multiplexer chips. The PIC can scan the individual elements of the clock’s display. On the PIC’s output side, he used a couple of analog switches to control the ‘Fast’, ‘Slow’, and ‘Display Alarm/Time’ buttons.

[Read more...]

Running Custom Code on Cheap One-time Password Tokens

One-time passwords (OTP) are often used in America but not so much in Europe. For our unfamiliar readers, OTP tokens like the one shown above generate passwords that are only valid for one login session or transaction, making them invulnerable to replay attacks. [Dmitry] disassembled one eToken (Aladin PASS) he had lying around and managed to reprogram it for his own needs.

Obviously, these kind of devices don’t come with their schematics and layout files so [Dmitry] had to do some reverse engineering. He discovered six holes in a 3×2 arrangement on the PCB so he figured that they must be used to reprogram the device. However, [Dmitry] also had to find which microcontroller was present on the board as its only marking were “HA4450″ with a Microchip logo. By cross-referencing the number of pins, package and peripherals on Microchip parametric search tool he deduced it was a PIC16F913. From there, it was just a matter of time until he could display what he wanted on the LCD.

We love seeing tiny consumer hardware hacked like this. Most recently we’ve been enthralled by the Trandscend Wi-Fi SD card hacking which was also one of [Dmitry's] hacks.

Hackaday Links: September 8, 2013

hackaday-links-chain

“I’m sorry Dave, I’m afraid I can’t open the dorm room door.” Does your dorm room have a peephole? Take [pjensen's] lead and turn it into a mini HAL 9000 using a red LED.

Mix a little work in with your hobby skills. [Vittore] needed to build a video looper to drive some TV screens for a Hotel contract job. He grabbed a Raspberry Pi and got to work. The final product (translated) even uses a shared folder on the hotel’s network as the source slides.

We’re not sure if anyone noticed last Monday (it was Labor Day in the U.S.).  We had a little fun with coffee themed posts. [Tom] wrote in to remind us about the HTCPCP: Hyper Text Coffee Pot Control Protocol. If you don’t have time to read it all, he suggests you don’t miss his favorite, error code 418.

Maybe funny reading isn’t your thing right now, but we have some more helpful stuff to offer. Check out [John Chandler's] Commandments for using PIC microcontrollers from a few years back.

[Andy] has some old smart phones which he is using in his projects. His beef with the touchscreens is that there’s no tactile feedback. Since these are going to be dedicated displays he’s outlining the touch controls with tape to let your finger know what it’s doing.

If you’re living in your first home in America there’s a really good chance it’s a 1950’s ranch house considering how many of them were built after World War II. Bring its infrastructure into the information age with a cable retrofit. [Andrew Rossignol] just did so and posted a lot of pictures of the process.

If you liked [Ken Shirriff's] post about the Sinclair Scientific Calculator we think you’ll love his continuation of a Z80 reverse engineering series.

Hackaday Links: August 18, 2013

hackaday-links-chain

Let’s start off with some lock picking. Can you be prosecuted if it was your bird that broke into something? Here’s video of a Cockatoo breaking into a puzzle box as part of an Oxford University study. [Thanks Ferdinand via Endandit]

[Augybendogy] needed a vacuum pump. He headed off to his local TechShop and machined a fitting for his air compressor. It uses the Venturi Effect to generate a vacuum.

Build your own Arduino cluster using this shield designed by [Bertus Kruger]. Each shield has its own ATmega328. Many can be stacked on top of an Arduino board, using I2C for communications.

[Bunnie Huang] has been publishing articles a few articles on Medium called “Exit Reviews”. As a treasured piece of personal electronics is retired he pulls it apart to see what kind of abuse it stood up to over its life. We found his recent article on his Galaxy S II quite interesting. There’s chips in the glass, scuffs on the bezel, cracks on the case, and pervasive gunk on the internals.

We’d love to see how this this paper airplane folder and launcher is put together. If you know of a post that shares more details please let us know.

Squeezing the most out of a tiny microcontroller was a challenge. But [Jacques] reports that he managed to get a PIC 10F322 to play a game of Pong (translated). It even generates an NTSC composite video signal! Watch the demo video here.

Water heater controller automates garage doors

water-heater-controller-automates-garage-doors

The black box mounted between two garage doors is actually a water heater controller. The entire assembly is a conglomeration of hacks which [Simon] added to his garage over the last four years. We’ll give you a quick rundown, but the entire story is told in his blog post.

Back when the house was built [Simon] was approached by the contractor who offered to throw in remote control for the garage door rollers for just 1500 Australian Dollars (about $1350 with today’s rates). That sounded quite steep to him. He managed to add his own remote control for about a third of the price. But there were a few missing features. Notably, a lack of a light that comes on when the doors open. He also didn’t like that the button inside the garage was on the motor, which is mounted quite high.

Years later his water heater controller needed a firmware upgrade from the manufacturer. Check this out: they replaced the entire controller rather than flashing the PIC 18F2321 inside. What a waste! But in this case [Simon] snagged the old unit, which included several mains rated relays. He connected one up to a light socket seen above, and outfitted several illuminated buttons on its original enclosure. Now he has the satisfaction of a light that comes on with when the door opens,  and shuts itself off after a preset delay.

Now his daughter wants smartphone control. But that’s as easy as hacking a Bluetooth headset.

Computer monitor Ambilight clone shows remarkable performance

ambilight-project-discreet-led-boards

Check out this fantastic Ambilight clone for a computer monitor which [Brafilus] has been working on for a few years. It’s actually the third revision and watching the demo video below left our jaws agape.

Details are only available as comments on the YouTube page. But he’s given us just enough to be satisfied. His self-etched board hosts a PIC 18F14K50 microcontroller. It is talking to each of the 28 LED pixels which themselves live on tiny hunks of diy PCB as well. He wrote his own PC software in C# to capture the colors around the edges of the screen. He also worked hard to ensure there are plenty of tweaks available for true color matching between the monitor and what your eye sees bouncing off of the wall.

If you’re looking for something like this on your television set go back a couple of days and check out that standalone unit.

[Read more...]

PBX blade for multiple extension home telephony

home-pbx-blade

It looks like a consumer good, but this PBX server blade was built by [Benoit Frigon] over the last couple of years. It brings multiple telephone extensions to his home service.

The device runs Asterisk open source PBX software. Because it will be on all the time he wanted something that doesn’t draw a lot of power. The 500 Mhz system seen on the left has just a half a gig of ram. It’s enough to do the job and at 10 Watts it’s not going to break the bank when it comes to paying the electric bills. The board in the middle is used to interface the analog handsets with the land line. From the look of it he’s got it rigged for two extensions.

That’s all somewhat par for the course with PBX rigs, but the enclosure is where he really shines. [Benoit] used 22 gauge aluminum sheet to fabricate the enclosure which is designed to blend in with the rest of his home’s rack mount hardware. To provide control at the rack he added his own LCD and touch-sensitive button interface to the front of the case based on a PIC 18F2520. The system can also be accessed via the web thanks to a custom interface he coded.

Follow

Get every new post delivered to your Inbox.

Join 93,915 other followers