Running ODROID-C4/N2 with 3D printer

Share here your ideas for new projects
User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Running ODROID-C4/N2 with 3D printer

Post by tobetter »

I've started new home weekend project that runs 3D printer with ODROID-N2.

Hardware design: Software changes: Kipper Configurations Click this link to download Klipper Ready Image for ODROID-C4!!

Actually I already use 3D printer with ODROID-N2, ODROID-N2 runs OctoPrint on Debian Buster and it runs over a year with my customized CR-10, it runs with the 3D printer controller board, SKR 1.3 with 2x TMC2109 and 2x TMC2130, which is based on ARM 32 board. New project is to build ODROID-N2 without such controller board but only use motor driver board, RAMPS 1.6+ which I picked up. You would already be awared of that there are two major / popular open source firmares for 3D printer, Marlin and Klipper, my printer is already switched to Klipper from Marlin when my printer board is burned and replace the board. So I've compiled and run the Klipper on this project and it works.

The goal is to run ODROID-N2 as a main 3D printer controller and runs OctoPrint service on it, such that not to use the 2 different boards. Actually, I am not sure how the printing quality will be good, no matter how it is, this project would be fun. :D Please note that this is the first step and only 3-axis motors are running and stalls every time, other features like temperature detect and heating will be done later so that I can print out a small thing at least. I already burned a several step motor drivers while testing :oops:, ordered again...will come later...

So...let me share what I've done today. :)



Buy me a coffee if you like my efforts and keep moving forward.
These users thanked the author tobetter for the post (total 3):
istanbulls (Mon Nov 30, 2020 4:17 pm) • harddroid (Wed Jan 13, 2021 9:44 pm) • rooted (Mon Feb 15, 2021 10:50 am)

hominoid
Posts: 571
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 64 times
Been thanked: 213 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by hominoid »

Very interesting project @tobetter. I also have been thinking about moving from the Mega256 and RAMPS 1.4 board I'm currently on to a SBC. Can't wait to see more of this project...

Tenaja
Posts: 69
Joined: Mon Jun 24, 2019 2:05 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by Tenaja »

If you plan to do this without a separate motion control board, you will need a realtime operating system. Without that, you will struggle with inaccurate move rates, and missed steps caused by motion pausing in the middle of a move.

There's a Chinese company that did it with RPi, that might be a good place to learn from.

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

Tenaja wrote:
Mon Nov 30, 2020 12:39 am
If you plan to do this without a separate motion control board, you will need a realtime operating system. Without that, you will struggle with inaccurate move rates, and missed steps caused by motion pausing in the middle of a move.

There's a Chinese company that did it with RPi, that might be a good place to learn from.
Thanks, I recognize that I would encounter the issue without a control board and also considering to add small micro controller if the problem happens.
I wonder if you know the link or name of the company you mentioned.

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

hominoid wrote:
Sun Nov 29, 2020 11:59 pm
Very interesting project @tobetter. I also have been thinking about moving from the Mega256 and RAMPS 1.4 board I'm currently on to a SBC. Can't wait to see more of this project...
I knew you will be interesting to this...let me do more and share the progress... :D

Tenaja
Posts: 69
Joined: Mon Jun 24, 2019 2:05 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by Tenaja »

tobetter wrote:
Mon Nov 30, 2020 9:52 am
Tenaja wrote:
Mon Nov 30, 2020 12:39 am
If you plan to do this without a separate motion control board, you will need a realtime operating system. Without that, you will struggle with inaccurate move rates, and missed steps caused by motion pausing in the middle of a move.

There's a Chinese company that did it with RPi, that might be a good place to learn from.
Thanks, I recognize that I would encounter the issue without a control board and also considering to add small micro controller if the problem happens.
I wonder if you know the link or name of the company you mentioned.
Iam
https://github.com/markniu/PandaPi/
https://www.pandapi3d.com/post/run-marl ... linux-mode
These users thanked the author Tenaja for the post:
tobetter (Mon Nov 30, 2020 12:01 pm)

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

