Help connecting PWM board to Acorn 0-5v analog spindle output

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

eswakon@eas-eng.com
Posts: 51
Joined: Wed Jan 02, 2019 3:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Help connecting PWM board to Acorn 0-5v analog spindle output

Post by eswakon@eas-eng.com »

I bought a "Voltage To PWM Converter Module 0-5V 0-10V To 0-100%" with the intent of connecting it to the Acorn board 0-5 volt analog spindle output. This would then be connected to my laser to modulate the power output. Right now I only turn the laser on and off. The PWM converter module has 6 terminals for connections. On one side there is a GRD and VCC. One the other there are: GRD -VOUT - GRD - PWM.
Front_001.jpg
back_001.jpg
I assume th espindle output is into the GRD-VCC. What I don't know is where the other 4 go.

My laser has 3 inputs (+)12 v - (-)12v - PWM. The two 12v connectors are connected to the power supply and the PWM is run thru a relay on the acorn board to GRD and turns the laser on and off via M commands sent to the relay.

There is also a jumper on the PWM module that I assume selects either 0-5 volts or 0-10 volts - but I just assume that. There were no instructions of any kind with the PWM module.

Any help on how to wire this would be appreciated. I don't want to fry the thing.


Jay Morris
Posts: 18
Joined: Thu Aug 09, 2018 9:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by Jay Morris »



eswakon@eas-eng.com
Posts: 51
Joined: Wed Jan 02, 2019 3:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by eswakon@eas-eng.com »

Thanks - I think that's what I need.


martyscncgarage
Community Expert
Posts: 9944
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by martyscncgarage »

eswakon@eas-eng.com wrote: Wed Aug 07, 2019 1:09 pm Thanks - I think that's what I need.
Where did you buy the board?

Looking forward to some pictures of your laser build and it running being controlled by the Centroid software once you have it dialed in.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


eswakon@eas-eng.com
Posts: 51
Joined: Wed Jan 02, 2019 3:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by eswakon@eas-eng.com »

I got mine from NewEgg https://www.newegg.com/p/285-000J-00245

But Jay Morris above posted what looks to be the same board - with instructions and cheaper. http://www.icstation.com/voltage-conver ... 12430.html

I successfully confirmed 0-10Volt from the Acron spindle output using a series of m3 s=1000; m3 s=3000 etc. commands from MDI. Now I need to figure out what software to use that will generate the various "S=" commands to control the laser output.


martyscncgarage
Community Expert
Posts: 9944
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by martyscncgarage »

eswakon@eas-eng.com wrote: Thu Aug 08, 2019 11:41 am I got mine from NewEgg https://www.newegg.com/p/285-000J-00245

But Jay Morris above posted what looks to be the same board - with instructions and cheaper. http://www.icstation.com/voltage-conver ... 12430.html

I successfully confirmed 0-10Volt from the Acron spindle output using a series of m3 s=1000; m3 s=3000 etc. commands from MDI. Now I need to figure out what software to use that will generate the various "S=" commands to control the laser output.
Cool.
PWM is in the Acorn hardware as previously mentioned. Matt, Centroid's Engineer snuck it in the latest hardware revision and forgot to tell the programmers :lol:
SO, it will eventually be added in a future release of CNC12. Stay tuned.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


eswakon@eas-eng.com
Posts: 51
Joined: Wed Jan 02, 2019 3:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by eswakon@eas-eng.com »

Is the PWM in the Version 3 board - which is what I have? Or will I need a Version 4 board when the programming catches up?


eswakon@eas-eng.com
Posts: 51
Joined: Wed Jan 02, 2019 3:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by eswakon@eas-eng.com »

OK, I still need help. As I mentioned previously, I tested the output from the analog spindle output and can successfully achieve 0 to 10 volts output by sending "S" commands via the MDI command line. HOWEVER, when I connect those spindle output lines to the PWM board Vout and GRD the voltage at the input pins on the board drops to 2-volts - regardless of the voltage coming from the spindle analog output.
Front_001.jpg
back_001.jpg
The second issue is I can not turn the laser off when wired thru the PWM board
Scan_0009.jpg
-its always on.

My original connection with only on or off was wired as shown.
Scan_0008.jpg
Suggestions for wiring would be appreciated.


GBCues
Posts: 117
Joined: Tue Aug 14, 2018 10:49 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: noneC120192
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Denver, CO

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by GBCues »

Repeating the question "Is the PWM in the Version 3 board?"
I'm guessing it is not. Need to know for planning purposes.
I also want to verify that an optical isolator should be used between the Acorn and this PWM converter module.
Thanks!
Gary


Jay Morris
Posts: 18
Joined: Thu Aug 09, 2018 9:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Help connecting PWM board to Acorn 0-5v analog spindle output

Post by Jay Morris »

From my understanding the hardware is there, just need some software to pulse a digital output on the db25 connector. I wouldn't think you would use an opto between the analog out of the Acorn to that board. Can you make the pwm board produce a pwm signal using a battery, 9volt, 1.5volt, etc


Post Reply