AVR496 : Atmel BLDC control on ATAVRMC301 with ATtiny861 Documentation
Use of this program is subject to Atmel's End User License Agreement.
Please read file LICENSE.TXT for copyright notice.
This application drives a BLDC motor with trapezoidal waveforms
The motor runs in the sensor mode
It runs on an ATAVRMC301 board with an ATTiny861 part
The main source files are :
All parameters are given for the motor included in the kit with no load.
They must be ajusted according to the application (motor, load ...)
The ramp-up sequence must be adjusted to the motor and load
- Timer 0 is used for speed measurement and main tick generation
- Timer 1 is used to generate PWM
- ADC is used for current and potentiometer measurement
- At power on, the motor starts running
- The reference speed is ajusted with the potentiometer connected to the ATTiny861 Isrc Input
- One can control the motor through Uart Interface :
- ATAVRMC301 (ATTiny861 clock is 16MHz from PLL)
- ATAVRMC300 (Power Board)
- Set the ATAVRMC300 jumpers as described in the AVR194 App Note
- Set the ATAVRMC301 jumpers as described in the AVR194 App Note