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 (141688 times)
  2. FAT32 Library (74758 times)
  3. Network Ethernet Library (59208 times)
  4. USB Device Library (49224 times)
  5. Network WiFi Library (44996 times)
  6. FT800 Library (44525 times)
  7. GSM click (31196 times)
  8. mikroSDK (30096 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
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: 1191 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

PWM Generator for Standard DC Motors

0

This example is related to simple PWM generator for standard DC motor. Example is base on my previous example related to Injection System Behavior

[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]