RE: [Machinekit] Re: PICnc with Machine Kit.

2020-03-02 Thread John Dammeyer
Let me go back one step and outline my idea.  First I have machinekit running 
on a BBB with a Xylotex Cape that has a DB-25. There are some problems with the 
high verses low for switches NC/NO so I ended up not using it.
 
I'm not directly thinking of the MachineKit, LinuxCNC or MACH3/4 group of 
users.  I'm thinking of the users who don't even sign onto the CNC groups and 
aren't interested in CNC.  Often because they don't know what they don't know.
 
What I'm thinking of is an ELS-MILL that has DROs, Step/Dir signals, Spindle 
Speed control, and ideally spindle speed feedback along with the usual group of 
inputs and outputs like limit switches and coolant etc.
 
Really just a DRO setup with power feed on each axis.  For someone using a 
manual mill the addition of power feed to an axis is such a tremendous 
improvements and there are all sorts of ways of doing this.  Model Engineer's 
Workshop magazine etc all have had articles along that theme.
 
Now grab that laptop or PC neither of those have SPI or IIC at least not 
without an add on card of some sort.  But they pretty well all have Ethernet.  
So BBB, Pi, PC, Laptop embedded PC box all with LCD Display or HDMI, USB for 
keyboard and mouse all running some form of CNC software with the motion 
commands out Ethernet to a target.  
 
And if that target is the ELS-MILL (which serves as a Break out Board too) then 
you can easily migrate a non-CNC user to the wonders of CNC.  And if you use a 
BBB or Raspberry Pi running machinekit in a way that appears to be an ELS-MILL 
but with a local/remote switch changes personalities you now have it all 
bundled into one board.
 
But that might be asking too much hence the idea of using a PIC32 or something 
like that for the ELS-MILL.
 
John
 
 
From: machinekit@googlegroups.com [mailto:machinekit@googlegroups.com] On 
Behalf Of justin White
Sent: March-02-20 5:56 PM
To: John Dammeyer
Cc: Machinekit
Subject: Re: [Machinekit] Re: PICnc with Machine Kit.
 
Yeah, there is no reason to use ethernet when almost everything has a uart. SPI 
is a viable rt interface and there is no reason to tie up the processor boards 
ethernet port. Mesa is using spi with the raspberry pi boards, the 7c80 and the 
7c81, so you are pretty much guaranteed it works. Also being that spi comes off 
a gpio header there is no rj45 connector to add to the pic card.
 
I'm lost on the USB-c talk.an rt interface is about transferring small 
packets quickly. USB regardless of the generation isn't required, or even 
really suitable. Mesa doesn't even use gigabit on its ethernet cards, its 
10/100.
 
I've never heard of this PICnc before now but it seems like it could have been 
a good idea but that micro was too small, and imo too slow. Step rates were 
only mentioned at 40khz which is OK I suppose but mesa is doing them at 10mhz 
on a spartan 5/6. Stepgens and encoders only wind up running at a fraction of 
the speed of the controller and a 40mhz pic32 seems to get 40khz, while a 
500-600mhz fpga is getting them at 10mhz.
 
I realize cost is a thing here but what is the price difference really between 
the original pic32 used and a higher end micro?
 
On Mon, Mar 2, 2020, 7:16 PM John Dammeyer  wrote:
A bit of digging through my boxes after a double check of the data sheet shows 
I find that the PIC32 won't serve my needs.   I thought it had a quadrature 
encoder module but it doesn't.   I have PIC32MX boards and a bunch of dsPIC33F 
series boards.  
 
The problem is the PIC32MK which has motor control features and the quadrature 
encoder doesn't do Ethernet. However one could add the ENC28J60 to deal with 
Ethernet if it was wanted for connection to a MachineKit, LinuxCNC or MACH3 PC. 
 Or just use a Pi or Beagle running MachineKit or LinuxCNC and SPI and forget 
about Ethernet connectivity.
 
I have these modules.
http://www.autoartisans.com/PIC32/AutoBoard_CAN_EEROM.jpg
http://www.autoartisans.com/PIC32/PIC32_Sets.jpg
 
