Review: mbed NXP LPC1768 microcontroller

posted Nov 21st 2009 8:19am by Phil Burgess
filed under: reviews

mbed is a next-generation 32-bit microcontroller platform. It’s a prototyping and teaching tool somewhat along the lines of Arduino. On steroids. With claws and fangs. Other contenders in this class include the MAKE Controller, STM32 Primer and Primer 2, Freescale Tower, and Microchip’s PIC32 Starter Kit. The mbed hardware has a number of advantages (and a few disadvantages) compared to these other platforms, but what really sets it apart is the development environment: the entire system — editor, compiler, libraries and reference materials — are completely web-based. There is no software to install or maintain on the host system.
Read the rest of this entry »

CNC hot wire cutter from scanners

posted Oct 19th 2009 1:00pm by Mike Szczys
filed under: cnc hacks

hot-wire-cutter-from-scanners

[Raul] built a CNC hot wire cutter that he uses for cutting shapes out of foam. His device uses two flat bed scanners to provide two planes of motion. One scanner arm has the foam mounted on it and provides the Y-axis movement. The other scanner has the hot wire mounted on it and provides the X-axis movement. The cutting wire is mounted on a flexed bow made from heavy gauge coat hanger wire.

He tapped into the logic board of one scanner to gain access to the motor movements. The other is connected through a couple of H-bridges. Both are controlled by an Atmel AVR ATmega128 which in turn takes its commands from a connection with a computer printer port. A python program uses vector graphic files in SVG format and traces the outline for cutting.

We’ve got a video of this in action after the break. At our request, [Raul] took some time to post a set of pictures and make comments on them. Thanks for the hard work and great job! Read the rest of this entry »




Snega2usb preorder now available

posted Oct 14th 2009 2:21pm by Gerrit Coetzee
filed under: home entertainment hacks, nintendo hacks

We’ve been watching the development of the snega2usb since it’s debut on Hackaday. Now it’s grown up and is ready to be manufactured. In the low quality video above [Matthias] shows some of the latest high quality additions to the board. It now has a case, shiny new firmware,  production made PCB, and game pad ports.  The snega2usb is shipping this December for those who preorder now.

Connect a PS/2 keyboard to a microcontroller

posted Sep 29th 2009 11:00am by Caleb Kraft
filed under: tool hacks

The guys at Nerdkits have put together this tutorial on connecting a PS/2 keyboard to a microcontroller. Though this tutorial is written for one of the kits they sell, you should be able to apply this to pretty much any microcontroller. It is also a lesson in using interrupts instead of polling. They have several pre built examples ready to download as well as source code for the basic setup.

[via HackedGadgets]

Tool Tip: microcontroller timer calculator

posted Sep 28th 2009 1:00pm by Mike Szczys
filed under: tool hacks

uC_timer_calculator

In life and embedded systems timing is everything. Give [Frank's] web-based timer calculator a try. Set your system clock resolution (in hertz making sure you account for any system clock divider), select your timer resolution and prescaler, then calculate based on desired ticks, overflows, or real time. He’s built this with the AVR chips in mind but it should be handy for any family of microcontrollers.

Of course none of this is rocket science, but if you’re trying to use one timer for two differently synchronized events this can save you a lot of trial and error time.




Word clock: tell the time with words

posted Sep 27th 2009 3:17pm by Gerrit Coetzee
filed under: home hacks

wordclock

[drj113]  posts his cool word clock. After seeing a similar clock on an industrial design website, he set out to make his own version. He made custom pcbs with the toner-etch method. The front is a solid piece of copper clad board and the light shines through the etched areas. It’s powered by a PIC microcontroller and uses approximately 120 ultra bright LEDs. [drj113] has all of the circuit board diagrams, silkscreens, etch negatives, and code on the intructable so you can build your own.

Twitter, talking fish, and more

posted Sep 24th 2009 7:25am by Jakob Griffith
filed under: digital audio hacks, news, toy hacks

[Dan Ros] and the mbed team sent in their hack of a twitter talking Big Mouth Billy Bass. Originally the hack simply had an mbed micrcontroller and an SD card with some wav files allowing Billy to say classic quotes. Wanting to go further however, they used the mbed’s HTTPClient library to grab Twitter updates, and then have Billy say them out loud! Check out some other cool projects the mbed team has in the cookbook.

But wait, whats an mbed? We didn’t have a clue either!

Some researched reveals it is a powerful new microcontroller and prototyping board. With some features such as direct ethernet and USB connections right on the chip, as well as PWM, serial, analog, and more. What really stoked us is how it acts much like a USB thumb drive. Drag and drop your binary files, and it’s programmed! The only downside, at $100 it can be a bit more of an investment compared to an Arduino PIC. Could this be the next big prototyping tool that beats all others? Lets hear it in the comments!

[Update:  The mbed can be had for a  limited time pre-order price of $60  not $100 - Thanks Dan and the mbed team!]

Hacking USB serial port adapters

posted Sep 23rd 2009 7:05am by Caleb Kraft
filed under: classic hacks, tool hacks

keyspan_all (Custom)

The folks at Openschemes.com have written up an article on how to convert a USB serial port adapter to a low voltage serial interface for interfacing with microcontrollers. Though you can always just buy one, this is a fairly quick and cheap solution, especially if you are in a pinch or don’t have access to a retailer. The specific models you should watch for, are the ones with two chips, a microcontroller and a line translater.They go through the process of finding exactly where to patch in to add an extra interface. It only takes a couple wires and you are ready to go.

Not only can you use this as your serial connection to another microcontroller, but you can actually take control of the one on the board itself. If you load it with the drivers from TI, you gain access to the flash memory and can do whatever you want. They don’t go into much detail here though, stating that they’ll write another article on that.

We thought this little bugger looked familiar so we went digging through our archives.  Sure enough, we found this system in action back in January of 2008.

[via Hacked Gadgets]




snega2usb update: usb snes and sega cartridge reader

posted Sep 7th 2009 3:19pm by Gerrit Coetzee
filed under: home entertainment hacks, news, nintendo hacks

When we first posted [Matthias_H]’s USB reader for SNES game carts, it was met with enthusiasm. The snega2usb allows you to play SNES and Sega games on your pc right off the cartridge. The latest revision is even more amazing than the first.  [Matthias] has added the ability to read Sega Genesis/Mega Drive cartridges as well as the ability to save games directly to the cartridge. The board has also been updated from the rats nest it used to be to a smart looking dual sided PCB. So far [Matthias] hasn’t had any trouble reading cartridges, even ones with the SuperFX chips. [Matthias] also launched a site for the project where the lastest information on its development can be found.  [Matthias] is getting close to a production version which will feature better firmware, console quality connectors and a shiny case.

Tiny GSM alarm system

posted Sep 1st 2009 7:00am by Gerrit Coetzee
filed under: cellphones hacks, classic hacks

We’ve covered this sort of thing before, but there is something to be said for the simplicity of this tiny GSM alarm system by [trax]. The alarm system is designed to send the owner a text message when a sensor is triggered. This alarm only works with Siemens phones, but it shouldn’t be too hard to find one.  The alarm is configured via a dip switch on the board and can also be armed and disarmed by text. The brains of this system is a PIC16F84A. The code and schematics are included at the bottom of the page.

Read the rest of this entry »

Hack a Day serves up fresh hacks each day, every day from around the web and a special How-To hack each week.

Send us your hacks