Tenaja wrote:
Mon Nov 30, 2020 11:53 am
tobetter wrote:
Mon Nov 30, 2020 9:52 am
Tenaja wrote:
Mon Nov 30, 2020 12:39 am
If you plan to do this without a separate motion control board, you will need a realtime operating system. Without that, you will struggle with inaccurate move rates, and missed steps caused by motion pausing in the middle of a move.

There's a Chinese company that did it with RPi, that might be a good place to learn from.
Thanks, I recognize that I would encounter the issue without a control board and also considering to add small micro controller if the problem happens.
I wonder if you know the link or name of the company you mentioned.
Iam
https://github.com/markniu/PandaPi/
https://www.pandapi3d.com/post/run-marl ... linux-mode
Interesting...thanks for the info.
I am also expecting that the same issue will happen to me as well, I will see how it is bad.

Thank you again.

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

What are TMC3100? I've never heard of them.

I just ordered an SKR Pro and haven't decided on tmc2209 or tmc5160, I'm leaning towards 2209. I'm currently using 2208 but they aren't UART and I'm going to do sensorless homing using bl touch for Z homing.

I am interested to see what you come up with using the N2 to drive the printer.

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

rooted wrote:
Mon Nov 30, 2020 3:40 pm
What are TMC3100? I've never heard of them.
Sorry it's typo.
I just ordered an SKR Pro and haven't decided on tmc2209 or tmc5160, I'm leaning towards 2209. I'm currently using 2208 but they aren't UART and I'm going to do sensorless homing using bl touch for Z homing.

I am interested to see what you come up with using the N2 to drive the printer.
I am using 2x TMC2209 for X and Y + 2x TMC2130 for Z and E, have not tried TMC5160. Wish your new toy works greatly!
These users thanked the author tobetter for the post:
rooted (Mon Feb 15, 2021 10:51 am)

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

tobetter wrote:
rooted wrote:
Mon Nov 30, 2020 3:40 pm
What are TMC3100? I've never heard of them.
Sorry it's typo.
I just ordered an SKR Pro and haven't decided on tmc2209 or tmc5160, I'm leaning towards 2209. I'm currently using 2208 but they aren't UART and I'm going to do sensorless homing using bl touch for Z homing.

I am interested to see what you come up with using the N2 to drive the printer.
I am using 2x TMC2209 for X and Y + 2x TMC2130 for Z and E, have not tried TMC5160. Wish your new toy works greatly!
Thank you, by the time I build a large format printer you will have figured this all out and I won't need another board other than to hold the drivers and it will be Odroid powered.

I am using OctoPrint quite successfully on the C4 but to have it fully controlled with it would be even better.

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

Update for 2020/12/05 - Better than expected

I've added more jumper wires and resistors to support UART / SPI mode for TMC2209/2130 and have fried 2 of TMC2209 and 1 of 2130, two ODROID-N2 have been dead with flames.
Due to the limited number of GPIO on ODROID-N2, only 4 motors can run and two thermal sensors can be detected. ODROID-N2 and RAMPS run with 12V DC power supply whilist Ender 3 Pro is built with 24V heat bed and hot en...unfortunately. So what I've done is to add two MOSFET board I have since I am not sure if RAMPS 1.6 plus can run with 24V. This works and using external MOSFET is usual so...it's not a big deal and not sure if RAMPS 1.6 plus can run with 24V which is not clear after reading some articles.

I've tested X-Y-Z axis and all running good, have tested the heating system with sensors carefully and they also work greatly. The stall issue in the previous test happened, but looks like it's an issue of Klipper not a motor driver at all. Not sure why it's caused, I will look into it later.

Also interestingly, the priting performance is good and the system load of ODROID-N2 was not that high, so maybe I would try with ODROID-C4 for the same testing. Also, I have to build a case for ODROID-N2 and RAMPS. :D

So...this is what I've done today.
Attachments
Screenshot from 2020-12-05 19-50-52.png
Screenshot from 2020-12-05 19-50-52.png (1.08 MiB) Viewed 5344 times
These users thanked the author tobetter for the post (total 3):
superpowter77 (Sat Dec 05, 2020 11:05 pm) • istanbulls (Sun Dec 06, 2020 12:21 am) • rooted (Mon Feb 15, 2021 10:51 am)