And a bunch of others with dsPIC33F series modules.
 
This will require some more research…
John Dammeyer
 
 
 
 
-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/018d01d5f0f0%24fcb07e20%24f6117a60%24%40autoartisans.com
 

 .
-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machine

Re: [Machinekit] Re: PICnc with Machine Kit.

2020-03-02 Thread justin White
Yeah, there is no reason to use ethernet when almost everything has a uart.
SPI is a viable rt interface and there is no reason to tie up the processor
boards ethernet port. Mesa is using spi with the raspberry pi boards, the
7c80 and the 7c81, so you are pretty much guaranteed it works. Also being
that spi comes off a gpio header there is no rj45 connector to add to the
pic card.

I'm lost on the USB-c talk.an rt interface is about transferring small
packets quickly. USB regardless of the generation isn't required, or even
really suitable. Mesa doesn't even use gigabit on its ethernet cards, its
10/100.

I've never heard of this PICnc before now but it seems like it could have
been a good idea but that micro was too small, and imo too slow. Step rates
were only mentioned at 40khz which is OK I suppose but mesa is doing them
at 10mhz on a spartan 5/6. Stepgens and encoders only wind up running at a
fraction of the speed of the controller and a 40mhz pic32 seems to get
40khz, while a 500-600mhz fpga is getting them at 10mhz.

I realize cost is a thing here but what is the price difference really
between the original pic32 used and a higher end micro?

On Mon, Mar 2, 2020, 7:16 PM John Dammeyer  wrote:

> A bit of digging through my boxes after a double check of the data sheet
> shows I find that the PIC32 won't serve my needs.   I thought it had a
> quadrature encoder module but it doesn't.   I have PIC32MX boards and a
> bunch of dsPIC33F series boards.
>
>
>
> The problem is the PIC32MK which has motor control features and the
> quadrature encoder doesn't do Ethernet. However one could add the ENC28J60
> to deal with Ethernet if it was wanted for connection to a MachineKit,
> LinuxCNC or MACH3 PC.  Or just use a Pi or Beagle running MachineKit or
> LinuxCNC and SPI and forget about Ethernet connectivity.
>
>
>
> I have these modules.
>
> http://www.autoartisans.com/PIC32/AutoBoard_CAN_EEROM.jpg
>
> http://www.autoartisans.com/PIC32/PIC32_Sets.jpg
>
>
>
> And a bunch of others with dsPIC33F series modules.
>
>
>
> This will require some more research…
>
> John Dammeyer
>
>
>
>
>
>
>
>
>
> --
> website: http://www.machinekit.io blog: http://blog.machinekit.io github:
> https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to machinekit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/machinekit/018d01d5f0f0%24fcb07e20%24f6117a60%24%40autoartisans.com
> 
> .
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/CA%2BQ02MMj9LA4vRvP1uasy32and3MioJD5%3Dma3T%3DaMfJ9hxF1jQ%40mail.gmail.com.


RE: [Machinekit] Re: PICnc with Machine Kit.

2020-03-02 Thread John Dammeyer
A bit of digging through my boxes after a double check of the data sheet shows 
I find that the PIC32 won't serve my needs.   I thought it had a quadrature 
encoder module but it doesn't.   I have PIC32MX boards and a bunch of dsPIC33F 
series boards.  
 
The problem is the PIC32MK which has motor control features and the quadrature 
encoder doesn't do Ethernet. However one could add the ENC28J60 to deal with 
Ethernet if it was wanted for connection to a MachineKit, LinuxCNC or MACH3 PC. 
 Or just use a Pi or Beagle running MachineKit or LinuxCNC and SPI and forget 
about Ethernet connectivity.
 
I have these modules.
http://www.autoartisans.com/PIC32/AutoBoard_CAN_EEROM.jpg
http://www.autoartisans.com/PIC32/PIC32_Sets.jpg
 
And a bunch of others with dsPIC33F series modules.
 
This will require some more research…
John Dammeyer
 
 
 
 

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/018d01d5f0f0%24fcb07e20%24f6117a60%24%40autoartisans.com.


