TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136724 times)
  2. FAT32 Library (69941 times)
  3. Network Ethernet Library (55940 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41169 times)
  7. GSM click (28982 times)
  8. PID Library (26412 times)
  9. mikroSDK (26358 times)
  10. microSD click (25364 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: 1128 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

Generation of weights, which indicate how far a line follower robot is from the line

0

Generation of weights, which indicate how far a line follower robot is from the line Video: https://youtu.be/aHBGIq-UNtk

[Learn More]

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]

Motor Direction Control using PWM for PIC18F46K22

0

In my Project i used to control the Direction of a DC motor (Clockwise/Anti-Clockwise) by the Pulse Width Modulation Technique. For doing this project the PIC Micro controller must have at least a single CCP Pin.

[Learn More]