PDA

View Full Version : Gray Type Rotary Encoder from Farnell / Maplin



marcus_422
02-15-2010, 12:51 PM
Hi all,

Have been looking into using the gray type rotary encoder from the opencockpits store: http://www.opencockpits.com/catalog/encoder-p-100.html

Would like to know if anyone knows of a retailer in the UK that sells these encoders or ones of a similar spec that will work with the master card from opencockpits. Can't quite justify the shipping costs from spain for a simple trial :neutral:

I believe the CTS Type 288 is the one I need. It needs to have 1/4 CYCLE PER DETENT and 16 DETENTS/REVOLUTION. A good site explaining the spec is:

http://www.lekseecon.nl/iocards.html#encoder

Happy building and thanks in advance,
Marcus

ian@737ng.co.uk
02-16-2010, 02:30 AM
hello marcus...........
leo bodnar uses these encoders with his BU0836X cards (i use them as well).
he keeps stock of the plain CTS288 (without the push to make switch).
have a look at www.leobodnar.com
you'll see them at the bottom of the BU0836, BU0836A and BU0836X card pages.
hope that helped you out.
good luck and regards ... ian

marcus_422
02-16-2010, 05:02 AM
Hi Ian,

Thanks for pointing me to that source, didn't know that leo also stocked the encoders :)

One slight niggle though, the encoders I need must be two bit grey type. The part numbers on leo's site suggest it is a 2 bit binary. However, there appears to be no 2 bit grey code available on the cts type 288??

Regards,
Marcus

No Longer Active
02-16-2010, 05:22 AM
I use these:

http://cgi.ebay.co.uk/Rotary-Encoder-push-button-switch-with-2-bit-gray-scale_W0QQitemZ220403724239QQcmdZViewItemQQptZUK_BOI_Electrical_Components_Supplies_ET?hash=item335115efcf#ht_4068wt_754

I'm pretty certain that this is what Ian uses/sends me, they works very well with leo bodnar's cards.

marcus_422
02-17-2010, 01:59 PM
Thanks Ian and Alex for your help.

Turns out that leo is out of stock at the moment :o

verticallimit
02-18-2010, 05:01 PM
Hi
Anyone here who has the solution to program this encoder LINK (http://www.leobodnar.com/products/BU0836X/ELMA-E37.pdf) from lebonar for open cockpit mastercard as it would like to count 2 times per click

Thanks

iwik
02-19-2010, 12:01 AM
Hi Claus
Have a look here,the short of it is that the Elma encoder Does not work with the Master card but will via the Encoders 2 card if the the pic code is modified.You just have to get another pic and load the code in this thread.
Here is the link.
http://www.opencockpits.com/modules.php?op=modload&name=Forums&file=viewtopic&topic=4872&forum=7

les

verticallimit
02-19-2010, 07:00 AM
Hi Iwik

Thanks.
I have some spare inputs on my BU0836 card, so that may be the solution, for reading the encoder.

_______________________
http://www.md80project.dk

iwik
02-19-2010, 01:28 PM
Hi,
Yes i agree,Leo board is an economical reader of encoders even though it might have some drawbacks ie speed.I find it to be ok for my uses.
Les

Leo Bodnar
02-20-2010, 05:48 AM
Thanks Ian and Alex for your help.
Turns out that leo is out of stock at the moment :o
Hi Marcus,
Sorry, I did not update the inventory - I have just received another batch of them. So they are available again.
They are what you call quarter cycle. Elma E37 are half cycle type.
Cheers
Leo

verticallimit
02-20-2010, 11:55 AM
I have made this program for the" leobodnar" encoder.
It can read the encoder, but only in slow detent.

Here is the program for CRS setting:



Var 0000, name inicialization, Value 0
{

}

Var 0101, name READ_CRS, Link FSUIPC_IN, Offset $0C4E, Length 2
Var 0151, name WRITE_CRS, Link FSUIPC_OUT, Offset $0C4E, Length 2

// **********ENCODER CONTROL**********
VAR 0303, name ENCODER
Var 0301, name ENC1, Link IOCARD_SW, Input 18,
Var 0300, name ENC2, Link IOCARD_SW, Input 19,
{
iF &ENC1 = 1
{
IF &ENC2 = 1
{
&ENCODER = +1
}
}
iF &ENC1 = 0
{
IF &ENC2 = 0
{
&ENCODER = +1
}
}
iF &ENC1 <> &ENC2
{
&ENCODER = -1
}
&WRITE_CRS = ROTATE 1 ,360 ,&ENCODER
}
//************************************

Var 0902, name Schange, Link SUBRUTINE
{
&Schange = 0
&WRITE_CRS = &READ_CRS

}



SIOC is new for me, and I am in the learning process.