Re: [Machinekit] Q: Regarding the diff between repos.

2020-03-02 Thread Moronic Smurf
I see.. yeah im mainly interested in the UI development and component 
development.. As i find most of the UI's atrocious.. But im not a fan of 
Python either so trying to wiggle my way around this somehow.
but i guess you would start looking in machinekit-cnc then rather than the 
HAL part.  :)

Thanks man.

Den måndag 2 mars 2020 kl. 15:50:03 UTC+1 skrev ce...@tuta.io:
>
> Hello, 
> the main development is happening in the Machinekit-HAL repository, but 
> that is only because active developers are more interested in that kind of 
> work. The Machinekit-CNC branch is little bit stale as no one is really 
> interested in it at the moment. There was discussion about creating kind of 
> LinuxCNC jail, where most of the LinuxCNC application (the non-realtime 
> part which consists of the majority of code) would live independent and 
> only the most-trusted prisoners (read RT components) would be allowed into 
> Machinekit-HAL proper. 
>
> Cern. 
>
> Mar 2, 2020, 09:52 by moroni...@gmail.com : 
>
> > Thanks alot for clearing that up. 
> > So the old linuxcnc fork is not maintained at all. Does that mean 
> machinekit is fully drifting from lcnc stuff, like the motion planner and 
> so on or are this moved in bit by bit as needed? 
> > 
> > Kindly // Andreas 
> > 
> > Den söndag 1 mars 2020 kl. 22:06:34 UTC+1 skrev ce...@tuta.io: 
> > 
> >> Hello, 
> >> Mar 1, 2020, 17:44 by >> moroni...@gmail.com <>>> : 
> >>   
> >> > So new to Machinekit. Been looking at it coming from LinuxCNC. 
> >> > 
> >> > And been going thru the documentation and it seems like machinekit is 
> alot more focused on useability than LinuxCNC. 
> >> > 
> >> > One thing i couldnt really differentiate in either repo readme's or 
> documentation would be. 
> >> > 
> >> > machinekit/machinekit -> What makes this repo different from 
> >> > 
> >> I would like to update the README to specify that the repository is no 
> longer maintained and then archive it on Github. 
> >>   
> >> > 
> >> > machinekit/machinekit-hal 
> >> > and 
> >> > machinekit/machinekit-cnc 
> >> > 
> >> These are only repositories where development happens (including 
> buxfixes). 
> >>   
> >> > 
> >> > As i understand - the machinekit-hal would be just the machine 
> control parts and the machinekit-cnc would be just the UI parts. 
> >> > But that doesnt seem to be the case. 
> >> > 
> >> Yeah, the split wasn't so easy because of historical reasons. 
> >>   
> >> > 
> >> > I also read about running machinekit as "rip" - couldnt find any info 
> regarding this in the documentation tho, what it would mean for the user 
> for one. 
> >> > 
> >> Does this help? >> http://www.machinekit.io/docs/>> 
> developing/machinekit->> developing/>>  RIP means just running from 
> specific directory without installing on the system. 
> >>   
> >> Cern. 
> >>   
> >> > 
> >> > Sorry bout noob questions. 
> >> > 
> >> > Kindly // Andreas 
> >> > 
> >> > 
> >> > 
> >> > -- 
> >> >  website: > >> http://www.machinekit.io>> >  blog: > >> 
> http://blog.machinekit.io>> >  github: > >> https://github.com/machinekit>> 
>   
> >> >  --- 
> >> >  You received this message because you are subscribed to the Google 
> Groups "Machinekit" group. 
> >> >  To unsubscribe from this group and stop receiving emails from it, 
> send an email to > >> machi...@>> googlegroups.com <>>> > . 
> >> >  To view this discussion on the web visit > >> 
> https://groups.google.com/d/>> msgid/machinekit/1e3fd7b1->> 
> 3a50-4115-b784-faaf3c6a6312%>> 40googlegroups.com>>  <>> 
> https://groups.google.com/d/>> msgid/machinekit/1e3fd7b1->> 
> 3a50-4115-b784-faaf3c6a6312%>> 40googlegroups.com?utm_medium=>> 
> email&utm_source=footer>> >> . 
> >> > 
> >>   
> >> 
> > 
> > 
> > 
> > -- 
> >  website: > http://www.machinekit.io>  blog: > http://blog.machinekit.io> 
>  github: > https://github.com/machinekit 
> >  --- 
> >  You received this message because you are subscribed to the Google 
> Groups "Machinekit" group. 
> >  To unsubscribe from this group and stop receiving emails from it, send 
> an email to > machi...@googlegroups.com > . 
> >  To view this discussion on the web visit > 
> https://groups.google.com/d/msgid/machinekit/a6deef35-2c48-4bb1-b938-e72f6ce54ce9%40googlegroups.com
>  
> <
> https://groups.google.com/d/msgid/machinekit/a6deef35-2c48-4bb1-b938-e72f6ce54ce9%40googlegroups.com?utm_medium=email&utm_source=footer>>
>  
> . 
> > 
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/2f40f481-778e-4772-a940-2ccd9d8bd652%40googlegroups.com.


