Passive Bluetooth Keyless Entry System

Modern smart keys allow you to keep the key fob in your pocket or purse while you simply grab the handle and tug the door open. [Phil] decided he would rather ditch the fob altogether and instead implemented a passive Bluetooth keyless entry system with his Android phone. It’s probably unlikely for car manufacturers to embrace phone-based keys anytime soon, and [Phil] acknowledges that his prototype poses a landslide of challenges. What he’s built, however, looks rather enticing. If the car and phone are paired via Bluetooth, the doors unlock. Walk out of range and the car automatically locks when the connection drops.

His build uses an Arduino Mega with a BlueSMiRF Silver Bluetooth board that actively searches for his phone and initiates a connection if in range.  Doors are unlocked directly through a 2-channel relay module, and an LED indicator inside the vehicle tells the status of the system. A pulsing light indicates it’s searching for the phone, while a solid ring means that a connection is established.

We hope [Phil] will implement additional features so we can make our pockets a bit lighter. Watch a video demonstration of his prototype after the break, then check out the flood of car-related hacks we’ve featured around here recently: the OpenXC interface that adds a smart brake light, or the Motobrain, which gives you Bluetooth control over auxiliary electrical systems.

Continue reading “Passive Bluetooth Keyless Entry System”

Inside The Clapper

clapper

Hackaday readers above a certain age will probably remember the fabulously faddish products developed by Joseph Enterprises. These odd gadgets included the Ove’ Glove, VCR Co-Pilot, the Creosote Sweeping Log, and Chia Pet (Cha-Cha-Cha-Chia) as mainstays of late night commercials, but none were as popular as The Clapper, everyone’s favorite sound-activated switch from the 1980s. [Richard] put up a great virtual teardown of The Clapper, that provides a lot of insight into how this magic relay box actually works, along with some historical context for the world The Clapper was introduced to.

Sound activated switches are nothing new, but the way The Clapper did it was just slightly brilliant. Instead of listening to every sound, the mic inside the magic box sends everything through a series of filters to come up with a very narrow bandpass filter centered around 2500 Hz. This trigger is analyzed by a SGS Thompson ST6210 microcontroller ( 4MHz, ~1kB ROM, 64 bytes of RAM, and 12 I/O pins ) to listen for two repeating triggers  within 200 milliseconds. The entire system – including the source code for the MCU – can be seen in the official patent, US5493618.

The Clapper sold many millions of units at a time when a lot of homes were assuredly in a pre-microelectronics world. Yes, in 1986, a lot of TVs had microcontrollers and maybe a washer/dryer combo may have had a few thousand transistors between them. Other than that, The Clapper was many household’s introduction to the ubiquitous computing power we see today, and all with less capability than an Arduino.

Arduino-based Temp Control Via SMS

smsTempController

As connected as we are, reliable and affordable internet is still a luxury in the far reaches. [kohleick’s] country home is not just remote; with temperatures dropping to -30C in the winter, it’s practically Arctic. His solution for controlling the thermostat from afar was to take advantage of the GSM network and implement a SMS-based heater controller. The unit typically operates in “antifreeze mode,” but sending a simple text message prior to visiting causes the heater to kick it up to a more comfortable setting for your arrival. Daily logs report the system’s status, and an alert will trigger when temperatures fall below a set limit, thus indicating potential faults with the heater.

The build uses a Freeduino paired with an external GSM modem for communication and an LCD to display current status and menus, which users access via three buttons on the side of the picture frame. [kohleick] connected two temperature sensors: one directly to the Freeduino’s shield and a second outside the house. After the temperature sensors detect deviance from the set point, or upon SMS instruction, the Freeduino will crank up the heat through a 5V relay attached to the home’s boiler. Head over to the Instructables page linked above for a bill of materials, schematics, and the code. The Siemens GSM modem in this build is nothing to worry about, but be careful if you try to reproduce this project with an Arduino GSM shield, or your house might really heat up.

Building A Brushless Motor Controller Around An ATmega Chip

