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 (141467 times)
  2. FAT32 Library (74308 times)
  3. Network Ethernet Library (58852 times)
  4. USB Device Library (48918 times)
  5. Network WiFi Library (44679 times)
  6. FT800 Library (44220 times)
  7. GSM click (30933 times)
  8. mikroSDK (29814 times)
  9. PID Library (27414 times)
  10. microSD click (27352 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
Example

Quadrature encoders Pascal for ARM STM32F407VG

Rating:

0

Author: Henk Kiela

Last Updated: 2013-11-24

Package Version: 1.0.0.1

Example: 1.0.0.0

Category: Motor Control

Downloaded: 1178 times

Followed by: 1 user

License: MIT license  

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

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Quadrature encoders Pascal for ARM STM32F407VG" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Quadrature encoders Pascal for ARM STM32F407VG" changes.

Do you want to report abuse regarding "Quadrature encoders Pascal for ARM STM32F407VG".

  • Information
  • Comments (0)

Example Blog

Blog currently doesn't exist!

RELATED CODES

Stepper motor controller using PIC16F877A

0

Control stepper motor direction using PIC16F877A, there are two buttons each button moves the motor in one direction. L293D driver is used to drive the stepper motor.

[Learn More]

3 pin SOFTWARE PWM

6

This show how use timer 1 interrup for 3 pin software PWM

[Learn More]

dc motor and servo control stm32

0

dc motor and servo control stm32 video: https://youtu.be/-0BW3hB3--A

[Learn More]