Home > Applications > Industrial Electronics > High-speed and large-capacity power tool solution based on ATMEGA328P-AU

High-speed and large-capacity power tool solution based on ATMEGA328P-AU

Published time : 2017-06-18 ATMEL industrial control
This solution is based on the power tool developed by ATMEGA328P-AU. It has functions such as gear setting, overcurrent, overheat protection and working status indication.

Solution Introduction

The overview of solution

This solution is based on the power tool developed by ATMEGA328P-AU. 

It has functions such as gear setting, overcurrent, overheat protection and working status indication.

2. Main functions and performance parameters:

Rated power (w): 220 Rate: 0-700

Maximum drilling diameter: 22

Maximum screw diameter: 8

Maximum chuck diameter: 10

Torque: 22  Battery capacity: 1500

Charger / charging time: 3

Solution application segment:

The program can be modified to apply to power tools of different powers.

ATMEGA328P-AU MAIN FEATURES
Manufacturer: ATMEL 
Product Category: 8-bit Microcontrollers - MCU
Data Bus Width: 8 bit 
Maximum Clock Frequency: 20 MHz 
Program Memory Size: 32 kB 
Data RAM Size: 2 kB 
ADC Resolution: 10 bit 
Number of I/Os: 23 I/O 
Operating Supply Voltage: 1.8 V to 5.5 V 
Minimum Operating Temperature: - 40 C 
Maximum Operating Temperature: + 85 C 
Interface Type: I2C, SPI, USART 
Packaging: Tray 
Height: 1 mm  Length: 7 mm Width: 7 mm 
Program Memory Type: Flash   
Brand: Microchip Technology/Atmel  
Data RAM Type: SRAM  
Data ROM Size: 1 kB  
Data ROM Type: EEPROM  
Number of ADC Channels: 8  
Number of Timers/Counters: 3 Timer  
Processor Series: megaAVR  
Product Type: 8-bit Microcontrollers - MCU  
Factory Pack Quantity: 250  
Subcategory: Microcontrollers - MCU  
Supply Voltage Range:1.8 V-5.5 V     
Tradename: AVR  
Unit Weight: 0.002469 oz

ATMEGA328P-AU main function:
High performance, low power AVR 8-bit microcontroller

Advanced RISC architecture

High endurance non-volatile memory segment

Special features of the microcontroller

Power-on reset and programmable Brownout detection

Internally calibrated oscillator

External and internal interrupt sources

Six sleep modes: idle, ADC noise reduction, power save, shutdown, standby, and standby expansion

High-speed and large-capacity power tool solution based on ATMEGA328P-AU Block Diagram

High-speed and large-capacity power tool solution based on ATMEGA328P-AU

Releated knowledges

The principle of power tools 
Motors can be divided into DC motors and AC motors due to different input currents:

(1) DC motor - A motor that rotates with a direct current is called a DC motor. Because the magnetic field circuit and the armature circuit are connected in different ways, 

they can be divided into a series excitation motor, a split excitation motor, and a complex excitation motor;

(2) AC motor - an induction motor in an AC motor, whose powerful induced current (eddy current) is generated in a rotating magnetic field, 

and the copper rod on the rotor continuously cuts the magnetic lines of force, according to the law of the second, the induced current has a resistance magnetic field. 

The effect of relative motion with the rotor, so the rotor rotates with the magnetic field. However, the rotor rotation speed has no high magnetic field conversion speed, otherwise the magnetic lines of force will not be cut by the copper rod.


A motor that rotates with an alternating current is called an alternating current motor. There are many types, mainly:

a, rectification motor - make the series-excited DC generator, used as an AC motor, that is such a motor, because the alternating current in the magnetic field and the armature circuit, while turning, so the direction of the force moment remains constant, the machine is Rotate constantly. 

Such a motor is also called a "universal motor" because it can also use AC and DC. Such motors are often used in vacuum cleaners, sewing machines, and other household appliances.

b. Induction motor - A device in which the rotor is rotated in a rotating magnetic field and the rotor is rotated by the action of the eddy current. 

The rotating magnetic field is not caused by mechanical methods. 

Instead, it is connected to several pairs of electromagnets by alternating current, so that the magnetic properties of the magnetic poles change cyclically, which can be regarded as a rotating magnetic field. 

Three-phase induction motors (with three pairs of magnetic poles) are often used. The movement of the DC motor is exactly the opposite of that of a DC generator. 

In the generator, the induced current is formed by the induced electromotive force, so they are in the same direction. 

In the motor, the direction of the induced electromotive force supplied by the external power source is opposite to the direction of the armature current.

c. Synchronous motor—The motor that rotates from one pole to the next, just the same cycle as the current. 

Such a motor cannot be started by itself, and an alternating current must be connected after another motor or special auxiliary winding has been used to reach an appropriate frequency. 

If the load changes and the speed changes, the speed is not consistent with the frequency of the alternating current, so that the pace is disordered, tending to stop or cause damage. 

Due to the limitations, the application is not extensive.

Key Components

No. Part Number Manufacturer
1 ATMEGA328P-20AU ATMEL
2 ATMEGA328P-15MZ MICROCHIP
3 ATMEGA328P-15AZ MICROCHIP
4 ATMEGA328P-10PU ATMEL
5 ATMEGA328P-10AU ATMEL
6 ATMEGA328P ATMEL