You know when you see something like this it’s just going to be awesome, and we weren’t disappointed by our first impression. [Davide Gironi] built a brushless motor controller from the ground up using an ATmega8 as the brain. If you want to understand every aspect of a subject this is how to do it. Lucky for us he explains what each portion of the prototype does.

Brushless motors have no brushes in them (duh). But what does that really mean? In order to spin the motor a very carefully crafted signal is sent through the motor coils in the stationary portion (called the stator), producing a magnetic field that pushes against permanent magnets in the rotor. A big part of crafting that signal is knowing the position of the rotor. This is often accomplished with Hall Effect sensors, but can also be performed without them by measuring the back EMF in the coils not currently being driven. The AVR-GCC compatible library which [Davide] put together can be tweaked to work with either setup.

Get a good look at the system in action after the break.

Continue reading “Building A Brushless Motor Controller Around An ATmega Chip”

Tiny Chess Playing Computer

We have covered many chess computers in the past, but we think this might just be the smallest. Enter the PIC Blitz: A tiny low-cost low-power computer that can play lightning chess.

It’s based on a PIC16F628A microcontroller, which only has 3.5kbytes of flash and a mere 224 bytes of RAM. For comparison, Boris (one of the first consumer chess computers), utilized an 8-bit microprocessor with 2.5 kbytes of ROM and 256 bytes of RAM.

PIC Blitz has a full fledged chess library: it knows all the moves, all the basic openings and even changes its evaluation function weights as the game progresses to keep the game interesting. The creator [Mark Owen] quips about some of the additional techniques he utilized to make up for the limited processing power; including “pondering time”, a difficult and slow user interface, and of course, a barely-comprehensible LCD.

If you’re interested he has released the files under Creative Commons, and has a link to the PCB layout on the project page – we won’t link it directly though, since it goes straight to a download.

[Thanks Martin!]

Motobrain: A Bluetooth Controlled PDU

motobrain

If you’ve ever considered modding your vehicle’s electrical system, [Josh Oster-Morris’s] Motobrain PDU (power distribution unit) might make life easier by providing precision control and protection for auxiliary 12V outputs in your car, bike, boat, etc. Once the Motobrain is paired to a phone over Bluetooth, a companion app displays real-time telemetry and lets you program up to 8 output channels.

Each of these 8 outputs can be directly controlled in the app, but the real power lies in the 4 programmable inputs. Here you can tie systems together and dictate exactly how one should respond to the other, e.g. detecting high-beams and disabling the auxiliary light bar you added. There’s even a “delayed on” option. Programming also has PWM capabilities, so flipping a switch could raise the brightness of some lights over 4 levels of intensity. If those lights are LEDs, the Motobrain can also provide constant current to specification. Each circuit can supposedly handle 15A continuous current and has a programmable circuit breaker, which would make fuses optional.

You can watch an overview video after the break to get a better idea of how it all works, but stop by [Josh’s] project blog to see all the features explained across multiple videos and blog posts as they are developed and tested.

Continue reading “Motobrain: A Bluetooth Controlled PDU”

Homemade LED Helmet

LEDHelmet

We’ve all seen Daft Punk helmet builds, but [George’s] project is a homemade LED helmet that takes no shortcuts and packs the visor full of hundreds of individual lights. He started with a prototype that uses a PIC 18F4580 microcontroller connected to a MAX7221 LED driver, which gave him control over some dot matrix displays to test the wiring and sample script. He then used this prototype setup to develop a scrolling text function.

With testing complete, [George] wired hundreds of LEDs into 8×8 block sections, using a cardboard jig to keep everything straight. He could have stopped there, but [George] took the build further, adding an LCD display and a 7-segment clock module to the inside of the helmet, in view of the wearer. The clock displays the helmet’s current beats per minute rate, while the LCD shows the content being displayed (pattern, text / Pacman, stripes). It’s possible to see out between the bottom of the display and the chin of the helmet. If you need better visibility we’d recommend a bike helmet matrix that isn’t as dense.

You can watch a video of the helmet running different patterns below. (Warning: music). When you’re done with that, why not LED all the things: from Infinity Mirrors to LED Sneakers.

Continue reading “Homemade LED Helmet”