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

    Duet2 ethernet and 12864 display using ST7567

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    11
    42
    3.8k
    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.
    • fulgundefined
      fulg
      last edited by

      @cncmodeller M150 is not supported on Duet2 due to lack of memory. There are some details in this thread but it is hard to follow. That thread specifically says V2.1 of the display (the one with a NeoPixel) does not work on Duet2.

      I can confirm a Fysetc V1.2 12864 display works on Duet2 with RRF 3.2.2, you just need a custom wiring loom. I have since moved on to a Mini5+ where the V2.1 is natively supported.

      VORON V2 CoreXY + Duet3 Mini5+ Ethernet v1.0 with Mini2+ expansion, VORON V0 CoreXY + Duet2 Maestro

      CNCModellerundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
      • CNCModellerundefined
        CNCModeller @fulg
        last edited by

        @fulg said in Duet2 ethernet and 12864 display using ST7567:

        @cncmodeller M150 is not supported on Duet2 due to lack of memory. There are some details in this thread but it is hard to follow. That thread specifically says V2.1 of the display (the one with a NeoPixel) does not work on Duet2.

        I can confirm a Fysetc V1.2 12864 display works on Duet2 with RRF 3.2.2, you just need a custom wiring loom. I have since moved on to a Mini5+ where the V2.1 is natively supported.

        Thanks for the heads up.

        As I've got one of the 2.1 displays now, perhaps I can drive the neopixel from a separate Arduino using the neopixel library? I just want a backlight running.

        If so do we know which pin is the neopixel data pin? It's not obvious to me from the fysetc page.

        http://wiki.fysetc.com/Mini12864_Panel/

        Many thanks

        Polar Duet3 Mini + 1HCL
        https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
        Wanhao D4S: Duet2
        https://forum.duet3d.com/post/296755
        K40 Laser, Duet2
        https://forum.duet3d.com/post/312082
        Wanhao D5S
        https://www.youtube.com/CNCModellerUK

        gloomyandyundefined 1 Reply Last reply Reply Quote 0
        • gloomyandyundefined
          gloomyandy @CNCModeller
          last edited by

          @cncmodeller The schematic for the display is here: https://github.com/FYSETC/FYSETC-Mini-12864-Panel/blob/master/hardware/V2.1/Mini12864(RGB)V2.1_sch.pdf

          Looks like the Neopixel control signal is the "Red" pin 5 on EXP1

          CNCModellerundefined 1 Reply Last reply Reply Quote 0
          • CNCModellerundefined
            CNCModeller @gloomyandy
            last edited by

            @gloomyandy said in Duet2 ethernet and 12864 display using ST7567:

            @cncmodeller The schematic for the display is here: https://github.com/FYSETC/FYSETC-Mini-12864-Panel/blob/master/hardware/V2.1/Mini12864(RGB)V2.1_sch.pdf

            Looks like the Neopixel control signal is the "Red" pin 5 on EXP1

            Thanks @gloomyandy I'll give it a go and report back.

            Polar Duet3 Mini + 1HCL
            https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
            Wanhao D4S: Duet2
            https://forum.duet3d.com/post/296755
            K40 Laser, Duet2
            https://forum.duet3d.com/post/312082
            Wanhao D5S
            https://www.youtube.com/CNCModellerUK

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

              @fulg said in Duet2 ethernet and 12864 display using ST7567:

              M150 is not supported on Duet2 due to lack of memory

              This statement frightens me. I'm planning on writting big(ger) meta command macros for Duet2.
              Now I'm afraid they don't fit....or is the Neopixel library so huge?

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @o_lampe
                last edited by

                @o_lampe it’s running out of flash ROM space for the firmware, not RAM. Your macros should be fine.

                @CNCModeller I have asked @dc42 if he can add Neopixel support to Duet 2; the other forum post suggested he was going to look into it, and I don’t see a reply about lacking memory (though I know it is tight). If it isn’t possible, I’ll update the documentation to say that only boards with single colour backlight (ie v1.2 of Fysetc 12864 LCD) are supported.

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                CNCModellerundefined 1 Reply Last reply Reply Quote 0
                • CNCModellerundefined
                  CNCModeller @droftarts
                  last edited by

                  @droftarts thanks for the update! It's usable now but not great. I'll hang on for an update from @dc42 but can always fall back on a separate Arduino if required.

                  Polar Duet3 Mini + 1HCL
                  https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                  Wanhao D4S: Duet2
                  https://forum.duet3d.com/post/296755
                  K40 Laser, Duet2
                  https://forum.duet3d.com/post/312082
                  Wanhao D5S
                  https://www.youtube.com/CNCModellerUK

                  rilotundefined 1 Reply Last reply Reply Quote 0
                  • rilotundefined
                    rilot @CNCModeller
                    last edited by

                    @cncmodeller I'm using a seperate Arduino to drive the backlight. Works fine.

                    CNCModellerundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
                    • CNCModellerundefined
                      CNCModeller @rilot
                      last edited by

                      @rilot said in Duet2 ethernet and 12864 display using ST7567:

                      @cncmodeller I'm using a seperate Arduino to drive the backlight. Works fine.

                      @rilot good to know, thanks.

                      Polar Duet3 Mini + 1HCL
                      https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                      Wanhao D4S: Duet2
                      https://forum.duet3d.com/post/296755
                      K40 Laser, Duet2
                      https://forum.duet3d.com/post/312082
                      Wanhao D5S
                      https://www.youtube.com/CNCModellerUK

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

                        @rilot said in Duet2 ethernet and 12864 display using ST7567:

                        @cncmodeller I'm using a seperate Arduino to drive the backlight. Works fine.

                        I have some ATMega44 chips soldered on a small SOP16 PCB(*), would they be powerful enough to drive the Neopixel?
                        Can you compile your program with Atmega44 selected?
                        Does it switch the backlight on/off, when I push the button on the LCD?

                        *) It's the green PCB (Pololu stepper driver footprint)
                        ATMega44.jpg

                        1 Reply Last reply Reply Quote 0
                        • Topherundefined
                          Topher
                          last edited by

                          @fulg said in Duet2 ethernet and 12864 display using ST7567:

                          @cncmodeller M150 is not supported on Duet2 due to lack of memory. There are some details in this thread but it is hard to follow. That thread specifically says V2.1 of the display (the one with a NeoPixel) does not work on Duet2.

                          I can confirm a Fysetc V1.2 12864 display works on Duet2 with RRF 3.2.2, you just need a custom wiring loom. I have since moved on to a Mini5+ where the V2.1 is natively supported.

                          I just picked up a Mini5+. Sticker on the back says V1.0 and connected to the Fysetc 12864 display with included 2811 RGB drivers. After adding M918 P2 E2 and M150 X1 Q3000000 to my config file, the LCD works just fine, but nothing on the side of M150 controlling the screens LED's. Any ideas?

                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @Topher
                            last edited by

                            @leckietech
                            Which firmware?
                            And which version of fysetc screen?

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                            Topherundefined 1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators
                              last edited by

                              Firmware 3.3beta3 will support a short string of Neopixels on Duet WiFi and Ethernet.

                              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

                              Topherundefined 1 Reply Last reply Reply Quote 0
                              • Topherundefined
                                Topher @dc42
                                last edited by

                                @dc42 said in Duet2 ethernet and 12864 display using ST7567:

                                Firmware 3.3beta3 will support a short string of Neopixels on Duet WiFi and Ethernet.

                                I will give this a try when I get to work tomorrow, thanks. Will this firmware allow the M300 to play tones with wifi2? Currently, it just sends DC out to the piezo for the set duration but no oscillation.

                                1 Reply Last reply Reply Quote 0
                                • Topherundefined
                                  Topher @jay_s_uk
                                  last edited by

                                  @jay_s_uk said in Duet2 ethernet and 12864 display using ST7567:

                                  @leckietech
                                  Which firmware?
                                  And which version of fysetc screen?

                                  Im running RRF 3.2.2 with 12864 display using ST7567 and its got 3 on board 2811 drivers:
                                  https://www.aliexpress.com/item/32862853197.html?spm=a2g0s.9042311.0.0.5d614c4doODGv6

                                  dc42undefined 1 Reply Last reply Reply Quote 0
                                  • fs9undefined
                                    fs9
                                    last edited by

                                    Hello!

                                    This is my first post on the forum, so if I apologize in advance for any gaffes I eventually make. 😬

                                    I've been following this topic and others related to ST7567-based LCDs for a while, and a few days ago, I was discussing with a friend about the mess that wiring it for the Duet2 can quickly become, so I made a simple adapter board and wanted to share it, in case anyone has an interest. I have tested the wiring the board is based on, but not yet the board itself (I'll make it on a protoboard before placing an order), but it does look pretty straightforward. Board sits directly over Duet2, and EXP_1/EXP_2 cables go between it and the LCD.

                                    https://github.com/fs9/Duet-Mini12864

                                    I would very much appreciate feedback and suggestions, should anybody have any. 😁

                                    1 Reply Last reply Reply Quote 1
                                    • dc42undefined
                                      dc42 administrators @Topher
                                      last edited by

                                      @leckietech you need to run RRF 3.3 to be able to drive the WS2811 LEDs.

                                      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

                                      izemanundefined 1 Reply Last reply Reply Quote 1
                                      • izemanundefined
                                        izeman @dc42
                                        last edited by

                                        @dc42 I installed 3.3 and a ST7567 https://wiki.fysetc.com/Generic_12864_Panel/ to my duet2 wifi. Did the wiring loom and all seems to work fine. Communication between display and printer works, SD card access works etc.
                                        Only thing not working is the LED.
                                        I set the display up with M918 P2.
                                        And then I should be able to address the Neopixel LEDs with M150. Only command accepted is M150 X2, but it doesnt drive any LED of the display.
                                        And M150 X1 gives Error: M150: Unsupported LED strip type
                                        Any idea what to do to make the backlight of this display work with the Duet Wifi?

                                        izemanundefined 1 Reply Last reply Reply Quote 0
                                        • izemanundefined
                                          izeman @izeman
                                          last edited by

                                          Could someone using the Fysetc 2.1 and running a DUET please post his config here? I had it running for month now, but somehow my config got erased, and I can't get the display's LEDs working again. 😞

                                          I need this part, with the CORRECT PIN to setup... io5.out is not the correct one, and even after looking into manual ans stuff I can't figure it out. That's very confusing to me.

                                          M918 P2 E-4 F2000000           ; Fysetc 12864mini
                                          M950 E1 C"io5.out" T1 U3       ; create a RGB Neopixel LED strip with 3 LEDs on the Duet 3 Mini 5+ 12864_EXP1 header
                                          M150 E1 R0 U0 B255 P255 S1 F1  ; display led blue
                                          M150 E1 R255 U0 B0 P255 S1 F1  ; left encoder led red
                                          M150 E1 R0 U255 B0 P255 S1 F0  ; right encoder led green
                                          
                                          dc42undefined 1 Reply Last reply Reply Quote 0
                                          • dc42undefined
                                            dc42 administrators @izeman
                                            last edited by

                                            @izeman which firmware version are you using?

                                            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

                                            izemanundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA