Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommendations for a good 32 bit microprocessor to run Marlin #3851

Closed
boelle opened this issue May 25, 2016 · 473 comments

Comments

Projects
None yet
@boelle
Copy link
Contributor

commented May 25, 2016

From @Roxy-3DPrintBoard on March 30, 2016 19:59

The Atmel ATSAM3x8e on the Due board is definitely viable. It has the benefit it can plug into the RAMPS or RADDS base board and at that point it is easy to populate it with other needed items like Step Sticks to handle the stepper motors.

But my questions is "What other companies make viable platforms to run 3D-Printers?" Ideally, these microprocessors have good compiler support and can have similar items to the Step Sticks plugged into them.

The best case would be if these other microprocessor boards were compatible with the RAMPS and RADDS boards and could just plug into them.

Copied from original issue: MarlinFirmware/MarlinDev#398

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @jbrazio on March 30, 2016 20:7

This is an interesting topic. Following your discussion on the other thread really got me thinking to buy one of these boards (DUE/RADDS).

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Roxy-3DPrintBoard on March 30, 2016 20:18

@jbrazio Well... If you are not in a super big hurry... It may be best to hold off for a couple of weeks. The real purpose of this thread is to try to identify a 'Reference Platform' for 32-Bit Marlin's. @BioPrinter and I have been exchanging emails. If we can get some consensus on 2 or 3 viable platforms, he is going to start lobbying the microprocessor vendors to see if one of them will step up and provide the development hardware for our group.

The thinking is, if we have 6 or 7 contributors with the exact same hardware being used as a reference platform, we are going to be able to make the transition faster. And then for our users, that exact reference platform is pretty much guaranteed to always work and to have the latest and greatest feature set at all times. The hardware vendor would get a big magnet pulling new 32-Bit 3D-Printer sales in their direction. And given the size of the Marlin user base, that is nothing to sneeze at.

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Sniffle on March 30, 2016 20:19

I would think if we build a hardware interface layer it could be just about
anything even a smoothie...

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Roxy-3DPrintBoard on March 30, 2016 20:24

Yeah... That would be the theory! Maybe I'm just being negative. But having other contributors with the exact same hardware gives me more confidence.

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @jbrazio on March 30, 2016 20:29

@Roxy-3DPrintBoard no worries, I believe your approach makes perfect sense and will for sure speed up the effort.

I just see one potential problem, if we want to keep somehow the same existing toolkit and implement some sort of HAL to allow us to have the same code base for 8bit and 32bit then we must stay inside something supported by the Arduino platform ?

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Roxy-3DPrintBoard on March 30, 2016 20:40

It is very possible that Atmel will be the most logical choice at which point, everything is simple. But really... The users don't use the the IDE environment of Arduino to do anything but compile and upload. This is a valid point for discussion, but it is very possible that another environment for the 32-Bit stuff will make more sense. It may be that some version of GCC with a makefile can do everything they need.

(All of these issues need to be put on the table and discussed!!!)

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @jbrazio on March 30, 2016 20:43

Users do not use the IDE.. but we do use the Arduino core. :-/

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Roxy-3DPrintBoard on March 30, 2016 20:45

Users do not use the IDE.. but we do use the Arduino core. :-/

At which point we need some type of HAL to move to another vendor's microprocessor! :)

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @CONSULitAS on March 30, 2016 22:28

@Roxy-3DPrintBoard @jbrazio
see my https://github.com/MarlinFirmware/MarlinDev/issues/317#issuecomment-203663421

@Wurstnase has a running (but rather old, based on Marlin of 01. Feb. 2015, and experimental) fork for Arduino Due: https://github.com/Wurstnase/Marlin4Due
He just stopped development regarding to his readme.

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Wurstnase on April 1, 2016 12:51

Yes, i've stopped.
Anyhow, there are a lot of 32bit Controller. Take a look at mbed.org for example.
You can use the arm-none-eabi-xxx for stm32, lpc, also the Arduino Due use it. The 'problem' is the HAL or whatever you want to use. But there is no standard lib like avr-lib.

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Sniffle on April 7, 2016 5:2

I already showed this to @Roxy-3DPrintBoard

but what do you guys think?
main board - 2 exruders+ heated bed support + x, y, z drivers
http://www.filastruder.com/collections/electronics/products/duet-controller-v0-8-5

extension board to add 4 more extruders
http://www.filastruder.com/collections/electronics/products/duex4-expansion-board

