I need to make use of a rotary encoder with switch on a PIC16F1788 to select 3 inputs.
I’m new to this kind of switches, so
I think I will make use of this rotary encoder with switch:
https://www.addicore.com/rotary-encoder ... /ad267.htm
They have 5 Pins but how this work to get 20 positions is a question for me. I think this must be done in the software but how I don’t know.
I have looked in the Inputs section from FlowCode but I can’t find. Maybe I must buy an extra pack but this I don’t know.
How must I proceed and how does this work ?
Rotary Switch and Inputs
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Rotary Switch and Inputs
Hello,
Looks like you could use that with the quadrature encoder component, combined with a switch component if you want the button click. The pin out suggests otherwise but the Arduino site it sends you to suggests it outputs a standard quadrature signal.
Looks like you could use that with the quadrature encoder component, combined with a switch component if you want the button click. The pin out suggests otherwise but the Arduino site it sends you to suggests it outputs a standard quadrature signal.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Rotary Switch and Inputs
Can I use quadrature encoder component for simple rotary encoder module and basic push switch for rotary switch input?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Rotary Switch and Inputs
Hi Jon,
Yes that should be fine.Can I use quadrature encoder component for simple rotary encoder module and basic push switch for rotary switch input?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel