chineese STM32 based control board for 3D printer

Anything not related to STM32
lewiss66
Posts: 7
Joined: Thu Dec 01, 2016 6:42 am

chineese STM32 based control board for 3D printer

Post by lewiss66 » Fri May 12, 2017 5:08 pm

I've recently discovered that Geeetech prusa 3d printer uses GTM32 PRO control board (STM32 inside) and I wonder if this board could be purchased separatly to build a home made 3D printer.
There is an advertisement at this link:
https://fr.aliexpress.com/item/Latest-P ... 7cbfbc4d78
This GTM32 PRO which is an upgrade of the old GTM32 seems to be a good board to start with.
What do you think?
Thanks

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

Re: chineese STM32 based control board for 3D printer

Post by ag123 » Fri May 12, 2017 5:18 pm

yup it seemed they are indeed stm32
https://www.geeetech.com/forum/viewtopi ... 20&t=18167
http://www.geeetech.com/forum/viewtopic ... 20&t=17046

on another note, i'd think it is quite possible to turn those stm32 dev boards with lots of pins e.g. the VExx, VGxx, ZExx, ZGxx series into 3d printer controllers
http://www.ebay.com/sch/i.html?_from=R4 ... 6&_sacat=0
http://www.ebay.com/sch/i.html?_odkw=st ... 6&_sacat=0
http://www.ebay.com/sch/i.html?_from=R4 ... 6&_sacat=0

one could get the above boards, and the pololou modules
http://www.ebay.com/sch/i.html?_odkw=po ... u&_sacat=0

and perhaps compile marlin
http://marlinfw.org/

install that & 1'd be up and running with a 3d printer controller - oversimplified
:mrgreen:


lewiss66
Posts: 7
Joined: Thu Dec 01, 2016 6:42 am

Re: chineese STM32 based control board for 3D printer

Post by lewiss66 » Sat May 13, 2017 9:39 am

Quite interresting!
Thanks.
Is Marlin software based on Arduino libraries or HAL libraries?
It seems that the GTM32 is only available if you purchase one of those two Geeetech printers which are Rostock delta printer or prusa M201 printer.
Do you know if they are good printer?

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

Re: chineese STM32 based control board for 3D printer

Post by ag123 » Sat May 13, 2017 9:51 am

i'd think Marlin is Arduino based, but do check out the git web as it seem there may be some stm32 support
https://github.com/MarlinFirmware/Marlin

for 3d printer controllers, i'd opt for generic stm32 boards e.g. the VE - ZG series, with say the RAMPS extension for the pololu and motor controller modules

those from Geetech would likely distribute firmware files without the sources, while if you stick with say Marlin, you would be able to compile it yourself and change the features as you need

with things like the stm32f407 black vet6 to zgt6 boards, i'd think it is also possible to *develop* extensions so that you can control the board over *fast ethernet*, that's a pretty attractive idea as the 3d printer can then be located say a further distance away from the PC which may otherwise have to control it say over a USB - serial cable
http://www.stm32duino.com/viewtopic.php?f=39&t=1391

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

Re: chineese STM32 based control board for 3D printer

Post by ag123 » Sat May 13, 2017 10:30 am

oh there u go Marlin4ST
https://github.com/St3dPrinter/Marlin4ST
but it is for that 'premium/expensive' ST's 3d printer board, i'm wondering if it may be possible to adapt this to run on those generic stm32 boards :D
and this an alternative stm32f103 'core' (note some things are in chinese)
https://github.com/MakerLabMe/STM32_Arduino_Cores
but i'd rather stick with the existing stm32duino cores that has been developed thus far
then there is Marlin_STM32, that might be a good starting point for generic boards or perhaps start with the original Marlin source and find the 'supported' version for STM32
https://github.com/MakerLabMe/Marlin_STM32

lewiss66
Posts: 7
Joined: Thu Dec 01, 2016 6:42 am

Re: chineese STM32 based control board for 3D printer

Post by lewiss66 » Sat May 13, 2017 2:20 pm

Yet the generic stm32 boards e.g. the VE - ZG series with the RAMPS extension is the more affordable boards. I hope there is schematics evailable on the web. The firmware could be either arduino er STMcubeMX HAL based, depending which is the most handy to use. It seems that the marlin4st has been developped for the well designed stm32 STEVAL-3DP001V1 eval board but which cost more than 100 dollars.
Unfortunatly , at the moment Geeetech hasn't offert any schematics of his GTM32 board to be able to work with. It's a pitty! I could be a much cheaper standalone unit controller board than the STeval!

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

