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 Wed Jan 20, 2016 3:07 pm

@Drakelive OK, ill throw in something, but 2Mbit would be bit ovetkill. The mega also only has like a kilobyte. Maybe something around 64kbit would be more than enough for it. Its not Storing a whole gcode on it :D

~Straw

Drakelive Wed Jan 20, 2016 4:11 pm

strawberrymaker wrote:@Drakelive OK, ill throw in something, but 2Mbit would be bit ovetkill. The mega also only has like a kilobyte. Maybe something around 64kbit would be more than enough for it. Its not Storing a whole gcode on it :D
~Straw

strawberrymaker Wed Jan 20, 2016 4:54 pm

M24C64 from ST

Bulk on Aliexpress

Looks good to me :) 16cents per unit for a 20 pcs order. And look at the cure, little BGA package available, like 0.8×0.7mm :D

~Straw

Drakelive Wed Jan 20, 2016 5:01 pm

strawberrymaker wrote:M24C64 from ST

Bulk on Aliexpress

Looks good to me :) 16cents per unit for a 20 pcs order. And look at the cure, little BGA package available, like 0.8×0.7mm :D

~Straw

strawberrymaker Wed Jan 20, 2016 6:41 pm

Is actually the problem already fixed that the SPI_NSS Pin couldnt be used as a CS Pin?

~Straw

strawberrymaker Wed Jan 20, 2016 10:47 pm

Half way through the new Schematic WIP Name is STamps-01 :D. Trying to finish the schematic this week and start on the pcb, trying to get that one finished next weekend and then ordering everything. Guess at that time i’ll ask the forum if someone else wants one too, so i can order the more expensive things in a bulk (MCU, f.ex.).

I just took the old schematic and removed some Thermistor Inputs, PWM Outputs and Drivers. In terms of MCU, I think the STM32F103RCT6 would be good. Same Flash size as the mega, and just 1.30$ per unit in a bulk of 5 compared to the ret6m with double of flash, which costs 3$ per unit in a bulk of 5.

I have to recap everything i got so far in parts, but i hope it wont go over 25€ (excluding pcb).

~Straw

EDIT: Did the Math, still missing thing like Header Pins and the Car Fuse holders (which are hard to find in china as it seems). With a 24V Version, its about 20€, normal 12V would be 19€ Sound good to me, but there could still be changes Made to the Voltage Regulators, which costs, with circuitry, def. about 4€

Drakelive Thu Jan 21, 2016 9:06 am

Good job.
I’ll buy a board. The cost, I think it is right at this stage of development.

drk

Drakelive Thu Jan 21, 2016 10:37 am

Hi ~Straw

I was thinking two things. Kicad uses to develop the Board?
We organize a GitHub repository for shared development?

I think this is important.

Drk

bianchifan Thu Jan 21, 2016 11:29 am

strawberrymaker wrote:Actually i wanted to look at the hardware site first and then work on the software porting of marlin.

strawberrymaker Thu Jan 21, 2016 12:03 pm

@Drakelive @bianchifan
Im going to push the repo when i’m back home. Kicad looks really NEAT, but can i simply import the eagle schematic and the custom libraries or do i have to redo them.
Marlin is still a goal. I think i pulled the mosfet design from the ramps-FD and added a diode. (Note to me: dont forget to add their names later on. :D ).
To the naming.guess that Name has to be dropped. Adding nucleo and discovery support is simply too hard, the Pins would take too much space IMO, putting the MCU on the board seems to be a more easier way. Another idea would be to put a VET6 or ZET6 PN a basic Version board and designing a connector, similar to the radds one, and make an external Adapter with more stepper drivers and PWM outputs, but that would hinder the develolment of the board. First goal is to make the development board and make the Firmware running.
About F4, not quite sure about pin-compability between F1 and F4 ( Function wise). And F4 isnt really up-to-date, so that will take a while

~Straw

bianchifan Thu Jan 21, 2016 12:49 pm

strawberrymaker wrote:Adding nucleo and discovery support is simply too hard

Drakelive Thu Jan 21, 2016 4:49 pm

I forgot ….. KiCad Vs Eagle :-D

I prefer Kicad. It is an excellent CAD and is completely open.
I have learned to use it by following this guide video: LINK

Eagle is a commercial product, the free version has limitations and projects are not convertible.

drk

strawberrymaker Thu Jan 21, 2016 6:13 pm

@bianchifan

so basically making a custom stm32 board which plugs in into a pcb (the 3d printer driver).

not quite sure if i like that idea, as it will increase the cost (extra pcb, headers) and wont benefit much than just exchanging the chip if it dies. and there isnt that much that can happen to it. Im going to make sure that the cooling pad for the Mosfets is big enough, reverse polarity protection, protecting mosfet with diode. nothing can really go wrong there. and still this board has to be manufactured for cheap.

@Drakelive

Gonna try it today, pushing the repo (currently eagle) soon. that page you posted it not available for me atm.

~Straw

Drakelive Thu Jan 21, 2016 6:40 pm

Which page ? The KiCAD video guide ?

strawberrymaker Thu Jan 21, 2016 6:52 pm

Seems like the board you referred to is something custom from geetech for their printer. couldnt find anything either.

~Straw

strawberrymaker Thu Jan 21, 2016 7:17 pm

Back to KiCad, that just kills my workflow at the moment. Sorry, but I guess I’ll finish up the Development board with Eagle and order it from dangerousprototypes and while im waiting for everything to arrive, im going to rework it in KiCad. Im just not experienced in it and it would just take too much time to get into it,would delay the project, sorry guys :(

~Straw

strawberrymaker Thu Jan 21, 2016 7:42 pm

@Drakelive
just asking, for making the porting easier: Would it be harder to re-wire I2C Stuff to other I2C Ports or should i get that one onto I2C1. Atleast for the current plan, its on I2C2. Just asking

~Straw

martinayotte Thu Jan 21, 2016 7:44 pm

@straw, I think you under estimate your capacity.
On ESP gitter, there was on guy who didn’t any things about PCB, and he start learning doing is first design using KiCad.
The next day, he was showing us his first gerbers. Although there was glitch in them, mainly due to his unexperience, not because of Kicad.
So, just take few hours to try it out, and ask help if needed … ;)

Sign in to reply