Running ODROID-C4/N2 with 3D printer

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

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

Post by tobetter »

The original project is to use ODROID-N2Plus for the 3D printer contol, two 3D printer controller board have been assembled for ODROID-N2 and ODROID-C4. Today, I've run ODROID-C4 with my Ender-3 to see if it's capable to run using Klipper and got to know it's fair enough so far. Most CPU hungry process in this setup is klipper_muc at the first row which actually controls steppers and sensors, even this process eats CPU hardly more than 15%. In contrast, Python script - Klipper and service apps are not busy. :)
Screenshot from 2021-01-26 22-38-28.png
Screenshot from 2021-01-26 22-38-28.png (460.49 KiB) Viewed 1854 times


The 3DBenchy has been printered at 150mm/sec after several layers at 50mm/sec.
IMG_20210126_2230416.jpg
IMG_20210126_2230416.jpg (116.31 KiB) Viewed 1854 times
IMG_20210126_2229577.jpg
IMG_20210126_2229577.jpg (166.66 KiB) Viewed 1854 times
These users thanked the author tobetter for the post (total 2):
odroid (Wed Jan 27, 2021 9:40 am) • rooted (Mon Feb 15, 2021 10:50 am)

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

So it looks like you got the rest of the electronics working on your control board and with the C4, that's good progress!

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

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

Post by tobetter »

hominoid wrote:
Tue Jan 26, 2021 11:22 pm
So it looks like you got the rest of the electronics working on your control board and with the C4, that's good progress!
Likely, I've run the same set up more than 5 hours to print a couple of things and the last thing while recording the previous video is just finished now.
Just in case, if you are planning to install and use Klipper, you can follow up the instruction in the link on ODROID-N2/C4.
viewtopic.php?p=319026#p319026

This is printed at 150mm/sec.
IMG_20210127_0012059.jpg
IMG_20210127_0012059.jpg (212.55 KiB) Viewed 1850 times

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

I do want to give klipper a try on my c4, I haven't yet. I'm evaluating whether to upgrade my current printer or build a new one. I was also kinda waiting to see how this project turned out because I might like to do something similar. If I do, starting with a new build to take advantage of the speed and accuracy capability of a sbc driven printer would be my preference. Getting to start with a clean slate with a new design is certainly appealing. if I upgrade, I think I might regret not having kept around my prusa i3 v1 I built all those years ago.

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

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

Post by rooted »

Those prints look great, I've been wanting to try klipper for this awesome feature since ghosting or ringing is such a problem at high speeds.

https://www.klipper3d.org/Measuring_Resonances.html

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

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

Post by tobetter »

rooted wrote:
Wed Jan 27, 2021 2:25 pm
Those prints look great, I've been wanting to try klipper for this awesome feature since ghosting or ringing is such a problem at high speeds.

https://www.klipper3d.org/Measuring_Resonances.html
I've seen this in Youtube, https://www.youtube.com/watch?v=Q4OGfAHRnhY, later I consider to build the PCB, but the 3-Axis board is in my shopping cart already and will try later.

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

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

Post by tobetter »

hominoid wrote:
Wed Jan 27, 2021 9:52 am
I do want to give klipper a try on my c4, I haven't yet. I'm evaluating whether to upgrade my current printer or build a new one. I was also kinda waiting to see how this project turned out because I might like to do something similar. If I do, starting with a new build to take advantage of the speed and accuracy capability of a sbc driven printer would be my preference. Getting to start with a clean slate with a new design is certainly appealing. if I upgrade, I think I might regret not having kept around my prusa i3 v1 I built all those years ago.
I would take the word "SBC DRIVREN PRINTER". :)
Personally, I would go for Voron if my budget permits and want to try with ODROID as well. As of now, I would like to try more stable hardware with this ODROID print setup.

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

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

Post by rooted »


