Spark Logic

Anyone tried to make a 3D Printer controller?

strawberrymaker

Just did the math and saw that it could be possible to make a controller with atleast 3axis, 2 extruder, fans, 2 thermistors and 6 buttons (min, max). And from the sketch size it could also fit marlin onto a maple mini. Only thing would be a custom board with the pins. Did anyone tried this already? If not i’d take that as a side project :D

~Straw

Replies20

strawberrymaker Wed Mar 23, 2016 9:35 pm

@bianchifan takes a moment to load, didnt compromised the pictures from my camera, sorry.

~Straw

RogerClark Wed Mar 23, 2016 10:09 pm

Works OK for me

Vassilis Thu Mar 24, 2016 9:48 am

It works OK for me too.
Perhaps you have a browser settings issue.

mrburnette Thu Mar 24, 2016 12:05 pm

No problem with Chrome on Windows or on Linux Mint.
My guess is the browser settings… or a browser limitation with inline images.

Ray

RogerClark Tue Apr 05, 2016 10:37 pm

Guys

Perhaps we should start a KiCad and PCB thread?

Ive finally finished producing my first board using KiCad, and its been relatively painless

Well, there have been problems, but when I first started to use Eagle, I think I had the same, steep, learning curve.

I sent the files to DirtyPCBs yesterday, and they accepted them after I manually fixed a problem with the edge-cuts file extension ( they want .GML not .GM1)

It was going to be a STM32 board, but I bottled out in the end, and I will use a Maple Mini attached to the board via a 5 wire ribbon cable.

The board has both high voltage, high current, 240V 20A, and low voltage devices on it, (optocouples and a Hall effect current sensor; so has been a bit of a challenging design, trying to keep the HT and LT sections apart but not make the board to big.

I’ve used air gap slots in several places, so it will be interesting to see how they are handled by DirtyPCBs. ( Note, I used DirtyPCBs old system, as the new one has only just come back online following bug fixes)

I will let you all know how the boards look when they come back, and if they are OK, I will move to version 2 which will have the STM32 on the board.

martinayotte Tue Apr 05, 2016 11:02 pm

Hi Roger !

Would you share some pictures of the gerbers ?

Ciao !

mrburnette Tue Apr 05, 2016 11:40 pm

martinayotte wrote:Hi Roger !

Would you share some pictures of the gerbers ?

Ciao !

RogerClark Wed Apr 06, 2016 12:09 am

Hi Martin

As its my first, rather simple board, done with KiCad, I don’t think its that good. But its OK as a prototype board.

Its not a commercial board, its ultimately for my sister.

I initially wanted it to be all surface mount, but it was impractical to use high voltage SMD capacitors. Theoretically you can get them, even on AliExpress, but I didnt trust that the ones on AliExpress were really 400v working.

Also, I couldnt easily find specs on the 1W SMD resistors, so I ended up using through hole on those as well. So as I had to do all the HT side as through hole, I decided, at least to start with that the LT side may as well be through hole as well.

I had to make footprints for the connectors and the power triac, as I couldn’t find existing KiCad footprints for the BTA41, and not for the Dimple 40A screw terminal. (nor for the ACS712-20, or for a SMD bridge I was going to use, and for SMD versions of the optos (which again I didnt end up using)

I also initially routed all the tracks on the top of the board, which was a bit of a mistake for the power through hole stuff, so I had to reroute with most tracks on the bottom.

I then has issues with stitching the copper pour zones for the ACS712, as its SMD, but I wanted to use both sides of the board, as there is 20A going to those tiny SMD pads (yes, it really is rated at 20A though 2 SMD pads !!!)

Probably overkill

Anyway, I’m sure you’ll see problems with it, but I’ve uploaded a screengrab, and I guess its probably not to late to catch problems as its not gone to the board house yet ;-)

PS. I think I’ve already uploaded it at least 5 times, (the first 2 were because it didnt accept the edge cuts file), the next 3 or 4 where when I say errors e.g. annotation text on the wrong layer, and problems with the stitching vias etc etc

Note. There are air gap slots in the middle of the board and under the optos, (in case you wondered what those polygons where…)

Oh. And there is no ground plane, as it most of the board is high voltage and I have to maximize insulation distance, hence large areas of the board with no copper on at all.

Also note some of the HT tracks, are larger than they need to be, but as long as I preserve creepage distance (if possible 2.5mm or more), then I may as well go for large tracks even if its not carrying much steady current – only pulse / switch-on current of perhaps 1A to the BTA41-600 triac

Argghh, In hindsight I can swap pins 4 and 5 on the pin header, it doesnt make any different … and it would save a via….
But I’ll leave it for now.

Edit (again)

Any my other mistake.

The triac is not in the middle of the board. I should have probably made the board a bit wider, but I can’t be bothered now to change it.
Its really just a prototype.

martinayotte Wed Apr 06, 2016 1:23 am

mrburnette wrote:
Funny request :lol:
Are you overjoyed you did not ask for “gerbils” ???

martinayotte Wed Apr 06, 2016 1:44 am

Hi Roger !
Thanks for updates !
It seems to be really application specific pcb ! ;)
So, your first Kicad experience wasn’t to harmful ? :)
Keep us informed …

