TOP Contributors

  1. MIKROE (2655 codes)
  2. Alcides Ramos (353 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 (136781 times)
  2. FAT32 Library (69977 times)
  3. Network Ethernet Library (55948 times)
  4. USB Device Library (46274 times)
  5. Network WiFi Library (41888 times)
  6. FT800 Library (41184 times)
  7. GSM click (28987 times)
  8. PID Library (26419 times)
  9. mikroSDK (26372 times)
  10. microSD click (25381 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: 459 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]

FM Click Example Modified for North American Tuning

0

The excellent example by mikroE of the FM Click board was implemented for European channel bands. This modified code will allow North American stations to be tuned.

[Learn More]

Non-Blocking Drivers for I2C1 and STMPE610 on Mikromedia Plus for STM32 Board.

0

When the Touch Panel is enabled at the same time as USB, MikroE code hangs up frequently. USB is an essential peripheral and being able to use it together with the LCD/Touch panel is absolutely a must in any application involving this board. This code provides a non-blocking driver while maintaining compatibility with Visual_TFT.

[Learn More]