Page 1 of 1

Rotary Encoder

Posted: Thu Oct 20, 2011 6:07 pm
by JohnCrow
Hi
Just tried to download the datasheet for the EB073 rotary encoder E-Block and its linked to the EB074 slide switch datasheet.
(The link from the slide switch E-Block doesn't work at all )

Re: Rotary Encoder

Posted: Thu Oct 20, 2011 9:10 pm
by Spanish_dude
Hi,

I checked it out and replacing the "73" by "72" I saw this E-Block : http://www.matrixmultimedia.com/datashe ... 2-30-1.pdf

I haven't seen it before, is it a new one coming out ?
I hope I'm not spoiling new stuff :P .

Anyways, this is something I always wanted !
Those 40 pin microcontrollers are so difficult to put in the socket.

Nicolas

Re: Rotary Encoder

Posted: Thu Oct 20, 2011 9:37 pm
by JohnCrow
Hi Nicolas

I spotted the ZIF board today, looks good, but its only for programming.(Its in the accessories section)

I have a 40pin ZIF in both my V7 programmers. They are not as important for the smaller chips, but it does mean you loose access to the 28pin socket under the zif socket.

If you get this type it will plug straight into the matrix programmer.

http://www.rapidonline.com/Cables-Conne ... 79908aec1a

(Matrix say in the data sheet it may be nessesary to raise it slightly with a 2nd turned pin socket, though I found this wasnt nessesary)
Personally though would not recommend keeping removing it and plugging it back in, as this is bound to wear the TP socket on the programmer.

Did you notice this complete programmer with zifs as well on the e-blocks section

http://www.matrixmultimedia.com/product ... PHPSESSID=

Re: Rotary Encoder

Posted: Fri Oct 21, 2011 8:38 am
by Steve
We will be officially releasing these soon.

One thing to note with the ZIF socket add-on is that this makes the EB006 a programmer only. The connections for the chip i/o lines do not come through to the E-block ports. If you want a ZIF socket and still use the EB006 with other E-blocks, then you should probably just use a 40-pin ZIF socket.

Re: Rotary Encoder

Posted: Fri Oct 21, 2011 2:47 pm
by Spanish_dude
Steve wrote:The connections for the chip i/o lines do not come through to the E-block ports.
That's a bit inconvenient :? .
I'll see if I can get a 40 pin ZIF socket.
JohnCrow wrote:Did you notice this complete programmer with zifs as well on the e-blocks section.
I do like the design of the case, but that's just for programming. There are no outputs to connect the E-block to.

Nicolas.

Re: Rotary Encoder

Posted: Fri Oct 21, 2011 4:27 pm
by Steve
Making the connections to E-blocks for all pins on all sizes of microcontroller would have greatly increase the cost of the add-on. You would either need a separate ZIF socket for each size of chip or a complex arrangement of relays or switches to automatically route the pins.

Re: Rotary Encoder

Posted: Sat Oct 22, 2011 2:44 pm
by dbasnett
JohnCrow wrote:Hi
Just tried to download the datasheet for the EB073 rotary encoder E-Block and its linked to the EB074 slide switch datasheet.
(The link from the slide switch E-Block doesn't work at all )
Me too. Is the EB073 new?

Re: Rotary Encoder

Posted: Sat Oct 22, 2011 7:56 pm
by JohnCrow
Hi
Yes the rotory encoder and the slide switch board are both new.
I'm interested in the rotary encoder board, but I want to see the data sheet before I decide to buy one.
Im sure matrix will get the link sorted very soon

Re: Rotary Encoder

Posted: Mon Oct 24, 2011 9:34 am
by DavidA
Hmm sorry guys, will try to fix this, looks like a badly named datasheet!

Re: Rotary Encoder

Posted: Mon Oct 24, 2011 3:52 pm
by Benj
Hello,

The rotary encoder datasheet is now available and the switch datasheet is now linked correctly. Thanks for letting us know about this issue.

Re: Rotary Encoder

Posted: Mon Oct 24, 2011 6:56 pm
by JohnCrow
Just ordered the Rotary Encoder, is there a flowcode test program available yet ?
Not able to find one in the test program area of the website.
Thanks

Re: Rotary Encoder

Posted: Tue Oct 25, 2011 12:39 pm
by Benj
Hi John,

Yes there certainly is a test program but it currently uses a customized version of the custom component. Here it is.

Re: Rotary Encoder

Posted: Tue Oct 25, 2011 12:56 pm
by JohnCrow
Thanks Ben

That will at least let me test the board and get started.

Re: Rotary Encoder

Posted: Fri Jan 13, 2012 5:54 pm
by Benj
Hello All,

Here is a better custom component for the Quadrature encoder plus some better example files.
PIC_Custom.c
(5.95 KiB) Downloaded 453 times
QuadEncoder_IOC.fcf
(9 KiB) Downloaded 565 times
QuadEncoder_Timer.fcf
(9 KiB) Downloaded 527 times
The custom component functions are all pretty straightforward apart from the Check_For_Changes function which has return values.
0 = No movement detected
1 = Valid movement detected
255 = Invalid movement detected, count corruption due to not sampling inputs fast enough.

Note for the IOC example to work the custom component properties must specify IOC enabled pins. On a 16F877A these pins are RB4 - RB7. The timer example can use any I/O but the timer must be interrupting fast enough so as to never miss an edge. This is obviously dependent on the maximum speed that can be applied to the encoders.

Re: Rotary Encoder

Posted: Mon Mar 05, 2012 12:25 pm
by Walbeek
Hello to all,

Are there any component macro´s available yet for the Rotary encoder board (EB073)?
I´m working with Flowcode V4.5 at the moment.
Please let me know.

Rinie

Re: Rotary Encoder

Posted: Mon Mar 05, 2012 12:44 pm
by Benj
Hello Rinie,

For v4.5 please use the custom component listed in the previous post. Drop the custom component C file into your "Flowcode v4/Components" directory and then when you open the examples they should work correctly. Please note there is no simulation available for this.

For v5 the component is included by default.

Re: Rotary Encoder

Posted: Mon Mar 05, 2012 12:56 pm
by Walbeek
Ok, thaks Ben.
I will use this for now, we are planning on updating to V5 soon.

Rinie