• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

New Raspberry Pi Zero 2W

Scheduled Pinned Locked Moved
General Discussion
10
65
4.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    o_lampe @jay_s_uk
    last edited by 28 Oct 2021, 12:14

    How much free RAM does a RPi 3 or 4 show after DSF has booted?

    undefined 1 Reply Last reply 28 Oct 2021, 12:43 Reply Quote 0
    • undefined
      chrishamm administrators @o_lampe
      last edited by 28 Oct 2021, 12:43

      @o_lampe On DuetPi:

      pi@duet3:~ $ free -h
      total used free shared buff/cache available
      Mem: 3.7Gi 342Mi 2.9Gi 58Mi 511Mi 3.2Gi
      Swap: 99Mi 0B 99Mi

      On DuetPi-lite (no GUI):

      pi@Ender3Pro ~> free -h
      total used free shared buff/cache available
      Mem: 1.8Gi 128Mi 1.5Gi 8.0Mi 175Mi 1.6Gi
      Swap: 99Mi 0B 99Mi

      Both are running on two different RPi 4s. I suspect some more RAM could be saved by turning off some more system services (like bluetooth and pulseaudio).

      Duet software engineer

      undefined 1 Reply Last reply 28 Oct 2021, 12:50 Reply Quote 1
      • undefined
        o_lampe @chrishamm
        last edited by 28 Oct 2021, 12:50

        @chrishamm Even in GUI mode it only takes ~350MB, that should work with the Zero 2W. But slicing is a different story.

        1 Reply Last reply Reply Quote 0
        • undefined
          o_lampe
          last edited by 29 Oct 2021, 07:51

          Don't want to highjack the thread, but while shopping in the raspberry shop, I saw the RP2040 aka. Raspberry Pi Pico.
          It has a very low price and comes with a Cortex M0 MCU. I wonder if it would work as Arduino nano replacement, or even better as a mini toolboard MCU?

          undefined undefined 2 Replies Last reply 29 Oct 2021, 09:18 Reply Quote 0
          • undefined
            rjenkinsgb @o_lampe
            last edited by 29 Oct 2021, 09:18

            @o_lampe said in New Raspberry Pi Zero 2W:

            It has a very low price and comes with a Cortex M0 MCU.

            On that off-topic subject 🙂
            I've been playing with some Seeed Xiao boards - again an M0 CPU with 256K flash, 32K RAM. About £5 on ebay and minuscule things, 17x20mm. Info:
            https://wiki.seeedstudio.com/Seeeduino-XIAO/

            I'd not thought of them in relation to 3D printing, but for a small, light auxiliary interface, they should be good.

            Robert J.

            Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

            1 Reply Last reply Reply Quote 0
            • undefined
              T3P3Tony administrators @o_lampe
              last edited by 29 Oct 2021, 10:41

              @o_lampe said in New Raspberry Pi Zero 2W:

              mini toolboard MCU?

              if someone wrote the code to use one of the pico processor cores to simulate CAN-FD fast enough then just maybe but that could well be impossible.

              www.duet3d.com

              undefined undefined 2 Replies Last reply 29 Oct 2021, 10:48 Reply Quote 0
              • undefined
                o_lampe @T3P3Tony
                last edited by 29 Oct 2021, 10:48

                @t3p3tony
                I tried to find a Pico board with Sam-C21 and CAN-FD.
                As Toolbord in the classic sense is difficult, but it could do some light duty chores, like extra fans, thermistors or other less timing relevant things.

                undefined 1 Reply Last reply 29 Oct 2021, 10:55 Reply Quote 0
                • undefined
                  T3P3Tony administrators @o_lampe
                  last edited by 29 Oct 2021, 10:55

                  @o_lampe i see using it as a coprocessor. There could be applications for a coprocessor (maybe not so much a toolboard but on a mainboard) but it adds significantly to the complexity of many things (think a firmware update).

                  www.duet3d.com

                  undefined 1 Reply Last reply 29 Oct 2021, 11:41 Reply Quote 0
                  • undefined
                    o_lampe @T3P3Tony
                    last edited by 29 Oct 2021, 11:41

                    @t3p3tony said in New Raspberry Pi Zero 2W:

                    There could be applications for a coprocessor (maybe not so much a toolboard but on a mainboard) but it adds significantly to the complexity of many things (think a firmware update).

                    I'd happily go that extra mile, if it helps the huge Duet2-community "over the hump" and enables it to benefit from future development.
                    The M0 processor has ~twice the power of the onboard MCU. If we'd use the onboard MCU as gateway and the M0 as mainprocessor, it would be a huge leap forward. (just dreaming)

                    undefined 1 Reply Last reply 29 Oct 2021, 11:43 Reply Quote 0
                    • undefined
                      T3P3Tony administrators @o_lampe
                      last edited by 29 Oct 2021, 11:43

                      @o_lampe I don't understand exactly what you are proposing? what would the board with the pico do? how would it communicate (and what hump are we getting over?)

                      www.duet3d.com

                      undefined 1 Reply Last reply 29 Oct 2021, 11:47 Reply Quote 0
                      • undefined
                        o_lampe @T3P3Tony
                        last edited by 29 Oct 2021, 11:47

                        @t3p3tony the M0 could do the multi-stream gcode analysis, while the onboard MCU does the pulse-generating for steppers, PWM a.s.o.
                        The hump is the limited RAM of the duet2 mcu

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          dc42 administrators
                          last edited by 29 Oct 2021, 12:19

                          @o_lampe said in New Raspberry Pi Zero 2W:

                          @t3p3tony
                          I tried to find a Pico board with Sam-C21 and CAN-FD.

                          See https://duet3d.dozuki.com/Wiki/Using_the_Sammy-C21_development_board_with_Duet_3.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          undefined undefined 2 Replies Last reply 29 Oct 2021, 12:24 Reply Quote 0
                          • undefined
                            PCR @dc42
                            last edited by 29 Oct 2021, 12:24

                            f2fddd63-2106-4a92-93f1-d542bfe3369f-grafik.png

                            undefined 1 Reply Last reply 29 Oct 2021, 13:03 Reply Quote 1
                            • undefined
                              o_lampe @dc42
                              last edited by 29 Oct 2021, 12:27

                              @dc42 I know the board, but it's out off stock and quite expensive. (27EUR vs 4EUR)
                              But I'd still consider it as Duet2 CoPro as described above.

                              @T3P3Tony I wouldn't mind to delete the last posts and start a new thread, although everything I posted about the M0 is IMHO also valid for the Zero 2W and any other SBC

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                T3P3Tony administrators @PCR
                                last edited by 29 Oct 2021, 13:03

                                @pcr nice! why the two different headers, one for Duet 3 and one for the 3 mini?

                                www.duet3d.com

                                undefined 1 Reply Last reply 29 Oct 2021, 13:16 Reply Quote 0
                                • undefined
                                  PCR @T3P3Tony
                                  last edited by 29 Oct 2021, 13:16

                                  @t3p3tony yes. I dont want to Stack in diectly on the Board. Because of some connectors. And yes the Header is placed diffrently on duet 3 and Duet Mini ;(

                                  undefined 1 Reply Last reply 29 Oct 2021, 15:26 Reply Quote 0
                                  • undefined
                                    PCR @PCR
                                    last edited by 29 Oct 2021, 15:26

                                    @pcr btw someone from Germany who Likes to Test the Board ?

                                    undefined undefined 2 Replies Last reply 29 Oct 2021, 17:54 Reply Quote 1
                                    • undefined
                                      zapta @T3P3Tony
                                      last edited by zapta 29 Oct 2021, 16:30

                                      @t3p3tony said in New Raspberry Pi Zero 2W:

                                      definitely worth giving it a go though!

                                      How about a duet controller board with a plugged in Pi Zero for both controller and SBC functionalities?

                                      Edit: or a Pi Zero and a minimal MCU for i/o only, basically a Klipper style RRF on a single board.

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        o_lampe @PCR
                                        last edited by 29 Oct 2021, 17:54

                                        @pcr said in New Raspberry Pi Zero 2W:

                                        @pcr btw someone from Germany who Likes to Test the Board ?

                                        Ich habe heute einen Zero 2W bestellt, aber ich habe weder Duet3 oder Mini5+.
                                        Vielleicht @cosmowave ?

                                        English: I've ordered a Z2W, but don't have duet3 nor Mini5...maybe Cosmowave?

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          PCR @PCR
                                          last edited by 29 Oct 2021, 18:18

                                          @pcr

                                          pi@raspberrypi:~ $ neofetch
                                          `.::///+:/-. --///+//-:`` pi@raspberrypi
                                          `+oooooooooooo: `+oooooooooooo: --------------
                                          /oooo++//ooooo: ooooo+//+ooooo. OS: Raspbian GNU/Linux 10 (buster) armv7l
                                          `+ooooooo:-:oo- +o+::/ooooooo: Host: Raspberry Pi Zero 2 Rev 1.0
                                          `:oooooooo+`` `.oooooooo+- Kernel: 5.10.63-v7+
                                          `:++ooo/. :+ooo+/.` Uptime: 10 mins
                                          ...` `.----.` ``.. Packages: 533 (dpkg)
                                          .::::-``:::::::::.`-:::-` Shell: bash 5.0.3
                                          -:::-` .:::::::-` `-:::- Terminal: /dev/pts/0
                                          `::. `.--.` `` `.---.``.::` CPU: BCM2835 (4) @ 1.000GHz
                                          .::::::::` -::::::::` ` Memory: 49MiB / 427MiB
                                          .::` .:::::::::- `::::::::::``::.
                                          -:::` ::::::::::. ::::::::::.`:::-
                                          :::: -::::::::. `-:::::::: ::::
                                          -::- .-:::-.``....``.-::-. -::-
                                          .. `` .::::::::. `..`..
                                          -:::-` -::::::::::` .:::::`
                                          :::::::` -::::::::::` :::::::.
                                          .::::::: -::::::::. ::::::::
                                          `-:::::` ..--.` ::::::.
                                          `...` `...--..` `...`
                                          .::::::::::
                                          `.-::::-`
                                          pi@raspberrypi:~ $ ls /opt/dsf/sd
                                          filaments firmware gcodes macros menu sys www
                                          1 Reply Last reply Reply Quote 0
                                          15 out of 65
                                          • First post
                                            15/65
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA