Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Encoder
They can work, but because they require a VCC of 6 volts and the A & B (also /A & /B) output grounds are not isolated from power ground, you must use opto-isolators between the encoder and the Raduino. ?If you do that, they should work fine. ?If you don't you risk damaging the encoder inputs to the Raduino's NANO which are only slightly over 5 volts max. ?(Don't ask me how I know this - LOL). Jim, W0EB
------ Original Message ------
From: "Brian Arnott" <arnottbrian@...>
Sent: 3/2/2019 11:55:49 AM
Subject: [BITX20] Encoder Hi all, |
Robert McClements
I used one of these on an HDSDR controller with the outputs directly connected to two Arduino digital pins, super encoder that comes with an excellent knob and crank handle.
From memory the outputs are open collector and the supply voltage only feeds the internal Leds whose light outputs are interrupted by the slotted wheel rotated by the knob. It may be necessary to divide the pulses by modifying the encoder routine in the sketch to get acceptable kHz per knob revolution tuning. Bob GM4CID |
Hello All I have one (5 volt) of these but I don't know how to wire it on my uBitx v5 please help ! Many thanks. 73' Olivier Le?sam. 2 mars 2019 ¨¤?22:15, ajparent1/KB1GMX <kb1gmx@...> a ¨¦crit?: I have two of those and its 5v for the leds and it works well. |
Oliver,
toggle quoted message
Show quoted text
Does your rotary encoder put out 5v pulses on an A and a B channel when you spin the dial? If yours is like the industrial service rotary encoder I plan to install and puts out 5-volt pulses from an A and B terminal, then it's a bit different from the stock encoder.? The stock encoder basically grounds the black (A) and brown (B) lines in "pulse-like" fashion while turning the knob. What we have to do is convert our encoders from a pulsed-output of 5v signals, to perform the pulsed-grounding of live signal lines delivered to it from the radio. I might suggest taking the brown wire from the Raduino plug and connect it to the Source leg of a 2N7000. Connect the Drain to earth (yellow). The leg of the transistor that remains, the Gate, connects to one output or the other of your new encoder. Now, repeat this transistor make-up for the Raduino's black wire using a second 2N7000.? Connect that equation up to the other output terminal of your encoder.? I don't know if A=A and B=B on your encoder compared to the original, though you'll find out. Doing this, your encoder's 5v pulses will "instruct" these two FET transistors to momentarily short out the original Raduino signal lines to earth in the same way that the original encoder device momentarily or repeatedly shorts out the black and brown for tuning or for function-selections. In other words, we've reversed the new encoder's output logic to match the old one's logic so that your uBitx sees what it expects to see [and does what it expects it to do]. If tuning goes backward, reverse the "B" and the "A" wires.?And, obviously, remember to? install a separate momentary push button between the red and yellow wires before you end up needing that for radio operating functions in the future 73, Ted K3RTA
|
if its the common 100prr-6 (6 terminals on the back):
the A and B termianls are transistors to ground and are used. Ground is ground (0V) termial Black and brown to the A and B terminals? (reverse if the rotation direction is backward) 5V from raduino 5V reg to the leds (Vcc? terminal) One note I used V4.3 code with my mods and it worked well.? Some codes for the Raduino are slow and if you rotate the encoder quickly it will not keep up. Allison |
Many thanks Ted. (with the colors, it's more simple to understand). Yes my rotary encoder put out 5v pulses on an A and a B channel when I spin the dial. I will try this tomorrow. 73' Olivier. Le?lun. 4 mars 2019 ¨¤?21:35, Ted via Groups.Io <k3rta=[email protected]> a ¨¦crit?: Oliver, |
toggle quoted message
Show quoted text
Le?lun. 4 mars 2019 ¨¤?22:23, ajparent1/KB1GMX <kb1gmx@...> a ¨¦crit?: if its the common 100prr-6 (6 terminals on the back): |
to navigate to use esc to dismiss