[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-721673-en":59,"doc-seo-721673-105":99,"doc-similar-721673":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":5,"data":60},{"doc_id":61,"user_id":62,"nickname":63,"user_avatar":64,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":66,"doc_content":67,"file_id":68,"file_url":69,"file_type":70,"file_size":71,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":72,"language":73,"language_code":74,"site_id":75,"html_lang":74,"table_of_contents":76,"faqs":77,"seo_title":78,"seo_description":66,"update_tm":79,"read_time":80,"preview_page_count":19,"preview_urls":81},721673,2336464648322,"Aria","https://ap-avatar.wpscdn.com/avatar/2200025388227c56fec?_k=1778556882303663488","Control 28BYJ-48 Stepper Motor with ULN2003 Driver & Arduino","Explains how to control a 28BYJ-48 5V unipolar stepper motor using a ULN2003 driver board and an Arduino. Describes step behavior based on HIGH pulse sequences, how pulse frequency and count affect speed and rotation angle, and the motor’s gear reduction and effective steps per revolution. Covers power consumption (about 240mA), recommended external 5V powering, required shared ground, ULN2003 pinout wiring to Arduino pins 8–11, and the use of the Arduino Stepper library to run clockwise and counterclockwise.","Control 28BYJ-48 Stepper Motor with ULN2003 Driver & Arduino  \n [lastminuteengineers.com](lastminuteengineers.com/28byj48-stepper-motor-arduino-tutorial)[/28byj48-stepper-motor-arduino-tutorial](lastminuteengineers.com/28byj48-stepper-motor-arduino-tutorial)  \n22 December 2019  \nStepper motors are great motors for position control. They are a special type of brushless motors that divides a full rotation into a number of equal “steps”. They are usually found in desktop printers, 3D printers, CNC milling machines, and anything else that requires precise positioning control.  \nOne of the inexpensive way to learn about stepper motors is to use 28BYJ-48 stepper motors. They usually come with a ULN2003 based driver board which makes them super easy to use.  \nDo you know how these stepper motors work?  \nThese stepper motors use a cogged wheel (having 32 teeth) and four electromagnets to rotate the wheel one ‘step’ at a time.  \nEach HIGH pulse sent, energizes the coil, attracts the nearest teeth of the cogged wheel and drives the motor one step.  \nThe way you pulse these coils greatly affects the behavior of the motor.  \n The sequence of pulses determines the spinning direction of the motor.  \n The frequency of the pulses determines the speed of the motor.  \n The number of pulses determines how far the motor will turn.  \nThe 28BYJ-48 Stepper Motor  \nThe 28BYJ-48 is a 5-wire unipolar stepper motor that runs on 5 volts.  \nThe interesting thing about this motor is that people have been using it in countless applications over the last few decades. It is used in air-conditioner, vending machines and many other applications.  \nOne of the best things about these motors is that they can be positioned accurately, one‘step’ at a time.  \nThe other advantage is that they are relatively precise in their movement and they are quite reliable since the motor does not use contact brushes.  \nThey generally give good torque even in the stand-still state which is maintained as long as power is supplied to the motor.  \nThe only downside is that they are a bit hungry for power and consume power even when they are not moving.  \n28BYJ-48 Gear Reduction Ratio  \nAccording to the data sheet, when the 28BYJ-48 motor runs in full step mode, each step corresponds to a rotation of 11.25° . That means there are 32 steps per revolution (360°/11.25° = 32) .  \nIn addition, the motor has a 1/64 reduction gear set. (Actually its 1/63.68395 but for most purposes 1/64 is a good enough approximation)  \nWhat this means is that there are actually 32*63.68395 steps per revolution = 2037.8864 ~ 2038 steps!  \n28BYJ-48 Power Consumption  \nThe power consumption of the motor is around 240mA.  \nBecause the motor draws too much power, it is best to power it directly from an external 5V power supply rather than drawing that power from theArduino.  \nThe motor consumes power, even in the stand still state, to maintain its position.  \nThe ULN2003 Driver Board  \nThe motor usually comes with a ULN2003 based driver board.  \nThe ULN2003 is one of the most common motor driver ICs, consisting of an array of 7 Darlington transistor pairs, each pair is capable of driving loads of up to 500mA and 50V. Four out of seven pairs are used on this board.  \nThe board has a connector that mates the motor wires perfectly which makes it very easy to connect the motor to the board. There are also connections for four control inputs as well as power supply connections.  \nThe board has four LEDs that show activity on the four control input lines (to indicate stepping state). They provide a nice visual when stepping.  \nThe board also comes with an ON/OFF jumper to isolate power to the stepper Motor.  \nULN2003 Stepper Driver Board Pinout  \nThe pinouts ofthe ULN2003 stepper driver board are as follows:  \nIN1 – IN4 pins are used to drive the motor. Connect them to a digital output pins on the Arduino.  \nGND is a common ground pin.  \nVDD pin supplies power for the motor. Connect it to an external 5V power supply. ","cbCain2TcQ3i3hsu","https://ap.wps.com/l/cbCain2TcQ3i3hsu","pdf",407752,14,"English","en",105,"# Overview of stepper control\n## How pulse timing affects stepping\n# 28BYJ-48 motor details\n## Rotation step angle and gear reduction\n## Power consumption and powering guidance\n# ULN2003 driver board\n## ULN2003 capabilities and LEDs\n## Pinout and wiring notes\n# Arduino connection and code\n## Wiring to Arduino pins\n## Using the Arduino Stepper library","[{\"question\":\"How do HIGH pulses control the 28BYJ-48 stepper motor direction, speed, and distance?\",\"answer\":\"Each HIGH pulse energizes a coil and moves the motor by one step. The pulse sequence determines rotation direction. Pulse frequency sets motor speed, and the number of pulses determines how far it turns.\"},{\"question\":\"What is the effective number of steps per revolution for the 28BYJ-48?\",\"answer\":\"In full-step mode, each step corresponds to 11.25°, giving 32 steps per 360°. With the 1/64 reduction gear set, the effective total becomes about 32×63.68395 ≈ 2038 steps per revolution.\"},{\"question\":\"Why is an external 5V supply recommended instead of powering the motor from the Arduino?\",\"answer\":\"The motor draws around 240mA and consumes power even when holding position, which can exceed what the Arduino 5V rail should supply. Using an external 5V supply also avoids electrical noise that could damage the Arduino.\"}]","Control 28BYJ-48 Stepper Motor with ULN2003 Driver & Arduino | PDF",1795068021,35,[82,86,90,95],{"page_no":8,"url":83,"width":84,"height":85},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-19/0be84de78f14a92067cda331aad22ae7.webp",983,1391,{"page_no":14,"url":87,"width":88,"height":89},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-19/9cd87f7bd37e236b76deb9f66fb84a78.webp",982,1389,{"page_no":91,"url":92,"width":93,"height":94},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-19/ebc7a13e1c9d56247b1933fadf86d73b.webp",981,1388,{"page_no":19,"url":96,"width":97,"height":98},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-19/84d6caeafde7cdb680074e61622850f6.webp",980,1387,{"code":4,"msg":100,"data":101},"ok",{"site_id":75,"language":74,"slug":102,"title":65,"keywords":103,"description":66,"schema_data":104,"social_meta":157,"head_meta":159,"extra_data":161,"updated_unix":79},"control-28byj-48-stepper-motor-with-uln2003-driver-arduino","",{"@graph":105,"@context":156},[106,119,139],{"@type":107,"itemListElement":108},"BreadcrumbList",[109,113,115,117],{"item":110,"name":111,"@type":112,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":114,"name":9,"@type":112,"position":14},"https://docshare.wps.com/document/",{"item":116,"name":30,"@type":112,"position":91},"https://docshare.wps.com/document/technology/",{"item":118,"name":65,"@type":112,"position":19},"https://docshare.wps.com/document/control-28byj-48-stepper-motor-with-uln2003-driver-arduino/721673/",{"url":118,"name":65,"@type":120,"image":121,"author":126,"headline":65,"publisher":128,"fileFormat":131,"inLanguage":74,"description":66,"dateModified":132,"datePublished":133,"encodingFormat":131,"isAccessibleForFree":134,"interactionStatistic":135},"DigitalDocument",{"url":122,"@type":123,"width":124,"height":125},"https://docshare.wps.com/thumbnails/control-28byj-48-stepper-motor-with-uln2003-driver-arduino/721673.png","ImageObject",300,407,{"name":63,"@type":127},"Person",{"url":110,"name":129,"@type":130},"DocShare","Organization","application/pdf","2026-11-28","2026-11-19",true,{"@type":136,"interactionType":137,"userInteractionCount":29},"InteractionCounter",{"@type":138},"ViewAction",{"@type":140,"mainEntity":141},"FAQPage",[142,148,152],{"name":143,"@type":144,"acceptedAnswer":145},"How do HIGH pulses control the 28BYJ-48 stepper motor direction, speed, and distance?","Question",{"text":146,"@type":147},"Each HIGH pulse energizes a coil and moves the motor by one step. The pulse sequence determines rotation direction. Pulse frequency sets motor speed, and the number of pulses determines how far it turns.","Answer",{"name":149,"@type":144,"acceptedAnswer":150},"What is the effective number of steps per revolution for the 28BYJ-48?",{"text":151,"@type":147},"In full-step mode, each step corresponds to 11.25°, giving 32 steps per 360°. With the 1/64 reduction gear set, the effective total becomes about 32×63.68395 ≈ 2038 steps per revolution.",{"name":153,"@type":144,"acceptedAnswer":154},"Why is an external 5V supply recommended instead of powering the motor from the Arduino?",{"text":155,"@type":147},"The motor draws around 240mA and consumes power even when holding position, which can exceed what the Arduino 5V rail should supply. Using an external 5V supply also avoids electrical noise that could damage the Arduino.","https://schema.org",{"og:url":118,"og:type":158,"og:title":65,"og:site_name":129,"og:description":66},"article",{"robots":160,"canonical":118},"index,follow",{"doc_id":61,"site_id":75},{"list":163,"token":103},[164,170,176,182,188,194,200,206,212,218],{"doc_id":165,"doc_title":166,"file_type":70,"home_preview_img_url":167,"slug":168,"view_count":34,"category_name":30,"create_tm":169},720843,"Stepper Motor 5V 4-Phase 5-Wire & ULN2003 Driver Board for Arduino","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024411117/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=JlhDM%2Ba0%2FmlOzLAhyducnB6SufI%3D","stepper-motor-5v-4-phase-5-wire-uln2003-driver-board-for-arduino",1795040290,{"doc_id":171,"doc_title":172,"file_type":70,"home_preview_img_url":173,"slug":174,"view_count":19,"category_name":30,"create_tm":175},720846,"Lesson 16 - Controlling Stepper Motor With Remote","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024411401/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=hXfhD2W92S5PLTT3lPDb3vsofEE%3D","lesson-16-controlling-stepper-motor-with-remote",1795040336,{"doc_id":177,"doc_title":178,"file_type":70,"home_preview_img_url":179,"slug":180,"view_count":44,"category_name":30,"create_tm":181},689952,"Adafruit DRV8833 DC/Stepper Motor Driver Breakout Board - Overview - Wiring - Software - Python & CircuitPython","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002316631/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=jfhjXQ140iELk4ybZNp6y6C%2Fh%2Bg%3D","adafruit-drv8833-dcstepper-motor-driver-breakout-board-overview-wiring-software-python-circuitpython",1794139880,{"doc_id":183,"doc_title":184,"file_type":70,"home_preview_img_url":185,"slug":186,"view_count":24,"category_name":30,"create_tm":187},720760,"L298N Motor Driver Board (ST1112) User Manual - Pin Instruction - Example","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024404696/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=aHx68XlR3sjMXv8ezomoPZhL7uc%3D","l298n-motor-driver-board-st1112-user-manual-pin-instruction-example",1795039193,{"doc_id":189,"doc_title":190,"file_type":70,"home_preview_img_url":191,"slug":192,"view_count":19,"category_name":30,"create_tm":193},720311,"ATmega2560 Pro Arduino Development Board Datasheet - CH340","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023671715/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=U5dU7wV1wZfo2IfGmQrrjISI%2FyI%3D","atmega2560-pro-arduino-development-board-datasheet-ch340",1795036389,{"doc_id":195,"doc_title":196,"file_type":70,"home_preview_img_url":197,"slug":198,"view_count":29,"category_name":30,"create_tm":199},720766,"Keyes L298N Motor Shield - Introduction - Features and Usage Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024404744/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=rv7fLoFNz8g6l%2Bu9gop8tlRR5mU%3D","keyes-l298n-motor-shield-introduction-features-and-usage-guide",1795039207,{"doc_id":201,"doc_title":202,"file_type":70,"home_preview_img_url":203,"slug":204,"view_count":24,"category_name":30,"create_tm":205},720838,"WPI401 - 5 VDC Stepper Motor with ULN2003 Driver Board - User Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024410908/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=KBzwzKzFbi5jokMAgWRlYMmiU5g%3D","wpi401-5-vdc-stepper-motor-with-uln2003-driver-board-user-manual",1795040249,{"doc_id":207,"doc_title":208,"file_type":70,"home_preview_img_url":209,"slug":210,"view_count":24,"category_name":30,"create_tm":211},720360,"Mega 2650 PRO - Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024393711/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=PjeSz5llDI%2F8gdujmAc%2B4YmPwvg%3D","mega-2650-pro-datasheet",1795036880,{"doc_id":213,"doc_title":214,"file_type":70,"home_preview_img_url":215,"slug":216,"view_count":29,"category_name":30,"create_tm":217},720792,"Stepper Motor Driver - User Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024405509/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=t%2F9Qz4bJO0hISd4p5LOnE1qYUDg%3D","stepper-motor-driver-user-manual",1795039374,{"doc_id":219,"doc_title":220,"file_type":70,"home_preview_img_url":221,"slug":222,"view_count":34,"category_name":30,"create_tm":223},689894,"How to Control Multiple Servo Motors with a PCA9685 Module and Arduino - Learn to Connect and Use","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001440250/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=N4cvSP1jYzw1mC0OBp5PtNpScDc%3D","how-to-control-multiple-servo-motors-with-a-pca9685-module-and-arduino-learn-to-connect-and-use",1794133101]