Re: chineese STM32 based control board for 3D printer

Post by ag123 » Sat May 13, 2017 2:36 pm

the other thing is that those RAMPS extension boards http://reprap.org/wiki/Arduino_Mega_Pololu_Shield are mainly designed for 5v boards, though 3v is said to be able to drive them, but some level shifters may be needed as a precaution just in case some 5 v output pins from the pololu shield are routed back to stm32, i'd think some of the stm32 pins are '5v tolerant' but 1'd need to be careful with connecting them up

i think some of the schematics for the generic stm boards may be found in the wiki http://wiki.stm32duino.com/index.php?title=Main_Page
hence that'd help if you are intending to use the generic boards

i've not explored marlin myself though, hence won't be able to comment if it do work etc. but my guess is that for the marlin firmwares if you want to run them on the stm32 generic boards, is to first research the marlin / 3d printing forums etc on how well it runs on stm32 etc, (do post related information back here as there are 3d printing fans here as well :D ) then find the (generic) boards that has the necessary io that perhaps is adequate to connect to the RAMPS extension board. my guess is that may possibly be a rather quick way to get started

boards like those stm32f407 {VE 512k flash, 192k ram, VG 1M flash, 192k ram, ZE 512k flash,192k ram more io pins/fsmc etc, ZG 1M flash, 192k ram, more io pins are possibly significantly beefier compared to atmega328 etc in terms of hardware resources and performance and may possibly take things further than what may be possible with marlin on atmega boards. e.g. the stm32f407 has a hardware fpu that's rather high performance
http://www.stm32duino.com/viewtopic.php ... &start=160, this could make it possible for the controller board to do very fast path computations in floating point instead of moving in 'straight lines', i.e. it may be able to calculate any Bézier curve given the parameters and move along it
it could even do physics computation and accelerate / decelerate while moving from one point to another

User avatar
ahull
Posts: 1729
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: chineese STM32 based control board for 3D printer

Post by ahull » Sat May 13, 2017 6:29 pm

Just suposin'... and at the risk of steering this particular thread in to a flame war, or wildly off topic, I were in the market for a printer to attach to the other end of this Chinese board... what would be the current best bang for my buck? Assume I am going to get as much fun out of building it as I will probably get out of using it (is that not the case for most 3d printers I wonder)... and assume that since I am buying an off brand controller, I am also perfectly willing to source the bits from random parts of the interweb. ... oh... and I have the worlds supply of old broken Android phones that I may press in to service to control it too. :lol:
- Andy Hull -

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

Re: chineese STM32 based control board for 3D printer

Post by ag123 » Sat May 13, 2017 6:52 pm

one of those keywords i tried on ebay happen to be "prusa"
http://www.ebay.com/sch/i.html?_from=R4 ... a&_sacat=0
http://reprap.org/wiki/Prusa_i3
http://reprap.org/wiki/Prusa_i3_MK2

another keyword i tend to try is "delta 3d"
http://www.ebay.com/sch/i.html?_odkw=pr ... d&_sacat=0
when i started looking for 3d printing stuff, i'm wary about the 3 'legged' delta printers until much later i learn that they are delta bots and are (possibly much) more agile than those simple minded x-y-z bed shifters 3d printers
https://en.wikipedia.org/wiki/Delta_robot
http://reprap.org/wiki/Rostock

of course you could simply click 'advance search' and try "3d printer", then enter prices from 0 (could it be lesser?) - $200
if you prefer the parts approach, the search would be "3d printer" and sorted by lowest price + shipping :lol:

among them i've got one from flsun3d (the bulky x-y-z bed shifter, not the sleek delta, but the delta has better reviews)
http://www.flsun3dprinter.com/
https://www.thingiverse.com/Flsun/about
they did show up in ebay searches for the 0-200 category

then among them i run into this He3d who ship kits as low as $150 or slightly less (i think shipping is separately charged)
http://www.reprap.cn/3d-printers-diy-kits-c-4/

and various random 3d print links i found and bookmarked
https://all3dp.com/
https://3dramble.wordpress.com/tag/flsun/

the thoughts are that if you remove that controller if you don't want to use it, what is left is the motors, hot end, frame, bed, limit switches, power supply and wires. hence, assuming that those 'not necessarily cheap' printers follows the RAMPS methodology you would be able to substitute that controller with your own 3d printer controller
http://reprap.org/wiki/Arduino_Mega_Pololu_Shield
:lol:

Post Reply