Playing Piano With Optical Sensors

[Sebastian] is trying to improve the responsiveness of an electric keyboard. He was unsatisfied with the lack of adequate sensitivity to keystroke. The first step in his process was to measure how fast the quickest keystroke actually is. By setting up an LED and phototransistor and taking some measurements he found that sampling at 1 kHz would be more than adequate.

With initial testing complete he ordered some CNY70 transmissive/reflective light sensors that can be place below the keys. He measures the sensor with the ADC on an ATmega16 microcontroller. Running at 16 MHz he can sample each of the eight analog-to-digital converter channels at 1202 Hz. After doing a bunch of math he put together some lookup tables that are used to translate the ADC data into midi signals. We’ve embedded a video of one sensor controlling the midi program PianoTeq. [Sebastian] also sent us a schematic of one node in the sensor network (see it after the break).

When everything is said and done he plans to use eleven ATmega16 microcontrollers to address the 88 keys, with an additional microcontroller to act as the master using a two-wire interface for communications.

Update: [Sebastian] put up a webpage with a fairly verbose description. Reading it straight from the source really clears up a lot of questions.

 

Continue reading “Playing Piano With Optical Sensors”

Small And Simple FM Radio

[gpsKlaus] built this little FM radio (translated) based on the AR1010 IC. That chip is controlled via I2C by an ATtiny45 microcontroller. His tuning implementation relies on presetting 16 stations in the firmware and selecting them with the white potentiometer.

The FM chip came on a breakout board from SparkFun. Not bad at around $15 as it includes the crystal, some caps and a few resistors, and you don’t have to try and solder to the fine pitched pads on that minuscule package. We’re a little unsure of the features included in the part as the datasheet is lacking in detail and the reference datasheet that SparkFun includes in the description is obviously for a much more full-featured chip. Still, this would be a fun thing to play around with if you’ve grown tired of blinking LEDs.

If you don’t want to let an integrated circuit do all the heavy lifting try this post for a guide on building your own radio tuner.

Graphic Calculator As A Spectrum Analyzer

[Michael Vincent] turned his TI-84 Plus into a spectrum analyzer. By running some assembly code on the device the link port can be used as an I2C bus (something we’ll have to keep in mind). After being inspired by the cell phone spectrum analyzer he set out to build a module compatible with the calculator by using an I2C port expander to interface with a radio receiver module. Now he can sniff out signals between 2.400 and 2.495 GHz and display the finds like in the image above.

[Thanks Cecil]

Cathode Ray Tube Leads The Way On This Bot

[Daqq’s] latest creation is this little robot with a CRT mounted on the front. Obviously ‘why?’ is the wrong question here, but we know this is right up his alley considering his propensity for the less common like this plasma ball Nixie tube. The solidly-built bot uses two stepper motor controlled wheels and an omni-wheel on the front to create a trike. An ATmega128 controls the system but the real story here is the CRT. It requires a hefty voltage regulator for the -600V to +200V the Tungsram DG7-123 tube needs. Trouble along the way ranged from dealing with stray magnetic fields from the power supply, to mounting the fragile tube itself. Take a look at his detailed writeup linked above and join us after the break for the demo videos.

Continue reading “Cathode Ray Tube Leads The Way On This Bot”

Wii Motion Plus Direct PC Interface

You can pick up a Wii Motion Plus module for under $20 and that’s not bad for an I2C gyroscope. This hack taps into the device through a PC parallel port. The connection calls for some level conversion to step down to the 3.3v needed by the module. The communication protocol borrows from the Wii on Arduino code examples that we saw last year. You can see the Wii Motion Plus controlling a virtual cube in the video after the break.

Continue reading “Wii Motion Plus Direct PC Interface”

RGB Display Development

[SeBsZ] tipped us off that he’s working on a display using RGB LEDs. He’s etched some nice surface mount controller boards to carry the ATmega8 microcontroller and NXP PCA9635 drivers. This setup uses the I2C bus to address each expansion board of 5 LED modules. Theoretically this hardware would allow for 638 RGB modules but because of power and refresh rate issues he’s set his sights on reaching somewhere between 100-125, a total of about 25 expansion boards.

There’s not a ton to show off yet. But we expect big things from the project. Partly because one of his goals is to generate a display that can be rolled up and easily moved, and partly because his large-scale light bulb displays are so impressive. Take a look at the video of his 60-bulb unit after the break.

Continue reading “RGB Display Development”

Centipede Shield Design Contest

4084880398_cc349acfa6_b

Our friend [Garrett Mace] from macetech has finished a prototype of a new shield which allows the Arduino (or any other microcontroller with I2C) to add 64 digital I/O pins using only 2 of the analog pins. Currently he only has a few pre-production boards, and rather than selling them he is throwing a contest to win them. The contest is looking for people who have a specific project in mind that could use the centipede, and on Friday November 13th he will pick his favorite two. To submit an idea, just head over the Arduino forums and post an idea complete with details and relevant schematics, etc.

We will be sure to follow up with the winners of the contest, as well as let you all know when the Centipede Shield makes it into production.