TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (402 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (129 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 (140844 times)
  2. FAT32 Library (73445 times)
  3. Network Ethernet Library (58257 times)
  4. USB Device Library (48437 times)
  5. Network WiFi Library (44049 times)
  6. FT800 Library (43627 times)
  7. GSM click (30517 times)
  8. mikroSDK (29209 times)
  9. PID Library (27192 times)
  10. microSD click (26877 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
Library

Rotary Encoder

Rating:

5

Author: dany

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Category: Other Codes

Downloaded: 5086 times

Followed by: 2 users

License: MIT license  

Simple timer interrupt based Rotary Encoder decoding library.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Rotary Encoder" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Rotary Encoder" changes.

Do you want to report abuse regarding "Rotary Encoder".

  • Information
  • Comments (0)

Library Blog

Simple timer interrupt based Rotary Encoder decoding library.

Do not make the checking interval (in the timer interrupt) more than 2 millisecs, or transitions can be missed or misinterpreted.

See the example added for the usage of the library.

Have fun!

Rotary Encoder types.

Rotary Encoder types.

Rotary encoder types. The encoder type for which the library is made is type B.

View full image
Detail of the signals of the type B encoder

Detail of the signals of the type B encoder

Detail of the signals of the type B encoder

View full image

ALSO FROM THIS AUTHOR

DS1820 Examples

0

4 examples of driving the DS1820, DS18S20 and DS18B20 digital temperature sensors, using the TempSensors and the OW_Utilities libraries. The examples can also be used with PIC24 (small changes in processor initialisation needed).

[Learn More]

FRAM Click used without development board

0

The example shows how to use the FRAM click board without a development board. It is executed with a mini32 board instead.

[Learn More]

Thermostat with DS1820

5

Usage of the Ds1820 (one wire temp sensor) to control a heating system. Provides 2 different temp settings (e.g. day and night settings). Proportional control of the heater (which is basically on/off controlled) using PWM like method with a 1 minute timebase (x minutes on, y minutes off).

[Learn More]