This instructable describes how to drive hobby servos (the kind used in RC planes, cars, etc.) into your microcontroller projects. The control signals of servo are: a red wire, 5 volts works fine, ground (black wire) connectionsa and a control signal on the third wire (usually white or yellow). The signal is almost pulse width modulated, except that it doesn’t have a fixed period. It is composed of pulses of voltage, the duration of which determine the angle of the output shaft. The pulses can be from 0.9 ms to 2.1 ms long, 1.5 ms being the center position (in other words, pulse duration varies linearly with shaft angle).
Use a PIC Microcontroller to Control a Hobby Servo - [Link]
This instructable will show you how to create a multifunction platform with a thermometer, chronograph (count up timer), count down timer, and light display. It is also intended to be a platform for other analog sensors or any other functions you can think of. Project is based on Atmega168 microcontroller. Information is displayed on dual 7 segment LED display.
Multifunction Digital Thermometer - [Link]
Got some scavenged stepper motors from printers/disk drives/etc lying around? Some probing with an ohmeter, followed by some simple driver code on your microprocessor and you’ll be stepping in style.
Drive a Stepper Motor with an AVR Microprocessor - [Link]
avrprojects.net writes:
This board can directly connected to the STK 500 board or the AT2313 ISP program board with a 10 pole flatcable on the 10 pin header of the STK500 and the 10 pin header of the LCD/Switch board. The display has 16*2 character positions and is Hitachi HD44780 compatible, and also has a LED backlight that can be switched on/off by a jumper.
It uses only one port of the AVR-microcontroller. It also has five key switches. It has an contrast adjustment for the LCD module. There are several application programs for it, like a digital clock and a countdown timer and a program to write text on the display via the RS232 port.
LCD Interface Board - [Link]
Vassilis Serasidis build this really nice low speed AVR oscilloscope, ideal for low speed signals/waveforms. It can read signal up to 5Khz (square wave). Liquid crystal display has 128×64 pixels dimension. It has an auto trigger and it can measure signals up to 24Vac or 30Vdc with a 1:10 probe. Source code (C), pictures, schematic diagram and a working video is on the site.
Low speed AVR oscilloscope - [Link]
avrprojects.net writes:
This EEPROM programmer reads, writes and erases I²C 24C EEPROM devices. It has a PC serial port interface. The programmer needs 5VDC power supply. It can read or write one page (16 bytes) at a time by programming the page with a terminal program such as hyperterminal, no external software is needed to read or write to the EEPROM.
I2C EEPROM Programmer - [Link]
avrprojects.net writes:
This board is a small controller board on which you can build your projects. It is suited for educational use, experiments or prototyping. The board uses the AT2313 microcontroller with a 10Mhz crystal. The board contains the ISP 10-pin connector for in circuit serial programming. It has also a push button reset switch for resetting the microcontroller.
ATTiny2313 Project Board with RS232 - [Link]
avrprojects.net writes:
With this small board you can program most of the AVR ATTiny microcontrollers or you can build your projects to use it in a stand alone application. It can be powered with a 9V battery because it has 5V voltage regulator on it. The voltage regulator can give 1000mA current. The power to the board can also be supplied with a wall wart. Low power external devices like a LCD module can be powered via the board itself.
ATTiny Program/Project Board - [Link]
Such multi-purpose device is a nice example of of using microcontroller for combined tasks.
The intent was to use radio module (KDC-2092) from Kewood, but somehow it didn’t respond. So radio chip was taken from computer radio tuner (TEA5757H) which can be easily controlled via 3 wires(DATA, Clock, Write Enable). Additionally mono/stereo selection input is available. To give more control power there was an advanced car audio signal processor TDA7407D used. Audio processor also can be controlled digitally via I2C interface. Temperature reading was implemented with DALLAS DS1820 sensor. As datasheet says, there can be up to 8 temperature sensors connected to one wire, but only tow were used in this project. Program piece of reading temperature sensors was adapted from http://frank.bol.ucla.edu/2313Temper8.htm.
Radio, alarm clock and thermometer – all in one system - [Link]
Martin Thomas has this nice tool called Evertool in his collection. It is a AVRISP/STK500 and Programmer/JTAG debugger on a single board. It is compatible with AVRStudio with firmware upgrade-ability. So always new devices are supported.
Evertool has following features:
- ISP Programmer compatible with Atmel AVRISP, with AVRStudio and avrdude accessibility;
- JTAG debugger compatible with Atmel JTAGICE, works with AVRStudio and AvaRice;
- All Atmel AVR devices supported with their AVRISP and JTAGICE.;
- Easy update of the programmer via RS232/serial port;
- Rescue clock generation to recover from wrong fuse-bit-settings;
- Simple hardware, standard parts;
Evertool uses bootloader which is free for non-commercial use. Download latest version from here. Project is very well documented. There are also simplified versions of programmer available like JTAG only debugger, or even Evertool-USB version suggestion. Thomas Martin also has a nice collection of microcontroller programming examples including WinAVR and WinARM which is supported by him.
AVR programmer and debugger in one board - [Link]
[via]





































