Power Generating Backpack

[youtube=http://www.youtube.com/watch?v=UL_CUbN9F7E]

In the military, you have to carry tons of stuff. This is something we hear and see all the time. They are always trying to come up with ways to reduce the weight or quantity of the things that you bring into the field. This power generating backpack harnesses the natural up and down motion of your steps to produce power. This could reduce the amount of batteries carried into the field greatly. That’s what they say anyway, how many batteries do soldiers normally carry around? Aside from that point, we think it is pretty cool. We could see using this to keep our cell phone or GPS charged on long hiking and camping trips. You could also build something of your own to work similarly.

How To Generate Font And Picture Header Files

custom_fonts_displayed

Displaying custom fonts or images on an LCD screen using a microcontroller usually requires quite a bit of work. We’ve used some readily available tools to make this a bit easier for your next project. Our python script will convert BMP files into a header file ready for use with AVR microcontrollers. We’ll walk you through it after the break. Continue reading “How To Generate Font And Picture Header Files”

Connect A PS/2 Keyboard To A Microcontroller

[youtube=http://www.youtube.com/watch?v=vfIiLE0BhE8]

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

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.

AVR Dragon Wiring Alternative

dragon_jumper_board

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 Finnish). Continue reading “AVR Dragon Wiring Alternative”

RCDC: DC Motor Control Via Servo Signals

[youtube=http://www.youtube.com/watch?v=x2Hn8No5oFQ]

[Spikenzie]  has put together this nice kit for controlling a DC motor with RC servo signals. He’s using a PIC12F629 to convert the signal to PWM. As you can see in the video above, it seems to work quite well. It is in a neat and tidy package and available as a kit. We have to admit though, what caught our eye was the prototype. Even though it is a kit for sale, it looks as though they plan on releasing the PCB files and code.