Posts

Showing posts from March, 2021

Interfacing stepper motor with PIC18F340

Image
 Pic18F34520 is a popular 8 bit microcontroller so we will use it to interface our stepper motor. Components required :  Pic18F3450 10 K ohm resistor Uln2003A motor Driver  Stepper motor (28BYJ-48) 5v power supply MP LAB Proteus Specificaton :    Pic18F34520 is a popular 8 bit microcontroller .It's has 40 pins out of which 36 are input output based pins. It can run in 3 modes  i.e. run, sleep, idle. It consist of 10 bit ADC,watchdog timer with seperate RC Oscillator. it gives upto 10 MIPS performance at 3V.      Uln2003A: Is a Darlington pair array ,which is useful to drive this motor ,since Pic microcontroller  couldn't provide enough current to drive .Also it is capable to drive 500 mA of load with 600 mA of peak current. It consist of 16 pins i.e. 7 input ,7 output.    Stepper motor : it is 5Vdc unipolar motor with 4 phases, It has frequency of 100Hz and noise <35dB.    MPlabX : Integrated Development Environme...