Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Very basic computer uses three chips

Generally speaking – computer is a device that can perform arithmetic and logical operations. In other words there mas be a processor, memory and some input/output. So not only personal computers, tablets and other stuffed devices can be called computers. Any microcontroller like AVR is already a computer in a chip. Anyway for some fun, rovku put together a simple computer out of three chips that make it tick. For a processor he’s chosen Rockvel R6502P which is an 8-bit processor running at 1MHz. As I/O controller there is an Atmega16 used which talks to external CY7C130 dual port 1K RAM and also generates composite video signals. Computer doesn’t do any special – it outputs OK to screen and blinks a cursor. But this is more than enough to prove the concept and have a warm feeling of seeing it working. Continue reading

Building analog clock using graphical LCD

Analog clock always looks great especially even if it is build on digital base. So here it is – another MCU clock project which is based on Atmega16 microcontroller, graphical LCD and DS1307 real time clock IC. Code is written in Bascom so it is easy to follow it. Main focus of this project was to go through math theory of drawing geometrical clock on LCD and make it work. So this project never left prototyping breadboard but still can be useful for someone to take things further. Continue reading

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… Continue reading

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! 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… Continue reading

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). 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. Continue reading

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. 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. Continue reading