The Rubik’s Cube Expert

Did you know that Rubik’s Cube is one of the most fascinating toys ever created in the human history? According to the statistic, there are more than 50 million of Rubik’s Cube being sold in worldwide!

When a person gets in touch with Rubik’s Cube, some of them will be instantly feel in love with it. Technically, Rubik’s Cube demands logic, patience and skill, if you want to wrap and solve it in a correct order.

There are many different types of books or guides teach the users to solve the Rubik’s Cube in minutes or seconds. Believe it or not, there is also some robot that has been programmed to solve off the Rubik’s Cube in just a few seconds.

By the way, if you’re a Rubik’s Cube lover, you might be interested to build a Rubik’s Cube Solving Robot. What is special about the Rubik’s Cube Solving Robot is it based on an ATmega16. Since the firmware is written entirely in C, it makes the whole programming a much easier.

The great part about the Rubik’s Cube Solving Robot is the whole system calls in serial communication part. Hence, it won’t cost you any trouble, once you’ve remove it.

Read

The Genuine Combination of USB Keyboard with C64 Breadbox

People always kept most of the old stuffs in the storeroom. Actually, the old things can be reused, especially in the electronics projects to transform into an awesome device.

Honestly, if you’ve an old-fashioned C64 breadbox lying somewhere inside the garage, then it’s time to let it work again. Today, we’re going to build a C64 USB Keyboard, which is based on Objective Development’s AVR-USB firmware.

Basically, the C64 USB Keyboard is a very powerful device, as it supports for both ATmega8 and ATmega16. Here’s a best way to implement USB with the Atmel microcontroller, where the low-speed IgorPlug-USB on simple AVR-devices by bit-banging is the most suitable choice!

C64 USB Keyboard

Also, it’s pretty important to mention that the bit-banging USB solutions are not fully up to spec, neither on the hardware side, nor on the error handling.

Honestly, the Objective Development’s HDKeys that use to implement a USB HID-device, is the best combination with the IgorPlug-USB. You’ve to attempt to use the AVR-USB stack for implementing a game controller device. By using the HIDKeys application, it enables you to make the basic function work and allows keypresses to be sent to the computer instantly!

Read

Entry level AVR sound player

This is a very simple project demonstrating microcontroller sound generating. It plays audio bit stream generated from MIDI files. MIDI files must be converted with special Perl program (MIDICSV).

AVR_music_player_sound_bug.jpg

Project is made of only three parts: piezo buzzer, power supply (3x15V AA batteries) and AVR Tamega16 microcontroller. MCU runs from internal 1MHz clock – so no external clock sources are needed. It can be easily built quickly on any breadboard. Code is written in AVR-GCC language and can be compiled with WinAVR tools.

Read

AVR DDS signal generator with offset and amplitude control

Signal generator is a must have tool for every electronics engineer and amateur. Not everyone can or want to buy signal generator that costs much. If your needs aren’t very high you can build signal generator by yourself from few common electronics parts.

AVR_DDS_signal_generator_working.jpg

ScienceProg developed very good alternative which is really simple to build but have great functionality. This is a software based DDS signal generator which runs on Atmega16 microcontroller and can generate sine, square, triangle, saw tooth, reverse saw tooth, ECG, noise signals in frequency range from 0 to 65534Hz. It also has signal offset and amplitude regulator. So you can get up to 10V signals. Signal generator has also distinct High Speed (HS) output were high frequency (from 1 to 8MHz) signals can be generated. Ideal tool to have on a workbench. WinAVR source code and Eagle CAD files are available for download.

Read

AVR laser projector

This is another interesting project on a breadboard. It uses an idea of rotating mirrors that create laser video effect. It is able to generate 16×16 dots, 30fps monochromatic video projections.

AVR_laser_projector.jpg

 

Projector uses mirror drum which was the hardest part to calibrate, as they have to be tilted differently in order to form beam lines like on TV screen. And of course it has to be synchronized with microcontroller to generate frames. This small theatre even have a servo motor which rises and lowers projection screen. This gives really cool effect. Turnt the lights off it’s show time!

Read