OpenPnP with LinuxCNC via linuxcncrsh?

More
3 years 6 months ago #269024 by my1987toyota
and this is dm17ry's rig. It's far more capable then what I run but it's still straight up Linuxcnc and extra python and O-code

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #269030 by blazini36
This is my PnP at the moment, still waiting on heads and vacuum pumps but I should be able to get the software stuff started. Maybe at some point I can kit it up and sell it, probably do well against something like a LumenPnP for what that costs. The PC an everything is under the Top platform. It's all belts/steppers so I'm not looking for speed but it's all linear rail so hopefully I can get some good accuracy.I've seen dm17ry's videos, that's damn impressive but that's not going to be easy to replicate even though the configs are online. Honestly I would't touch anything Py2/GTK2 based with a 10ft pole anymore. I have another LCNC machine that's focused on machine vision, nothing to do with PnPs though. Right now I'm going through the painful process of converting the custom GTK2/Py2 UI to Qt/Py3.From This: 
 
 

To This:
 
 

I made the UI's but programming isn't my thing so I've had Python guys helping me which is really the problem with the whole PnP thing. I just need mine to do the thing for me, I don't want to go down some crazy rabbithole of code that I can't deal with personally. It really would be great if someone made a purpose built UI for LinuxCNC for PnPs that was configurable like Gmoccapy.

As for capabilities I usually design my PCBs with a 0402 minimum because I hand assemble them and 0201 really sucks to do by hand. 0402 I can stick with. Feeders I'll worry about down the road. There's a bunch of 3D printed feeder types out there that look capable, but initially I'd probably just do strip feeders and trays or something. 

I have a 7i96 laying around since I switched a prototype machine over to a 7i96s but I don't want to use it here, as I don't want to use external drivers. I'm still looking into Remora because all this thing really needs is a 3D printer style controller. Otherwise I'd either make my own controller if I can find a LCNC compatible firmware project or use smaller Mesa card with pin headers and make a Field IO board for it with onboard drivers.

It'd be nice if we could get some kind of unified effort into a pick and place specific LinuxCNC interface. I'd certainly be down to help, but I obviously won't be writing the code for it. I've seen your posts but I haven't really followed it that well since it was a work in progress and being that everyone else uses OpenPnP that's what I planned on doing. What I don't really want to get too into is a bunch of scripts with no documentation that it's really hard to figure out what to do with. Barring a purpose built UI for LCNC, it seems like OpenPnP commanding LCNC via linuxcncrsh is a really good alternative unless some limitations pop up.
The following user(s) said Thank You: my1987toyota

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #269033 by my1987toyota
blazini36 I totally agree 0201 SUUUCKS. The Machine looks good. The strip feeders are a good option. the only reason I
currently use auto feeders is because they were already installed on the machine. Well that and building hundreds of boards
a day strip feeders would get old quick. Unfortunately I am not a coder / programmer either. I do tend to be persistent when
I NEED to figure a problem out. But divide that across multiple simultaneous projects and you can see why my stuff always
takes awhile.
The big risk with trying to make a product and bring it to market is the problem of saturation. If it's a niche market and their
already exist options ( Charm High, Opulo, NeoDen, ECT ) it will become a hard sell. So please be careful if you go
that route.

 That said I wish you the best with your project.
The following user(s) said Thank You: tommylight, blazini36

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #269040 by blazini36
Well the PNP is something I already had to design and model alot of machined parts for to make my own, most of which can just be waterjetted. As for a "product" it's nothing I'd take super seriously. There's a pretty hard gap in the hobby PnP market as you go from a LumenPnP for $2k that's all plastic 3d printed stuff  to the $4k+ machines you mentioned with proprietary controls. So basically if ya wan't something that's not made mostly out of plastic that has some DIY friendly electronics in it, I could probably throw some pre-assembled stuff in a box for you that'll get ya 80% where ya wanna be. Not looking to build a business on PnP machines, I just made this thing to make the other stuff I do a bit easier.


 
The following user(s) said Thank You: tommylight, my1987toyota

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago - 3 years 6 months ago #269744 by plhsystems
Hi,

I'm working on something similar and have progressed to the point where I can get OpenPNP to successfully connect to 2x LinuxCNC machines using linuxcncrsh and move all axes (X, Y, Z x4 and C x4). My goal is to place just over 7000 LEDs (0404) on a 275mm circular LED display board and with that in mind, I will have 4x nozzles. Unlike most, I really don't like the idea of using a PC, they are really not up to sitting in dusty/dirty machine shops and the ones that are, are pretty expensive. My solution is to use a RaspberryPi (actually an BananaPi-M5, almost the identical, but currently much cheaper and available to buy!), although currently I am running LinuxCNC in simulation mode on virtual machines.

OpenPNP supports lots of nozzles, LinuxCNC however only supports 9 axes, as OpenPNP with 4 nozzles takes 8 of those axes for the nozzles alone, I have decided to split the system into 3. The first SBC (RaspberryPi or equivalent) to run OpenPNP, the second to run the X and Y axes , actuators, etc and the third to control the nozzles. Unfortunately, OpenPNP only supports one upward facing camera which means it can only orient one nozzle at a time and I really want to orient all 4 nozzles simultaneously. This is something I will have to work on, but being a programmer, should be something I can do.

I built one of the LumenPNP machines over a year ago now, I found it flimsy and slow. I wanted to attach (a now somewhat old) video of my setup, but I can't, I may upload it to YouTube later (link below). It was running off a PC/smoothie board at that time, but the movements are pretty quick. I want to go faster, but will definitely need bigger steppers and ultimately servos.

I have found that useful information on any of this is sparse and I am only too happy to help where I can.


 
Last edit: 3 years 6 months ago by plhsystems. Reason: Added video link

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #269773 by blazini36
Cool setup, have you seen this? forum.linuxcnc.org/38-general-linuxcnc-q...ible-via-nml?start=0
iforce2d is working on a server to replace linuxcncrsh for an OpenPnP type deal.

If you're using 4 nozzles with the belt loop type in you're video (same as mine) isn't that 1 Z axis per 2 nozzles? So 4 Nozzles is 6 axes + 2 for X and Y. You should be able to do that with 1 instance of LinuxCNC.

My machine is pretty much built, I'm finishing up my controller which is a plug in BoB for a 7i92. My PC is an Odroid H3 which should be more than capable of running OpenPnP and LinuxCNC. I use an Odroid H3 in pretty much everything from my Milling machine to some custom machines, the environment is no more of an issue with an H3 than it is with a Rpi.

I saw the LumenPnP, about the only thing I liked about it was the general size, a couple of 2020 rails and a whole lot of 3D printed connectors with plastic wheels doesn't seem all that interesting to me.

 

Please Log in or Create an account to join the conversation.

Time to create page: 0.273 seconds
Powered by Kunena Forum