Page 2 of 6

Re: Stock/er9x Rotary Encoder

Posted: Wed Jan 16, 2013 9:50 am
by MikeB
They shouldn't be needed, but I haven't put the support code into er9x for the encoder from the TelemetrEZ yet.

Mike.

Re: Stock/er9x Rotary Encoder

Posted: Thu Jan 31, 2013 1:21 pm
by LTMNO
Eagerly awaiting the TelemetryEZ support. ;-)
Along with all the other projects you are working on.... no worries... whenever you get to it, you get to it.
Wish there was something we can do to assist.

Re: Stock/er9x Rotary Encoder

Posted: Thu Jan 31, 2013 1:43 pm
by gohsthb
r782 supports the encoder from a telemetrEZ. See the [url=http://openrcforums.com/wiki/index.php/TelemetrEZ]guide[\url] in the wiki.
-Gohst

Re: Stock/er9x Rotary Encoder

Posted: Thu Feb 07, 2013 10:36 pm
by LTMNO
Hello Gang,
I just finished the addition of the Rotary Encoder to my T9x but I not 100% sure how to wire it to the TelemEZ...
Does anyone have pics to follow? I know the wiki it there... but a picture is worth 1000 words.
I promised to build a guided How-To once complete.

The switch placement came in really snug, works great for clicking.
IMG_2439.jpg
The Encoder is nice and flush.
IMG_2440.jpg
I have four wires coming out of the PCB so that I can connect to the appropriate location.
IMG_2441.jpg
Cable Placement
cabl.jpg
cbal3.jpg

Thanks in advance,

Pino.

Re: Stock/er9x Rotary Encoder

Posted: Thu Feb 07, 2013 11:34 pm
by Buckmaster
I just finished the physical part of this mod yesterday and haven't had a chance to flash the new firmware yet. Unless someone beats me to it, I can tell you where I put my wires once I get it flashed, just need to verify everything works before I go running off at the mouth. ;)

Re: Stock/er9x Rotary Encoder

Posted: Thu Feb 07, 2013 11:43 pm
by gohsthb

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 12:37 am
by LTMNO
@Buckmaster, thanks...
@gohsthb... thanks as well, but that is what I had when trying to start this... if you have this completed... could you just take a picture of your TeZ board and where the wires are connected? I am very visual. ;-) If it is not too much trouble.

Thanks again.

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 1:47 am
by LTMNO
Wiring Diagram PCB
Wiring Diagram PCB
Is this right?

EDIT: added the Labels for PCB.

As per the DataSheet
DataSheet
DataSheet
Screen Shot 2013-02-08 at 8.24.03 AM.png (33.13 KiB) Viewed 14867 times

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 2:40 am
by gohsthb
Might be good if you labeled the other side of the connections too. The a, b, and switch.
-Gohst

Sent from my LG-P999 using Tapatalk 2

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 5:19 am
by Buckmaster
LTMNO, that is how I have mine hooked up and it all seems to work good. Sorry it took so long to respond, I had to pull my radio apart to see what I put where after I got the firmware flashed. Time to throw it back together ....... its well past my bedtime ;)

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 3:29 pm
by LTMNO
Edit: Update the Photos/PDF's to the proper layout thanks to Buckmaster
WheelBoard v2 original.pdf
Based on this Original PCB Layout (Not sure who's it is?)
(11.44 KiB) Downloaded 406 times
WheelBoard v2 LTMNO
WheelBoard v2 LTMNO
WheelBoard v2 LTMNO.pdf
Printable Version
(311.74 KiB) Downloaded 398 times
WheelBoard v2 LTMNO Mirrored
WheelBoard v2 LTMNO Mirrored
WheelBoard v2 LTMNO Mirrored.pdf
Printable Version Mirrored
(309.59 KiB) Downloaded 393 times

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 5:29 pm
by Buckmaster
I think you had it right the first time (the actual photo with "wires" drawn in). The order of the wire from let to right on the 4 pads on the pcb should go to H - G - I - 0v respectively. I think you have H & G inverted on your last post. (No big deal if you hooked them up that way, the encoder wheel would just cause inverted movement and you would have to switch the two wires). Of course my eyes are starting to cross at this point so maybe I'm looking at it wrong ;)

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 5:38 pm
by LTMNO
Ha, thanks Buckmaster.... I was thinking that when i reviewed the post in the wiki and i was just trying to follow it again... respectively it says, A B and G H
That is why the picture is worth a thousands words....
;-)

Thanks, I will fix the diagrams and repost. (if you are 100% confirmed on that) ;-)

Pino.

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 5:54 pm
by LTMNO
Thanks, updated the previous post...

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 8:13 pm
by Buckmaster
Te he..... I wouldn't say 100% confirmed.... ;) Even though I did confirm it. My eyes start to cross late at night :). I have a little more difficulty following my wires than you are likely to... I used wires on all my connections and had to double up on a couple colors because only had 10 colors, and at the time I thought I needed 12 wires. Turns out I only needed 9 wired, but guess which two wires are the only ones still doubled up?? Yepperz, the ones we are talking about now :( I left those two the same color because if any two were inverted I figured those two would cause the slightest issue, and since I have put a header on my TelemtrEZ they would be the easiest to swap. I'm very confident that's where they go though. Now I just have to wait for my smaller plugs to arrive since I don't need all those wires. Then I can tidy up my mess.

Re: Stock/er9x Rotary Encoder

