This project seems to have lapsed 5 years ago.
https://github.com/kinsamanka/PICnc-V2/wiki
Any interest in resurrecting it?
John Dammeyer
"ELS! Nothing else works as well for your Lathe"
Automation Artisans Inc.
www dot autoartisans dot com
Hi Tomp,
I would have absolutely no problem doing a schematic and PCB layout in Altium. No problem in writing the software. I have a bunch of PIC32 development systems and eval boards around here. Just did a project about two years ago that captured CAN messages with a PIC32 and via very high speed SPI moved them into a Raspberry Pi with time/date and GPS stamps.
My web site home page shows one of my larger CAN based projects. I also manufacture an Electronic Lead Screw kit.
What I've been mulling over is something like a Beaglebone Back with a larger LCD screen, perhaps even 48 buttons instead of 35, and more of a Break Out Board I/O interface. The general idea is a DRO and Power Feed capability for all axis including spindle detection for power tapping. Small box relative to PC, Keyboard, Mouse and Screen.
But, with an Ethernet port and a MESA like interface so it becomes the hardware interface to LinuxCNC or maybe also MACH3/4.
John Dammeyer
http://www.autoartisans.com/ELS/
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/a9ab96ac-a2a4-4fec-8946-9aff305d17ac%40googlegroups.com.
I do have a MESA 7i92H that works with LinuxCNC on a dual boot PC. I have to switch to standard parallel port for MACH3 or use a USB Smooth Stepper (more expensive than the 7i92H).
I've also had my mill running with the BeagleBone Black, MachineKit and the Xylotex Cape. There are issues with the cape, not with the BBB that had me change to a PC.
The BBB with Xylotex uses the PRUs for step/dir for up to 4 axis. It can also take on Encoder input Although there is a serial port the CAN bus port is taken up by the Xylotex cape and I think SPI is too. Partly, IIRC, because the HDMI also uses much of the I/O.
There are LCD displays for the BBB but once again they take up all the important I/O and support is minimal. This screen was done in Python.
http://www.autoartisans.com/MachineKit/BB-W1-LCD4.jpg
Once you remove the HDMI and change which pins on the BBB can be used for step/dir and spindle encoder the potential of using SPI or I2C for keypad matrix and LCD display along with at least one Serial Port and one CAN port for CANopen you can address MODbus VFDs and CANopen based hardware for tool changers and other peripherals.
That means the basic Machinekit port to the BBB wouldn't have to be touched, the HAL and INI files would take care of remapping the step/dir pins but the AXIS user interface would have to go. A new interface that handled say 48 buttons, a graphical LCD display and an encoder knob like I have on my ELS could provide the basics.
In fact, to start with and to not have to build large amounts of hardware, I'd probably use my ELS with a 20x4 character screen (instead of the 20x2) and the 35 buttons along with the MPG knob.
For example:
http://www.autoartisans.com/ELS/photos/ELS110D.JPG
http://www.autoartisans.com/MachineKit/FourLines2.jpg
This photo shows the RS232 connection and if the Y axis step/dir pulses aren't used and the CAN driver chip is installed I've had it operating as a CANopen User Interface Device.
http://www.autoartisans.com/ELS/photos/ELSBottom.jpg
A prototype cape that has headers to plug in place of the PIC CPU on my ELS could be the starting point as in the past I've created companion boards that plug into jumper the header on the bottom of the ELS.
http://www.autoartisans.com/MachineKit/IO_Interface-1.jpg
To expand a companion board with a ribbon cable to the 40 pin PIC IC socket then gives access to all the I/O and the header. The BBB could plug into that.
And finally, since the BBB still has Ethernet it runs MachineKit but can perhaps talk MESA Ethernet protocol to a PC running LinuxCNC or MachineKit for the full blown AXIS display. So you get the best of both worlds. A small LCD/Keypad/MPG based module not much bigger than a DRO for pseudo manual operation of the mill but also attach a laptop or roll up a PC and you have full blown CNC.
This is all still kicking the tires. Maybe a PIC32 would be an easier solution.
John Dammeyer
From: machi...@googlegroups.com [mailto:machi...@googlegroups.com] On Behalf Of mngr
Sent: February-29-20 2:46 AM
To: Machinekit
Subject: [Machinekit] Re: PICnc with Machine Kit.
Hi,
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/228f471a-3292-4373-9fe8-08bf92f8fd3c%40googlegroups.com.
> 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/228f471a-3292-4373-9fe8-08bf92f8fd3c%40googlegroups.com <https://groups.google.com/d/msgid/machinekit/228f471a-3292-4373-9fe8-08bf92f8fd3c%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/M1N8TT7--3-2%40tuta.io.
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/018d01d5f0f0%24fcb07e20%24f6117a60%24%40autoartisans.com.
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: machi...@googlegroups.com [mailto:machi...@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/CA%2BQ02MMj9LA4vRvP1uasy32and3MioJD5%3Dma3T%3DaMfJ9hxF1jQ%40mail.gmail.com.
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/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 machi...@googlegroups.com.
I thought I was quite clear about this. This PICnc version requires Ethernet. LinuxCNC through a MESA Ethernet 7i92H or MACH3-4 through an Ethernet Smooth Stepper control hardware. I am going to guess that the MESA driver for the 7i92H also exists for MachineKit.
The MESA board I have has the stepping-PWM engines implemented in an FPGA. What I´d like, but what may not be possible, is to replace the MESA 7i92H with the updated PICnc.
If indeed the stepping engine is now within the PIC as well as the spindle quadrature etc. and the board is in effect the Break Out Board for the machine then there is absolutely no reason you can´t have a single input serve as a local-remote switch. In remote it behaves like, say a MESA 7i92H and the buttons and display appear to behave like a pendent on LinuxCNC. In local it´s a DRO & PowerFeed machine controller with a bunch of useful buttons to simplify manual operation.
And internally there's a remote config parameter that can be set to LinuxCNC or MACHx. Ie. MESA 7i92H or SmoothStepper.
Now maybe this won't be possible without also having an FPGA duplicate what is done with say the 792H.
Maybe this won't be possible at all with MachineKit.
Hope that clarifies things a bit.
John
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/ebbcaad7-6dff-47d7-932c-742d4faf3e95%40googlegroups.com.
I thought I was quite clear about this.
This PICnc version requires Ethernet. LinuxCNC through a MESA Ethernet 7i92H or MACH3-4 through an Ethernet Smooth Stepper control hardware. I am going to guess that the MESA driver for the 7i92H also exists for MachineKit.
The MESA board I have has the stepping-PWM engines implemented in an FPGA.
What I´d like, but what may not be possible, is to replace the MESA 7i92H with the updated PICnc.
If indeed the stepping engine is now within the PIC as well as the spindle quadrature etc.....
and the board is in effect the Break Out Board for the machine then there is absolutely no reason you can´t have a single input serve as a local-remote switch. In remote it behaves like, say a MESA 7i92H and the buttons and display appear to behave like a pendent on LinuxCNC. In local it´s a DRO & PowerFeed machine controller with a bunch of useful buttons to simplify manual operation.
Now maybe this won't be possible without also having an FPGA duplicate what is done with say the 792H.
Maybe this won't be possible at all with MachineKit.
Hi Justin,
Clearly we're on different pages.
Thanks for your input.
John
From: machi...@googlegroups.com [mailto:machi...@googlegroups.com] On Behalf Of justin White
Sent: March-03-20 5:35 PM
To: Machinekit
Subject: Re: [Machinekit] Re: PICnc with Machine Kit.
I thought I was quite clear about this.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/8da44c79-f44c-4aa1-ba94-b8185fe1bdf8%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to machi...@googlegroups.com.
This is the only viable PIC32 is since it has the QEP module and PWM for motor control. https://www.microchip.com/wwwproducts/en/PIC32MK1024MCF064
Unfortunately not Ethernet.
John
"ELS! Nothing else works as well for your Lathe"
Automation Artisans Inc.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/fa1ca289-f15b-422a-b875-cb7ead005dbe%40googlegroups.com.
It is my understanding that
Peter's 'softdmc' is motion only. Nice 50 us cycle time,
axis gearing, takes care of jerk, etc but needs all the
other stuff wrapped around it. Years ago there were
rumors that someone was writing a pkg for softdmc that
would use all the lcnc development except motion. I
never found out the source of the rumor. I do think a
very bright team of about 4 to 6 coders could get a
package working. Softdmc has always been free but Mesa
now lists it a free in some places on the site and $100
in the price list. Just lifting out the lcnc motion and
dropping in softdmc sound easy but as ususal the devil
is in the details.
My D525 cpu rolled over and died so I'm working on a Rpi4B, 7i90,
7i33 servo setup using both rotary encoders and glass scales (X
and Y). Z will remain rotary encoder. No promises on time line.
HTH
Dave
--
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/8da44c79-f44c-4aa1-ba94-b8185fe1bdf8%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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/02d201d5f1cb%24c371d510%244a557f30%24%40autoartisans.com.