Page 6 of 15

Re: Sky9x Rotaty Encoder Option

Posted: Sun Aug 26, 2012 10:45 pm
by MikeB
For the telemetry, the wires leave the pins and go towards one end of the board and for the encoder they leave the pins and cross over the other and go towards the other end of the board.
I have now wired to the three processor pins, and I have my encoder, and its switch, being read by the Mega64.

Mike.

Re: Sky9x Rotaty Encoder Option

Posted: Sun Aug 26, 2012 10:54 pm
by jhsa
well, I'm sure you will post some pics soon ;)

On my telemetry mod, the wires go around the mega 64 anticlockwise.. I think that normally people lay them clockwise.. But I guess that the wire after it's soldered first go straight and then we can turn it to anywhere we want.. :) My biggest problem is not to touch the telemetry ones :? :lol:

João

Re: Sky9x Rotaty Encoder Option

Posted: Mon Aug 27, 2012 4:15 pm
by Hippo
Hi, wrong place for this I know, but I'm getting ready to ship out PCB's to folks who've only ordered PCB's (Wheels and pins will be on their way soon), and it's getting pretty confusing out there. Folks have real names, forum names, and email addresses, and foreign currencies, that don't all line up. So...

If everyone who ordered PCB's, encoder wheels, or pins could PM me with your: real name, shipping address, paypal email address, and list of what you ordered, that would make life a lot simpler for me, and I'll be mailing out PCB's today.

Thanks!
Dan

Re: Sky9x Rotaty Encoder Option

Posted: Mon Aug 27, 2012 4:47 pm
by kaos
You should have those info when you receive your paypal payment. It should be in the paypal record. but will do pm as well.

Re: Sky9x Rotaty Encoder Option

Posted: Mon Aug 27, 2012 5:46 pm
by jhsa
will do as soon as i get home. João

Re: Sky9x Rotaty Encoder Option

Posted: Mon Aug 27, 2012 6:09 pm
by kaos
You have to get home to find your real name and address? :roll: :lol:

Re: Sky9x Rotaty Encoder Option

Posted: Mon Aug 27, 2012 7:08 pm
by jhsa
no but it is a pain to do it from my c***py phone.. I was at the field flying, and the weather was beautifull. Flew until it got nearly dark. Not very often we get days like today here. would you be sending mails if you were me? ;) :D

João

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 29, 2012 3:39 pm
by s_mack
kaos wrote:I certainly would choose the TelemetrEX approach since I have not done the telemetry mod on my smartie 9X. May be TelemetrEZ would consider to put these connector pin header on it for easy integration. ;)
At the risk of getting my head bitten off by Leo...

I'm more than happy to mod the TelemetrEZ for this adaptation. I just don't have the time right now to thoroughly go through everything to see exactly what needs to be done. If someone wants to give me a clear outline of EXACTLY what is needed on the TelemetrEZ... I'll add it.

I'm gathering its a matter of having a 3-pin header and traces going to 3 of the unused gpio? Or is it just one gpio and power/ground? Whatever it is, I'll do it... but I expect to firm up the TelemetrEZ hardware and get it off to production this week so I need it fast and accurate.

- Steven

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 29, 2012 6:49 pm
by kaos
At the risk of getting my head bitten off by Leo...
Just stuff a couple cans of beer in Leo's mouth , he will be fine. don't worry. ;)

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 29, 2012 7:07 pm
by Iksbob
s_mack wrote:I'm gathering its a matter of having a 3-pin header and traces going to 3 of the unused gpio?
4-pin header: 3 GPIO and ground. Pull-up resistors on the GPIO lines (10K should do, or just use uC internal pull-ups). Some kind of de-bounce circuit wouldn't hurt but probably isn't entirely necessary - de-bounce can be done in code.

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 29, 2012 7:35 pm
by s_mack
Thanks. Mike said most of the same a few hours ago on the TelemetrEZ thread.

De-bounce circuitry (primarily RC) needs to be tested and tweaked. A latch setup is more accommodating, but I'm not familiar with the switch so I don't know if it would be appropriate or not. So I think I'll leave that to software

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 29, 2012 9:42 pm
by MikeB
De-bouncing in the code will be best.

Mike.

Re: Sky9x Rotaty Encoder Option

Posted: Sat Sep 01, 2012 9:40 pm
by Crucial
I received my encoder mounting boards from Hippo today. They look great. Thank you.

Re: Sky9x Rotaty Encoder Option

Posted: Sat Sep 01, 2012 11:51 pm
by C.João
I'm still struggling with my half dead stock board. but I'm interested on this lil' encoder.

how much for 1 (or 2) shipped to Portugal? If I solve my problems with the board I might get one of these...

Re: Sky9x Rotaty Encoder Option

Posted: Sun Sep 02, 2012 12:26 am
by C.João
board fixed! I'm up for 2 encoders. sending hippo a PM now. :)

Re: Sky9x Rotaty Encoder Option

Posted: Sun Sep 02, 2012 2:44 am
by preston91
Crucial wrote:I received my encoder mounting boards from Hippo today. They look great. Thank you.
Me too very nice . thanks Hippo!!

Re: Sky9x Rotaty Encoder Option

Posted: Mon Sep 03, 2012 10:25 am
by olafnew
Is there a way to map a rotary encoder to a TX channel? It would be VERY convenient to use as a flight mode switch. At present i used a "discrete" potentiometer, but since i've got the encoder finally fitted...

Re: Sky9x Rotaty Encoder Option