tobetter wrote:
hominoid wrote:
Wed Jan 27, 2021 9:52 am
I do want to give klipper a try on my c4, I haven't yet. I'm evaluating whether to upgrade my current printer or build a new one. I was also kinda waiting to see how this project turned out because I might like to do something similar. If I do, starting with a new build to take advantage of the speed and accuracy capability of a sbc driven printer would be my preference. Getting to start with a clean slate with a new design is certainly appealing. if I upgrade, I think I might regret not having kept around my prusa i3 v1 I built all those years ago.
I would take the word "SBC DRIVREN PRINTER". :)
Personally, I would go for Voron if my budget permits and want to try with ODROID as well. As of now, I would like to try more stable hardware with this ODROID print setup.
When my funds are adequate I plan on building a HevORT, similar to Voron in price. CoreXY is definitely the way to go.

https://youtu.be/ibsBiALMMSE


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

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

Post by tobetter »

rooted wrote:
Thu Jan 28, 2021 3:00 am
tobetter wrote:
hominoid wrote:
Wed Jan 27, 2021 9:52 am
I do want to give klipper a try on my c4, I haven't yet. I'm evaluating whether to upgrade my current printer or build a new one. I was also kinda waiting to see how this project turned out because I might like to do something similar. If I do, starting with a new build to take advantage of the speed and accuracy capability of a sbc driven printer would be my preference. Getting to start with a clean slate with a new design is certainly appealing. if I upgrade, I think I might regret not having kept around my prusa i3 v1 I built all those years ago.
I would take the word "SBC DRIVREN PRINTER". :)
Personally, I would go for Voron if my budget permits and want to try with ODROID as well. As of now, I would like to try more stable hardware with this ODROID print setup.
When my funds are adequate I plan on building a HevORT, similar to Voron in price. CoreXY is definitely the way to go.

https://youtu.be/ibsBiALMMSE
HevORT is like Linux with PC while Voron is Apple to me, I perfer to have more fancy one. :) I've ordered the accelometer sensor board and will see I can run it in this weekend.

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

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

Post by rooted »


tobetter wrote:
HevORT is like Linux with PC while Voron is Apple to me, I perfer to have more fancy one. :) I've ordered the accelometer sensor board and will see I can run it in this weekend.
I look forward to your results.

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

The Voron and HevORT are really nice designs that are very capable. What is garnering my attention is the ramification of the fixed or movable bed or gantry. I'm still evaluating each approach so I don't have an opinion or preference yet.

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

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

Post by tobetter »

My Ender-3 becomes more fancy and ODROID-C4 with my printer board doing great job. All orange colour parts are printed in this printer, it's printing about at 150mm/s. I am printing a board to mount SKR 1.3 to run by ODROID-C4 in order to compare if the performance is different with ODROID-C4 driven printer. In addition, I am about to release a bare minimal Klipper image for ODROID-C4 in a week. :)
IMG_20210204_0154082.jpg
IMG_20210204_0154082.jpg (434.57 KiB) Viewed 1747 times
These users thanked the author tobetter for the post:
odroid (Thu Feb 04, 2021 9:20 am)

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

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

Post by rooted »

It should be an interesting comparison, although I don't believe you will have any issue printing 150mm/s with the SKR I'm interested in the quality differences.

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

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

Post by tobetter »

rooted wrote:
Thu Feb 04, 2021 8:03 pm
It should be an interesting comparison, although I don't believe you will have any issue printing 150mm/s with the SKR I'm interested in the quality differences.
Ha.... :D
I had the same question and took SKR 1.3 from my CR-10 and attached to new one with ODROID-C4. To be honest, I expected some differences for comparision but quality wise it's not quite different. Klipper is really doing good and ODROID-C4 has enough performance room.
IMG_20210204_2051365.jpg
IMG_20210204_2051365.jpg (162.94 KiB) Viewed 1740 times
These users thanked the author tobetter for the post:
rooted (Mon Feb 15, 2021 10:49 am)

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

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

Post by rooted »

I think once you pair Klipper with the accelerometer there will be noticeable differences :)

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

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

Post by tobetter »

rooted wrote:
Fri Feb 05, 2021 8:05 am
I think once you pair Klipper with the accelerometer there will be noticeable differences :)
Have you done this with your printer?
SKR 1.3 is also running by Klipper, maybe comparing with stock board would be noticeable...

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

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

Post by rooted »

