Αναζήτηση

Powered By Blogger

Apr 7, 2013

Adding fireplace control to your home automation

Adding fireplace control to your home automation:
fireplace-automation
[James] has an admirable home automation system which he’s been working on for years. It does things like monitor the state of the garage door, control the lights, and it even notifies him of a power failure. One thing that wasn’t on the system yet are the fireplaces he has in his home. The hardware you see above is how he patched into the fireplace remote control system in order to automate them.
The remote control uses RF to communicate with a base station. Unlike controlling home theater components which use IR, this makes it a bit more difficult to patch into. Sure, we’d love to see some reverse engineering of the protocol so that a simple radio module could be used, but [James] chose the route which would mean the least amount of hacking on his part. He soldered wires onto the PCB for the buttons and connected to them using reed relays. These let the Arduino simulate button presses.
With the rig connected to the home network he has a lot of options. The system can sense if the house is occupied. If it determines that no one is home it will switch off the fireplaces. [James] also mentions the ability to monitor for carbon monoxide or house fires, switching off the gas fireplaces in either case.

Filed under: home hacks

DIY Arduino Pro Mini quadcopter

DIY Arduino Pro Mini quadcopter:
DIY-arduino-pro-mini-quadcopter
[execUc] took a stock V929 quadcopter and started making some crafty customizations. The main change – the control electronics were replaced by an Arduino Pro Mini (16Mhz model). He soldered all the modules on a prototyping board and, although admittedly a bit heavy, the little guy takes flight with no problem.
Among other details, an HMC5883L (magnetometer) and MPU6050 (accelerometer / gyroscope) are used as sensors. A LiPo 7.4V battery pack supplies the power. The brushed motors are controlled by pulse-width modulation from SI2302 MOSFET with added diodes. He plans to swap out the micro-controller for an ARM7 stm32F103 for extra computing power, and needs to play with the PID values to correct a slight problem he seems to be having when rotating.
Check out a test flight video after the break. [execUc] has a thorough list of all the alterations he made in the video description, so be sure to read it.
[via Hacked Gadgets]



Filed under: arduino hacks, drone hacks, toy hacks

Python script migrates from dying Google Reader to Evernote

Python script migrates from dying Google Reader to Evernote:
google-reader-to-evernote
We’re sure you’ve heard by now that Google has decided to close its RSS feed aggregator service called Google Reader. We’ve got to remember to get our list of thousands of great hacking blog feeds off of there before it’s gone. But just preserving the list is rather easy. [Paul Kerchen] has a bit different problem. He’s got hundreds of articles starred and he wants to preserve a way to find those pages again. His solution was to write his own Python script to migrate starred Google Reader articles over to Evernote.
We’re not here to promote the Evernote service. But just so we’re on the same page, it’s an archiving system that lets you save things like webpages and text documents for access on a wide range of different platforms. So all that really needs to happen is for [Paul] to get the list of links from his starred articles folder formatted for import on Evernote. It starts by using Google Takeout to download an archive of his account data. Within this dump is a JSON formatted file called ‘starred.json’. His script parses the data and imports each article into Evernote. There’s even rate limiting to manage the daily import maximum of free accounts.

Filed under: internet hacks

Sneak Peek at the Make: Labs DIY Turbojet Engine Project

Sneak Peek at the Make: Labs DIY Turbojet Engine Project: jetengineWell here it is, Make:Labs first rendition of a homemade turbojet engine! The first two clips are an attempt to get it started but we ended up flooding it (which resulted in a very impressive flame-out). The third clip is our very first successful start-up and self-sustained run. This development [...]
Read the full article on MAKE

Bluetooth headset garage door opener update