mrburnette Wed Apr 06, 2016 2:03 am

martinayotte wrote:<…>
Ray ? I don’t understand your funny answer … :o

RogerClark Wed Apr 06, 2016 3:29 am

PCB status has changed to Sent to boardhouse…

So I see if they accept it, and whether they can cope with the air gap lots etc.

The other thing that will be interesting if how KiCad copes with the zones that don’t have thermal relief.

I had to use “Solid” instead of thermal relief around the high current pins on the mains connectors and also on the triac, as it needs to handle a relatively large amount of current (20A) sustained, as it will run a electrical water heater.

So it will be interesting to see how this comes back, as I have a concern that selected Solid for the zone’s thermal relief setting may mean that the pads for the triac and power connectors may not get created correctly, and I’m likely to have to scrape off the solder resist.

I really hope the through plating doesnt get screwed up on the connectors, as it will be a pain to solder them on, especially for the neutral connectors which go to the SMD current sensor (ACS712)

But I will know in a few weeks just how screwed up the boards are…

RogerClark Wed Apr 06, 2016 7:50 am

Opps.

KiCad didnt seem to default to “plotting”the solder mask.

So I didn’t send solder mask files to DirtyPCB’s ;-(

I think the board will still be usable, as there is only 1 smd component, but I’ll see what i get back, or whether they even make the board with those files missing.

zmemw16 Wed Apr 06, 2016 2:14 pm

look up ‘pun’ and ‘bad pun’ :shock:

i was expecting pictures of the boards’ top & bottom layouts as well

srp

mrburnette Wed Apr 06, 2016 2:49 pm

zmemw16 wrote:look up ‘pun’ and ‘bad pun’ :shock:

zmemw16 Wed Apr 06, 2016 9:39 pm

are you a star trek fan? i recognize the quote.
wrath of khan was on the other night :D

and i’m not a seller from Venice either

srp

strawberrymaker Wed Apr 06, 2016 9:44 pm

@RogerClark if you dont select it :D i can recommend you to use a Gerber viewer Luke zofzpcb. Just to make sure everything is Allright

~Straw

martinayotte Wed Apr 06, 2016 9:57 pm

And on Linux, there is “gerbv”. Kicad has also it’s own Gerber viewer.

RogerClark Wed Apr 06, 2016 10:36 pm

I did look at the gerbers in KiCad’s gerber viewer, but they looked OK. As what was missing was just the solder resist layer.

I see now the gerber view looks different, now I also have those layers, but I didnt know what it was supposed to look like.

Ideally DirtyPCB’s should give a warning if some common layers are missing.

The boards should be usable even with the solder resist missing, except one SMD part may be hard to solder, but it has large pads, so should be OK.

martinayotte Thu Apr 07, 2016 12:51 pm

That’s why I like “gerbv” : it allows to turn On/Off each layers as well as move Up/Down them, and colors allows you to see each layers.
Of course a solder mask layer can be easily forgotten since it looks like the solder pads layer, moving then as mentioned above, you will quickly see if it is there or not.

Sign in to reply