On Friday 21 August 2009, Peter C. Wallace wrote:
>OK got it done and it fits in XC9572 we have on little CPLD board but I
> wont be able to test it until Monday
>
>1. Input digital filter
>ok 15 count filter on a,b,index
>
>2. Quadrature decoder (quadrature to up/down)
>ok
>
>3. Up down modulo N counter (for divide by N)
>ok has 8 selectable DIVIDE_RATIOS via three input signals (jumpers on CPLD
> bd)
>
>4. 2 bit up/down counter
>ok
>
>5. 2 bit binary --> quadrature encoder
>ok
>
>6. Optional index stretcher
>
>Works a little strange but should be ok, basically index out is set by
>incoming (filtered) index and cleared when DIVIDE_RATIO input encoder
> counts have occured (either up or down or a mix) As long as only one edge
> is used you will always get a index signal with a minimum width of one
> (divided) count
That sounds almost exactly like what I would need to control the spindles on
both my little lathe, and on the micro-mill. Do you have a target price for
the completed unit?
Question for all of the board makers here though. I need an opto assembly I
can use with an encoder wheel I made and put on the lathe. This wheel was
made with that bit of python code on the wiki, but with the count cut in half
& the hole circles scaled down to fit on the back end of the spindle in a
7x12, so the OD is now 2. 3", all done with a 1/16" mill in a sheet of hard
alu that is about 16 gauge. The holes should be very slightly oblong, but
are not visibly oval to my eye.
I just put a copy of 'genes-encoder.ngc' on my web page if someone wants to
grab it. I didn't change any credits, so that is all intact.
Do any of you have either the whole assembly, or the board and a BOM to make
it? Or even an nc file to make the board would be nice as I could tweek the
interruptor locations for a customized really good fit.
Thanks everybody.
>>> I even think we have some CPLD bds we never used that I can send over
>>> for shipping cost.
>
>Peter Wallace
>Mesa Electronics
>
>(\__/)
>(='.'=) This is Bunny. Copy and paste bunny into your
>(")_(") signature to help him gain world domination.
>
>
>---------------------------------------------------------------------------
>--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment -
> and focus on what you do best, core application coding. Discover what's
> new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
>_______________________________________________
>Emc-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/emc-users
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>
Personally, I like to defiantly split my infinitives. :-)
-- Larry Wall in <[email protected]>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users