touchscreen display
http://www.filastruder.com/collections/electronics/products/paneldue

and it's already supported by reprap firmware so we have somewhere to reference for pinouts, etc.

not to mention
http://reprap.org/wiki/Duet
https://github.com/T3P3/Duet/blob/master/Duet0.8.5/Duet0.8.5_Schematic.pdf

is it just me or does this board almost seem too good to be true because it covers pretty much every thing a "moddern" printer could ask for. I'm sure there is a gotcha somewhere but damn talk about a complete package.

edit: think i found the one downside, It uses A4982 steppers so they are hard mounted 1/16th microstepping only. If you can think of more I'm all ears. as far as I can tell the 0.8.5 revision is pretty stable, but if anyone can break it and find faults we can :-P

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @jbrazio on April 7, 2016 10:59

I like it uses the same uC as the Due but the drawback (without even deep diving into hardware specs) it's the price, the overall solution you propose is quite expensive ($285).

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Sniffle on April 7, 2016 14:35

Yeah that was my concern as well... It is just kinda the all in one
poackage aside from the 1/16th drivers.

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Roxy-3DPrintBoard on April 7, 2016 15:24

I wonder if they have an updated version of the board they are working on with 1/64 Micro-Stepping? Other than that, and the cost... This is a really good setup.

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Wurstnase on April 7, 2016 15:53

The firmware on this board is not fast enough to support higher
microsteppings. They can calculate Delta without segmentation. But only at
<20kHz.
Roxy-3DPrintBoard notifications@github.com schrieb am Do., 7. Apr. 2016
um 17:24:

I wonder if they have an updated version of the board they are working on
with 1/64 Micro-Stepping? Other than that, and the cost... This is a really
good setup.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/MarlinFirmware/MarlinDev/issues/398#issuecomment-206951917

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @jbrazio on April 7, 2016 15:56

The firmware on this board

This is were Marlin comes in.. or which firmware are you talking about ?

@boelle

This comment has been minimized.

Copy link
Contributor Author

commented May 25, 2016

From @Bio-Printer on April 7, 2016 16:5

At: https://docs.google.com/document/d/1whV779t_660hpgTxYxFomgqrOk1CpEQi-8QttTHaI-Q/pub

They say they pre-load the RepRap firmware. They recommend:

The DC42 version of the Firmware covers the widest range of printer configurations - cartesian, delta and core-XY and is recommended for general use. It is available for download at https://github.com/dc42/RepRapFirmware/tree/dev.

@bobc

This comment has been minimized.

Copy link

commented Jun 15, 2016

If anyone is still tracking this topic, the new Duet board (now called DuetWifi) is available for pre-order. It has a 120MHz Cortex M4 with hardware FPU. Looks really nice but not cheap! More details at https://www.duet3d.com/

@Roxy-3D

This comment has been minimized.

Copy link
Member

commented Jun 15, 2016

Thanks for the Heads Up @bobc ! Yes, we are very interested! We just aren't in a position to move forward on the 32-Bit code right now! That really does look like a nice 32-Bit board!!!

@Grogyan

This comment has been minimized.

Copy link
Contributor

commented Jun 15, 2016

I'm keen to follow any topics which bring forward a 32 bit microcontroller. Especially where key features that i'm looking for are

  • Onboard Micro SD socket
  • SPI breakout
  • A USB Type A/C port for flash drives
  • WiFi and Bluetooth
  • LAN socket
  • Run a 3D print server as well, like OctoPrint
  • The usual drivers and hot ends, thermocouple support preferred
@jbrazio

This comment has been minimized.

Copy link
Member

commented Jun 15, 2016

This is the issue: £118.80

@Roxy-3D

This comment has been minimized.

Copy link
Member

commented Jun 15, 2016

Yes, the cost is a little high. But it is an Open Source design. If there are any people buying this board, there will be clones of it showing up. And the good thing is it has everything needed for a 3D-Printer on the board.

@Sniffle

This comment has been minimized.

Copy link
Contributor

commented Jun 16, 2016

@paulusjacobus

This comment has been minimized.

Copy link
Contributor

commented Jun 16, 2016

AZSMZ ARM 32bit controller board See
https://m.aliexpress.com/item/32421892934.html for $49 US

On 16 June 2016 at 10:16, Todd Swindoll notifications@github.com wrote:

I have a duet running my kossel mini, and im building a corexy and now that
this is being released it will be what runs it instead of the duet 0.8.5


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#3851 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AIOTKdPOt8gM41aBR3DmRLIE1PdSizbCks5qMJXggaJpZM4Imb5C
.

@bruce356

This comment has been minimized.

Copy link

commented Dec 3, 2017

@Roxy-3D @thinkyhead regarding the "Cohesion3D ReMix" board
31 jan 2017 by Ray Kholodovsky @bobc:- I've already sent @Roxy-3D (2) boards for herself and ThinkyHead),
Is there any chance that this board might be included in Marlin2, very soon.
Any idea how long before v2.0 will be ready for release.
Thanks and regards - bruce

@Bob-the-Kuhn

This comment has been minimized.

Copy link
Contributor

commented Dec 3, 2017

Cohesion3D Remix - nice card - LPC1769 based with 6 drivers and lots of features. A bit pricey for my tastes.

It'll be a while before things like the WIFI and Ethernet modules are supported by Marlin.


I just ran across the LPC1778. More I/O pins and lower cost than the LPC1769/17678 along with EEPROM.

@Roxy-3D

This comment has been minimized.

Copy link
Member

commented Dec 3, 2017

There are people trying to get the LPC-1768 work modified for the LPC-1769 right now. It is all volunteer effort and it takes time to get things accomplished.

@bruce356

This comment has been minimized.

Copy link

commented Dec 3, 2017

@Roxy-3D , thanks
@Bob-the-Kuhn and others, I am not worried about Ethernet (most people probably would not require it, I do not) as WiFi is easier and more flexible (no Cables), I use Raspberry Pi3 Octopi with wifi on all my printers so those features would not worry me, but if the main important basic printing functions can be made to work that would be enough.
Thanks to all working hard to make this a reality.
Regards - bruce

@S1CAR1US

This comment has been minimized.

Copy link

commented Dec 31, 2017

I am looking into doing a port so just reading through, you mention in a different thread that there is no eeprom on the due but what about a board like the old davinci's where the eeprom is stored on the sd card? The repetier port works great in storing the eeprom there, but just seems like marlin is surpassing so just curious.

@psavva

This comment has been minimized.

Copy link

commented Dec 31, 2017

@S1CAR1US I know that the Re-Arm board has no EEPROM, it was therefore emulated on the internal SD Card of the board. It works quite well.

@dcwalmsley

This comment has been minimized.

Copy link

commented Jan 11, 2018

I purchased three Re-Arm boards from KickStarter and I'm willing to donate two of them to developers to further the cause.

Re-Arm for RAMPS - https://www.kickstarter.com/projects/1245051645/re-arm-for-ramps-simple-32-bit-upgrade?ref=user_menu
also can be purchased through Panucatt at http://www.panucatt.com/Re_ARM_for_RAMPS_p/ra1768.htm

If interested PM me and I will mail them to you. Eager to see Marlin move into the 32-bit world.

r,
Doug W

@fiveangle

This comment has been minimized.

Copy link
Contributor

commented Jan 11, 2018

@G-Pereira

This comment has been minimized.

Copy link

commented Jan 18, 2018

What about smoothieboard?

@alfredanil

This comment has been minimized.

Copy link

commented Jan 18, 2018

Has anybody considered ESP32 ? Sure it has less usable pins but enough for a single extruder, i think. ESp32 is almost 10 or more times powerful than Due, even without FPU. It is also possible multiple Esp32 can synchronize.

@lucazader

This comment has been minimized.

Copy link

commented Jan 18, 2018

@alfredanil The ESP32 Is a very powerful micro for sure. Dual core 240MHz with an FPU.
However it just does not have the number of GPIO required for a basic configuration.

Sure an I2C or SPI I/O expander would help with this.
But at that stage it is probably easier to just use a Due, or an STM32 or similar.

@alfredanil

This comment has been minimized.

Copy link

commented Jan 18, 2018

Well, Esp32 can compliment a Due or STM by adding Wi-Fi and Bluetooth capabilities. It can run the more computation intensive part of firmware like velocity ramp generation especially the more complex S-shaped velocity ramp with fifth order polynomial. It can also run a webserver for host and configuration setup. Possibilities with Esp32 are endless.

@JustAnother1

This comment has been minimized.

Copy link

commented Jan 18, 2018

I promised @Roxy-3D to not to comment on marlin anymore. Therefore just this link(regarding esp32): http://forums.reprap.org/read.php?2,769032

@Bob-the-Kuhn

This comment has been minimized.

Copy link
Contributor

commented Jan 19, 2018

I'm not happy with the LPC1768/69 boards because they're pin limited. I'm hoping to see LPC1778 based boards come out. More I/O pins and lower cost than the LPC1769/17678 along with EEPROM.

I see lots of activity in the STM32 area. So far I haven't seen any low/moderate cost boards based on the higher end chips.

I'd also like to see more than 5 stepper sockets. 5 isn't enough for the higher end printers.

@Roxy-3D

This comment has been minimized.

Copy link
Member

commented Jan 19, 2018

I'm not happy with the LPC1768/69 boards because they're pin limited. I'm hoping to see LPC1778 based boards come out. More I/O pins and lower cost than the LPC1769/17678 along with EEPROM.

Yeah... I wish the Re-ARM board had enough GPIO pins so all of the RAMPS connections had signals going to them.

I'd also like to see more than 5 stepper sockets. 5 isn't enough for the higher end printers.

Agreed. I'm looking for one with 7 or 8 stepper sockets. I want to get a 3 or 4 filament mixing extruder. And that isn't happening with 5 stepper sockets.

@teemuatlut

This comment has been minimized.

Copy link
Member

commented Jan 20, 2018

@Roxy-3D Ultratronics Pro? 7 stepper sockets and a 32bit MCU.

@raykholo

This comment has been minimized.

Copy link

commented Jan 21, 2018

@boelle boelle closed this May 11, 2018

@aenertia

This comment has been minimized.

Copy link

commented Jun 15, 2018

I am eyeing up the follow cheap STM32F7 dev boards as a target - paired with RADDS; they are now sub $30 USD range and seem like a good target.
https://www.aliexpress.com/item/FREE-SHIPPING-NUCLEO-F767ZI-STM32F767ZI-Development-board/32855944181.html

ESP32 is also worth looking at I see a HAL was contributed the other day. Unfortunately the esp32's I have lying around don't have all the pins broken out so are not a good candidate.

@hackaday3D

This comment has been minimized.

Copy link

commented Sep 21, 2018

here is a 3d printer that use the latest marlin on stm32f103. and has developped a tool just for compile and upload. it is easy and so simple.

https://hackaday.io/project/160709-the-first-3d-printer-with-marlin-on-stm32-board

@AnHardt

This comment has been minimized.

Copy link
Contributor

commented Sep 21, 2018

@hackaday3D
Sadly he copied Marlin, instead of forking it. So will outdate soon because maintaining is too time consuming.

@thinkyhead

This comment has been minimized.

Copy link
Member

commented Sep 28, 2018

…also used the 1.1.x branch instead of the 2.0.x branch. It's a unicorn.

@Roxy-3D

This comment has been minimized.

Copy link
Member

commented Sep 28, 2018

@hackaday3D Right now... It would not be difficult to fork the code, and do a diff to find all the changes you made to get this to work. But if that is not done, there won't be a way to track changes and keep your code current.

@hackaday3D

This comment has been minimized.

Copy link

commented Sep 29, 2018

I found that the 1.1.x branch is great and very stable, so when port 1.1.x code to stm32 I changed the code as little as I can, just copy :)

@thinkyhead

This comment has been minimized.

Copy link
Member

commented Sep 29, 2018

I'm going to steal all your good ideas for STM32 that we might have missed, but we'll have to adapt them to our HAL system and make them play nice with the other HALs.

@SuperMarcus

This comment has been minimized.

Copy link

commented Oct 8, 2018

I am eyeing up the follow cheap STM32F7 dev boards as a target - paired with RADDS; they are now sub $30 USD range and seem like a good target.
https://www.aliexpress.com/item/FREE-SHIPPING-NUCLEO-F767ZI-STM32F767ZI-Development-board/32855944181.html

ESP32 is also worth looking at I see a HAL was contributed the other day. Unfortunately the esp32's I have lying around don't have all the pins broken out so are not a good candidate.

https://www.mouser.com/ProductDetail/STMicroelectronics/NUCLEO-F767ZI?qs=sGAEpiMZZMv0WPLDnYsI79VyEGU7o4m%2f3QnSSCyRl88nt%2fLYMmnI2g%3d%3d

@Roxy-3D

This comment has been minimized.

Copy link
Member

commented Oct 16, 2018

I am eyeing up the follow cheap STM32F7 dev boards as a target - paired with RADDS; they are now sub $30 USD range and seem like a good target.

Yeah! I need 6 stepper motors. This would be the ticket in the 32-bit world.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.