tobetter wrote:
rooted wrote:
Fri Feb 05, 2021 8:05 am
I think once you pair Klipper with the accelerometer there will be noticeable differences :)
Have you done this with your printer?
SKR 1.3 is also running by Klipper, maybe comparing with stock board would be noticeable...
No my printer doesn't support klipper currently and I've not replaced the board with the SKR Pro yet.

I keep track of a few people who run klipper using the accelerometer and the difference it makes is amazing.

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

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

Post by tobetter »

New part ADXL345 has been added to ODROID-C4 and had performed resonance test, it's a bit confusing and difficult part since I've run Klipper on my printers. :) And it looks like it would take long time to get decent measurement figures. So...I've just performed a couple times for X and Y axis and got the graphs as below. The tool recommened a different resonance values and after applying them to the Klipper configuration, don't know if it's properly applied or not, but feeling a bit shaking smoother even higher acceleration.
IMG_20210207_2037424.jpg
IMG_20210207_2037424.jpg (161.77 KiB) Viewed 1700 times
shaper_calibrate_x.png
shaper_calibrate_x.png (174.85 KiB) Viewed 1700 times
shaper_calibrate_y.png
shaper_calibrate_y.png (170.48 KiB) Viewed 1700 times
These users thanked the author tobetter for the post:
odroid (Mon Feb 08, 2021 11:11 am)

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

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

Post by tobetter »

I've finally built an OS image for ODROID-C4 to run Klipper and uploaded to here. This image installs required modules, Klipper/Moonraker/Mainsail/KlipperScreen, so you can run Klipper after finishing the basic Klipper configuration.

What's different with the official instruction guide of Klipper.
1. All services are debianized, update can be managed by apt update.
2. Klipper configuration file is located /etc/klippy_config/printer.cfg.
3. Very first Klipper configuration for your 3D printer board can be selected using /usr/sbin/klipper_config.
4. No need to compile the Klipper MCU firmware, it's already compiled for many CPUs and provided in /usr/sharel/klipper/firmware/*
5. KlipperScreen is already installed and run by default, can be display to HDMI.

These users thanked the author tobetter for the post (total 3):
hominoid (Mon Feb 15, 2021 9:32 am) • odroid (Mon Feb 15, 2021 9:44 am) • rooted (Mon Feb 15, 2021 10:48 am)

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

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

Post by rooted »

Awesome job. You have just made it easy to get started using klipper from the C4, I'm very thankful for what you have done and will be sharing it with the 3D printing community.

I'm blown away.
These users thanked the author rooted for the post:
tobetter (Mon Feb 15, 2021 11:16 am)

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

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

Post by tobetter »

This thread has not been updated for a month....

I've uploaded the schematic and gerber files of the board to Github... :)
https://github.com/tobetter/3DPrinterShield
These users thanked the author tobetter for the post (total 2):
joerg (Wed Mar 17, 2021 4:59 am) • hominoid (Wed Mar 17, 2021 11:21 am)

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

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

Post by rooted »

Thanks for making the files available, it's great to have open hardware.

Have you been running your Ender with the board you designed over the past month? Any issues?

User avatar
joerg
Posts: 1348
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 86 times
Been thanked: 197 times
Contact:

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

Post by joerg »

Thanks, @tobetter. I am thinking about to make one. But I am newbie with 3d printers. Would it be possible to use it also with other models as ender3?

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

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

Post by rooted »

joerg wrote:Thanks, @tobetter. I am thinking about to make one. But I am newbie with 3d printers. Would it be possible to use it also with other models as ender3?
Sure, klipper works on a lot of printers.

If you mean you will be building the board then it will work on any printer that doesn't need more than 4 steppers.

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

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

Post by tobetter »

joerg wrote:
Wed Mar 17, 2021 5:02 am
Thanks, @tobetter. I am thinking about to make one. But I am newbie with 3d printers. Would it be possible to use it also with other models as ender3?
As @rooted mentioned, the shiled board only works for a printer with 4 steppers(X/Y/Z/E) so in general it would work after struggling the configration with Klipper, but it's way easier and better than Marlin. I've built the Klipper ready OS image for ODROID-C4, so no need to purchase RPi, let me know if you need to use ODROID-N2 or -HC4, I can build the image for you. :)

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

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

Post by rooted »

