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

    New Raspberry Pi Zero 2W

    Scheduled Pinned Locked Moved
    General Discussion
    10
    65
    4.2k
    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.
    • o_lampeundefined
      o_lampe @jay_s_uk
      last edited by

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

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @o_lampe
        last edited by

        @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

        o_lampeundefined 1 Reply Last reply Reply Quote 1
        • o_lampeundefined
          o_lampe @chrishamm
          last edited by

          @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
          • o_lampeundefined
            o_lampe
            last edited by

            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?

            rjenkinsgbundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
            • rjenkinsgbundefined
              rjenkinsgb @o_lampe
              last edited by

              @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
              • T3P3Tonyundefined
                T3P3Tony administrators @o_lampe
                last edited by

                @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

                o_lampeundefined PCRundefined 2 Replies Last reply Reply Quote 0
                • o_lampeundefined
                  o_lampe @T3P3Tony
                  last edited by

                  @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.

                  T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators @o_lampe
                    last edited by

                    @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

                    o_lampeundefined 1 Reply Last reply Reply Quote 0
                    • o_lampeundefined
                      o_lampe @T3P3Tony
                      last edited by

                      @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)

                      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                      • T3P3Tonyundefined
                        T3P3Tony administrators @o_lampe
                        last edited by

                        @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

                        o_lampeundefined 1 Reply Last reply Reply Quote 0
                        • o_lampeundefined
                          o_lampe @T3P3Tony
                          last edited by

                          @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
                          • dc42undefined
                            dc42 administrators
                            last edited by

                            @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

                            PCRundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
                            • PCRundefined
                              PCR @dc42
                              last edited by

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

                              T3P3Tonyundefined 1 Reply Last reply Reply Quote 1
                              • o_lampeundefined
                                o_lampe @dc42
                                last edited by

                                @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
                                • T3P3Tonyundefined
                                  T3P3Tony administrators @PCR
                                  last edited by

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

                                  www.duet3d.com

                                  PCRundefined 1 Reply Last reply Reply Quote 0
                                  • PCRundefined
                                    PCR @T3P3Tony
                                    last edited by

                                    @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 ;(

                                    PCRundefined 1 Reply Last reply Reply Quote 0
                                    • PCRundefined
                                      PCR @PCR
                                      last edited by

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

                                      o_lampeundefined PCRundefined 2 Replies Last reply Reply Quote 1
                                      • zaptaundefined
                                        zapta @T3P3Tony
                                        last edited by zapta

                                        @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
                                        • o_lampeundefined
                                          o_lampe @PCR
                                          last edited by

                                          @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
                                          • PCRundefined
                                            PCR @PCR
                                            last edited by

                                            @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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA