Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread John Dammeyer
BTW, Check out https://lsicsi.com/datasheets/LS7366R.pdf This device is interfaced via SPI and has a 32 bit quadrature counter module. If you go in the direction of Raspberry Pi with LinuxCNC a device like this can provide the spindle information. So if someone was thinking of building a CNC

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread andy pugh
On Mon, 25 May 2020 at 10:42, Chris Albertson wrote: > Ideally you have just one thin cable going from controller to the machine. > If you like those chips just glue on on each encoder and turn then encoder > into a serial interfaced device. Or use a serial buss so 6 encoders can > share one

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread Chris Albertson
Yes, you can buy a hardware Quadrature chip. But any modern microcontroller like the STM32 will have hardware quadrature decoders. The larger versions of the chip will have multiple quadrature decoders. The chip will also have SPI. These things cost under $1 or about $3 if you want it on PCB

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread Gene Heskett
On Monday 25 May 2020 03:35:05 John Dammeyer wrote: > BTW, Check out > https://lsicsi.com/datasheets/LS7366R.pdf > This device is interfaced via SPI and has a 32 bit quadrature counter > module. If you go in the direction of Raspberry Pi with LinuxCNC a > device like this can provide the

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread R C
interesting, so how easy would it be to use a board/device like this in linux-cnc? if those are just a few $$$  it would be fun to mess with. On 5/25/20 3:39 AM, Chris Albertson wrote: Yes, you can buy a hardware Quadrature chip. But any modern microcontroller like the STM32 will have

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread R C
In the video I posted earlier (it's a year old)...  the guy using that chip says it cost  him $40,  he showed it on line for about $28. (and that's just for the LS7366R by itself.) https://www.youtube.com/watch?v=RLCPKa9SoF0 On 5/25/20 2:31 AM, Gene Heskett wrote: On Monday 25 May 2020

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread R C
I actually saw a youtube video where someone was using this chip.  I believe he said it was like $28, and you'd still need something to read/run it with. (also,  not running linux cnc on the pi,  the little raspberry pi project has nothing to do with my linux cnc machine, I just did that to

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread Gene Heskett
On Monday 25 May 2020 06:50:16 andy pugh wrote: > On Mon, 25 May 2020 at 10:42, Chris Albertson wrote: > > Ideally you have just one thin cable going from controller to the > > machine. If you like those chips just glue on on each encoder and > > turn then encoder into a serial interfaced

Re: [Emc-users] post plumb, was unhomeing

2020-05-25 Thread Gene Heskett
On Sunday 24 May 2020 18:15:44 Gene Heskett wrote: > On Sunday 24 May 2020 13:41:07 Gene Heskett wrote: > > On Sunday 24 May 2020 12:51:23 andy pugh wrote: > > > On Sun, 24 May 2020 at 17:28, Gene Heskett > > > > wrote: > > > > 'twouldn't be the first time an IDC cable was iffy > > > > > > ... >

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread Jon Elson
On 05/25/2020 11:01 AM, R C wrote: In the video I posted earlier (it's a year old)... the guy using that chip says it cost him $40, he showed it on line for about $28. (and that's just for the LS7366R by itself.) This just doesn't make sense anymore. You can take a bottom of the line

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread R C
that's what I thought too, it's pretty expensive. (probably low production runs etc., obsolete?). I am actually trying to see how much I can push it by using a rpi for that, that's about the same price. Ron On 5/25/20 1:07 PM, Jon Elson wrote: On 05/25/2020 11:01 AM, R C wrote: In the

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread andy pugh
On Mon, 25 May 2020 at 20:15, R C wrote: > I am actually trying to see how much I can push it by using a rpi for > that, that's about the same price. An Arduino is possibly a better choice. You can get Nanos for about £5. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread John Dammeyer
> -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > On Mon, 25 May 2020 at 10:42, Chris Albertson > wrote: > > > Ideally you have just one thin cable going from controller to the machine. > > If you like those chips just glue on on each encoder and turn then encoder >

[Emc-users] FERROR MIN_FERROR value?

2020-05-25 Thread N
Do anyone here have any suggestion for FERROR and MIN_FERROR values? Regards Nicklas Karlsson ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread R C
never done anything with those, and have a few RPIs lying around On 5/25/20 1:27 PM, andy pugh wrote: On Mon, 25 May 2020 at 20:15, R C wrote: I am actually trying to see how much I can push it by using a rpi for that, that's about the same price. An Arduino is possibly a better choice. You

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread John Dammeyer
> > be a good idea. There are also devices from the same manufacturer > > that can change quadrature into up/down pulses streams to use regular > > counters inside the Pi. > > But quadrature has one huge advantage over regular counters, you get both > speed AND direction from every edge that

Re: [Emc-users] Encoder HAL programming.

2020-05-25 Thread John
Yes but it is another level of development. Sent from John's iPhone 4S On 2020-05-25, at 12:07 PM, Jon Elson wrote: > On 05/25/2020 11:01 AM, R C wrote: >> In the video I posted earlier (it's a year old)... the guy using that chip >> says it cost him $40, he showed it on line for about

Re: [Emc-users] FERROR MIN_FERROR value?

2020-05-25 Thread Gene Heskett
On Monday 25 May 2020 18:33:29 Jon Elson wrote: > On 05/25/2020 02:50 PM, N wrote: > > Do anyone here have any suggestion for FERROR and MIN_FERROR values? > > It depends on your "user units", as well as the general > accuracy and speed of the machine. > FERROR is a multiplier to velocity in user

Re: [Emc-users] FERROR MIN_FERROR value?

2020-05-25 Thread Jon Elson
On 05/25/2020 02:50 PM, N wrote: Do anyone here have any suggestion for FERROR and MIN_FERROR values? It depends on your "user units", as well as the general accuracy and speed of the machine. FERROR is a multiplier to velocity in user units/second that is added to MIN_FERROR. MIN_FERROR is