I think the C4 is the perfect device, definitely what I will be using if I can ever get klipper going on my printer.

It's based on STM32F407VET6 which klipper supports but there is no ready made configuration and I have no pin map so it will be a nightmare to get going.

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

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

Post by tobetter »

rooted wrote:
Wed Mar 17, 2021 4:24 am
Thanks for making the files available, it's great to have open hardware.

Have you been running your Ender with the board you designed over the past month? Any issues?
Thanks, Ender-3 with the board is running every weekend and is completely assembled last weekend. I had "mcu shutdown" issue like this, but after removing a couple of lines which emit the shutdown, the issue does not come again and never had a critical quality issue yet.
https://github.com/KevinOConnor/klipper/issues/2449

So this is my Ender-3 and all plastic parts on it is printed by itself with PLA and PETG.
IMG_20210317_0809396.jpg
IMG_20210317_0809396.jpg (514.59 KiB) Viewed 1360 times
IMG_20210317_0813242.jpg
IMG_20210317_0813242.jpg (436.38 KiB) Viewed 1360 times
My Cura setup for Ender-3 is 150mm/sec for everything except the initial layer at 30mm/sec. Had tried 200mm/sec with no luck since stock extruder is not enough to melt the filament and stock steppers are very noisy...so...clone of Mosquitto is coming and thinking of purchasing LDO steppers for X/Y.

I'd like to improve the design in order to support more steppers using I2C-GPIO chipsset, but...not many people is interesting in this one and I already spent much more than 4-5 Chinese motion controller board, I am happy to build my own board and customize my printer with. :mrgreen:
These users thanked the author tobetter for the post:
odroid (Wed Mar 17, 2021 11:36 am)

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

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

Post by rooted »

Your printer upgrades are awesome, I see you are using a Voron Mobius extruder :)

You have done a lot of nice work. I agree you could get Chinese stuff much cheaper but there has to be satisfaction from designing and building your own. Also boards from China have terrible quality control and you may have to buy more than one over time because of failure.

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

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

Post by tobetter »

rooted wrote:
Wed Mar 17, 2021 9:14 am
Your printer upgrades are awesome, I see you are using a Voron Mobius extruder :)
Ha...it's very strong extruder but have a bit noisy retraction. Funny thing is that the noise becomes very low with LDO 23mm stepper. That's the reason to think of replacing X-Y steppers with LDO 40mm steppers. In addition, I've installed Chinese Linear Guides, not HiWin brand, they work nicely better than I expected.
You have done a lot of nice work. I agree you could get Chinese stuff much cheaper but there has to be satisfaction from designing and building your own. Also boards from China have terrible quality control and you may have to buy more than one over time because of failure.
Thank you, I am happy to build my own, a bit sad I could not get inputs about the effort...I've played in the Klipper discord with this stuff but no one is interesting in... :)

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

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

Post by rooted »

I think the Voron guys would be really interested in your design if it could run 7 steppers.

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

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

Post by tobetter »

rooted wrote:
Wed Mar 17, 2021 9:35 am
I think the Voron guys would be really interested in your design if it could run 7 steppers.
Maybe...then I would have Voron 2.4 for testing... :o
The advantage of using this board is that one do not need to struggle to wire the motors and sensors. :)

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

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

Post by rooted »

tobetter wrote:
rooted wrote:
Wed Mar 17, 2021 9:35 am
I think the Voron guys would be really interested in your design if it could run 7 steppers.
Maybe...then I would have Voron 2.4 for testing... :o
The advantage of using this board is that one do not need to struggle to wire the motors and sensors. :)
That's what we call a win win ImageImage

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

@tobetter, thanks for sharing the design files for your 3D printer shield. This project turned out very nice!

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

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

Post by tobetter »

hominoid wrote:
Wed Mar 17, 2021 11:30 am
@tobetter, thanks for sharing the design files for your 3D printer shield. This project turned out very nice!
Thank you, I wish to see your NEW printer...
This design is quite simple as you see, not complicated...so...maybe someone can try...

Also, I've update the first page for other resources.
viewtopic.php?p=313473#p313473

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

tobetter wrote:
Wed Mar 17, 2021 11:47 am
hominoid wrote:
Wed Mar 17, 2021 11:30 am
@tobetter, thanks for sharing the design files for your 3D printer shield. This project turned out very nice!
Thank you, I wish to see your NEW printer...
This design is quite simple as you see, not complicated...so...maybe someone can try...

Also, I've update the first page for other resources.
viewtopic.php?p=313473#p313473
I received my PCB’s for the 3DPrinterShield and their beautiful in black. I have almost all the parts for the PCB build. The vcc terminal block is out of stock at Digi-Key with a mid June restocking. I have something that might work in it’s stead but we’ll have to see how that goes and the 2209 and 5160 stepper drivers are on their way.
pcb-parts1.png
pcb-parts1.png (2.54 MiB) Viewed 798 times
While waiting, I have been doing a deeper dive into the several printer designs and upgrades, including test prints for some, to see what issues there are and what resources are necessary for the build. I haven’t decided yet what I’m going to drive with this board but upgrading my current printer is still a strong possibility due to the length of time and/or part availability for the new builds that interest me the most.

One last thing, the gerber files in the op do not have any hole data currently. I had to generated it for my PCB production but, I have to imagine it was not intended to be left out.

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

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

Post by rooted »

tmc5160 are expensive, I lucked out and got 8 for only $40 but I've not used them yet.

I went with them due to better thermal characteristics and higher amperage handling if I ever needed it.

I know people running HevORT printers on tmc2209 up around 500mm/s so they are definitely enough for what we are doing with them.

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

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

Post by tobetter »

hominoid wrote:
Wed Apr 28, 2021 6:48 am
tobetter wrote:
Wed Mar 17, 2021 11:47 am
hominoid wrote:
Wed Mar 17, 2021 11:30 am
@tobetter, thanks for sharing the design files for your 3D printer shield. This project turned out very nice!
Thank you, I wish to see your NEW printer...
This design is quite simple as you see, not complicated...so...maybe someone can try...

Also, I've update the first page for other resources.
viewtopic.php?p=313473#p313473
I received my PCB’s for the 3DPrinterShield and their beautiful in black. I have almost all the parts for the PCB build. The vcc terminal block is out of stock at Digi-Key with a mid June restocking. I have something that might work in it’s stead but we’ll have to see how that goes and the 2209 and 5160 stepper drivers are on their way.
pcb-parts1.png
While waiting, I have been doing a deeper dive into the several printer designs and upgrades, including test prints for some, to see what issues there are and what resources are necessary for the build. I haven’t decided yet what I’m going to drive with this board but upgrading my current printer is still a strong possibility due to the length of time and/or part availability for the new builds that interest me the most.

One last thing, the gerber files in the op do not have any hole data currently. I had to generated it for my PCB production but, I have to imagine it was not intended to be left out.
WoW!! I haven't imagine anyone build the board...I really like to see it works with your new printer, am curious also what it looks like and how it performs. One problem I am afraid of is you waste your money due to the cost of build the board. I wish it does not happen...please let us know how it goes...

Good luck!!

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

rooted wrote:
Wed Apr 28, 2021 5:30 pm
tmc5160 are expensive, I lucked out and got 8 for only $40 but I've not used them yet.

I went with them due to better thermal characteristics and higher amperage handling if I ever needed it.

I know people running HevORT printers on tmc2209 up around 500mm/s so they are definitely enough for what we are doing with them.
That’s a great deal. They will definitely handle anything I’ll be doing.
tobetter wrote:
Wed Apr 28, 2021 10:16 pm
WoW!! I haven't imagine anyone build the board...I really like to see it works with your new printer, am curious also what it looks like and how it performs. One problem I am afraid of is you waste your money due to the cost of build the board. I wish it does not happen...please let us know how it goes...

Good luck!!
I will post some pictures once it’s together and working with an update on it’s performance. Regardless of what happens it will not be a waste of money, so don’t worry. The early RAMPS boards were expensive to build before they were mass produced starting with RAMPS 1.4. And, the general response of the REP-RAP community was a collective yawn when 32 bit micro-controllers were first introduced for 3D printing. They were scarce, expensive and worked with almost no printers. It took years for them to become the dominate controller. So, I’m not surprised by the low interest right now with your effort to bring application processors forward. Many people focus on what’s in front of them and relevant now, not in the future, technology leaders look forward and act.

