RadioLocman.com Electronics ru
Advanced Search +
  
Go Back   RadioLocman Forum > Electronics and ... > Microcontrollers (MCU)

Microcontrollers (MCU) Application and programming of MCUs, Evaluation Kits and Demonstration Boards, Programmers.

Reply
 
Thread Tools Search this Thread
Old 06-19-2018, 06:31 PM   #1
Rvbsu
Junior Member
 
Join Date: Jan 2016
Posts: 4
Rvbsu is on a distinguished road
Default Arduino and interrupts with rotary encoder

I want to control a Si5351a dds using a 200ppr optical rotary encoder. All the previous examples I have seen just use the bog standard 16ppr mechanical encoders.
I have looked at the options and using interrupts seem to be the best - does anyone know if an arduino can handle the speed of such an encoder?
Paul's optimised library seems ideal but using a teensy 3.2 just for this looks like overkill - I'd rather just use a nano clone but its not clear if this
library is just for teensy . Any advice before I start?
Rvbsu is offline   Reply With Quote
Old 07-24-2018, 04:15 PM   #2
symbol
Senior Member
 
Join Date: Oct 2013
Posts: 131
symbol is on a distinguished road
Default

Is the Si5351a the engine? (could not find it with a quick search)
It depends on how fast the decoder rotates (engine speed), and how much work should be done in the ISR (keep it short) and the processor clock speed for the standard Nano, which will be 16 MHz.
symbol is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to replace multi-deck rotary switches with a microcontroller for my audio and got some problem April155 Electronic Components 1 06-26-2018 08:47 AM
Discussion: Adaptive rotary encoder distinguishes fine from coarse Radiolocman Robot Projects and Advices 1 04-22-2014 04:22 PM

All times are GMT. The time now is 10:07 AM.




Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Slices ↓
Radiolocman facebook Radiolocman twitter Radiolocman google plus