Anyone tried to make a 3D Printer controller?

What are you developing?
rsc
Posts: 17
Joined: Thu Oct 06, 2016 12:03 pm
Location: Argentina

Re: Anyone tried to make a 3D Printer controller?

Post by rsc » Fri Sep 29, 2017 7:03 pm

Yes, I still working on a controller based on stm32f103c8t6, (cartesian and scara robot arm) but, I can't work i2c on this chip, so i beginning to avoid this microcontroller and migrate to another

User avatar
martinayotte
Posts: 1229
Joined: Mon Apr 27, 2015 1:45 pm

Re: Anyone tried to make a 3D Printer controller?

Post by martinayotte » Fri Sep 29, 2017 7:25 pm

rsc wrote:
Fri Sep 29, 2017 7:03 pm
but, I can't work i2c on this chip
What kind of issues ?
Do you have some PullUps on the I2C bus ?

ag123
Posts: 795
Joined: Thu Jul 21, 2016 4:24 pm

Re: Anyone tried to make a 3D Printer controller?

Post by ag123 » Sun Oct 01, 2017 2:59 pm

doubt i2c would be any obstacle on stm32f103, but i'd think 3d printing would likely be rather demanding on both memory (sram) and processing power especially with the 'simplier' stepper drivers that basically offers only step and dir. if one uses st's L6470 motor drivers
viewtopic.php?f=19&t=572&start=270#p34962
it may well be rather feasible as that use SPI reducing the pin count and pretty much offloads the mcu doing most of that motor control within the L6470
the downside would be that L6470 is rather pricy, one would be somewhat limited in terms of how much 'control' one have as much of the motor control work is delegated to the L6470.

rsc
Posts: 17
Joined: Thu Oct 06, 2016 12:03 pm
Location: Argentina

Re: Anyone tried to make a 3D Printer controller?

Post by rsc » Tue Oct 17, 2017 2:39 am

I'm developing the scara for 3d printer using stm32f103c8t6, now can draw with trapezoidal movement profile (as grbl) further would need PID and ADC for 3d printing but it is at the limit of memory occuped 64% flash and 33% ram, code was reduced when use C only and some register but still need to optimize more (you can see bluepill :D )


old video without trapezoidal movement profile (obviously without precition)

Post Reply