Duet2 Maestro M150 Command not supported for 12864
-
@splicer what firmware version are you running?
-
@jay_s_uk I installed 3.4.5 before I started trying to add the 12864.
-
Can you link to the display?
-
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
-
@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.
-
@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...
-
@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!
-
@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.
-
@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?
-
@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.
-
@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
-
@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!
-
@droftarts Thank you for that!