Re: [Machinekit] Q: Regarding the diff between repos.

2020-03-02 Thread cern via Machinekit
Hello,
the main development is happening in the Machinekit-HAL repository, but that is 
only because active developers are more interested in that kind of work. The 
Machinekit-CNC branch is little bit stale as no one is really interested in it 
at the moment. There was discussion about creating kind of LinuxCNC jail, where 
most of the LinuxCNC application (the non-realtime part which consists of the 
majority of code) would live independent and only the most-trusted prisoners 
(read RT components) would be allowed into Machinekit-HAL proper.

Cern.

Mar 2, 2020, 09:52 by moronicsm...@gmail.com:

> Thanks alot for clearing that up.
> So the old linuxcnc fork is not maintained at all. Does that mean machinekit 
> is fully drifting from lcnc stuff, like the motion planner and so on or are 
> this moved in bit by bit as needed?
>
> Kindly // Andreas
>
> Den söndag 1 mars 2020 kl. 22:06:34 UTC+1 skrev ce...@tuta.io:
>
>> Hello, 
>> Mar 1, 2020, 17:44 by >> moroni...@gmail.com <>>> : 
>>  
>> > So new to Machinekit. Been looking at it coming from LinuxCNC. 
>> > 
>> > And been going thru the documentation and it seems like machinekit is alot 
>> > more focused on useability than LinuxCNC. 
>> > 
>> > One thing i couldnt really differentiate in either repo readme's or 
>> > documentation would be. 
>> > 
>> > machinekit/machinekit -> What makes this repo different from 
>> > 
>> I would like to update the README to specify that the repository is no 
>> longer maintained and then archive it on Github. 
>>  
>> > 
>> > machinekit/machinekit-hal 
>> > and 
>> > machinekit/machinekit-cnc 
>> > 
>> These are only repositories where development happens (including buxfixes). 
>>  
>> > 
>> > As i understand - the machinekit-hal would be just the machine control 
>> > parts and the machinekit-cnc would be just the UI parts. 
>> > But that doesnt seem to be the case. 
>> > 
>> Yeah, the split wasn't so easy because of historical reasons. 
>>  
>> > 
>> > I also read about running machinekit as "rip" - couldnt find any info 
>> > regarding this in the documentation tho, what it would mean for the user 
>> > for one. 
>> > 
>> Does this help? >> http://www.machinekit.io/docs/>> developing/machinekit->> 
>> developing/>>  RIP means just running from specific directory without 
>> installing on the system. 
>>  
>> Cern. 
>>  
>> > 
>> > Sorry bout noob questions. 
>> > 
>> > Kindly // Andreas 
>> > 
>> > 
>> > 
>> > -- 
>> >  website: > >> http://www.machinekit.io>> >  blog: > >> 
>> > http://blog.machinekit.io>> >  github: > >> 
>> > https://github.com/machinekit>>  
>> >  --- 
>> >  You received this message because you are subscribed to the Google Groups 
>> > "Machinekit" group. 
>> >  To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to > >> machi...@>> googlegroups.com <>>> > . 
>> >  To view this discussion on the web visit > >> 
>> > https://groups.google.com/d/>> msgid/machinekit/1e3fd7b1->> 
>> > 3a50-4115-b784-faaf3c6a6312%>> 40googlegroups.com>>  <>> 
>> > https://groups.google.com/d/>> msgid/machinekit/1e3fd7b1->> 
>> > 3a50-4115-b784-faaf3c6a6312%>> 40googlegroups.com?utm_medium=>> 
>> > email&utm_source=footer>> >> . 
>> > 
>>  
>>
>
>
>
> --
>  website: > http://www.machinekit.io>  blog: > http://blog.machinekit.io>  
> github: > https://github.com/machinekit
>  --- 
>  You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
>  To unsubscribe from this group and stop receiving emails from it, send an 
> email to > machinekit+unsubscr...@googlegroups.com> .
>  To view this discussion on the web visit > 
> https://groups.google.com/d/msgid/machinekit/a6deef35-2c48-4bb1-b938-e72f6ce54ce9%40googlegroups.com
>  
> >
>  .
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/M1QiPin--B-2%40tuta.io.


