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 (142040 times)
  2. FAT32 Library (75265 times)
  3. Network Ethernet Library (59482 times)
  4. USB Device Library (49501 times)
  5. Network WiFi Library (45276 times)
  6. FT800 Library (44896 times)
  7. GSM click (31422 times)
  8. mikroSDK (30422 times)
  9. microSD click (27782 times)
  10. PID Library (27618 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: 1198 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

8 servo control high resolution 2 timer interrupt

0

This show how use timer 0 and timer 1 interrupt for manager 8 servomotors this have more resolution that 1 timer way and the resolution can change for const resolution in the code

[Learn More]

BLDC Motor Control

10

This code runs a BLDC(PMSM) Motor Close loop Controlled with Block Commutation

[Learn More]

Pikasoft

0

This project implements an oscilloscope with fix bit rate. You can modify it. It also implement glcd library with basical functions. You will find a calibration function for touch panel and a pwm control between 1ms and 2ms on RB6 port. PWM is modified via a potentiometer on RA2 pin. You can modify I/O via io_config.h file. Enjoy :-)

[Learn More]