Tenaja
Posts: 69
Joined: Mon Jun 24, 2019 2:05 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by Tenaja »

Looks good!

What distro did you use? Did you change any settings, or just test a stock kernel?

hominoid
Posts: 571
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 64 times
Been thanked: 213 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by hominoid »

Looks like your making really good progress and the print does looks good in the video.

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

So you're running Klipper?

What happen that caused the issue on the bow of the Benchy, it was going too fast to actually see when it happened? It doesn't look like a layer shift it looks more like something happened in Z direction maybe?

You were printing pretty fast and it still printed okay which is awesome! I'm excited to see your next progress.


User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

rooted wrote:
Sun Dec 06, 2020 8:21 am
So you're running Klipper?

What happen that caused the issue on the bow of the Benchy, it was going too fast to actually see when it happened? It doesn't look like a layer shift it looks more like something happened in Z direction maybe?

You were printing pretty fast and it still printed okay which is awesome! I'm excited to see your next progress.
Let me share the photo of 3DBenchy...so you can judge... :D
Very interesting thing is than it prints on time as Cura says when slicing the model which never happened to me, usually actual printing took much longered than what Cura predicted.

Actually I expected I will struggle to figiure out the PWM signal controls as @Tenaja said, but after printing the 3DBenchy, it would not necessary. So I would order more parts like 24V-12V step down converter, proximity sensor and will add one small FET to run nozzle fan and cooling fan separately. Then later I would add Vu5 or Vu7 to run OctoScreen which I never succeed yet.

This is the one printed in the video clip, 50mm/s and 0.2 layer with 0.4 nozzle on Ender 3 Pro
IMG_20201206_1605220.jpg
IMG_20201206_1605220.jpg (52.34 KiB) Viewed 5305 times
100mm/s, actually 200% speed up from OctoPrint with the same GCODE above.
IMG_20201206_1606283.jpg
IMG_20201206_1606283.jpg (45.14 KiB) Viewed 5305 times
120mm/s with my custom CR10 with 5015 dual ducts.
This is printed with SKR 1.3 controller board and ODROID-N2.
IMG_20201206_1605571.jpg
IMG_20201206_1605571.jpg (59.84 KiB) Viewed 5305 times
These users thanked the author tobetter for the post:
rooted (Mon Feb 15, 2021 10:51 am)

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

hominoid wrote:
Sun Dec 06, 2020 3:34 am
Looks like your making really good progress and the print does looks good in the video.
Thanks, I guessed the Klipper would run better than Marlin on Linux system and it looks like more than I expected.

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

Tenaja wrote:
Sun Dec 06, 2020 1:08 am
Looks good!

What distro did you use? Did you change any settings, or just test a stock kernel?
Thanks, I am using Debian from my private package server and running 5.10 kernel which I am building and packaging for ODROID users.

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

The best bed leveling sensor comes from Korea, the BL Touch :)

Tenaja
Posts: 69
Joined: Mon Jun 24, 2019 2:05 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by Tenaja »

On the photo, there seems to be a slight bulge in the bow. Do you know what caused that? Is that where the boat floor is, on the other side?

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

Tenaja wrote:
Sun Dec 06, 2020 9:47 pm
On the photo, there seems to be a slight bulge in the bow. Do you know what caused that? Is that where the boat floor is, on the other side?
Not sure yet what it's caused, I would look into it later once the features are all settled. As of now, I don't mind the layer shafting and wobbling. Let me keep sharing the progress. :)

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

Please do continue to share your progress, very interesting.

hominoid
Posts: 571
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 64 times
Been thanked: 213 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by hominoid »

This is interesting...Looks like there are others working on this too but it's not been released yet. It was supposed to be out in 2019.
https://www.thing-printer.com/revolve/
https://hackaday.com/2018/03/25/turning ... ontroller/

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