IMO implementing application processors is the cutting edge of 3D printing right now. There are no new printer designs that haven’t been out there forever nor have I seen anything better in the control arena beyond 32bit micro-controllers. Time will tell but IMO, in 5-10 years everyone will be running application processors instead of micro-controllers just like everyone runs 32bit instead of 8bit micro-controllers now. Who knows, you might have earned yourself an entry in Wikipedia for the first functional application processor driven 3D printer. :)

So my game plan is to test and confirm the operational readiness of your approach for my own use and as a historical means of providing a documented independent peer review of your work. Once that is accomplished, depending on your direction and plans, I would like to work on expanding it to include more motor and sensor support so there is enough I/O for any printer design, there by helping to solidify application processors as the new paradigm in 3D printing moving forward.

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

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

Post by rooted »


hominoid wrote: So my game plan is to test and confirm the operational readiness of your approach for my own use and as a historical means of providing a documented independent peer review of your work. Once that is accomplished, depending on your direction and plans, I would like to work on expanding it to include more motor and sensor support so there is enough I/O for any printer design, there by helping to solidify application processors as the new paradigm in 3D printing moving forward.
That sounds great mate, I would love to see this project grow into something which can power any printer or CNC.

I believe the first person to do this is the guy who created the PandaPi but I've not researched the board to verify it works the same way.

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

It looks like PandaPi has made more progress since the beginning of the year and has a real-time kernel and supports Klipper if you have the latest revision of their board. Kudos for what they have accomplished but it still uses a sm32 micro-controller as well as the PI4 to control the printer. I would like a printer control board that is 100% application processor driven, you loose to many advantages doing otherwise. For instance it still limits the potential for printer speed increases to the SM32 they use in their design. @tobetter has a I2C to PIO in his current design that adds 16 more IO lines which is enough for 2 more motors. I don't know if he has it working yet or not but if so then the same approach could be used to expand it further while retaining 100% application processor control and speed with no micro-controllers.

EDIT: It's also a proprietary product and not open. :cry:

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

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

Post by tobetter »

hominoid wrote:
Thu Apr 29, 2021 6:33 am
It looks like PandaPi has made more progress since the beginning of the year and has a real-time kernel and supports Klipper if you have the latest revision of their board. Kudos for what they have accomplished but it still uses a sm32 micro-controller as well as the PI4 to control the printer. I would like a printer control board that is 100% application processor driven, you loose to many advantages doing otherwise. For instance it still limits the potential for printer speed increases to the SM32 they use in their design. @tobetter has a I2C to PIO in his current design that adds 16 more IO lines which is enough for 2 more motors. I don't know if he has it working yet or not but if so then the same approach could be used to expand it further while retaining 100% application processor control and speed with no micro-controllers.

EDIT: It's also a proprietary product and not open. :cry:
I know PandaPi and seeing that they have 500+ facebook members. Since RPI does not have on-board ADC, they would need yet another component for it or STM32 is required for time critical motor driving. I've not tested GPIO expand chip yet. I've added this for version 2 in order to assign the pins to control low speed signals such as heat on/off and limit switch sensors, and assign CPU gpio pins to more steppers for additional extruder or z-axis. In order to test more faster printing, like 300+mm/s with 10000 accels, I need more tighten printer frame. Since I have no such printer, like Voron 2.4, and I already spent much money to purchase components and tools, no plan for version 2 yet.

I will be glad to help you if you need my hands. :)

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

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

Post by rooted »


@hominoid

It has two modes of operation I believe, the Pi can directly drive the steppers and the MCU drives the heated bed and possibly some other pins or you can run klipper on the MCU and it behaves in the traditional way unless I'm misinterpreting.

Yeah I'm not sure why it's not open, I thought it was.

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

tobetter wrote:
Thu Apr 29, 2021 12:18 pm
I will be glad to help you if you need my hands. :)
I understand and thanks for the offer to help if needed.
rooted wrote:
Thu Apr 29, 2021 4:30 pm
@hominoid

