Page 5 of 15

Re: Sky9x Rotaty Encoder Option

Posted: Sun Aug 19, 2012 12:37 pm
by jhsa
i know, terrible.. ;) plenty of beer, sun and beach around here. :D

Re: Sky9x Rotaty Encoder Option

Posted: Mon Aug 20, 2012 2:57 pm
by Hippo
It seems that I'm placing a one-time order for wheels and pins next week sometime. Probably around Wed. The encoder wheels might be slightly more difficult to mail since they're thicker than the PCB's, but I'll figure it out. Looks like my blank boards will be arriving on Tues.

Dan

Re: Sky9x Rotaty Encoder Option

Posted: Mon Aug 20, 2012 6:46 pm
by iwik
Thanks Dan,
You are the man.
Les

Re: Sky9x Rotaty Encoder Option

Posted: Mon Aug 20, 2012 10:33 pm
by MikeB
I've got some encoders on the way so I'll be able to look into making them work, possibly on the stock board as well.

Mike.

Re: Sky9x Rotaty Encoder Option

Posted: Tue Aug 21, 2012 12:55 am
by Iksbob
I've been tinkering with a hardware design for a 'mega168-based TWI IO expander. Thinking about it now, it's got a lot in common with arduino boards... Maybe I'll just start with an I2C patch-in jumper board thing for the right gimbal/trim switch connector (would only work for mega64 boards, or those that have I2C on the same connector pins), then I can whip up a simple encoder monitoring program. I would still have to modify the '9x firmware tho.

Re: Sky9x Rotaty Encoder Option

Posted: Tue Aug 21, 2012 2:59 pm
by MikeB
I've just wired up a 'spare' encoder to a stock board as I suggested in viewtopic.php?f=7&t=1084&start=60#p19996. Both encoder lines and the encoder switch are wired to LCD data lines. All seems to work fine.
I've changed er9x to read these every 10mS, and keep track of the encoder movement (only costs 56 bytes flash to do this). The encoder counter follows the movement unless I really try to spin the encoder very fast, and I can only do this because it is a spindle without any proper control knob.

Provided the code is not too large, we should be able to have and encoder on er9x on the stock board. This assumes you can solder three wires to the ends of three surface mount resistors, which is easier than soldering the two wires to the processor pins for the telemetry mod.

Alternatively, the encoder should be able to be connected to the TelemetrEZ board, and send the position over the serial to the M64.

Mike.

Re: Sky9x Rotaty Encoder Option

Posted: Tue Aug 21, 2012 3:50 pm
by kaos
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. ;)

Re: Sky9x Rotaty Encoder Option

Posted: Tue Aug 21, 2012 7:15 pm
by Iksbob
Iksbob wrote:I've been tinkering with a hardware design for a 'mega168-based TWI IO expander.
Reading through the first few pages of the voice on stock board thread, it looks like people there were thinking along the same lines. Guess I'll spend some time today reading through those 38 pages and see where they are now. -_-
[edit]Nope... Looks like they took the simple hack approach.
On second thought, I think I'll go with the AT90USB1286 for my design. It's got native USB support (including a factory-programmed bootloader for programming over USB - no need for an ISP programmer), gobs of I/O, double the memory of the 'mega64, and already has a compact, low cost, arduino-compatable, breadboard-friendly development board built around it. I expect to see an "arduino leonardo mega" derived from this before much longer.[/edit]

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 1:55 am
by cre8tiveleo
How about seperating stock board discussion from sky9x board discussion, the sky board has another 12 possible in/out combos with a neat little processor that just needs programming.
Just to keep the confusion down.


---
I am here: http://tapatalk.com/map.php?xz5bwz

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 2:12 am
by Iksbob
cre8tiveleo wrote:How about seperating stock board discussion from sky9x board discussion
Alright, so long as you keep your snarky, unconstructive comments out of my co-processor thread.

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 5:18 am
by cre8tiveleo
Lol, grow thicker skin.


---
I am here: http://tapatalk.com/map.php?1tsoot

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 8:02 am
by jhsa
:mrgreen: :mrgreen: He loves driving people mad, that's why :mrgreen: :mrgreen:

Maybe it's a good idea to create an encoder thread for er9x? ;) another for open9x as well as I'm sure they will follow? ;)

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 8:10 pm
by kaos
and icy cold beer for every one. :mrgreen:

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 9:26 pm
by MikeB
We might want to put the main hardware mod for fitting the encoder in the hardware section, it would be common to al versions. No need to repeat it several times.

Mike.

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 9:39 pm
by jhsa
I will have to read all again, so I can learn what has to be done for the stock board and where to get what's needed.. couldn't follow the thread properly when on holidays. maybe someone could put the relevant info on one thread?

Joao

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 10:28 pm
by Rob Thomson
Great! Take notes and then you can do the wiki for it :)

Sent from my Nexus 7 using Tapatalk 2

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 10:37 pm
by jhsa
hummppff.. :?

still got 3 pages of unread posts to read.. :(
It's your fault.. :D

Re: Sky9x Rotaty Encoder Option

Posted: Wed Aug 22, 2012 11:13 pm
by Iksbob
jhsa wrote:maybe someone could put the relevant info on one thread?
I guess I'll go kick that one off with info on the roulette wheel.

Re: Sky9x Rotaty Encoder Option

Posted: Fri Aug 24, 2012 9:17 am
by MikeB
The 'nice little man' from FedEx brought me a package of lots of useful bits today, including some of the rotary encoders and an RN-42 BT module. Now 'all' I need is enough time to do everything.

Mike.

Re: Sky9x Rotaty Encoder Option

Posted: Fri Aug 24, 2012 1:11 pm
by Crucial
The fed ex man didn't deliver you any time? It's a shame we can't order more of that.

Re: Sky9x Rotaty Encoder Option

Posted: Fri Aug 24, 2012 6:55 pm
by Hippo
Got some progress going on... I finally feel like I'm giving a little back to the 9X community. Love it.
-Dan
IMG_4034-small.JPG
IMG_4038-small.JPG
IMG_4041-small.JPG

Re: Sky9x Rotaty Encoder Option

Posted: Fri Aug 24, 2012 7:43 pm
by Kilrah
Very nice!

Re: Sky9x Rotaty Encoder Option

Posted: Fri Aug 24, 2012 8:57 pm
by kaos
Looks like a piece of comtemporary art work to me. :)

Re: Sky9x Rotaty Encoder Option

Posted: Sat Aug 25, 2012 12:22 am
by Clivew
Beautiful job Dan, can't wait.
Thankyou for that :D
Just one question, where do I buy the the Rotaty encoders from :lol:

Clive

Re: Sky9x Rotaty Encoder Option

Posted: Sat Aug 25, 2012 12:34 am
by Iksbob
kaos wrote:Looks like a piece of comtemporary art work to me. :)
There's a thought. Maybe I should start making my board designs as convoluted as possible, and open a gallery.

Re: Sky9x Rotaty Encoder Option

Posted: Sat Aug 25, 2012 12:45 am
by Clivew
Anything, but anything has got to be better than Tracey Emin's efforts,
but what do I know about art :roll:

Clive

Re: Sky9x Rotaty Encoder Option

Posted: Sat Aug 25, 2012 6:02 am
by kaos
Iksbob wrote:
kaos wrote:Looks like a piece of comtemporary art work to me. :)
There's a thought. Maybe I should start making my board designs as convoluted as possible, and open a gallery.
Just wait for my soldering of those pins on there, you will have a piece of genuine contemporary art to hang in the gallery. :mrgreen:

Re: Sky9x Rotaty Encoder Option

Posted: Sat Aug 25, 2012 7:28 am
by cre8tiveleo
Those are some sweet boards!


---
I am here: http://tapatalk.com/map.php?jhwgfh

Re: Sky9x Rotaty Encoder Option

Posted: Sun Aug 26, 2012 9:51 pm
by MikeB
After some effort today, I've just about got one of these encoders installed in a stock Tx. It fits OK and the 4 switches work fine. I wired the encoder, and its switch, to the LCD lines as I described earlier, but I reckon the SMD resistors are too delicate to have wires soldered to them. I broke one of the resistors. Fortunately I have replacements so I fixed it. To connect the encoder on the stock oard, I thinkl we will have to solder three fine wires directly to the processor pins, as we do for the telemetry mod. The main problem is these pins are close to the telemetry mod pins and the wires will need to go in the opposite direction.

Mike.

Re: Sky9x Rotaty Encoder Option

Posted: Sun Aug 26, 2012 10:07 pm
by jhsa
Mike, I think I'm not understanding what you mean by opposite direction..