Spark Logic

Anyone tried to make a 3D Printer controller?

strawberrymaker Mon Sep 14, 2015 4:18 pm

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

Replies

strawberrymaker Mon Feb 15, 2016 9:20 pm

seems like it, did roger already saw that?

@bianchifan already took a look at it?

Back to the controller : I swapped out the additional board to use a uln2803 npn transistor array. a really beast for its size (and price). thought that would be pretty neat (and would save up much space).
Critism is welcome :)
~Straw

zmemw16 Mon Feb 15, 2016 10:15 pm

they do a number of variants; variation is the supply rails and input voltage divider.
istr 02/03/04; input stages are 02 no idea, 03 is ttl(?), 04 is cmos

i didn’t realise, i’d thought it was only the output voltage capability and now have a number of spares:-)

stephen

strawberrymaker Mon Feb 15, 2016 10:24 pm

@zmemw16 havent knew that one either :D . Just checked, I got the ULN2803APG ones here from toshiba but havent tried it with 3.3V logic YET. Will do that tomorrow, heading to the shower know. Atleast according to the TI datasheet Page 11 it supports 3.3V logic.

To which manufacturer are you referring? Could you maybe drop a datasheet?

~Straw

EDIT: found the [url0http://de.aliexpress.com/item/New-original-ULN2803ADWR-ULN2803ADW-ULN2803-TI-genuine-LSGDZ/32468995665.html]TI ones, around 30 cents a pop[/url], but a different package

zmemw16 Tue Feb 16, 2016 1:27 am

i probably got them from cpc or farnell
nowadays my primary data sheet site is farnell, also google, when i had money farnell got a lot of it. cpc is their slightly better priced site, but not necessarily the parts range of farnell.

then i discovered aliexpress, ebay and amazon, so now it’ve still no money :D

stephen

zmemw16 Tue Feb 16, 2016 1:42 pm

something else, the total current for the device depends on its package type.

dip has higher total current compared with the smd version.
quite sizeable difference/ratio iirc

srp

strawberrymaker Tue Feb 16, 2016 2:58 pm

@zmemw16 just looked through the TI datasheet, only difference i found seems to the slightly difference in thermal dissipation.

~STraw

strawberrymaker Thu Feb 18, 2016 8:27 pm

@zmemw16 aah now i know what you mean :D Well, the other arent really compelling, only difference in input, so 3 should be the best. buuuut because of the 3.3v logic it ist going to be limited to 300mA per channel, which is kinda shitty. so i will take a look if i find any other array chips, if not, just making a module with like 4 or 5 outputs and individual transistor for each channel should be enough too.

~Straw

zmemw16 Thu Feb 18, 2016 10:05 pm

toshiba anyone ;)

stephen

strawberrymaker Mon Feb 22, 2016 9:04 pm

Sooo… Guess im finished with the schematic for the mainboard now :) Double checked the stuff, ERC passes, packages already connected, time for the pcb layout.

PNG or PDF

Also on the Github Page

Image

Yeah, its currently a bit messy, will clean that one later on.

But im having a problem with that BOM Generator tool in eeschema. Trying the standard Plugins, getting IO Error (invalid argument). Would be great if someone could help me with that one ^^

I have to look that i finish it AFAP, because my exam period starts in like 2 weeks.

@bianchifan ok, i think i figured out how to fix the problem with the missing libs and packages. guess i’ll have to export the used packages from third party libs and import them into the rest32 lib. So the only thing you’ll need to do is including that one lib.

@madias thx for the mention on the reprap forum, think i’ll post something there too (at latest when its finished)

~Straw

strawberrymaker Mon Feb 22, 2016 9:15 pm

Managed to lay everything out on the pcb. jup. this is getting bigger than 10x10cm.
And i def. have to revisite all pinheaders, guess there can be some space saved.

Image

But i will go to sleep now, getting late here, bye

~Straw

zmemw16 Tue Feb 23, 2016 1:42 am

your png and pdf links both point to png’s

<a href="http://puu.sh/nhGkW/591a4f0182.png" class="postlink">PNG</a> or <a href="http://puu.sh/nhGxU/7a8bab8c95.png" class="postlink">PDF</a><br>

strawberrymaker Tue Feb 23, 2016 9:26 am

Well, my fault. Will fix it when im back home. But it should be in the repo, too.

~Straw

Edited it.

strawberrymaker Sat Feb 27, 2016 4:55 pm

Mainboard finished

Managed to finish the main PCB over the night. man, it took some time!. Some 3D Pictures:

Image
Image
Image
Image

Other images:

Heatbed Module Top
Heatbed Module Bottom
Heater Module Top
Heater Module Bottom
Stepper Module Top
Stepper Module Bottom
Additional Top
Additional Bottom

PDF’s and PNG’s are in the Repo :)

I will change some bits in the readme and then check if everything is right in the schematic.

Would be great if someone could check some pins on the F103V if their functions are really working:

PA5-PA7 | PB1 | PC6-PC7: PWM
PC4, PC5, PB0 : ADC

It should be ok (according to the datasheet), but better safe than sorry.

@RogerClark hope its OK that i used the stm32duino logo. if not, let me know.

~Straw

Rick Kimball Sat Feb 27, 2016 6:04 pm

No mounting holes? 3d printers tend to shake around like a washing machine

strawberrymaker Sat Feb 27, 2016 6:09 pm

@Rick Kimball things i totally forgot about yesterday. Thaanks for pointing that one out. I will fix that when im back home.

~Straw

EDIT: Added

Vassilis Mon Feb 29, 2016 2:50 pm

I fresh installed the KiCad. Could you please tell me in detail how to import your libraries to the KiCad (how to configure the KiCad) ?
I am getting the following missing libraries message
The following libraries were not found:
dp_devices
ok-74logic
ok-con-generic
ok-diodes
ok-generic
ok-ic-analog
ok-ic-atmel
ok-ic-com
ok-ic-memory
ok-ic-power
ok-ic-special
ok-ic-stm32
ok-jacks
ok-opto
ok-power
ok-relay
ok-switches
ok-transformers
ok-transistors
pololu_a4988

strawberrymaker Mon Feb 29, 2016 2:59 pm

Looks like i forgot to remove thr excess libraries, sorry. Will do that when im back at my Computer, but heres a list of the used ones:
Dp_devices: the kicad library of dangerous prototypes
OK…: they are all Form github (okirsch was the user)
Pololu: the poloklu stepper driver library.

I will find a way to fix that problem. Hopefully its enough to just remove Them since i didnt used them all.

~Straw

Vassilis Mon Feb 29, 2016 6:58 pm

I removed all the above libraries from References -> Component Libraries. The schematic does not show me errors anymore.
On the PCB, some components like the STM32, some capacitors, the switch and others, are not appeared on the 3D preview.
I had to re-load the 3D shapes Footprint Properties -> Add 3D Shape

Congratulations Matthias (strawberrymaker), Very nice work!

strawberrymaker Mon Feb 29, 2016 9:23 pm

@Vassilis i will remove them all tomorrow, got a bit late today, like I said, most of the footprints are already in the ReST library (and i think the libraries you got problems with were libs i installed in the kicad program folder :D ).

And thanks for the compliment ^^.

~Straw

Sign in to reply