June 10, 2018 at 2:34 pm #61435
You can just use wire for vias. You need to make the holes bigger, like regular through holes. You still need a pretty tiny bit though.
Another fun thing to add or work on are smd LEDs, even if its just to indicate power.June 10, 2018 at 3:01 pm #61436
I also tested out the sketch without the second interrupt call for the sensor…works fine. No idea what happened the first time around. But that made me look at the PWM in interrupt loop.
Do you remember or know why we are not using analogRead for the incoming marlin signal?June 10, 2018 at 3:11 pm #61437
The incoming signal is a pwm, and not analog. Plus analog reads are slow. There is a pulse in function, but it’s also slow. What is the problem you’re seeing?June 10, 2018 at 3:20 pm #61438
Just trying to simplify the sketch. No problems. Just seems like there would be an easier way to read the PWM, no big deal.
Trying to simply and kinda plan ahead, like leaving room for the direction pin in case we use it to trigger something, or even use it with a switch to signal a variable RPM.June 10, 2018 at 4:09 pm #61439
Moving around some pins in the sketch….so be careful.
Marlin PWM in to Pin 3 swapped
Sensor pin in to Pin 2 swapped
Dimmer PWM out to Pin 9June 10, 2018 at 5:03 pm #61440June 10, 2018 at 6:10 pm #61442
This all sounds really awesome!June 10, 2018 at 6:16 pm #61443
I’m having a blast and learning so much.June 10, 2018 at 7:39 pm #61451
I totally get it now, prototype PCB’s are a huge time sink. I am sure this will be the last one I ever do this way. This would have taken maybe an hour with CAD and CNC. Instead of all the time I spent on this by hand. Add a few more wires and some surface mounts and this would be a huge waste of time. CNC 4 Life!
Attachments:June 10, 2018 at 8:20 pm #61455
That is so organized.June 10, 2018 at 8:53 pm #61457
So maybe an LED for the enable pin, and the wobble pin if that becomes a thing. The Nano, rambo, and dimmer all have a few LEDs each. I think I can recycle the Nano pin 13 LED as the enable light.
Kinda stoked to get into a real (basic) PCB on the CNC. Tighten up the dims, and match the dimmer footprint maybe, or at least figure out a mounting solution. All this power floating around I am bound to get shocked.June 10, 2018 at 8:57 pm #61458
Well this is great timing, first youtube suggestion. Thought I was going to take a break and watch a dumb video….nope.June 10, 2018 at 9:16 pm #61459
It would be interesting to order a board and make the same one. Just to see how well you can do (and if it’s worth it).June 10, 2018 at 9:34 pm #61460
Shoot I am most interested in the file to cut. I mean I love CAD but….and then yup compare.June 10, 2018 at 9:35 pm #61461
So far so good, a few minutes in and I have the entire layout. Now onto the PCB part.June 11, 2018 at 12:35 am #61462
Well this is great timing, first youtube suggestion. Thought I was going to take a break and watch a dumb video….nope.
Ah ! Was just going to suggest you check the video out :DDDJune 11, 2018 at 8:05 pm #61503
So I learned a lot here. First, Barry, thanks. The tape and super glue is freaking awesome! I think I need to surface my pcb work surface before I try and do it again. Pretty sure that was the only issue mechanically, you can see the top traces are a bit thin and dog boned. Some of the pads are a weird size, I didn’t pay enough attention during the design but it looks like different parts have different pad sizes like the two tiny ones for the cap, and the smaller headers are tiny pads as well. I forgot to put the tear drops on them, that would help for sure.
I am happy with that as a first try, on PCB design, conversion, and milling! Tweaked my tool change commands, worked perfect. 0.8mm drill bits are great, the offset V-bits…I don’t understand them yet, ended up using the one from the shop.
Those of you with a keen eye…The traces are on the wrong side, they need to be mirrored (or designed on the bottom layer), but I only had two sided PCB so I can’t use it anyway….yet. Two sided PCB milling is going to take a seriously accurate flip, like 3 pins at least.
Attachments:June 11, 2018 at 8:06 pm #61505
The dimmers will be in the shop on the Wed the 13th, when the new insurance takes effect for those of you whom might want to play around with it… a dev kit if you will.June 12, 2018 at 5:57 am #61519
Three pins because there is too much slop in two pins?
What about milling a corner in your spoil board? You wouldn’t want to depend on opposing sides of the pcb, but if you flipped it, keeping the corner in the same spot… No, that’s crazy.June 12, 2018 at 10:59 am #61528
I don’t think I could make a corner will work as reliably as two pins (three is just an exaggeration). I don’t think I will ever make a bunch of PCB’s but a two side one would just be a cool trophy to bring to MRRF (or some other shows, I need to find another one)…. If I made more PCB’s, Surface mount and a few bottom side wires is okay with me.
I would also like to try some of the other PCB’s suites, If I could get a direct DXF out that would save loads of time. The SVG output needs to have stokes converted to paths and then each trace combined/joined with the through holes.June 12, 2018 at 11:26 am #61532
Make sure you take some pics. In case you want to make a tutorial.June 12, 2018 at 11:30 am #61533
I don’t think pcb milling is advantageous for anything more than a few. It really is only useful when you’re doing iterative versions and you want to test each one without waiting weeks between versions.June 12, 2018 at 11:37 am #61534June 12, 2018 at 11:45 am #61537
don’t think pcb milling is advantageous for anything more than a few. It really is only useful when you’re doing iterative versions and you want to test each one without waiting weeks between versions.
Through that site they are $2 each, with customs masks and printing, the only downside is it take a few days. For sure no one should attempt to do more than a proof. I am just a little worried about the noise so I wanted to make sure it that cap still works on a board.June 12, 2018 at 9:56 pm #61589June 12, 2018 at 9:58 pm #61593
Much better than mine.June 15, 2018 at 3:10 pm #61691
It works great so far. I just did a few test cuts. I can not begin to tell you how nice it is to have this much control. I ran my first cut at 10k, 10mm/s, 5mm doc, single flute in pine. PID worked great but way to slow for this cut. Next bumped to 12k…then 20k, ahhh much better. Then I found an estlcam bug, it does not pass off the finishing pass speed change (unless I deleted some setting).
At 10k the router is really moving slow (I wouldn’t try to go under 8k I don’t think) I fully expected it to bog down, the CNC didn’t like it. I was beating it up, but it kept pushing the router through. The spindle held its speed great from what I can tell by ear. I will have to really look at the real data output from the Nano but I just wanted to use it already.
So high five everyone, so far so good!
negative-I think the router blips (~1sec) when the Rambo is booted but I have to triple check this out. Easily solved by not having it’s switch on, but it just shows having full control I forget to even use the dang thing!June 15, 2018 at 4:03 pm #61694
negative-I think the router blips (~1sec) when the Rambo is booted but I have to triple check this out. Easily solved by not having it’s switch on, but it just shows having full control I forget to even use the dang thing!
That’s a problem with the enable pin from the rambo not being pulled down when the microcontroller is starting, right? You could add another pull down resistor, so that it will get pulled down when it’s floating.June 15, 2018 at 4:31 pm #61695
I have to double check. I initially after I moved it all to the shop I plugged in the Rambo output ribbon upside down…..for testing purposes 😉 ….so power to the wrong port didn’t pop either board. After that I am not sure if it happened or not, I honestly can’t remember. Adding a resistor is easy enough, thanks, for that.June 18, 2018 at 2:20 pm #61857
I tried to stop it….but it just works too well. 😉 (p.s. This was the very first time the PID ever made a real cut.) Weird video artifacts from the crazy vibrations. If your cut ever sounds like this…stop it! This cut works perfect at 20k.
You must be logged in to reply to this topic.