AVR Chiptune Project Turns This Simple Code Into Music

[Mark] had seen a few examples of algorithmic music generation that takes some simple code and produces complex-sounding results. Apparently it’s possible to pipe the output of code like this directly to audio devices on a Linux box, but [Mark] decided to go a different direction. His project lets you play simple algorithms as audio using AVR microcontrollers.

Now the code work for this is very simple, but he hardware implementation is where things get interesting. Ostensibly, [Mark] didn’t have the components available to build a filter to use PWM as an audio signal. Being that he’s a ham operator, he grabbed some radio equipment he had on hand and whipped up an alternative. He’s feeding the PWM from an Arduino into the voltage controlled oscillator on a board meant for high-altitude balloon telemetry. The signal broadcast by this board is then picked up by his radio receiver, and played on some speakers.

Rube-Goldberg contraptions aside, the effect is pretty interesting, as you can hear in the latter half of the video clip which we’ve embedded after the jump.

Continue reading “AVR Chiptune Project Turns This Simple Code Into Music”

Animated Turn Signals Add A Little Bit Of Cylon To Your Automobile

[StarfireMX] churned out a fantastic turn signal replacement for his Mustang. When he switches on his blinker, a chasing pattern of amber LEDs is shown on the front corner of his car. Pretty cool, and as far as we can tell this is still street legal. But once he gets onto private property [StarfireMX] can have a little bit more fun with the replacements. The LEDs are actually fully addressable RGB modules. They can display a variety of colors and patterns, with wireless control from a touch-screen unit he also built.

Both the turn signal unit, and the remote controls are Arduino driven with XBee modules for wireless communications. Pop the hood and you’ll find even more blinky lights to accent the engine, which are also tweaked using the remote control.

Don’t miss the demonstration video after the break. Near the end of the clip you can see how the controller is mounted with heavy-duty Velcro behind the grill. Inside the project box there’s a voltage regulator which drops the 12V down to 5V and can put out a whopping four amps to make sure the LEDs have plenty of current.

Continue reading “Animated Turn Signals Add A Little Bit Of Cylon To Your Automobile”

Freakyphone Has A Puzzle For You!

freakyphone

[Mime] likes to make puzzles and games for his friends to play, often using recycled electronics to construct them. He had been contemplating a sound-based game for some time when he came across an old rotary phone at a garage sale that would be perfect for what he had in mind.

He calls his creation the Freakyphone, and the goal of the game is to guess the name of a historical figure via a series of audible clues. The phone was constructed using an Arduino that plays audio using a sound shield from Adafruit. While he was ultimately unable to get the phone’s ringer to work properly, [Mime] says that the build process was relatively easy overall.

When activated, the phone buzzes for attention, prompting the player to pick up the handset. After introducing the game, the phone will ring additional times with random sound clips to clue the player into the historical figure’s name. If the player correctly enters the person’s name using the rotary dial, they receive a “winning tone” and the game is over.

It’s always nice to see someone building gadgets for their friends just for the sake of fun – nice work!

Continue reading to see a video showing how the Freakyphone was built along with a demo of the game.

Continue reading “Freakyphone Has A Puzzle For You!”

Getting The Lead Out Of The Arduino Runtime

mhvlib_arduino_efficiency_runtime

Ah, the Arduino.

Love it or hate it, there’s no denying that part of its accessibility comes at the expense of speed and efficiency. We honestly like the platform as well as all of the others out there, because we believe that everything has its proper place and purpose. The crew over at Make, Hack, Void think that the Arduino dev boards are well and good, but that the core of the Arduino runtime could use some improvement.

They have taken it upon themselves to dig deep into the code and make some of the improvements that many advanced Arduino users have been clamoring for. Their MHVLib is an efficiency oriented runtime library which works on all AVR microcontrollers, whether they be standalone uCs or Arduino-branded hardware.

They have changed the way that the Arduino handles pin and port information, as well as how object and buffers are allocated in memory. Their code still relies on an Arduino-style bootloader, though they recommend Optiboot since it’s about a quarter of the size of the Arduino version.

There’s a complete list of what has been implemented available on their site, and you can grab the code via their GIT repository if you want to give it a try yourself.

A Sunrise Clock For Those Cold, Dark Winter Mornings

sunrise_alarm_clock

For most of the working world, the onset of autumn and winter in the Northern hemisphere means one thing – waking up well before the sun rises to get a start on the daily grind. [Brent] from Freeside Atlanta knows that routine well and decided to build himself a sunrise alarm clock in an attempt to wake himself more naturally on those dark mornings.

He bought an assortment of LEDs in varying colors including blue, red, yellow, and white, along with a few UV diodes for good measure. His goal with this array of LEDs was to simulate the natural colors of the sunrise, rather than simply slowly brightening the room. The clock uses a DS1307 RTC to keep the time, and an Arduino is tasked with lighting the LEDs about 25 minutes before it’s time for [Brent] to wake up.

He says that it seems to be working pretty well, gently waking his body before the clock radio kicks in. It certainly beats a loud buzzer!

Fake PS3 Tracks Thieves All The Way Home

ps3_tracking_system

One of [Wayne’s] relatives had their house robbed during a blizzard/extended power outage, and as is typically the case, none of the stolen items were recovered. His nephew’s PS3 was among the pilfered belongings, which didn’t sit well with him. Taking a cue from police “bait cars”, he thought it would be cool to fit a dummy game console with a tracking device, should anything similar happen in the future.

He bought a hollowed out PS3 shell on eBay, filling it with an Arduino, an accelerometer, a GPS sensor, a small GSM modem with a prepaid SIM card, and a reasonably sized LiPoly battery. The system usually sits in a sleeping state, but when the accelerometer senses motion, the Arduino powers up the GSM modem and sends an SMS security alert to his mobile phone. Using his phone to control the tracking system via SMS, he can request GPS coordinates and directional information, which can then be relayed to the police.

His tracking system is a great idea since hawking stolen game consoles are easy money for thieves. If there happens to be a string of robberies in your neighborhood, you could certainly rest a little bit easier knowing that your Playstation doppelganger will let you know if someone is looting your house.

Recreating The First PC

If you’re looking for a simple Ardunio project, why not replicate the first personal computer?

After discovering the Arduino, [Mark] realized recreating really old computers would be a fun project. An Altair 8800 was on the table, but the sheer number of blinkenlights, switches and the Intel 8080 CPU made that a fairly difficult project. After a bit of searching, [Mark] discovered the Kenbak-1, widely regarded as the first personal computer. The Kenbak also had the added bonus of having a very minimal I/O compliment and was built entirely with TTL components.

Since the Kenbak-1 is an extremely simple computer, [Mark]’s build ended up being fairly minimal. The schematic is only an ATmega328, a few shift registers and a real-time clock for a few added features the OG computer didn’t have. The completed build is programmed by pushing buttons to enter machine code into the mega’s RAM and then executed. [Mark] has a few programs already figured out – a program that counts in binary, a ‘Cylon eye’ and a BCD and binary clock. While the Kenbak-uno doesn’t have the awesome vintage case of the original, it’s still a remarkable build.

Check out the videos after the break for a walk through.

Continue reading “Recreating The First PC”