Ed-EE-Eng / Spool_Scale_Project

Purpose Built Weigh-Scale-Project to continuously show a "Filament-Length-Remaining" display for a 3D-Printer
MIT License
7 stars 4 forks source link

Scroll direction #2

Closed Thoky81 closed 4 years ago

Thoky81 commented 4 years ago

Hi,

I have completed the project ๐Ÿ˜€ and its working like a charm. But I have found out that the scroll direction of rotary encoder is counter clockwise. Can you please suggest how to fix it to clockwise?

Thanks in advance

Ed-EE-Eng commented 4 years ago

Thanks for the email. You pose an interesting question.

The design intends that values INCREASE when the control knob is turned Clockwise, and DECREASE when the knob is turned Counter-clockwise.

I believe that you may have the CLK and DT wires on the Push & Turn control swapped.

ยท The schematic shows that the SWITCH _CLK wire should connect to NANO Pin D2.

ยท The schematic shows that the SWITCH_DT wire should connect to NANO Pin D3.

ยท Just switch these two wires at either end (Switch OR Nano end, NOT BOTH) and I believe that the knob rotation actions will flip.

Give it a try and let me know if that does it.

Take care and stay safe.

Best Regards

Edward W. Andrews

AMC

4970 Nottingham Ct.

Brookfield, WI 53045

Cell: 414 587-3343

Email: eandrews.amc@wi.rr.com

Email2: eandrews2@wi.rr.com

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Thank you.

you can clear up this issue by SWAPPING the

From: Thoky81 [mailto:notifications@github.com] Sent: Friday, April 03, 2020 4:07 PM To: Ed-EE-Eng/Spool_Scale_Project Cc: Subscribed Subject: [Ed-EE-Eng/Spool_Scale_Project] Scroll direction (#2)

Hi,

I have completed the project ๐Ÿ˜€ and its working like a charm. But I have found out that the scroll direction of rotary encoder is counter clockwise. Can you please suggest how to fix it to clockwise?

Thanks in advance

โ€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Ed-EE-Eng/Spool_Scale_Project/issues/2 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPZXMYPQS5MHIPGZQNOHFDRKZFWHANCNFSM4L4OGALA . https://github.com/notifications/beacon/AFPZXMY2WKPGFMXGNQGBYPTRKZFWHA5CNFSM4L4OGALKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4I3CHY6Q.gif

Thoky81 commented 4 years ago

Hi,

That was more simple than I expected ๐Ÿ˜€

Thanks a lot