It has two modes of operation I believe, the Pi can directly drive the steppers and the MCU drives the heated bed and possibly some other pins or you can run klipper on the MCU and it behaves in the traditional way unless I'm misinterpreting.

Yeah I'm not sure why it's not open, I thought it was.
I was doing more reading last night at the PandaPI git and web site, there does appear to be different HW modes as your indicating. As far as the openness, the micro-controller firmware is posted and there is a schematic but it doesn't have all the components properly labeled. So some information but not enough to reproduce the project as far as I can tell.

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

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

Post by rooted »

What we do know for sure is this is open and indeed works, I've read people having various degree of success with PandaPi.

I look forward to seeing your printer in action.

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

PCB assembly is done, onward.
3d_printer_shield.jpg
3d_printer_shield.jpg (216.49 KiB) Viewed 559 times
These users thanked the author hominoid for the post:
tobetter (Sat May 01, 2021 12:26 pm)

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

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

Post by tobetter »

hominoid wrote:
Sat May 01, 2021 11:54 am
PCB assembly is done, onward.
3d_printer_shield.jpg
I am looking forward this board works for you.
By the way, what's the part of FET?

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

I generated a BOM from the schematic so I 'm using the same ones as indicated on the schematic, IRFR024N and IRLR7843TRPBF. I'll be doing an initial power-up test later today or tomorrow so hopefully they are ok. Let me know if you ended up using different ones for some reason. Another minor technical issue I had was regarding what forward bias to use for the leds, I ended up going with 2v. Did you try a ribbon cable between the C4 and shield or only the direct connect shield setup? Regardless, worst case I do some de-soldering and order more parts.

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

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

Post by tobetter »

hominoid wrote:
Sat May 01, 2021 11:35 pm
I generated a BOM from the schematic so I 'm using the same ones as indicated on the schematic, IRFR024N and IRLR7843TRPBF. I'll be doing an initial power-up test later today or tomorrow so hopefully they are ok. Let me know if you ended up using different ones for some reason. Another minor technical issue I had was regarding what forward bias to use for the leds, I ended up going with 2v. Did you try a ribbon cable between the C4 and shield or only the direct connect shield setup? Regardless, worst case I do some de-soldering and order more parts.
Sorry, I had to replace IRFR024N to IRLR7843TRPBF due to the gate threadhold voltage, I missed this part to use 5V signal. Using the short ribbon cable would work, I've used while debugging the signals.

hominoid
Posts: 540
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: 62 times
Been thanked: 195 times
Contact:

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

Post by hominoid »

tobetter wrote:
Sun May 02, 2021 12:16 am
Sorry, I had to replace IRFR024N to IRLR7843TRPBF due to the gate threadhold voltage, I missed this part to use 5V signal. Using the short ribbon cable would work, I've used while debugging the signals.
So you replaced all three IRFR024N with IRLR7843TRPBF. I'll have to order some, I only have one more on hand. One other clarification since I have to order parts, the diodes D1 and D2 are listed as S1D and S1G on the schematics but I noticed a note referencing a 1n4001 for both, was there another change, which is correct? I know you used the RAMPS design as a reference in some areas and that's what they use, please clarify.

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

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

Post by tobetter »

hominoid wrote:
Sun May 02, 2021 1:47 am
tobetter wrote:
Sun May 02, 2021 12:16 am
Sorry, I had to replace IRFR024N to IRLR7843TRPBF due to the gate threadhold voltage, I missed this part to use 5V signal. Using the short ribbon cable would work, I've used while debugging the signals.
So you replaced all three IRFR024N with IRLR7843TRPBF. I'll have to order some, I only have one more on hand. One other clarification since I have to order parts, the diodes D1 and D2 are listed as S1D and S1G on the schematics but I noticed a note referencing a 1n4001 for both, was there another change, which is correct? I know you used the RAMPS design as a reference in some areas and that's what they use, please clarify.
I've used S1D and S1G on my board, their footprints are identical 1N4001, intended to test other diodes as well.
Sorry for confusion. :?

EDIT: In case you can put level shifter or a logic gate which output is 5V (with 3.3V input from ODROID GPIO), IRFR024N would work.

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 4 guests