You Are Here: Home » Posts tagged "ATmega8"

A led matrix Mask built on AVR ATmega8

AVR Mask1 is a led mask built around 74hc595 shift register and 8x8 led matrix. The "Dylan Dog" comics decoupage, in conjunction with his stands, make it good looking.t has 4 8x8 led matrix, 2 for the mouth, and 2 for eyes. When the user get closer to the mask, the IR sensor placed on the back activate the mask. If activated, it randomly runs eye and mouth patterns. Patterns can be programmed in code, the p ...

Read more

SD card logger library with log rotation that fits on ATmega8

This library implements an SD card Data Logger that runs on ATmega. It has a small footprint, so it can be loaded on an ATmega8, leaving space for user code. It supports SD and microSD cards formatted with FAT16. It also features log rotation.The "Petit FAT File System Module" by ChaN (http://elm-chan.org/fsw/ff/00index_p.html) it is used to write on SD card. I've used the Petit library because i would like ...

Read more

Drive a stepper motor with acceleration and deceleration using an Allegro driver on ATmega8

The stepper motor is an electromagnetic device that converts digital pulses into mechanical shaft rotation.Most common types of stepper motor can be bipolar or unipolar, depending on the winding. To make a stepper motor move, motor windings must be loaded in the correct order. A stepper motor move at steps, it's accuracy is usually expressed as degree per step. Microstepping is a method by witch motor accur ...

Read more

InLinea01: A PID controlled line following robot build on an ATmega 8

InLinea01 is a simple PID controlled line following robot. This is not speed oriented line follower, this is just a prototype I built to experiment with this type or machines, though it can be the first step to build a faster one. The goal of a line following robot is follow a line that is draw on the floor, usually this line is a black on white floor line, or a white on black one. A sensor is needed to det ...

Read more

Rotary Encoder Interfacing with ATmega8 Microcontroller

In this tutorial we are going to interface a rotary encoder with ATmega8 microcontroller.  ATmega8 is atmel's microcontroller series designed for embedded applications. Rotary encoder is used to know the position of movement and angular movement of a motor or axis. It’s a three terminal device usually, with power and ground pin counts to five. A rotary encoder mo [caption id="attachment_34866" align="alignc ...

Read more

Anti-Theft Alert System using ATmega8 Microcontroller

In this project we are going to make a vibration alert system with ATMEGA8 microcontroller. This can also be used as a theft alert system, for that we are going to interface tilt sensor with ATMEGA8. A tilt sensor is shown in below figure. [caption id="attachment_34853" align="aligncenter" width="600"] Theft Alert System using ATmega8 Microcontroller and Tilt Sensor[/caption] We can see there is a cylinder ...

Read more

100mA Ammeter using AVR Microcontroller

In this project we are going to make a low range ammeter using ATMEGA8 microcontroller. In ATMEGA8, we are going use 10bit ADC (Analog to Digital Conversion) feature to do this. Although we have few other ways to get the current parameter from a circuit, we are going to use resistive drop method, because it’s the easiest and simplest way to get current parameter. [caption id="attachment_34844" align="alignc ...

Read more
Scroll to top