Posted: Fri Feb 08, 2013 8:52 pm
by LTMNO
LOL... well, I just finished my MOD now, I have not flashed or turned on the radio to check yet.
I will try that later this evening when I get a chance.
IMG_2454.jpg
IMG_2452.jpg
Now that is an Idea... putting a header on there.. I have many of those.

Thanks.

Edit: works great. Wiring is correct. Pictures correct. Wiki updated.

Thx

Re: Stock/er9x Rotary Encoder

Posted: Sat Feb 16, 2013 4:12 pm
by kaos
any one has a diagram of the wheel encoder connection from the board to the stock PCB board (M64 pin 44,45,46)?
I saw Mike's wiki, the only thing I could not find, or some how I missed it, is which wire goes to which pin, besides the common goes to a +5V.

Re: Stock/er9x Rotary Encoder

Posted: Sat Feb 16, 2013 6:03 pm
by jhsa
It says on the viki. the omportant is that you know where the center button goes.. the other 2 you swap if they're not right.. That's how i did it anyway.. I was luck this last time but not the first time and Had to swap the wires :D. Go with the viki. or try the first post on this thread.. Mike explains it really well there..

João

Re: Stock/er9x Rotary Encoder

Posted: Sat Feb 16, 2013 6:24 pm
by kaos
that is what I am asking 'bit 5,6,7' related to pin 44,45,46. which is which? My Nerdish is not that good yet. :mrgreen:

Re: Stock/er9x Rotary Encoder

Posted: Sat Feb 16, 2013 6:44 pm
by jhsa
Form Mike's first post:
Bits 7 and 6 are the encoder (A and B) signals, bit 5 is the switch signal. As different encoders may have the A and B signals connected differently it may be necessary, after assembly, to swap these two connection over to get the correct operation.
As you can see in the picture, Pin46 is PA5 (bit 5).. the others PA6 and PA7 (bits 6 and 7) are pins 44 and 45.. :mrgreen: :mrgreen:
I also had to look for it when I did mine.. ;)

No, really, it is not easy.. if the encoder goes the other way you have to swap pins 44 ands 45.. good luck, you have 50% chance of being right..

or wrong.. :mrgreen: :mrgreen:

Cheers,
João

Re: Stock/er9x Rotary Encoder

Posted: Sat Feb 16, 2013 6:57 pm
by kaos
thx. that is what I am looking for. I guess just cut the two wires in the middle and resolder them would do the job if falls into the wrong side of 50%. ;) Now I just need to find the 3K7 resistor. I assume that is 3700 ohm? K is 1000 here not 1024?

Re: Stock/er9x Rotary Encoder

Posted: Sat Feb 16, 2013 7:06 pm
by jhsa
3K9, 3900 ohm..
Why don't you do something like Mike did? a little bit of strip board.. Like that you just have to swap the wires that come from the encoder and don't have to touch the ones that go to the processor.. That's what I also did.. and the resistors are on that board..

João

Re: Stock/er9x Rotary Encoder

Posted: Sat Feb 16, 2013 9:04 pm
by kaos
No bread board for me. remember I have to buy everything even it is a once cent piece. But I will use servo connector pins that I have a few. ;)

now back to the web searching for 3K9 resistors.

Re: Stock/er9x Rotary Encoder

Posted: Sun Feb 17, 2013 2:11 am
by Iksbob
kaos wrote:now back to the web searching for 3K9 resistors.
http://www.digikey.com/scripts/dksearch ... itcontents

Re: Stock/er9x Rotary Encoder

Posted: Sun Feb 17, 2013 3:30 am
by kaos
What :o 14.95 for 365 pieces 3K9 resistor. I think I can eat them as peanuts with beer. :lol: :lol:

thx Iksbob. Actually, I was looking for smd version but found out they are 1.50 a piece at radioshack. then I thought why not just regular resistor. Just got back from radio shack got myself 5 3K9 in a bag for 1.50. ;) Hope I will get this done before the wkend is over. :)

Re: Stock/er9x Rotary Encoder

Posted: Sun Feb 17, 2013 4:16 am
by Iksbob
Eheh... No, that's 14.95 for 5 3K9 resistors. ^_^

Re: Stock/er9x Rotary Encoder

Posted: Sun Feb 17, 2013 4:28 am
by kaos
Ah, read it too quickly, it is 365 pieces total each kind of 5. that is a lot of different flavored peanuts for sure. Need a few different brands of beer to match it. :mrgreen:

Re: Stock/er9x Rotary Encoder

Posted: Sun Feb 17, 2013 5:30 pm
by kaos
OK, before I power it up and fry my cpu, I want to make sure that the 'common' (the top right 1st connection point) of the I/H board is hooked up to the +5V line as described by MikeB (if I read it correctly.). I am a little concerned about this. because for SKY9x V.B board that spot is connected to the 'gnd' for the encoder port. I know the circuits are different, but just want to make sure. Frying the cpu does not bother me as much as I have to redo all 6 single wire to the cpu legs. THAT is a pain. ;) Dang, solder 6 wires in a row to the cpu is not fun. Took me all night to get it right.

Re: Stock/er9x Rotary Encoder

Posted: Sun Feb 17, 2013 6:02 pm
by jhsa
don't worry, you would get a chance to replace it with an m128 :D

Yes, on stock board it connects to 5V as per Mike's schematic..If we're talking about the same wire of course.. :)

João

Re: Stock/er9x Rotary Encoder

Posted: Sun Feb 17, 2013 7:57 pm
by kaos
thx, by the end of the day, we will see if the wheel is spinning or the smoke coming out. :lol: