Sky9x Rotary Encoder Option

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
Post Reply
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Sky9x Rotaty Encoder Option

Post by jhsa »

i know, terrible.. ;) plenty of beer, sun and beach around here. :D
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Hippo
Posts: 51
Joined: Thu Mar 15, 2012 4:37 pm
Country: -

Re: Sky9x Rotaty Encoder Option

Post 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
iwik
Posts: 115
Joined: Fri Feb 17, 2012 6:08 pm
Country: -
Location: NEW ZEALAND

Re: Sky9x Rotaty Encoder Option

Post by iwik »

Thanks Dan,
You are the man.
Les
User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Sky9x Rotaty Encoder Option

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Iksbob
Posts: 121
Joined: Wed Dec 28, 2011 1:06 pm
Country: -

Re: Sky9x Rotaty Encoder Option

Post 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.

User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Sky9x Rotaty Encoder Option

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Sky9x Rotaty Encoder Option

Post 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. ;)
Iksbob
Posts: 121
Joined: Wed Dec 28, 2011 1:06 pm
Country: -

Re: Sky9x Rotaty Encoder Option

Post 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]
User avatar
cre8tiveleo
Posts: 1434
Joined: Tue Dec 27, 2011 6:13 pm
Country: -
Location: Ontario,(GTA North)
Contact:

Re: Sky9x Rotaty Encoder Option

Post 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
Iksbob
Posts: 121
Joined: Wed Dec 28, 2011 1:06 pm
Country: -

Re: Sky9x Rotaty Encoder Option

Post 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.
User avatar
cre8tiveleo
Posts: 1434
Joined: Tue Dec 27, 2011 6:13 pm
Country: -
Location: Ontario,(GTA North)
Contact:

Re: Sky9x Rotaty Encoder Option

Post by cre8tiveleo »

Lol, grow thicker skin.


---
I am here: http://tapatalk.com/map.php?1tsoot
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Sky9x Rotaty Encoder Option

Post 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? ;)
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Sky9x Rotaty Encoder Option

Post by kaos »

and icy cold beer for every one. :mrgreen:
User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Sky9x Rotaty Encoder Option

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Sky9x Rotaty Encoder Option

Post 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
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Sky9x Rotaty Encoder Option

Post by Rob Thomson »

Great! Take notes and then you can do the wiki for it :)

Sent from my Nexus 7 using Tapatalk 2
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Sky9x Rotaty Encoder Option

Post by jhsa »

hummppff.. :?

still got 3 pages of unread posts to read.. :(
It's your fault.. :D
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Iksbob
Posts: 121
Joined: Wed Dec 28, 2011 1:06 pm
Country: -

Re: Sky9x Rotaty Encoder Option

Post 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.
User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Sky9x Rotaty Encoder Option

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Crucial
Posts: 581
Joined: Tue Dec 27, 2011 6:56 pm
Country: -
Location: SE WI, USA

Re: Sky9x Rotaty Encoder Option

Post by Crucial »

The fed ex man didn't deliver you any time? It's a shame we can't order more of that.
Hippo
Posts: 51
Joined: Thu Mar 15, 2012 4:37 pm
Country: -

Re: Sky9x Rotaty Encoder Option

Post 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
User avatar
Kilrah
Posts: 11107
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Sky9x Rotaty Encoder Option

Post by Kilrah »

Very nice!
User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Sky9x Rotaty Encoder Option

Post by kaos »

Looks like a piece of comtemporary art work to me. :)
Clivew
Posts: 338
Joined: Tue Dec 27, 2011 8:08 pm
Country: -
Location: Stroud, Glos, England

Re: Sky9x Rotaty Encoder Option

Post 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
Iksbob
Posts: 121
Joined: Wed Dec 28, 2011 1:06 pm
Country: -

Re: Sky9x Rotaty Encoder Option

Post 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.
Clivew
Posts: 338
Joined: Tue Dec 27, 2011 8:08 pm
Country: -
Location: Stroud, Glos, England

Re: Sky9x Rotaty Encoder Option

Post by Clivew »

Anything, but anything has got to be better than Tracey Emin's efforts,
but what do I know about art :roll:

Clive
User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Sky9x Rotaty Encoder Option

Post 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:
User avatar
cre8tiveleo
Posts: 1434
Joined: Tue Dec 27, 2011 6:13 pm
Country: -
Location: Ontario,(GTA North)
Contact:

Re: Sky9x Rotaty Encoder Option

Post by cre8tiveleo »

Those are some sweet boards!


---
I am here: http://tapatalk.com/map.php?jhwgfh
User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Sky9x Rotaty Encoder Option

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Sky9x Rotaty Encoder Option

Post by jhsa »

Mike, I think I'm not understanding what you mean by opposite direction..
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “erskyTx (was ersky9x)”