Ctrl key Pendrive: What to do with a broken Keyboard

14 07 2010

This morning I was trying to tidy up my workbench when I found an old PS2 keyboard that I was keeping for disassembly. After removing some screws I realized that, as usual, the electronics of the keyboard were substituted by a black blob of epoxi, so few things apart from some connectors and some meters of AWG26 cable could be savaged.

But then I remembered that I had a tiny USB broken pendrive with a metal enclosure. I opened it and found that the only problem with it was that the crystal was desoldered, something quite easy to fix.

After that, the only remaining thing to do was to find a new enclosure for the pendrive, so I took a Ctrl key from the keyboard, hollowed it and cut it in a shape that could allow the “naked” pendrive to fit in it. In the bottom part it is covered with a piece of plastic from a VHS tape box.

Lee el resto de esta entrada »


Ard_O_Scope: An Extremely Simple Voltage Visualizer (oscilloscope) for Arduino

12 07 2010

While I was investigating some noise-filtering and smoothing algorithms for analogRead in Arduino, I realized that I needed some way to test the influence of some parameters over a certain signal. I usually do this just by sending the reading of a potentiometer through the serial port of the Arduino and see how these number changed while sweeping my potentiometer.

But this is not a very graphical way to see a signal, so I wanted something similar to an oscilloscope, to to see the data I was pushing through the serial port in a comfortable way. So with only some lines of code I have created a nice arduino voltage visualizer, in the Old School way: It just prints to the Arduino serial console a real time bar chart with the readings of your input, with a refresh frequency of about 350 samples per second (When using 115200 bauds). No comparison with an oscilloscope, but useful when measuring inputs from potentiometers or LDRs…

Watch it in action after the break!

Lee el resto de esta entrada »

ShiftBrite Shield – A color mixer for Arduino

8 07 2010

LEDs… The beauty of electronics, the soul of a project. What can I say, I love LEDs!! Each time I see a project involving RGB LEDs, several ideas come to my mind and I’ve always wondered I had a good hardware platform to mess around with them!

Lee el resto de esta entrada »