Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Fysetc 12864 on Duet Wifi

    Duet Hardware and wiring
    6
    30
    622
    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.
    • izeman
      izeman last edited by izeman

      I read all threads I found, and some are too technical, some don't seem to cover the questions I have. And reading the WIKI this is the info I got, and I ask someone to confirm:

      The DUET Wifi CAN run a 12864 display, preferably with ST7567 chip. You need to make a customized wire harness to run it.

      So I ordered a FYSTEC mini v2.1 and standard v1.1. Both work fine. The display works, the encoder and the SD card (which I don't need).

      BUT what does not work is the LIGHT. They all remain dark.
      The mini v2.1 got RGB WS2812 LEDs for sure, as I can drive them when I connect my WLED firmware powered ESP32 to EXP1,2&5. Runs fine all colors. The v1.1 though does NOT.

      So my questions:

      a) Do I still need some level shifter for the v2.1 LEDs to work?
      b) As the v1.1 seems to be the SINGLE COLOR backlight type (no RGB LED): How do I turn it on? Some pins to be powered? Or some settings to be used?

      Ah! And I forgot to mention: The RESET button doesn't do anything either. Is it supposed to reset the mainboard, or the LCD only?

      Thanks a lot in advance. I'm really pulling my hair out on this ... An LCD w/o backlight is completey useless.

      89bb1e04-333e-4e1d-bc77-e15a6df2d1d1-image.png

      871af37a-482d-4be0-882d-65a15e6b8d4e-image.png

      Don't know it that helps?

      1b42ea40-c126-4094-bc53-58acadaa8b13-image.png

      T3P3Tony dc42 2 Replies Last reply Reply Quote 0
      • T3P3Tony
        T3P3Tony administrators @izeman last edited by

        @izeman

        how do you have the v2.1 LCD wired?

        I looked on the Fsytec wiki and did not see the pinout for the v1.1 - where is that?

        www.duet3d.com

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

          @t3p3tony the v1.2 pinout is here https://github.com/FYSETC/FYSETC-Mini-12864-Panel/blob/master/hardware/V1.2/mini12864原理图.pdf
          there wasn't a v1.1, onlt v1.2, 2.0 and 2.1

          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

          T3P3Tony izeman 2 Replies Last reply Reply Quote 0
          • T3P3Tony
            T3P3Tony administrators @jay_s_uk last edited by

            @jay_s_uk thanks. @izeman if you have a v1.2 it has an RGB backlight according to that schematic, not a single colour one.

            www.duet3d.com

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

              @izeman said in Fysetc 12864 on Duet Wifi:

              Do I still need some level shifter for the v2.1 LEDs to work?

              If the WS2812 LEDs are driven directly by the signal from the Duet, then it's likely that you will need a level shifter, because the WS2812 expect 5V signals but the Duet 2 provides 3.3V. On the Duet 3 Mini we include a level shifter to drive pin 5 of the EXP_1 connector, which I think is the one that drives the WS2812.

              The WS2812 signals are quite fast, so the bidirectional level shifters you can get that are designed for I2C may to work. I suggest one quarter of a 74HCT08, or similar.

              I didn't find any info on the version 1.1 display - perhaps it was not open source.

              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

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

                @dc42 said in Fysetc 12864 on Duet Wifi:

                I didn't find any info on the version 1.1 display - perhaps it was not open source.

                At least i SAYS it't open source. But a website can tell anything. https://wiki.fysetc.com/Generic_12864_Panel/ . It included links to schematics etc as well.

                It seems there are WS2812 and "regular single color LED" types.

                Pinout is exactly the same for 1.1 (standard size) and 2.1 (mini).

                jay_s_uk T3P3Tony 2 Replies Last reply Reply Quote 0
                • izeman
                  izeman @T3P3Tony last edited by

                  @t3p3tony said in Fysetc 12864 on Duet Wifi:

                  @izeman if you have a v1.2 it has an RGB backlight according to that schematic, not a single colour one.

                  Thanks. I got both. 1.1 as it's bigger and the 2.1. But as dc42 wrote it seems I need a level shifter as well. Got one ordered. So I may be able to test this weekend.

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

                    @izeman heres the info
                    https://github.com/FYSETC/FYSETC-Generic-12864-panel

                    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

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

                      @izeman I think the confusion is that there documentation makes no mention of v1.1 and talks only about v1.2, v2.0 and v2.1

                      www.duet3d.com

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

                        @jay_s_uk said in Fysetc 12864 on Duet Wifi:

                        @t3p3tony the v1.2 pinout is here https://github.com/FYSETC/FYSETC-Mini-12864-Panel/blob/master/hardware/V1.2/mini12864原理图.pdf
                        there wasn't a v1.1, onlt v1.2, 2.0 and 2.1

                        Oh yes. There is. But the description of LCD (single version) is empty. Don't know how to interpret this. Does it mean that it should just light up when VCC is applied? Or is it just not filled out and missing? That's what i was hoping to find out. Just wondering if I'm the first and only one preferring a larger LCD over the mini version. 🙂
                        Here's the scheme:
                        https://github.com/FYSETC/FYSETC-Generic-12864-panel/blob/master/12864 Generic RGB SCH.pdf

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

                          @t3p3tony said in Fysetc 12864 on Duet Wifi:

                          @izeman I think the confusion is that there documentation makes no mention of v1.1 and talks only about v1.2, v2.0 and v2.1

                          Maybe. The description says: "Available in a single backlight color version, also available in RGB backlight (NEOPIXEL_LED)version.Choose according to your preferences" and the pic in the Wiki clearly shows a v1.1. I THINK that 1.1 is single LED and 1.2 is RGB?!

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

                            @jay_s_uk said in Fysetc 12864 on Duet Wifi:

                            @izeman heres the info
                            https://github.com/FYSETC/FYSETC-Generic-12864-panel

                            I know. I posted the link above as well. But it does't say how to enable backlight. Can you spot the information? I'm pretty bad in reading that stuff. Never learned it. Just guessing 😞

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

                              Could it be that the backlight is lit, but it's just too dim to see?

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

                                I want to report that latest beta (or some beta inbetween 3.3 rel and latest beta) firmware fixed the issue (at least) for mini 2.1 LCD.

                                LEDs are working fine now, and there's NO need for a level shift. Just use the wiring as indicated in the wiki and all will work fine.

                                Well, the RESET button of the display does NOTHING. Is this intended? Or did I wire it incorrectly. Would be nice to have some safety reset feature on a hardware button.

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

                                  @izeman If you still have the larger, 'Generic' 12864 Panel V1.1, does it have WS2812 LEDs? I think it usually comes needing 3 PWM pins, but in the listing here https://www.aliexpress.com/item/33029483516.html it says:

                                  Available in a single backlight color version, also available in RGB backlight (NEOPIXEL_LED)version.Choose according to your preferences!

                                  Which should work!

                                  Ian

                                  Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

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

                                    @droftarts said in Fysetc 12864 on Duet Wifi:

                                    I think it usually comes needing 3 PWM pins

                                    What does that mean? Are they for backlight enablement? And no, I don't think 1.1 has WS2812. And this Chinese English copy and paste stuff makes no sense, as you can not choose ... Or at least they don't tell you how 😞

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

                                      @izeman glad you got it working.

                                      as you say the documentation is very unclear. if you have a version with a single colour backlight than you only need 1 pwm pin to control that. if you had the version (v1.2?) which had an RGB backlight (not the WS2812 LED type) then you would have needed three PWM pins to control each of the three colours (R,G,B).

                                      www.duet3d.com

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

                                        @t3p3tony Not documentation - if refered to the duet wiki, but "item description by the sellers". Each of them seams to copy from other sites, and mainly from Fysetc Wiki which is, well, not really clear.

                                        You say I need one PWM to drive the LCD backlight, and I'm surely agree, but there's two questions:
                                        a) I don't know which pin on EXP1-3 is the LCD backlight input pin
                                        b) I don't know how to drive it from duet board

                                        I now could connect a 5V signal to all of the EXP pins, and see which one makes the LCD light up, but I guess this may burn something, right?

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

                                          @izeman Ahh i see that the v2.1 is now working, but its still the v1.1 that is not clear.

                                          Maybe email Fystec to ask for the information on v1.1?

                                          www.duet3d.com

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

                                            @t3p3tony said in Fysetc 12864 on Duet Wifi:

                                            @izeman Ahh i see that the v2.1 is not working, but its still the v1.1 that is not clear.

                                            Maybe email Fystec to ask for the information on v1.1?

                                            Exactly. The MINI 2.1 works fine now. And the "large" 1.1 is working, but no backlight. Well, it's all about backlight only 😉
                                            Getting in contact with Fysetc is not that easy. I tried all: Contacting by email (didn't find any) and opening an account on their forum (impossible as I always get error messages).

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

                                              I'm really impressed. Who says, Chinese companies don't care about customers and don't give after sales support?
                                              Definitely NOT Fystec. Contacting them was not easy, as their forum seems to not work properly, but using the shop@fystec.com address I got reply, and was directly forwarded to some tech support! 🙂

                                              Reply was:

                                              Yes, GENERAL 1.1 don't have RGB led, only ON/OFF backlight, we only driver it in Marlin but not RRF, the led control pin is at EXP1_04

                                              This sounds like good news. Checking the wiring layout, EXP1#4 is NOT used.

                                              Now: Supposed this is a PWM-in pin, how can it be used from Duet? I may just power it with 3.3V (or 5V) for full LCD backlight? Or will this not work?

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

                                                @izeman you could use M950 and M42 for it

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

                                                  @pcr said in Fysetc 12864 on Duet Wifi:

                                                  M950 and M42

                                                  So if I look at that wiring diagram:

                                                  0d97706e-fddf-4c13-9978-98fe23cca5f8-image.png

                                                  I can see CONN_SD got pins #7,8,9,10 unused. Let's take #7 which is labeled ENC_SW. Can I reuse that pins for what I need?

                                                  And as I understand I need M950 to assign a"function" to a pin. But what's the pin number? You see I'm a little lost here ...

                                                  Any help how the M950 command should look like would be highly appreciated 🙂 Thanks

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

                                                    @izeman you can only use pins that are available to be addressed using the firmware. The enca, encb and encsw pins are available but you needs those for the rotary encoder on the controller. Assuming you are not using a Duex5 the easiest thing is to pick up one of the heater pins on the expansion header and level shift that before connecting it to the control pin on the display.

                                                    www.duet3d.com

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

                                                      @t3p3tony Thank you! I now just took a short cut and connected 5V to the EXP1#4 and the backlight lit up!! Unfortunately there are a lot of white vertical white lines in the display, which don't go away, playing with contrast etc. So I ditched the big display again and now use just the small one which works perfectly fine.

                                                      Maybe the information found (no need for voltage adjustment for neopixel, and EXP1#4 for backlight) are valueable for others. 🙂

                                                      Thanks everyone for your support!!

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