Fysetc 12864 on Duet Wifi
-
@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.
-
@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).
-
@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.
-
@izeman heres the info
https://github.com/FYSETC/FYSETC-Generic-12864-panel -
@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
-
@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.1Oh 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 -
@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?!
-
@jay_s_uk said in Fysetc 12864 on Duet Wifi:
@izeman heres the info
https://github.com/FYSETC/FYSETC-Generic-12864-panelI 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
-
Could it be that the backlight is lit, but it's just too dim to see?
-
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.
-
@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
-
@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
-
@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).
-
@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 boardI 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?
-
@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?
-
@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). -
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?
-
@izeman you could use M950 and M42 for it
-
@pcr said in Fysetc 12864 on Duet Wifi:
M950 and M42
So if I look at that wiring diagram:
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
-
@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.