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 (141687 times)
  2. FAT32 Library (74756 times)
  3. Network Ethernet Library (59208 times)
  4. USB Device Library (49224 times)
  5. Network WiFi Library (44996 times)
  6. FT800 Library (44523 times)
  7. GSM click (31196 times)
  8. mikroSDK (30095 times)
  9. microSD click (27580 times)
  10. PID Library (27537 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: 3955 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

PWM proportional at temperature using LM35 and PIC16f873a

0

PWM proportional at temperature using LM35 and PIC16f873a, it can be used for a DC motor or Leds.

[Learn More]

Quadrature encoders Pascal for ARM STM32F407VG

0

Sample code for using Tim3 and Tim4 for quadrature encoders. Tim3 connected to PC6 and PC7, Tim4 connected to PB6 and PB7 All registers setup dierectly from Pascal Debug output is generated on Uart1 For questions: hkiela@opteq.nl

[Learn More]

Project: Controlling a FAN with PWM and a PIC12F1572

0

This project shows, how you can control the speed of a FAN using PWM output of a PIC12F1572. The temperature is measured by a DS18B20. Program is written in Mikrobasic Pro. Project is in german language, but the source code is english. Link to project: https://www.ramser-elektro.at/pwm-regelung-von-ventilatoren-oder-motoren/

[Learn More]