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

    FYSETC 12864

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    4
    26
    1.5k
    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.
    • Reefwarriorundefined
      Reefwarrior
      last edited by

      Hi all,

      So after a lot of struggle, I finally got the screen up and running (my other printer is running RRF; and not duet; so I used the script to get the screen up and running)....

      I'm having difficulty controlling/using the encoder wheel. I am not able to completely switch between all menu items - it is a bit wonky - don't know how to describe it.

      My script contains the following:

      ; ST7567 Init for FYSETC Mini12864 Panel V2.1
      ; Turn off backlight
      m150 X2 R0 U0 B0 S3 F0
      ; Configure reset pin
      M950 P2 C"PA.14"
      ; hardware reset of LCD
      M42 P1 S0
      G4 P500
      M42 P1 S1
      ; Turn display on
      M918 P2 C40 F2000000 E2
      ; Fade in backlight
      while iterations < 256
      m150 X2 R255 U255 B255 P{iterations} S1 F0
      G4 P20
      ; flash Button 3 times
      while iterations < 3
      m150 X2 R255 U255 B255 P255 S1 F1
      m150 X2 R0 U255 B0 P255 S2 F0
      G4 P250
      m150 X2 R255 U255 B255 P255 S1 F1
      m150 X2 R0 U255 B0 P0 S2 F0
      G4 P250
      ; Display "ready" button state
      m150 X2 R255 U255 B255 P255 S1 F1
      m150 X2 R255 U0 B0 P255 S2 F0

      I also don't know what to set in M950 P2 C"PA.14" --- as the duet uses a different naming convention. That refers to the 'configure reset pin' for the screen --- if I press the reset button, nothing happens.

      Any help/guidance is appreciated!
      Rgds
      Tinus

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

        @reefwarrior the reset pin is different to the reset button. The reset pin basically resets the screen into a ready state whereas the reset button resets the board. Depends how you've wired the reset pin up I suppose.
        Which board are you using this with?

        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

        Reefwarriorundefined 1 Reply Last reply Reply Quote 0
        • Reefwarriorundefined
          Reefwarrior @jay_s_uk
          last edited by

          @jay_s_uk Hi! Using it with a duet2. What can be the issue with the encoder not being able to select an item?

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

            @reefwarrior if you can't select anything, then you have an issue with your wiring to the Btn_Enc.
            And then for PA.14 will be where ever you've wired the LCD_RST pin to

            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

            Reefwarriorundefined 1 Reply Last reply Reply Quote 0
            • Reefwarriorundefined
              Reefwarrior @jay_s_uk
              last edited by

              @jay_s_uk

              EXP1.6 is wired to LCD.6
              EXP2.6 is wired to LCD.3
              EXP2.8 is wired to LCD.4

              EXP1 or EXP2
              and then Duet's LCD row of plugs (next to SD)

              1 Reply Last reply Reply Quote 0
              • Reefwarriorundefined
                Reefwarrior
                last edited by

                M918 P2 C40 F2000000 E2 causes the 'cursor' to jump all over if I turn one click back or forward. If I turn another click; it isn't flashing anymore; but I'm not able to select most of the stuff on the screen....

                1 Reply Last reply Reply Quote 0
                • Reefwarriorundefined
                  Reefwarrior
                  last edited by

                  Anybody?

                  1 Reply Last reply Reply Quote 0
                  • oliofundefined
                    oliof
                    last edited by

                    Try E1 as a first step?

                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                    Reefwarriorundefined 2 Replies Last reply Reply Quote 0
                    • Reefwarriorundefined
                      Reefwarrior @oliof
                      last edited by

                      @oliof

                      Tried E1, E2, E3, E4, E10, E20. None of it works the way it is supposed to....

                      oliofundefined 1 Reply Last reply Reply Quote 0
                      • Reefwarriorundefined
                        Reefwarrior @oliof
                        last edited by

                        @oliof I will try a different screen and board this afternoon - luckily I do have spare.

                        1 Reply Last reply Reply Quote 0
                        • oliofundefined
                          oliof @Reefwarrior
                          last edited by

                          @reefwarrior values of E1 to E4 (or E-1 to E-4) are expected and used. I have a FYSETC 12864 2.1 running on a Duet 3 mini 5+, with the following at the end of config.g

                          ; enable display
                          
                          M918 P2 E-4
                          G4 S1  ; pause
                          M918 P2 E-4
                          M150 X2 R255 U255 B255 S3 ; set all 3 LEDs to white
                          

                          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                          Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                          • Reefwarriorundefined
                            Reefwarrior @oliof
                            last edited by

                            @oliof Hi, tried. Different screen and different board. Same result.....

                            1 Reply Last reply Reply Quote 0
                            • Reefwarriorundefined
                              Reefwarrior
                              last edited by

                              @oliof said in FYSETC 12864:

                              @reefwarrior values of E1 to E4 (or E-1 to E-4) are expected and used. I have a FYSETC 12864 2.1 running on a Duet 3 mini 5+, with the following at the end of config.g

                              ; enable display
                              
                              M918 P2 E-4
                              G4 S1  ; pause
                              M918 P2 E-4
                              M150 X2 R255 U255 B255 S3 ; set all 3 LEDs to white
                              

                              Also I get the M150 command not supported.

                              CONFIRM the FYSETC mini12864 V2.1 is supported on Duet2 Wifi?

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

                                @reefwarrior X2 is not a valid command for standard RRF and its only valid on the STM port of RRF. Use X1

                                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

                                Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                                • Reefwarriorundefined
                                  Reefwarrior @jay_s_uk
                                  last edited by

                                  @jay_s_uk Even die x1 causes it to complain about the command. Been an uphill battle to get this screen to work...

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

                                    @reefwarrior which firmware version? I think neopixel support was only added to the duet 2 in recent beta builds

                                    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

                                    Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                                    • Reefwarriorundefined
                                      Reefwarrior @jay_s_uk
                                      last edited by

                                      @jay_s_uk Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3beta2 (2021-03-10)

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

                                        @reefwarrior yea, you need to update

                                        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

                                        Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                                        • Reefwarriorundefined
                                          Reefwarrior @jay_s_uk
                                          last edited by

                                          @jay_s_uk cool. Any specific version? Or just the latest BETA?

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

                                            @reefwarrior I would probably go 3.4b6 or 3.4b7+4 from here https://forum.duet3d.com/topic/26787/unofficial-rrf-3-4-0beta7-4-files/18

                                            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

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