TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141873 times)
  2. FAT32 Library (75036 times)
  3. Network Ethernet Library (59344 times)
  4. USB Device Library (49346 times)
  5. Network WiFi Library (45153 times)
  6. FT800 Library (44700 times)
  7. GSM click (31300 times)
  8. mikroSDK (30259 times)
  9. microSD click (27684 times)
  10. PID Library (27576 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

stepper motor control

Rating:

5

Author: Adrien Letellier

Last Updated: 2016-02-19

Package Version: 1.0.0.3

Category: Motor Control

Downloaded: 3958 times

Followed by: 1 user

License: MIT license  

This is a sample of a code that should run on a 16F716 with a 8Mhz oscillator.
By modifying PS2 you change the max frequency
there is also a soft start that help the motor to not miss steps while turning fast.

This version should be easier to modify.
The pettern i give can be used to use a stepper mototr in half step mod.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "stepper motor control" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "stepper motor control" changes.

Do you want to report abuse regarding "stepper motor control".

  • Information
  • Comments (2)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Blog currently doesn't exist!

RELATED CODES

PID for dc motor with DSPIc 30f4013

0

This project use a fan 12v, a put a optical encode. and rad te frecuncy with tmr1 in gate mode. and use pwm for controller motor velocity. have 3 push buttton. 1. select the parameter for change, and de other increment o decrement the parmeter value. this show in lcd

[Learn More]

PWM servo control only one timer timer1 version

5

This library show how use othe but better way to use servo with only a timer interrupt. in this case timer1.

[Learn More]

How manager servos with one timer

0

This example show how manager several servos with one timer. I use 50us interrupt and six pwm signal. for six servo in this example use four buton for manager the position only 2 servos but you can put more.

[Learn More]