Hack

Capacitive buttons control all life

Projects involving Conway’s Game of Life and utilizing a Nokia 3310 screen are quite popular with electronics hobbyists. [Droky] put these two together and went one step further by adding capacitive sensors to control the Game of Life. His work is a great example of how to use the Atmel QTouch capacitive sensor (QT100a datasheet). This chip does the heavy lifting that we’ve seen in other touch sensitive solutions. It operates from 2V-5.5V, requires only three capacitors and a resistor, has a one pin active high output, and sells for around $1 in low quantities. One thing [Droky] overlooked…


[ Read the rest of the story in the original article... ]

Hack

AVR Dragon wiring alternative

We love our AVR Dragon programmer. It is a small board with a lot of functionality: in-circuit serial programming, JTAG, debug wire, and high voltage serial programming. Unfortunately, out of the box it is not quite ready for action. The Dragon ships with an unpopulated prototyping area and missing a pin header for the HVSP. For most people this means soldering on pin headers and a ZIF socket then jumpering between the various programming headers and the header for the socket. Tired of working with jumper wires, [Jussi] designed a small PCB to make the connections (original link in…


[ Read the rest of the story in the original article... ]

Hack

Introduction to FTDI bitbang mode

It was an interface that launched a thousand hacks. Near trivial to program, enough I/O lines for useful work, and sufficiently fast for a multitude of applications: homebrew logic analyzers, chip programmers, LCD interfaces and LED light shows, to name a few.
Today the parallel printer port is on the brink of extinction (and good riddance, some would say). Largely rendered obsolete by USB, few (if any) new peripherals even include a parallel connector, and today’s shrinking computers — nettops, netbooks, media center PCs — wouldn’t have space for it anyway. That’s great for tidy desks, but not so…


[ Read the rest of the story in the original article... ]

Hack

MP3 Hand Grenade

One man’s useless machine is another man’s treasure… or something. [Matt] shared a link to his MP3 gr3nade in the comments of our useless machines post. The project took a decomissioned hand grenade and shoehorned an MP3 player into it. His decision to locate the headphone jack where the safety pin goes is a nice touch.
This reminds us of the boss from a previous job who had a chrome plated hand grenade on his desk.  Now that was a useless object (and a useless boss). This project actually does something, but are you really going to ride around…


[ Read the rest of the story in the original article... ]

Hack

EDuino – Arduino or AVR breakout?

We’ve had a lot of requests in the comments for more Arduino centered posts so we were happy when [Njay] told us about his EDuino board. This is a minimal Arduino clone that has a crystal and it’s capacitors, a pull-up resistor and button on the reset pin, and a detachable serial programming connection. He also has a breadboard-friendly version seen above with all the interface pins on one side of the board. This is certainly a useful project and we’re glad to see the board files available for download. This does get us thinking… is this an Arduino,…


[ Read the rest of the story in the original article... ]

Hack

Interfacing a digital rotary switch

[hw640] has put together a well written and detail packed explanation of how to interface with a digital rotary switch. These digital opto encoders have just two outputs with four possible logic levels (00, 10, 11, 01). The relative position of the switch is insignificant but the direction of rotation is what matters.
The short and dirty: Each of the switch’s 2 output pins is attached to a pin change interrupt on the microcontroller. Every time the switch moves it generates either a rising edge or a falling edge on one of the two pins; both edges cause an…


[ Read the rest of the story in the original article... ]

Hack

Regulated breadboard PSU

SparkFun has released a breadboard power suppy that can provide regulated 3.3v or 5v. Unlike the supply we saw from adafruit industries earlier this summer, this one is based on an lm317. This small device features on/off switch, voltage selection swith, and appropriately spaced pin headers to plug into both the top and bottom rails of a standard breadboard.  Rather build it yourself? Take a look at the schematic provided (PDF).



[ Read the rest of the story in the original article... ]

Hack

Maple beats up Arduino, takes its shields

The Atmega168 at the heart of every Arduino is an eminently capable chip; its ilk have been seen working as a basic web server, playing back digital audio, even generating TV signals. But as projects continue to grow in sophistication, reality rears its ugly head: Arduino can handle any one of these tasks very well, but it often requires squeezing every last instruction cycle or bit of memory in the device. Even the ’368 chip and the Arduino Mega are stopgap measures. Sooner or later, you have to graduate to long trousers—move up to a more capable microcontroller platform—an uncomfortable change usually involving…


[ Read the rest of the story in the original article... ]

Automotive

Install a rev counter on your motorcycle

The tachometer or the rev counter tells how much the speed ofthe engine of the motorcycle revolutions per minute RPM.Common nowadays are electronic rev counters that can beinstalled by the dealers you get them from. But for usedmotorcycle parts, rev counters usually come in just any wrappingwithout instructions or diagrams. In cases like these, you mayinstall your rev counter with the following instructions to helpyou. The very first step is to move the headlight away. This is agreat help later on in avoiding some mistakes and willdefinitely help you finish faster. If you feel a little hesitantin removing your headlight,…


[ Read the rest of the story in the original article... ]

Hack

Serial hacking with an ATtiny2313

[Sprite_tm] automated a portion of serial hacking by sniffing out the baud rate using an ATtiny2313 and FT232 breakout board. The firmware assumes 8 data bits, no parity, and 1 stop bit (8N1). This is pretty much defacto among serial ports so it should work well, though some devices do use different settings. The auto detection routine can sniff rates as low as 110 baud and supports non standard rates. Released under GPLv3, the software is also supplied in hex format.  [Sprite_tm] has provided great project in past such as Working with VFDs, Controllable bristlebot, and AVR boost converter. Additional information regarding serial…


[ Read the rest of the story in the original article... ]

Hack

AVR ISP programming via Arduino

We found this Arduino AVR ISP programmer particularly interesting. AVR microcontrollers can utilize an interface called In-System-Programming. ISP allows the chip to be programmed or reprogrammed while in an actual circuit via a pin header. Atmel’s solution is the AVR ISP MKII programing tool. The MKII can also be reprogrammed just as an AVR. The difference here is that most people are not likely to modify the MKII to be used as anything but a programmer. On the other hand if you already have the Arduino, fetch the avr.isp.03 firmware and AVRdude. Then program a device, for example an…


[ Read the rest of the story in the original article... ]

Hack

Parts: 4×20 VFD character display (NA204SD02)

Futaba makes vacuum florescent character displays that can be used as a drop-in replacement for common character LCDs. VFDs have a wider viewing angle, and generally look cooler.
Futaba’s character displays can be interfaced using the standard 8-bit or 4-bit parallel LCD interface, or a simple two-wire protocol. The protocol type is set by resistors on the back of the display, so it’s not particularly easy to change without a hot-air rework station. Today we’ll demonstrate a serially-interfaced VFD using the Bus Pirate.
Futuba VFD character LCD replacement (NA204SD02, $7.00). Datasheet (PDF).

VFD (pin #)
Bus Pirate

GND (1)…


[ Read the rest of the story in the original article... ]

Page 1 of 212»

Login