Quick question, I am wondering which driver you guys will choose between TMC2209 and TMC2130. I prefer TMC2209 since I have failed with TMC2130 many times to run X-Y due to overheating problem.

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

2209 are a slightly better version of 2130, but if you want to run a large printer fast I would go for 5160 which can push more amperage and run cooler.

If you don't need stallguard (sensorless homing) then 2208 are fine.


User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

I've not run the printer this week for personal reason, instead spent a week to design a PCB instead of using RAMPS since there are a couple place that running RAMPS with ODROID is not compatible and it's bulky.

So what are not compatible between ODROID and RAMPS are:
1. The thermal sensor pins on RAMPS are designed for 3.3V system, so the 4.7k resistors must be populated and add new two 4.7k resistors with 1.8V. Otherwise SoC ADC will already read fully saturated values.
2. RAMPS 1.6Plus is not designed to support TMC2209 while TMC2208 and TMC2130 are working. In order to use TMC2209 in UART mode, one 1k resitors are added and routed to each TMC2209.

I've sorted out the design of RAMPS and ended up the schematic for ODROID-N2/C4 and spent my weekends to finish up the artwork which I've not done for a decade. Trying to use new tool Kicad which I never tried was a challenge but it works greatly. I am seriously thinking of ordering a sample PCB after reviewing. The quality and features would not be great as much as the popular 3D control board, but mine is fully customized for ODROID and compact. "Logically" :D

So it does look like this, 91x72mm which fits to ODROID-N2 and C4.
Screenshot from 2020-12-13 22-02-40.png
Screenshot from 2020-12-13 22-02-40.png (223.05 KiB) Viewed 5139 times
These users thanked the author tobetter for the post (total 4):
hominoid (Mon Dec 14, 2020 12:02 am) • istanbulls (Mon Dec 14, 2020 3:06 am) • odroid (Mon Dec 14, 2020 9:22 am) • rooted (Mon Feb 15, 2021 10:52 am)

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

Awesome! Did you consider filament runout and power outage resume?

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

rooted wrote:
Tue Dec 15, 2020 12:11 am
Awesome! Did you consider filament runout and power outage resume?
Well...actually nope. :D But filamement runout is a thing of adding one GPIO, 1-2 GPIO would be available on J30. And Power outage is a feature of firmware rather than hardware, not sure if it's supported or not...I've not seriously looked into this so far. :)

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

I didn't know if the GPIO would be available with the board on top so that's good news.

Resume isn't purely based on firmware, most boards use a few capacitors and hardware logic to know when the power failed which gives the firmware time to write out the continuation data.

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

rooted wrote:
Tue Dec 15, 2020 6:10 am
I didn't know if the GPIO would be available with the board on top so that's good news.

Resume isn't purely based on firmware, most boards use a few capacitors and hardware logic to know when the power failed which gives the firmware time to write out the continuation data.
Well...I have not thought of supporting power outage and resume at this time...My only wish is not to fry board and motor drivers any more... LoL...But yes...that would be awesome if can be supported.

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

I was just mentioning it while you are in design phase, on my two boards there are headers which you can add the capacitor board later.

Definitely don't want to keep letting out the magic smoke, that certainly would be more important than anything else :)

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

rooted wrote:
Tue Dec 15, 2020 3:24 pm
I was just mentioning it while you are in design phase, on my two boards there are headers which you can add the capacitor board later.

Definitely don't want to keep letting out the magic smoke, that certainly would be more important than anything else :)
What's your board?

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

tobetter wrote:
rooted wrote:
Tue Dec 15, 2020 3:24 pm
I was just mentioning it while you are in design phase, on my two boards there are headers which you can add the capacitor board later.

Definitely don't want to keep letting out the magic smoke, that certainly would be more important than anything else :)
What's your board?
I have the stock 32bit board from my printer and an SKR Pro.

The SKR Pro uses this for resume:

https://www.amazon.com/dp/B08182XHZV

My stock board uses something far more simple with just one larger capacitor I circled in white, there is an 8 pin header that little capacitor board attaches to:

Image

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

