*** There are many types of motor control process in industry paralelly with several motor types.The driving principle of servo or stepper motor is very simple.These modules can be applied on many industrial applications.Especially the resulotion of a servo motor has a high capability to make full rotation and direction.Plus,even by small velocity,it can engage and lift up the huge weights.In professional designing enviorements, the servo motors are usually preffered for Robotics Science.
Section 1 Servo Motor Control
A servo motor control alghoritm for PIC16F877 MCU's.Can be assembled on MPASM.
When i've first decided to write a servo motor control algorithm, i made this one.It has a simple and understandable lines.Not necessary too many explanations.Makes a rotation and direction with its I/O Ports.
See source code
Section 2 Prototype fan control
A basic fan module control.Searchs whether if temperature is crossing abroad or not.Runs fan in necessary situations.Also displays the increasing or decreasing situations of temperature on two pins of I/O ports .Have fun and don't get cold when try to understand of code alghoritm. There are pusoedo codes also. You'll also see the Motorola Processor Architectury has a big similarity with Intel Chipset's.The Assembler codes are mostly familiar with Intel's.
See source code
Section 3 Advanced Fan Control System
Measure the temperature and make a closed-loop system which runs with fan.
This project has been executed using a DC Motor also.
See source code
Section 4 PWM-Motor
The best solution for every purposes...Pulse width modulation makes the radio signals very secured transmittable and isolatedThis makes a pwm modulation of the radio frequency signals in transmitter circuit.By using pwm method the coding is becoming very secure and flexible.Almost impossible an interrupt occurs.The explanation of algorithm is in the .txt file.You must have high experience something to understand of coding algoritm.Pressing two buttons the data of step motor will be encoding and then decoding.It just makes the encoding part of it.The schematic of circuit will be published very soon.It's really hard to publish my files with 56K modem technology.
See source code