ATmega8

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

SD card logger library with log rotation that fits on ATmega8 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

Drive a stepper motor with acceleration and deceleration using an Allegro driver on ATmega8 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

InLinea01: A PID controlled line following robot build on an ATmega 8 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

Rotary Encoder Interfacing with ATmega8 Microcontroller 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. We can see there is a cylinder in the picture, in that cylinder

Anti-Theft Alert System using ATmega8 Microcontroller Read More »

Introduction to Octocoupler and Interfacing with ATmega8

In this tutorial we are going to interface an Optocoupler with ATMEGA8 microcontroller. Octocouplers are fascinating devices used to isolate the electronic and electrical circuits. This simple device isolates the sensitive electronics from robust electronics like motors, yet keeping the load in control over the source. Say we want to control the speed of an AC motor

Introduction to Octocoupler and Interfacing with ATmega8 Read More »

How to establish UART communication between ATmega8 and Arduino Uno?

Here we are going to establish a communication between an ATmega8 microcontroller and Arduino Uno. The communication established here is UART (Universal Asynchronous Receiver Transmitter) type. It’s serial communication. By this serial communication data can be shared between two controllers, which is a required in various embedded system applications. In embedded systems we must have basic knowledge about

How to establish UART communication between ATmega8 and Arduino Uno? Read More »

Scroll to Top