rooted wrote:
Tue Dec 15, 2020 3:52 pm
tobetter wrote:
rooted wrote:
Tue Dec 15, 2020 3:24 pm
I was just mentioning it while you are in design phase, on my two boards there are headers which you can add the capacitor board later.

Definitely don't want to keep letting out the magic smoke, that certainly would be more important than anything else :)
What's your board?
I have the stock 32bit board from my printer and an SKR Pro.

The SKR Pro uses this for resume:

https://www.amazon.com/dp/B08182XHZV

My stock board uses something far more simple with just one larger capacitor I circled in white:

Image
Ok, I assumed similar that this should be next for ODROID UPS... :D

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

My PCB order is being producing and will be delivered next week, probably earlier than electric parts. LoL
Screenshot from 2020-12-17 06-19-31.png
Screenshot from 2020-12-17 06-19-31.png (145.55 KiB) Viewed 5032 times

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

The way they show specific manufacturing information is nice.

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

My Chrismas toy is finally arrived.
IMG_20201222_1603296.jpg
IMG_20201222_1603296.jpg (474.33 KiB) Viewed 4955 times
These users thanked the author tobetter for the post:
rooted (Mon Feb 15, 2021 10:53 am)

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

tobetter wrote:My Chrismas toy is finally arrived.
IMG_20201222_1603296.jpg
Awesome, I hope they work out the first time :)

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

rooted wrote:
Tue Dec 22, 2020 4:51 pm
tobetter wrote:My Chrismas toy is finally arrived.
IMG_20201222_1603296.jpg
Awesome, I hope they work out the first time :)
Cross fingers, I would start tinkering in the Chrismas holidays...

hominoid
Posts: 571
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 64 times
Been thanked: 213 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by hominoid »

Looks good @tobetter. This project is moving right along.

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

hominoid wrote:
Wed Dec 23, 2020 9:57 am
Looks good @tobetter. This project is moving right along.
Thanks. Let me update the progress with the boards how it works with N2 and C4. :)

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

I spent my holidays to build the board and debug it, appeantly it works and no major bug on the PCB at the moment. But I couldn't run my 3D printer with it properly since some components I've ordered are not arrived...specifically FET I assembled cannot turn on the cooling fan. For 24V base 3D printer, my Ender-3, since its power supply provide only 24V which is too high for ODROID-N2/C4, one DC step down module has to be added. I've made two boards for ODROID-N2 and ODROID-C4, let me show you how they look like.
IMG_20201227_2026442.jpg
IMG_20201227_2026442.jpg (147.01 KiB) Viewed 4857 times
IMG_20201227_2026196.jpg
IMG_20201227_2026196.jpg (201.43 KiB) Viewed 4857 times
IMG_20201227_2011242.jpg
IMG_20201227_2011242.jpg (230.14 KiB) Viewed 4857 times
Sorry for the bad cable management. :)
Basically they work and can move all axis, I would see how they run, especially ODROID-C4, next weekend. If ODROID-C4 can run 3D printer + OctoPrint togetter, it would be nice, more effective than ODROID-N2.
These users thanked the author tobetter for the post (total 2):
rooted (Mon Feb 15, 2021 10:54 am) • mctom (Mon May 24, 2021 12:10 pm)

hominoid
Posts: 571
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 64 times
Been thanked: 213 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by hominoid »

Well that is good news that the motor drive circuitry is working. Hopefully the rest will work without issue as well and you can focus on the software side of things. I agree the C4 would be a better platform if it can handle it.

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by rooted »

Awesome progress, I'm a little surprised the boards had no issues on the first run. Congratulations!

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

hominoid wrote:
Mon Dec 28, 2020 1:33 am
Well that is good news that the motor drive circuitry is working. Hopefully the rest will work without issue as well and you can focus on the software side of things. I agree the C4 would be a better platform if it can handle it.
I am going to build the image installed OctoPrint or Mainsail for Klipper operation. Hopefully can be done by the end of this week so that the image can be tested with ODROID-C4 as well. :)
These users thanked the author tobetter for the post:
rooted (Mon Feb 15, 2021 10:54 am)

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Can ODROID-N2 run 3D printer?

