Home › Forums › TinyG › TinyG Support › problem with installing the Router with DC Spindle
Tagged: PWM! Spindle
- This topic has 26 replies, 4 voices, and was last updated 9 years, 9 months ago by cmcgrath5035.
-
AuthorPosts
-
October 10, 2014 at 4:24 pm #6897alhaddarMember
Hello
I have a problem when installing the Router with DC Spindle where I followed the steps in this link
http://www.youtube.com/watch?v= and Tgbs02bebs
When you type the command to run M03 Spindle but does not work, but when you download the file for me so I do experience the machine worked directly Spindle and when I tried to change the speed to 4000, for example, it also does not workI have a version TINYG 8 and your updated FIRMWARE 438.02
Please help in getting a solution
Greetings to you
October 10, 2014 at 5:25 pm #6901cmcgrath5035ModeratorI can’t figure out which YouTube cnc video you are talking about, so all we know is that you have a tinyG v8 with fw 438.02. That’s a good start.
What sort of machine?
Is you basic machine operational (X,Y and Z moving)?
What OS do you work with (Win, MAC, Linux)
Can you provide a link to specs on your spindle controller?
What are you using to send Gcode and command to tinyG?
What do you have connected to what, and how?October 11, 2014 at 2:49 pm #6907alhaddarMemberhi
Os: windows pro 8 64-bitspecs my spindle controller
http://www.ebay.com/itm/221360480450?_trksid=p2059210.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AITWhat are you using to send Gcode and command to tinyG
m03 for start
M05 for stopWhat do you have connected to what, and how?
October 11, 2014 at 3:31 pm #6908chmrMemberAlhaddar, the video link in your first post does not work. Please fix it.
Did you configure tinyg for use of pwm? See https://github.com/synthetos/TinyG/wiki/TinyG-Configuration-for-Firmware-Version-0.97#pwm-group-pulse-width-modulationThe ebay page also states “PWM input : level 3.5-12V VPP” in the fine print — tinyg can generate around 3V, so you might need a level shifter for it to work.
October 11, 2014 at 4:53 pm #6909alhaddarMemberThank you dear friend to help you
For the link in the first post I tried to link and fairest but unfortunately, there is no adjustment button so that I can modify the linkI said at the level shifter may need in order to operate
Is it possible to help where I am a newbie I hope you put me a picture of an electronic circuit so that I can work even work with me
With my thanks to you
October 11, 2014 at 8:13 pm #6911cmcgrath5035ModeratorOoh, nice spindle.
But, as chmr points out, interface is an issue, as I suspected might be.I was really asking what you had connected to what (physical connection).
I’m not sure the interface to controllers are all that standardized.Also, can we assume you are using Coolterm to send commands? Or ?
October 11, 2014 at 8:44 pm #6913cmcgrath5035ModeratorSomething like this should do the job.
Searching Google with “3v to 5v logic converter” finds lots of similar modules, many shipping direct from China.
October 12, 2014 at 4:35 am #6915chmrMemberAs Carl said, there are lots of ways to do level shifting, and lots of finished modules on the market. All of them need a 5V supply, and I don’t think that you can get that from the speed controller. So you have to create it yourself, using an 7805 or similar.
I don’t know the speed controller circuit; because it does not accept any lower values than 3.5V keeps me thinking that it either feeds this directly to a power FET or an optocoupler. In both cases, it would be better to use a voltage in the upper half of the allowed range (8-12V). I’d use something like this (no guarantee as usual, and if you are not familiar with soldering and measuring the circuit, you better buy a finished module)
- This reply was modified 10 years, 2 months ago by chmr.
October 12, 2014 at 8:32 am #6917cmcgrath5035ModeratorChris
1. What schematic package do you use? I am looking for a quick learn open source package.
2. I did a bit more Googling, find several versions of this controller on Ebay, from Amazon, etc. Variations seem to be the size of Heat Sink that the PWB is mounted on.
3. I am >50% (not 100%) sure that the pwm input to this controller is an opto-isolator input diode. The controller seems to also support a POT for control, which makes me wonder if they do nothing more than convert the pwm input to a DC voltage then drive their own pwm output based on that voltage. So my guess is that all that **might** be needed here is R1 and Q1, with R2 replaced by the input diode on the controller. I’ll also guess that one could pick off 12V from the tinyG fan pin, but I don’t think I would try that without making some actual measurements.
The 7812 12V regulator is rated up to 1A.Alhaddar
In the documentation you have, is there perhaps a URL from which we can pull a copy? Or can you perhaps scan the text and post to a dropbox ?Did you actually build the level shifter I drew up for you a while back for the SSR? We are talking about a similar approach here, but supplying with 12V rather than 24V.
October 12, 2014 at 9:59 am #6918cmcgrath5035ModeratorAlhaddar
Have a good look thru thisThis package look VERY similar to what you purchased.
One can imply from this that tinyG will drive the controller even though it is slightly below input range spec.By the way, do you have a separate DC supply for your spindle?
HIGHLY recommended. You will get better motor performance runing at higher voltage, plus spindle likely a source of electrical noise you don’t need connected to your tinyG- This reply was modified 10 years, 2 months ago by cmcgrath5035.
- This reply was modified 10 years, 2 months ago by cmcgrath5035.
October 12, 2014 at 10:05 am #6921chmrMemberCarl, for schematics I would only recommend Eagle. The freeware version is already very capable, lots of tutorials online, many freeware designs are made with Eagle, every PCB house accepts Eagle files, many people use it. I drew the schematic above in LTSpice for quick simulation, but it has an abysmal user interface.
Yeah, there are several versions of it around. I read somewhere that when jumpered for the pot, it uses a simple 555 circuit to produce a home-made PWM signal and drives a FET with that.
Q1 in my schematic inverts the input signal, so it seemed safer to me to add a second stage to invert it back.
It would definitely be much easier if we knew the actual circuitry of the board. I was already tempted to order one just out of curiosity (but it takes 3-4 weeks from china to me). Found another bigger photo of one version: http://i.bosity.com/office_cache/274/14008974/4840000011395984469_14008974_6_image.jpg”- This reply was modified 10 years, 2 months ago by chmr.
October 12, 2014 at 10:08 am #6923cmcgrath5035ModeratorChris
We were typing at the same time. 🙂
Thanks for the Eagle suggestionOctober 14, 2014 at 12:42 pm #6924alhaddarMemberHello
First, I’m sorry for the delay in response due to travel to and from traveling out of your responses and Wright have returned to my previous post attributed to the painting, which in this link
https://dl.dropboxusercontent.com/u/50261731/tinyGV8spin.pngAnd you experience it, but unfortunately it did not work then I’ve experienced on the Solid State Relay and worked with me directly without problems
October 14, 2014 at 1:54 pm #6925cmcgrath5035Moderatorhave returned to my previous post attributed to the painting, which in this link
https://dl.dropboxusercontent.com/u/50261731/tinyGV8spin.png
And you experience it, but unfortunately it did not work then I’ve experienced on the Solid State Relay and worked with me directly without problems
Sorry, I am not sure exactly what you connected to what in the above quote.
I suggest you focus on this approach:
Hook it up exactly as shown, this video demonstrates that a level shift may not be needed.
October 15, 2014 at 7:24 pm #6931cmcgrath5035ModeratorGuys
After looking at Alhadar’s spindle package and a bit of research, I realized I needed one too; my dewalt 660; beefy, fast, is too much RPM for engarving lettering on acrylic (it is overheating the material).
So I purchased a spindle and a controller like Alhadar’s from Amazon.Comes with Zero documentation.
I found this from a different seller , which is consistent with the Inventables link I posted a couple days ago.As we suspected, the PWM input is connected to an Orient 817C opto-isolator, PWM+ to the anode thru a 600 ohm resistor, PWM- to cathode.
Note that the jumper must be properly positioned to use the PWM input rather than the POT.It will be a week or so before I can actually test it with my tinyG. I’ll be trying first the direct connection – similar to what the Inventables link displays.
-
AuthorPosts
- You must be logged in to reply to this topic.