Posted: Mon Sep 03, 2012 6:31 pm
by Iksbob
The inclusion of a rotary encoder should make "virtual" input channels fairly easy. That is, input value(s) that aren't ADC conversions, but rather a simple counter in code, similar to a trim value. The value would be incremented or decremented with the rotary encoder, and the user could switch between multiple vChannels via a GUI interface on the main LCD and/or cycle through them with the encoder's select function.

Re: Sky9x Rotaty Encoder Option

Posted: Mon Sep 03, 2012 9:11 pm
by olafnew
Iksbob - so at present, there is no way? )))

Re: Sky9x Rotaty Encoder Option

Posted: Mon Sep 03, 2012 11:40 pm
by Iksbob
Right, but such functionality might be included in a not-too-distant firmware update.

Re: Sky9x Rotaty Encoder Option

Posted: Tue Sep 04, 2012 11:33 pm
by JEANALTAYR
hello DAN
er9x updating to this mode is it too late to order :oops:
best regards J MICHEL
Hippo wrote:Hi, wrong place for this I know, but I'm getting ready to ship out PCB's to folks who've only ordered PCB's (Wheels and pins will be on their way soon), and it's getting pretty confusing out there. Folks have real names, forum names, and email addresses, and foreign currencies, that don't all line up. So...

If everyone who ordered PCB's, encoder wheels, or pins could PM me with your: real name, shipping address, paypal email address, and list of what you ordered, that would make life a lot simpler for me, and I'll be mailing out PCB's today.

Thanks!
Dan

Re: Sky9x Rotaty Encoder Option

Posted: Sat Sep 08, 2012 9:34 am
by Irish Steve
Hippo wrote:Hi, wrong place for this I know, but I'm getting ready to ship out PCB's to folks who've only ordered PCB's (Wheels and pins will be on their way soon), and it's getting pretty confusing out there. Folks have real names, forum names, and email addresses, and foreign currencies, that don't all line up. So...

If everyone who ordered PCB's, encoder wheels, or pins could PM me with your: real name, shipping address, paypal email address, and list of what you ordered, that would make life a lot simpler for me, and I'll be mailing out PCB's today.

Thanks!
Dan

Dan, trying to contact you via PM re this

Re: Sky9x Rotaty Encoder Option

Posted: Sat Sep 08, 2012 9:39 am
by jhsa
+1

Re: Sky9x Rotaty Encoder Option

Posted: Sat Sep 08, 2012 8:09 pm
by Crucial
Question about wiring up the iksbob and hippo board to a sky9x encoder header. I've looked through this thread but I haven't seen a wiring diagram for the 4 leads coming from the daughter board. Has anyone posted this and I just missed it? From looking at the datasheet and testing with my ohmmeter I think this is the right order for wiring. I'm not sure if the rotary signal matters or if they can be reversed and work the same.

Re: Sky9x Rotaty Encoder Option

Posted: Sat Sep 08, 2012 8:30 pm
by MikeB
Looks OK to me. The rotary signals define the direction as well as the stepping. If the response on the screen is wrong, just swap the two connections.

Mike.

Re: Sky9x Rotaty Encoder Option

Posted: Sun Sep 09, 2012 12:42 am
by Clivew
Thanks Dan, (and Iksbob) for your efforts!
Received the boards last week sometime, I was on holiday.
Seems to be a good job in achieving what was to me an impossible task!
Well done, much appreciated! :D

Clive

Re: Sky9x Rotaty Encoder Option

Posted: Sun Sep 09, 2012 2:41 am
by Crucial
I found that I didn't like the depth of the encoder so I added a 1.32 plywood spacer in between the encoder and the circuit board.

Re: Sky9x Rotaty Encoder Option

Posted: Sun Sep 09, 2012 2:55 am
by Iksbob
Crucial wrote:I found that I didn't like the depth of the encoder so I added a 1.32 plywood spacer in between the encoder and the circuit board.
Alternatively, you can carefully cut the tabs off the board (it may be necessary to slightly notch into the main circle of the PCB) so it clears the screw posts on the front panel. If you take that approach, just be careful when soldering the encoder/board/pin assembly to the main PCB - solder one or two posts, then check fitment and operation of the directional buttons before doing the rest.

Re: Sky9x Rotaty Encoder Option

Posted: Sun Sep 09, 2012 3:19 am
by Crucial
That probably would have been quicker. The plywood did work well. I got it all soldered in and it fits great. Now I just have to put it back together enough to make sure I didn't wreck anything when taking out the old push buttons. That is not something I would want to do again if possible.

Re: Sky9x Rotaty Encoder Option

Posted: Sun Sep 09, 2012 3:43 am
by Iksbob
Removing the pushbuttons tends to be easier and have better results if you commit yourself to destroying them (rather than keep them in reusable condition) before you actually start. That is, clip each button's legs between the PCB and button body, then remove the body.
From there you can work on removing each leg individually: heat up the solder on one side, then quickly grab the long end of the leg on the opposite side using a pair of tweezers or precision pliers, and pull it out of the board. The tweezers/pliers will draw the heat out of the joint, making the solder freeze up... Thus the "quickly" part.
With the solid bits out of the way, cleaning out the PCB holes with a solder sucker or wick should be relatively easy. Dont' be afraid to re-fill a hole if it doesn't clear out completely the first time. Adding solder to the hole will better conduct heat down to the part that's not melting... The additional flux helps the solder flow as well. Lead-free solder (as is used on the 9X PCB) doesn't generally flow as nicely as leaded solder, so diluting the lead-free with leaded should help.