New Rotary Encoder Library for Proteus 8

New Rotary Encoder Library for Proteus 8

You are currently viewing New Rotary Encoder Library for Proteus 8
Rotary Encoder Proteus Library

Hey everyone! So, I’ve got something pretty cool to share with you today. It’s the brand-new Rotary Encoder Library for Proteus. A lot of you have been reaching out and asking for it, so I’ve gone ahead and put this library together just for you. Now, adding a rotary encoder to your Proteus projects is a breeze. Let’s take a closer look at how you can make the most out of it in your designs!

Rotary Encoder

A rotary encoder is a device that converts the angular position or rotation of a shaft into digital code. It’s commonly used in various applications such as controlling volume knobs on audio equipment, navigating menus on digital interfaces, or controlling motors in robotics.

Rotary Encoder Proteus Model

Here is the new rotary encoder model I have designed for Proteus, featuring the same interface for connection as the actual hardware. The VCC pin is used to activate the encoder function internally, while the GND pin is utilized for switch functioning. Pin A (CLK) serves as the clock pin, emitting pulses as the encoder rotates, with each pulse denoting a step of rotation, either clockwise or counterclockwise. Pin B (DT) represents data, detecting the direction of rotation.

Rotary Encoder Proteus Library
Rotary Encoder Proteus Library

 When pin A emits a pulse, this pin indicates the rotation direction by altering its state. Pin C (SW) is representing the switch (push-button) of the encoder. Upon pressing the button, it connects to the ground GND.

Setting the Encoder Knob Rotation and Speed

When you open up the properties window, you’ll find a couple of options for adjusting your encoder. The first one lets you tweak how quickly the knob spins around—basically, how fast it moves. You can set this speed in Hertz (Hz). The second option is all about which way the knob turns: either clockwise (CW) or counterclockwise (CCW). It’s as simple as picking between 0 for CW or 1 for CCW. So, you have the freedom to control both the speed and direction of your knob’s rotation with ease.

Rotary Encoder Properties Settings
Rotary Encoder Properties Settings

How to use it with Arduino

As we discussed, the connection mirrors that of actual hardware, so you won’t encounter any difficulty interfacing with Arduino. Here’s the Arduino code for reading the encoder.

Simulation

Here is the simulation result of the encoder in the proteus.

Rotary Encoder Proteus Simulation
Rotary Encoder Proteus Simulation

Download Library

Simply click on the button to download the library. You can refer to this post for instructions on how to install the library in Proteus 8. How to Download and install Library in Proteus (electronicstree.com)

Please wait 120 seconds: after that, your download will begin

ZIP Password : electronicstree.com

If you have any requests for Arduino Module Libraries in Proteus, please leave a comment or message us using the contact form.

Leave a Reply

This Post Has 2 Comments

  1. KISAKA

    Thank You for continually updating the proteus libraries on your website, it really goes a long way in helping us in our project designing journey.
    I really much appreciate you and your work.
    I have been trying to find a finger print sensor library for proteus to interface with arduino uno but it has been in vain sourcing for it in the internet, if you may have such a library kindly share it in your website or help create it.

    1. Usman

      I’m working on developing some libraries, like a fingerprint sensor, and others for Proteus simulations. While I can’t provide an exact timeline for their completion, rest assured that they are in progress. I’d encourage you to stay connected with us for updates on their availability. Thank you for reaching out, and I’m glad our website has been beneficial for your projects. If you have any further questions or need assistance, feel free to ask!