OpenPnP v2 - machine configuration collaboration

Post Reply
CzokNorris@me.com
Posts: 2
Joined: Sun Sep 20, 2020 3:32 am

OpenPnP v2 - machine configuration collaboration

Post by CzokNorris@me.com »

Hello everyone,
its always good to use the newest version of software. In case of OpenPnP there is a v2 avaialble now and the community has moved on from v1.
Whether it is adding feeders, a DIY solderpaste dispenser or e.g. a heat gun to the head of the liteplacer, any modifications are now easier to do when using OpenPnP v2.
However I cannot find anyone who has successfully got the Liteplacer to work with v2. Most people tend to use the readily avaialbe configs on the net and stick with OpenPnP v1.

Lets make a good v2 config together.
I created a google doc, where you guys can comment on what I am adding over time (I hope noone wants to do vandalism to the document):
https://docs.google.com/document/d/1psH ... sp=sharing

Thanks everyone,
Thomas

yol..
User avatar
psychogenic
Posts: 14
Joined: Sat Nov 09, 2019 9:23 pm
Location: Montreal, QC, CA
Contact:

Re: OpenPnP v2 - machine configuration collaboration

Post by psychogenic »

Hello Thomas,

OpenPnP v2 is all I use, and I have made hundreds of boards by this point without much issue (except the blasted YUV cams).

You can get my config and more info here:

https://inductive-kickback.com/2020/09/ ... and-place/

Related videos:
https://www.youtube.com/watch?v=uUfGu2s ... fC&index=5
and
https://www.youtube.com/watch?v=3Zjd8QPE_vI

Hope this helps get you going
OlavS
Posts: 6
Joined: Sat Jul 04, 2020 9:14 am

Re: OpenPnP v2 - machine configuration collaboration

Post by OlavS »

Hi, and thanks to you both for the initiative.

Pat (psychogenic) has been a great help to me, especially with the machine.xml file etc.

When I first tried openpnp 2.0 in Win 10 I had massive USB 2.0 camera stream failures, even using different USB ports for each camera. So I installed ubuntu 20.04 and tried that, and that has been super stable with excellent frame rates on both cameras.

The only thing I am missing now is how to get the contact nozzle probe working.... Pat's machine.xml file has the ContactProbeNozzle defined, but I can't see any commands defined to read the pin so it doesn't work for me. When I try the discard command/button the head goes to the correct place and openpnp reports an error "Can't find contact probe actuator A1"....has anyone got this to work on Openpnp 2.0??

So far I've tried
ACTUATOR_READ_COMMAND $ADC0
ACTUATOR_READ_REGEX (?>Value>\d+)
but I only get a timeout on the read command. I'm not even sure the ADC0 is enable on the FW I have...it's truy a shot in the dark. Ideally it should be read as a digital input pin, but how, what's the command??

I'm not quite sure if it's important WHERE the cameras and actuators are defined. They can be added to the head or the machine...so I have placed the head mounted camera on the head, and the other on the machine. And my contact probe nozzle is added to the headm as is the pump and solenoid at this point (I mounted both on the head). What is correct? Does it matter on a single nozzle machine like the LitePlacer?

Juha, you must be an expert on the tinyg commands, do you know how what the command is to read the Z linit switch? 8-)

Thanks,
Olav
Post Reply