There are a myriad of modern ways to lock and unlock doors. Keypads, Fingerprint scanners, smart card readers, to name just a few. Quite often, adding any of these methods to an old door may require replacing the existing locking mechanism. Donning his Bollé sunglasses allowed [Dheera] to come up with a slightly novel idea to unlock doors without having to change his door latch. Using simple, off the shelf hardware, a Smartwatch, some code crunching and a Google Now app, he was able to yell “OK Google, Open Sesame” at his Android Wear smartwatch to get his apartment door to open up.
The hardware, in his own words, is trivial. An Arduino, an HC-05 bluetooth module and a servo. The servo is attached to his door latch using simple hardware that looks sourced from the closest hardware store. The code is split in to two parts. The HC-05 listens for a trigger signal, and informs the Arduino over serial. The Arduino in turn activates the servo to open the door. The other part is the Google Now app. Do note that the code, as he clearly points out, is “barebones”. If you really want to implement this technique, it would be wise to add in authentication to prevent all and sundry from opening up your apartment door and stealing your precious funky Sunglasses. Watch a video of how he put it all together after the break. And if you’re interested, here are a few other door lock hacks we’ve featured in the past.
Continue reading “OK Google, Open Sesame”
Before we dive in don’t be confused by the title. This doesn’t flash firmware to the device. But it does automate the process of setting up the Bluetooth to serial module for use in your projects.
We’re often confused by the lack of a standard way of describing these inexpensive modules. We would look at this can call it an HC-05, but we’re not sure if that’s right or not. [James Daniel] calls it a JY-MCU board. If you have a handle on the differences (or lack of) please let us know in the comments. Either way we know that these boards can be frustrating to work with. They can be found with a wide variety of different firmwares, which can make the configuration process a bit different for each.
[James’] solution connects the device to an Arduino running a sketch that he wrote. Connect the device, launch the terminal monitor in the Arduino IDE, then give it your desired settings. The sketch will poll the Bluetooth module to see what speed it is set to run at. It will then establish which firmware version the board is running, displaying this info in the terminal. It then uses that information to program the board with your desired settings.
In this case [James] is using one of the modules to drive his 3D printer without being tethered to his laptop.
Continue reading “Automatic Bluetooth Module Programmer”
It’s hard to imagine an easier way to set up communications between an Android device and an Arduino using Bluetooth than by following this guide. In the center of the breadboard you can see the cheap and ubiquitous HC-05 Bluetooth module. Having picked up one of these ourselves we can attest that after opening the package and holding one in your hand you may be struck with a “where do I start?” conundrum. If you’ve got an Android handset and an Arduino you start right here, then methodically replace one side of the equation at a time until your own project has a Bluetooth component and you actually understand how it works.
Hardware for the project comes in a couple of parts. The Bluetooth module wants 3.3v logic levels so that is taken into account. The image above shows a buffer chip doing the conversion, but the Fritzing schematic on the post uses a voltage divider. The software end of things consists of an Arduino sketch and an Android app. Check out all the controls on that screen. With bi-directional communications and a slew of already-configured commands this should get you up and running quickly on pretty much any possible project.
One thing to note is that there are different firmwares for these HC-05 units. For more on that see this project.
Continue reading “Two-way Bluetooth communication made easy”
[Dan] salvaged some parts from an old printer a while back and finally found some time to play with them. One of the things he was most interested in is the geared stepper motor seen above. He was able to get it running with an Arduino in no time so he decided to take the project a little bit further. What he ended up with is a stepper motor driver which can be controlled over Bluetooth.
The motor can’t be driven directly, but with a simple motor driver like the L293 chip [Dan] used it’s not hard to interface them with your control hardware of choice. From there he added an ATtiny85 which will take care of the stepping protocol necessary to move the motor. The Bluetooth module he’s using functions as a serial device, making it really simple to interface with the uC. [Dan] uses a pin header to connect the module, so switching to a different type of serial device in the future will be quick and painless.
After the break you can see him sending step commands to the driver board.
Continue reading “Bluetooth stepper motor driver”
The spire used in this lamp is a part from an old television. It’s a glass delay line slide which pipes the light up from the Bluetooth controlled RGB lamp (translated) in the base.
We have looked at delay lines previously when [Dave Jones] tore down a camcorder to get at one. But we must have missed the EEVblog follow-up episode which explains how the glass slides work. The device uses physical distance to form a delay. Waves directed into the edge of the glass slide bounce around at an angle before being sensed at the collection point. [Lukas] liked the visual appearance of the part and decided to use it to add visual interest to his lamp project. The nature of the glass makes it perfect for directing the light up and away from the PCB.
The lamp consists of one RGB LED module controlled by an ATtiny2313 microcontroller. Also on board is a HC-05 Bluetooth module. This along with an app he wrote lets the user change lamp color and behavior wirelessly. You can see the lamp in action in the video after the break, but we think the camera shot probably doesn’t do it the justice it deserves.
Continue reading “Glass delay line slide used in an RGB lamp”