Re: [Machinekit] Q: Regarding the diff between repos.

2020-03-02 Thread Moronic Smurf
Thanks alot for clearing that up.
So the old linuxcnc fork is not maintained at all. Does that mean 
machinekit is fully drifting from lcnc stuff, like the motion planner and 
so on or are this moved in bit by bit as needed?

Kindly // Andreas

Den söndag 1 mars 2020 kl. 22:06:34 UTC+1 skrev ce...@tuta.io:
>
> Hello, 
> Mar 1, 2020, 17:44 by moroni...@gmail.com : 
>
> > So new to Machinekit. Been looking at it coming from LinuxCNC. 
> > 
> > And been going thru the documentation and it seems like machinekit is 
> alot more focused on useability than LinuxCNC. 
> > 
> > One thing i couldnt really differentiate in either repo readme's or 
> documentation would be. 
> > 
> > machinekit/machinekit -> What makes this repo different from 
> > 
> I would like to update the README to specify that the repository is no 
> longer maintained and then archive it on Github. 
>
> > 
> > machinekit/machinekit-hal 
> > and 
> > machinekit/machinekit-cnc 
> > 
> These are only repositories where development happens (including 
> buxfixes). 
>
> > 
> > As i understand - the machinekit-hal would be just the machine control 
> parts and the machinekit-cnc would be just the UI parts. 
> > But that doesnt seem to be the case. 
> > 
> Yeah, the split wasn't so easy because of historical reasons. 
>
> > 
> > I also read about running machinekit as "rip" - couldnt find any info 
> regarding this in the documentation tho, what it would mean for the user 
> for one. 
> > 
> Does this help? 
> http://www.machinekit.io/docs/developing/machinekit-developing/ RIP means 
> just running from specific directory without installing on the system. 
>
> Cern. 
>
> > 
> > Sorry bout noob questions. 
> > 
> > Kindly // Andreas 
> > 
> > 
> > 
> > -- 
> >  website: > http://www.machinekit.io>  blog: > http://blog.machinekit.io> 
>  github: > https://github.com/machinekit 
> >  --- 
> >  You received this message because you are subscribed to the Google 
> Groups "Machinekit" group. 
> >  To unsubscribe from this group and stop receiving emails from it, send 
> an email to > machi...@googlegroups.com > . 
> >  To view this discussion on the web visit > 
> https://groups.google.com/d/msgid/machinekit/1e3fd7b1-3a50-4115-b784-faaf3c6a6312%40googlegroups.com
>  
> <
> https://groups.google.com/d/msgid/machinekit/1e3fd7b1-3a50-4115-b784-faaf3c6a6312%40googlegroups.com?utm_medium=email&utm_source=footer>>
>  
> . 
> > 
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/a6deef35-2c48-4bb1-b938-e72f6ce54ce9%40googlegroups.com.