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

    Duet2 Maestro M150 Command not supported for 12864

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    14
    484
    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.
    • splicerundefined
      splicer
      last edited by

      I've almost totally gotten my display working thanks to the information already posted at https://docs.duet3d.com/en/User_manual/Connecting_hardware/Display_12864 and https://forum.duet3d.com/topic/14732/duet-mastero-12864-lcd-connection plus the various schematics and diagrams from Duet3D and BIGTREETECH, the maker of my 12864 display. It's a 1.0 board, so supposedly just like the Fysetc Mini12864 V2.1 panel, driven by a ST7567. I'm running firmware v3.4.5 on my Maestro. I have a temporary wiring loom to connect EXP1 pin 7 and 8 to EXP0 and EXP1 on the Maestro.

      The problem I'm encountering is that the backlights won't come on. I can see the display is working but only very faintly because there's no light shining through the LCD.

      According to the Duet3D docs linked above, I've issued the M918 P2 E2 F2000000 code, which enables the panel but not the display LEDs. Next I'm supposed to use a series of M150 codes, but it looks as though the Maestro does not support M150. I get the response:

      Warning: M150: Command is not supported

      I see an issue opened up at https://github.com/Duet3D/RepRapFirmware/issues/485 regarding M150 support for the Maestro.

      If there is no M150 support on the Maestro, then this display is not compatible with the Maestro and perhaps ought not be listed as a compatible display in the docs. Or is there something else I'm likely to have missed/misunderstood?

      Thank you!

      cyrax72 created this issue in Duet3D/RepRapFirmware

      closed add support for the M150 command to the Duet 2 Maestro #485

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

        @splicer what firmware version are you running?

        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

        splicerundefined 1 Reply Last reply Reply Quote 0
        • splicerundefined
          splicer @jay_s_uk
          last edited by

          @jay_s_uk I installed 3.4.5 before I started trying to add the 12864.

          1 Reply Last reply Reply Quote 1
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Can you link to the display?

            Z-Bot CoreXY Build | Thingiverse Profile

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

              I have a feeling I got the Warning: M150: Command is not supported response when I was playing around with a Mini12864 on Maestro late last year, but didn't think anything of it as I moved onto a Mini 5+, and eventually got it working. I think I assumed I go the message because I hadn't wired it correctly. Now I look at this page https://docs.duet3d.com/User_manual/Connecting_hardware/IO_Neopixel_DotStar it would seem that the Maestro has been left out, so maybe it doesn't have support for LEDs, only support for the Fysetc Mini12864 V1.2, with fixed backlight. One for @dc42 to look at.

              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

              1 Reply Last reply Reply Quote 0
              • splicerundefined
                splicer @Phaedrux
                last edited by

                @Phaedrux Yes! Here's what I have:

                https://github.com/bigtreetech/MINI-12864/tree/master/mini12864_v1.0/Hardware

                My understanding was that it is the same as the Fysetc Mini 12864 but I'm seeing @droftarts saying that that has a fixed backlight whereas the BIGTREETECH has fancy RGB lights. That might be the root of my troubles.

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

                  @splicer There are three different versions of the Fysetc Mini 12864 display, one has a simple fixed backlight, one has RGB LEDs with separate pins controlling the LEDs and one has Neopixel LEDs...

                  splicerundefined 1 Reply Last reply Reply Quote 0
                  • splicerundefined
                    splicer @gloomyandy
                    last edited by

                    @gloomyandy I don't see different versions of the BTT 12864 display. Their docs (linked above) say that it's RGB but there's only one pin for "RGB". The docs say the color is settable by "the interface" and shows some photos of menus. Nowhere in the user manual's text does it say "Neopixel" but "RGB Neopixel Backlight" does appear in a comment in a screenshot of code in that manual.

                    I don't know how to access their menus but I'll try reconnecting it to an Arduino to see if I can duplicate what's in their user manual when the Maestro isn't overriding the menu system (hopefully it's not too late for that). Don't know if that'll work but it's worth a shot.

                    Even if the color is settable that way, I still need to be able to turn the light on, and that can only be done with the M150 unless I've misunderstood what I've been reading.

                    Thank you!

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

                      @splicer the Duet Maestro is very short of spare outputs. I think that is why we didn't enable bit-banged Neopixel support on it. Using a ST7567 display already uses up the EXP1 and EXP2 pins on the expansion header. That leaves only the Servo pin, which is shared with Z_MOD and often used to control a BLTouch, and the two I2C pins. I guess it may be possible to use one of the I2C pins if the I2C interface is not used.

                      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

                      splicerundefined 1 Reply Last reply Reply Quote 0
                      • splicerundefined
                        splicer @dc42
                        last edited by

                        @dc42 Thanks. I wish the docs at https://docs.duet3d.com/User_manual/Connecting_hardware/Display_12864 reflected this. They explicitly state that the FYSETC 1.2 and 2.1 boards (and the similar ones from other manufacturers) are compatible (albeit with wiring loom) and that the 2.0 boards with the 3-pwm RGB displays are not.

                        But even if I can get a 1.2 board, I'll need the M150 command in order to turn on the backlight, right?

                        dc42undefined droftartsundefined 2 Replies Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @splicer
                          last edited by

                          @splicer said in Duet2 Maestro M150 Command not supported for 12864:

                          But even if I can get a 1.2 board, I'll need the M150 command in order to turn on the backlight, right?

                          According to https://wiki.fysetc.com/Mini12864_Panel/ the version 1.2 board has a fixed colour backlight, so no. You would need M150 t turn on the LEDs around the encoder.

                          We're looking at making the Neopixel pins fully selectable in future, and I can add M150 support to the Maestro at that time.

                          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

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

                            @splicer I have updated the documentation to make this clear, with the following:

                            NOTE: As of RRF v3.4.5, the Duet 2 Maestro does not currently support the M150 command for controlling addressable LEDs/NeoPixel backlights, because Maestro is very short of spare outputs. Displays with a fixed backlight should work, eg Fysetc Mini12864 Panel V1.2 (NOT V2.0 or V2.1), but have not been tested.

                            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

                            splicerundefined 1 Reply Last reply Reply Quote 0
                            • splicerundefined
                              splicer @dc42
                              last edited by

                              @dc42 Thanks for clarifying. I'm sure I can use the 2.1 board in another project, so I'll see if I can get hold of a 1.2. I'm not in any rush; I use the web interface to control my printer. It would just be nice to have the extra display for looking at the status at a glance.

                              I'll keep my eyes peeled for the updates. There's another Maestro at my makerspace waiting to have a printer built around it!

                              Thank you!

                              1 Reply Last reply Reply Quote 0
                              • splicerundefined
                                splicer @droftarts
                                last edited by

                                @droftarts Thank you for that!

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