Post by tobetter »

rooted wrote:
Mon Dec 28, 2020 10:07 am
Awesome progress, I'm a little surprised the boards had no issues on the first run. Congratulations!
Thanks, the circuit itself is not complicated...and still usuful features are missing...so... :)

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Running ODROID-C4/N2 with 3D printer

Post by tobetter »

** Subject has been changed **

I've built the packages to install Klipper softwares to ODROID-C4/N2, and they can run on Debian 9 or Ubuntu 20.04. Unfortunately, I've not built the complete OS image yet. The installation guide here is a bit different what you've found for RaspberryPi since all installation guides are pretty much focused and customized for RaspberryPi only. My approach is to install all modules using Debian packages I've customized from the serveral software modules.

Install steps:
1. Download the base image from the links and flash it to SD card or eMMC.
ODROID-C4 : Debian 9, Ubuntu 20.04
ODROID-N2 : Debian 9, Ubuntu 20.04
2. After booting with the image, update the image with the latest packages

Code: Select all

$ sudo apt update
$ sudo apt upgrade
3. The last step is to install software modules - Klipper/Moonraker/Mainsail

Code: Select all

$ sudo apt install mainsailos
$ sudo reboot
4. Done

What are supported:
  • All software modules will be installed and their services will be started automatically on booting.
  • No need to compile Klipper by yourself.
  • The reference Klipper configuration is installed in /usr/share/klipper/config
  • Mainsail (Klipper Web frontend) is also started, so you only need to check the IP address of your ODROID-C4/N2
What you have to do:
  • You must flash the Klipper firmware to your 3D printer controller board. Currently, you have to compile it by yourself unless your board is based on LPC176X. The firmware blob for LPC176X can be found in /usr/share/klipper/firmware/LPC176X after sudo apt install klipper-mcu
  • You must create/change the printer configuration file in /etc/klippy_config/printer.cfg for your printer controller board, otherwise Klipper service won't run properly
  • You should change the file /var/snap/mjpg-streamer/current/config if you wish to connect Webcam

Code: Select all

INPUTOPTS="input_uvc.so -d /dev/video0"
PORT="-p 8080"
DAEMON="false"
  • For webcam support, webcam/?action=stream must be added to Webcam URL (Mainsail Settings -> Interface)
Screenshot from 2021-01-21 00-56-41.png
Screenshot from 2021-01-21 00-56-41.png (179.34 KiB) Viewed 4556 times
Please note that this is still experimental phase for my personal project.
These users thanked the author tobetter for the post:
rooted (Mon Feb 15, 2021 10:54 am)

User avatar
rooted
Posts: 8770
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: Running ODROID-C4/N2 with 3D printer

Post by rooted »

How well is your printer running?

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Running ODROID-C4/N2 with 3D printer

Post by tobetter »

rooted wrote:
Thu Jan 21, 2021 5:06 am
How well is your printer running?
Well...I've not tested yet......since my boss at home dislike it... :(
Just run and tested basic functions with ODROID-C4 and SKR 1.3 which is my original controller board using the Klipper with the image.

User avatar
odroid
Site Admin
Posts: 38212
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2068 times
Been thanked: 1237 times
Contact:

Re: Running ODROID-C4/N2 with 3D printer

Post by odroid »

tobetter wrote:
Thu Jan 21, 2021 5:40 am
since my boss at home dislike it... :(
My wife also really hates me soldering at home. I would like to have my own space where I can do hobbies. :evil:

User avatar
tobetter
Posts: 8462
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 492 times
Been thanked: 1341 times
Contact:

Re: Running ODROID-C4/N2 with 3D printer

Post by tobetter »

odroid wrote:
Thu Jan 21, 2021 9:49 am
tobetter wrote:
Thu Jan 21, 2021 5:40 am
since my boss at home dislike it... :(
My wife also really hates me soldering at home. I would like to have my own space where I can do hobbies. :evil:
So am I... :(
I need a garage...

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 1 guest