Using Atmega

PWM Motor Driver

PWM Motor Driver with MOSFET H-Bridge and AVR ATmega8

Here is a very simple project of controlling a small DC-motor (taken from an old personal cassette player) with ATmega8. The ATmega8 is having three PWM channels, out of which two are used here. PWM waveforms are fed to MOSFET (RFD3055) H-bridge. Here, direction is controlled using a two-position toggle switch and speed of the …

PWM Motor Driver with MOSFET H-Bridge and AVR ATmega8 Read More »

simple brushless sensored motor driver

A simple brushless sensored motor driver for AVR Atmega

Brushless electric motor (BLDC motors) are synchronous motors that are powered by a DC electric source via an integrated inverter/switching power supply, which produces an AC electric signal to drive the motor. Additional electronics control the inverter output amplitude and waveform (and therefore percent of DC bus usage/efficiency) and frequency (i.e. rotor speed). Because the controller …

A simple brushless sensored motor driver for AVR Atmega Read More »

Drive a stepper motor

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 …

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

Pickup Winding machine

A Pickup Winding machine built on an ATmega8

The core of this project is an ATmega8. It features: wind counter slow startup automatic stop configurable motor speed configurable winds 2 directions If you are looking for a CNC version: you can find it here: http://davidegironi.blogspot.it/2016/06/a-cnc-pickup-winding-machine-built-on.html This winder has an LCD display that will show the current motor direction the rotating speed of your pickup the total and …

A Pickup Winding machine built on an ATmega8 Read More »

brushless sensorless motor driver

A simple brushless sensorless motor driver for AVR Atmega

Brushless electric motor (BLDC motors) are synchronous motors that are powered by a DC electric source via an integrated inverter/switching power supply, which produces an AC electric signal to drive the motor. For an introduction to BLDC motors, please look at my sensored motor driver post, here: http://davidegironi.blogspot.it/2013/09/a-simple-brushless-sensored-motor.html For this project, I’ve implemented a simple brushless sensoreless motor …

A simple brushless sensorless motor driver for AVR Atmega Read More »

Interfacing DC Motor

Interfacing DC Motor with Atmega32 Microcontroller

In some of your electronic projects you may want to control a DC Motor with Atmega32 Microcontroller. We can’t connect a DC Motor directly to a microcontroller due to following reasons. A microcontroller can’t supply the current required for the working of DC Motor. ATmega32 Microcontroller can source or sink currents up to 40mA but a DC Motor needs …

Interfacing DC Motor with Atmega32 Microcontroller Read More »

Interfacing Servo Motor

Interfacing Servo Motor with Atmega32 Microcontroller

Servo Motor is a DC Motor equipped with error sensing negative feedback to control the exact angular position of the shaft. Unlike DC Motors it will not rotate continuously. It is used to make angular rotations such as 0-90°, 0-180° etc. Stepper Motors can also be used for making precise angular rotations. But Servo Motors …

Interfacing Servo Motor with Atmega32 Microcontroller Read More »

Stepper motor control

Stepper motor control with an ATmega8 microcontroller

This note provides basic implementation details and procedural information to design and assemble a stepper motor system. The controller discussed here is the ATmel mega8, an 8-bit microcontroller (MCU). The note consists of a general description and gives highlights of implementing a basic stepper motor system application. To amplify the application, the software was generated …

Stepper motor control with an ATmega8 microcontroller Read More »

Building the I2C Smart DC Motor Controller

Building the I2C Smart DC Motor Controller with Atmel AVR Microcontroller – Part 1

The idea of building my own I2C (read as I square C) smart DC motor controller is came to me when I was learning and playing together with my son on his LEGO® MINDSTORM® NXT 2.0 about a year ago. The NXT sophisticated controller also called NXT Intelligent Brick is powered by Atmel 32-bit ARM7 …

Building the I2C Smart DC Motor Controller with Atmel AVR Microcontroller – Part 1 Read More »