--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c00b6906-d411-4207-a058-093e6dbc5151%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/963b9973-f114-4dbc-a638-e02e8abe6987%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6d5777e1-8b1a-4664-8186-fd27915e9778%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c60296cb-d52c-4b9c-899f-e8f767655eca%40googlegroups.com.
Jason,
Thanks for confirming.
My wiring is a bit different to yours so I will have to modify the config on the smoothie a little.
In order to explain my differences I have knocked up some sketches.
I would appreciate if you, or others could give me some indicators if what I have done is correct.
I will start with your wiring diagram:
You use 4 solenoids in your machine, however I use the robotdigg solenoids in the arrangement below:
I also have my endstops (mix of opto and mechanical) arranged as follows:
Everything on my machine is 12V apart from the LEDs for the up and down vision, they are 24V and I have a separate PSU for them.
My current wiring looks like this:
For completeness and to aid the config discussion below, here is a reference pin map of the smoothieboard:
Ok, so looking at your config file (https://raw.githubusercontent.com/openpnp/openpnp-openbuilds/develop/Smoothie/config) in sections:
Motors
Your motor wiring is the same as mine so don't need to mess with that, But I am curious, why do you invert some dir pins but not all?
The E1 dir pin is not inverted but all others are, is this correct? Oh wait, as I write this I think I realise. You have inverted this pin for motors which spin the wrong way, rather than re-wire the connectors correct?
Endstops
Looks like you have your Y endstop on the max but mine is on min. So, I do the following (and use a different header on the smoothieboard):
Change this (yours):
with this:
That seems simple enough. Do I need to do anything else? I note you have inverted the Z-min pin but not others. Is this correct for my setup?
I use cheap aliexpress opto endstops on X and Y, and use a decent mechanical switch on the Z, wiring shown in the slide further up the page.
I could just do a lot of trial and error, but I am very paranoid about driving my machine with the wrong setup. I am paranoid that if I get the endstops wrong and I drive it to home, it crashes and destroys some part of my machine. I was heavily reliant on good will of people overseas to send me bespoke laser cut parts and if I break one of those in this way, it will be difficult for me to source a replacement.
Vacuum and Solenoids
You have five blocks of lines here, one for each solenoid and one for the vac. I have two solenoids and one vac.
Do I simply put my S1 and S2 in place of your S1 and S3 (i.e. run without your S2 and S4), and change the pins to match my wiring?
Mine now looks like this:
LED Lighting
Your wiring has only one LED lighting switch and one block of lines as follows:
I have two sets of LEDs, one for up and one for down camera. Can openpnp control each separately, if so, do I make another block like above and put different M??? commands in place? If so, are these M??? commands configurable in openpnp or do they have to match with expected norms in the openpnp software.
In the first instance, I am looking for an easy life as I find my way around the system so, should I just wire them up to the same mosfet for now?
Also, you have "pwm" for the output type. I am using Peter Betz's LED rings, any idea if pwm is appropriate for them?
I currently have the following, in anticipation that I can configure oponpnp to switch each light separately and I can give my own M??? commands:
Well, that is a mammoth post. I didn't intend to make it so large and my intention isn't to draw you away from more important things. I have tried to be as explicit as possible to a) make it easier for you to respond, and b) show anyone else out there who is setting up for the first time how I am doing it.
Many thanks to all who contribute to this!
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c60296cb-d52c-4b9c-899f-e8f767655eca%40googlegroups.com.
Howdy,This is a lot to digest and I haven't had a chance yet to go through, but I do intend to and I will get back to you in the next couple days.JasonOn Mon, Feb 20, 2017 at 4:46 AM <bobgee...@gmail.com> wrote:Jason,
Thanks for confirming.
My wiring is a bit different to yours so I will have to modify the config on the smoothie a little.
In order to explain my differences I have knocked up some sketches.
I would appreciate if you, or others could give me some indicators if what I have done is correct.
I will start with your wiring diagram:
You use 4 solenoids in your machine, however I use the robotdigg solenoids in the arrangement below:
I also have my endstops (mix of opto and mechanical) arranged as follows:
Everything on my machine is 12V apart from the LEDs for the up and down vision, they are 24V and I have a separate PSU for them.
My current wiring looks like this:
For completeness and to aid the config discussion below, here is a reference pin map of the smoothieboard:
Ok, so looking at your config file (https://raw.githubusercontent.com/openpnp/openpnp-openbuilds/develop/Smoothie/config) in sections:
Motors
Your motor wiring is the same as mine so don't need to mess with that, But I am curious, why do you invert some dir pins but not all?
The E1 dir pin is not inverted but all others are, is this correct? Oh wait, as I write this I think I realise. You have inverted this pin for motors which spin the wrong way, rather than re-wire the connectors correct?
EndstopsLooks like you have your Y endstop on the max but mine is on min. So, I do the following (and use a different header on the smoothieboard):
Change this (yours):
with this:
That seems simple enough. Do I need to do anything else?
I note you have inverted the Z-min pin but not others. Is this correct for my setup?
I use cheap aliexpress opto endstops on X and Y, and use a decent mechanical switch on the Z, wiring shown in the slide further up the page.
I could just do a lot of trial and error, but I am very paranoid about driving my machine with the wrong setup. I am paranoid that if I get the endstops wrong and I drive it to home, it crashes and destroys some part of my machine. I was heavily reliant on good will of people overseas to send me bespoke laser cut parts and if I break one of those in this way, it will be difficult for me to source a replacement.
Vacuum and SolenoidsYou have five blocks of lines here, one for each solenoid and one for the vac. I have two solenoids and one vac.
Do I simply put my S1 and S2 in place of your S1 and S3 (i.e. run without your S2 and S4), and change the pins to match my wiring?
Mine now looks like this:
LED LightingYour wiring has only one LED lighting switch and one block of lines as follows:
I have two sets of LEDs, one for up and one for down camera. Can openpnp control each separately, if so, do I make another block like above and put different M??? commands in place? If so, are these M??? commands configurable in openpnp or do they have to match with expected norms in the openpnp software.
In the first instance, I am looking for an easy life as I find my way around the system so, should I just wire them up to the same mosfet for now?
Also, you have "pwm" for the output type. I am using Peter Betz's LED rings, any idea if pwm is appropriate for them?
I currently have the following, in anticipation that I can configure oponpnp to switch each light separately and I can give my own M??? commands:
Well, that is a mammoth post. I didn't intend to make it so large and my intention isn't to draw you away from more important things. I have tried to be as explicit as possible to a) make it easier for you to respond, and b) show anyone else out there who is setting up for the first time how I am doing it.