TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (91 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 (139275 times)
  2. FAT32 Library (71759 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47434 times)
  5. Network WiFi Library (43098 times)
  6. FT800 Library (42409 times)
  7. GSM click (29835 times)
  8. mikroSDK (28106 times)
  9. PID Library (26886 times)
  10. microSD click (26201 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

Using a Shaft Encoder with MINI-M4 for STM32

Rating:

0

Author: Val Gretchev

Last Updated: 2016-02-21

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 481 times

Followed by: 4 users

License: MIT license  

This example shows how to connect a shaft encoder to a MPU board and provides a state machine decoder that can be used for many useful applications where a rotating dial inputs positional information. This data can be used for display purposes or for converting into analog signal by passing it to the internal DACs.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Using a Shaft Encoder with MINI-M4 for STM32" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Using a Shaft Encoder with MINI-M4 for STM32" changes.

Do you want to report abuse regarding "Using a Shaft Encoder with MINI-M4 for STM32".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Connection Diagram

Connection Diagram

Only one external component is require in order to fully implement the hardware for this example. If a shaft encoder is not available, it can be simulated by sending commands on the USB port.

View full image

ALSO FROM THIS AUTHOR

Traffic Flow Recorder (TFR)

0

This project combines several examples into a single application implementing a traffic movement data logger. The collected data can be used to justify signal lights or to change the signaling sequence of existing lights. The hardware used for this project is mikromedia for Stellaris® M3 board.

[Learn More]

Example of MMC/SD Card Usage for MultiMedia PIC32MX7

5

This example uses the microE FAT32 library to implement remote file operations over the serial port.

[Learn More]

Using MINI-M4 for STM32 as a Servo Motor Controller

0

In this example I use general-purpose timer 3, channels 1 and channel 2 to drive a pair of servo-motors in a pan and tilt mechanism. The included test program provides a convenient way to send multiple seek commands to position the servos over their complete range of motion.

[Learn More]