Bluetooth headset garage door opener update:
bluetooth-headset-garagedoor-opener-update
[Lou Prado] sent in a link to his new video on using a Bluetooth headset as a garage door opener for your Android device. This isn’t a new hack, and we’ve actually seen him pull it off once before back in 2011. But we’re running this as an update for a couple of reasons. First off, we had forgotten about the hack and it’s worth revisiting. Secondly, the headset which he used with the initial hack has gone out of production. He chose a new model, and the assembly video (embedded after the break) which he made is a treasure trove of best practices to use when hacking consumer electronics.
Here’s how the hardware part of the hack goes. He removes the speaker from the headset and solders the base of a transistor in-line with a resistor to the red wire. The emitter connects to the grounded frame of the USB charging cable which is plugged into an outlet next to your garage door opener. The collector of the transistor is then connected to the garage door opener, along with a common ground connection, allowing audio from the headset to trigger the transistor to open the door.
The systems is secure based on Bluetooth pairing, which was done with his phone before starting the hardware hack.



Filed under: android hacks, home hacks

Adding Bluetooth remote control to PC speakers

Adding Bluetooth remote control to PC speakers:
adding-bluetooth-remote-control-to-pc-speakers
[Andrzej's] plain old computer speakers are ordinary no more. He pulled off a fairly complicated hack which now lets him control speakers via Bluetooth.
He had a set of Creative brand computer speakers with a volume potentiometer that needed replacing. He was having trouble finding a drop-in replacement part and decided he would just go with a rotary encoder. Obviously you can’t just drop one of those in, he would need a microcontroller to monitor the encoder and translate the change into the appropriate resistance. He figured if he was going this far he might as well make the most out of the uC.
Above you can see all the stuff he crammed into the original case. The rotary encoder is seen on the lower left. An ATmega8 is on a PCB he made himself. The white part to the left is a digital potentiometer which feeds the resistance to the original speaker PCB. On the left is the Bluetooth module which lets him control everything from his phone. You can see a demo of that after the break.



Filed under: digital audio hacks, Microcontrollers

AVR VGA generator

AVR VGA generator:
avr-vga-generator
This simple circuitry makes up the hardware for [Andrew's] AVR-based VGA generator. He managed to get an ATmega1284 to output a stable VGA signal. Anyone who’s looked into the VGA standard will know that this is quite an accomplishment. That’s because VGA is all about timing, and that presented him with a problem almost immediately.
The chip is meant to run at a top speed of 20 MHz. [Andrew] did manage to get code written that implemented the horizontal and vertical sync at this speed. But there weren’t enough clock cycles left to deal with frame buffering. His solution was to overclock the chip to 25 MHz. We assume he chose that because he had a crystal on hand, because we think it would have been easier to use a 25.174 MHz crystal which is one of the speeds listed in the specification.
Red, green, and blue each get their own two-bit range selected via a set of resistors for a total of 64 colors. As you can see in the video after the break, the 128×96 pixel video is up and running. [Andrew] plans to enlarge the scope of the project from here to make it more versatile than just showing standard images. The code (written in assembly) is available at his GitHub repository.



Filed under: Microcontrollers, video hacks

Adding Bluetooth remote control to PC speakers

Adding Bluetooth remote control to PC speakers:
adding-bluetooth-remote-control-to-pc-speakers
[Andrzej's] plain old computer speakers are ordinary no more. He pulled off a fairly complicated hack which now lets him control speakers via Bluetooth.
He had a set of Creative brand computer speakers with a volume potentiometer that needed replacing. He was having trouble finding a drop-in replacement part and decided he would just go with a rotary encoder. Obviously you can’t just drop one of those in, he would need a microcontroller to monitor the encoder and translate the change into the appropriate resistance. He figured if he was going this far he might as well make the most out of the uC.
Above you can see all the stuff he crammed into the original case. The rotary encoder is seen on the lower left. An ATmega8 is on a PCB he made himself. The white part to the left is a digital potentiometer which feeds the resistance to the original speaker PCB. On the left is the Bluetooth module which lets him control everything from his phone. You can see a demo of that after the break.



Filed under: digital audio hacks, Microcontrollers

Embedded web server is all about clever formatting

Embedded web server is all about clever formatting:
embedded-web-server
Take a look around here and you’ll find all kinds of embedded web servers. This one doesn’t look all that interesting, especially because it’s just a NIC plugged into a development board. But for us the interesting part is in how [Andrew Rossignol] chose to format the webpage assets to best utilize the under-powered server.
The project was spawned as part of a class in Internet Embedded Systems which [Andrew] is taking. The board has an ATmega16 microcontroller and he’s using the ever popular ENC28J60 on that Ethernet adapter board. The TuxGraphics TCP/IP Stack takes care of communications with the network.
One constraint which [Andrew] imposed upon himself was to use just a single response which the available RAM limits to about  700 bytes. Any decent webpage needs to have at least some graphics but that’s tough with the size limit. He managed to display an AVR logo by optimizing an SVG in Inkscape then stripped the rest of the cruft using VIM (explained in the demo after the break). With that piece of Linux-fu in his pocket he set to work streamlining the CSS file. The webpage isn’t just static either. He displays the server up-time and even allows the relays and LEDs on the Olimex board to be controlled.
Despite the limitations of the ATmega family they still seem to do some amazing Internet-connected stuff. Here’s one used as a Minecraft server.



Filed under: Microcontrollers

Upgrading a router with impeccable soldering skills

Upgrading a router with impeccable soldering skills:
router
[Necromant] recently acquired a router that was nearly free. Looking his gift horse in the mouth, he hooked up a serial port to see if it could run some updated firmware such as OpenWRT. The initial findings were promising; it used the same CPU as the very popular WR703N, but this free router only had 2 MiB of Flash and 8 MiB of RAM – barely enough to do anything. His solution to this problem is in the true hacker tradition: just solder some more chips onto the router.
Upgrading the RAM was comparatively easy; [Necromant] found an old stick of RAM, desoldered one of the chips, and replaced the measly 8 MiB chip with a new 64 Megabyte chip.
The Flash, though, proved more difficult. Without the right code in the Flash for the radio test, the router wouldn’t be useful at all. The solution was to read the original 2 MiB chip, read the Flash from a  WR703, and combined the two with a simple dd command. This was written to a new SPI flash chip with a buspirate and a home etched board.

Filed under: hardware, wireless hacks

Adding an optical mouse sensor to an autonomous vehicle

Adding an optical mouse sensor to an autonomous vehicle:
optical-mouse-sensor-for-autonomous-vehicle
[Tim] is getting his drone ready for SparkFun’s 2013 Autonomous Vehicle Competition on June 8th. He has a pretty good start, but was having some problems accurately measuring travel distance. The technique he chose for the task was to glue magnets onto the axles of the vehicle and monitor them with a hall effect sensor. Those sensors are finicky and a few problems during testing prompted him to look at a redundant system. Right now he’s experimenting with adding an optical mouse sensor to the autonomous vehicle.
Recently we saw the same concept used, but it was meant for tracking movement of a full-sized automobile. If it can work in that application it should be perfect here since the vehicle is much closer to the ground and will be used in ideal conditions (flat pavement with clear weather). [Tim] cracked open an old HP mouse he had lying around. Inside he found an Avago ADNS-5020 sensor. After grabbing the datasheet he discovered that it’s simply an I2C device. Above you can see the Arduino Leonardo he used for the first tests.
[Tim] coded functions to monitor the chip, including some interesting ones like measuring how in-focus the surface below the sensor is. This brings up a question, is there limit on how fast the vehicle can travel before the sensor fails to report back accurately?

Filed under: robots hacks

Wireless Temperature Control for a Microbrewery

Wireless Temperature Control for a Microbrewery:
Wireless Temperature Control
When brewing your own beer, temperature control is important. If the temperature isn’t regulated correctly, the yeast will be killed when it’s added to the wort. It’s best to cool the wort from boiling down to about 25 C quickly before adding yeast.
To do this, [Kalle] came up with a wireless temperature controller for his home brewing setup. The device uses a heat exchanger to cool the wort. An ATmega88 connected to a H-bridge controls a valve that regulates flow through the heat exchanger. It reads the current temperature from a LM35 temperature sensor and actuates the valve to bring the wort to a set point.
A neat addition to the build is a wireless radio. The nRF24L01 module provides a wireless link to a computer. There’s an Android application which communicates with the computer, providing monitoring of the temperatures and control over the set point from anywhere [Kalle] can get an internet connection.

Filed under: beer hacks