Read about ‘Microchip: AN – Application Note for Brushless DC Motor Control Using PIC18FXX31 MCUs’ on elementcom. Microchip. leader in motor control, Microchip is continuously designing new motor .. AN Brushless DC Motor Control Using PIC18FXX31 MCU’s. AN Sensorless. AN Brushless DC Motor Control Using PIC18FXX31 MCUs. Author: Padmaraja Yedamale Microchip Technology Inc. HARDWARE A PICDEM™ MC demo.
|Published (Last):||1 September 2017|
|PDF File Size:||19.10 Mb|
|ePub File Size:||5.32 Mb|
|Price:||Free* [*Free Regsitration Required]|
Motorboard Controller Source Code (Open Source)
The current code cannot be read because the “Code Protect” bit has been set, but it is possible to erase the chip and program it with new code. When you turn the motorboard ON, the green light goes on microchhip off, then the yellow light goes on then off then the red light goes on then off and then the green light goes on solid.
Then the operator pushes to go. When the battery gets critically low, the RED light will illuminate.
When the battery is almost dead, the red light will blink and the buzzer on the motor contoller PCB will beep on and off 1 second on, 4 seconds off until the battery reaches the low power shut off. The motorboard has an automatic low power microcnip off.
If low power is detected the red LED will blink, and power will be shut off completely. Actually it operates at Hz measured.
The speed is controlled linearly, and no attempt is made to maintain a given speed for a given throttle position. The controller monitors the speed of one of the motors the one with a optical wheel “chopper” attached to an elongated motor shaft. If the speed of this motor is less than 3mph, no power will be provided to the motors.
PIC18F – Microcontrollers and Processors – Microcontrollers and Processors
This prevents power from being applied to the motors until they are at least rotating at 3mph. This saves significant amounts of battery power and prevents the motorboard from starting accidentally.
The motor makes approximately Since there are eight optical slots on the chopper per turn, this means optical pulses per turn of the wheel. One turn of the wheel is at best inches The Roth motorboards “maximum” speed of 18mph translates to optical pulses per second.
Motorboard Controller Source Code (Open Source) – Motorboards
Because there is no indication that the motor is moving less than 3mph, if the optical wheel fails for any reason the motorboard will assume that 3mph has not yet been reached. The motorboard will an8999 function and there will be no indication as to the cause of failure.