TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 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 (139563 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47615 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42556 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 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: 1141 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

Driving dc motors and servos with dspic motor control module

0

Driving dc motors and servos with dspic motor control module Video: https://youtu.be/kpjc0n-c8wk

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

VIBRATIONS FOR RELAXATION

0

'Very efficient PWM masking routine. 'Compiled with mikroBASICPRO 3.2 and tested on the EasyPIC5 Development Board 'Requires mikroBASIC USB_HID Library and include USB_MOD.pbas Also required is the free Visual Basic Motor Controller Demo program included with this file. This program has been tested on Windows 7 with USB 2.0.

[Learn More]