Hi
I use an LCD HD44780 + Pcf8574 in my raspi and i write data via C# code. All works fine but in some case display show strange char. If i restart application it works fine but after some pressure it happens again.
I read this issue is related to freq that arduino solve with wire.setClock.
I try to set
dtparam=i2c_baudrate=190000 (-> 95Khz)
but if remove my thread sleep LCD show strange char
Any idea?
- FTrevorGowen
- Forum Moderator
- Posts: 6862
- Joined: Mon Mar 04, 2013 6:12 pm
- Location: Bristol, U.K.
Re: Strange Char on LCD HD44780+Pcf8574
What "E-strobe" timings are in use? You may be falling foul of this known issue (esp. w.r.t. PCF8574 based display interfaces):andmattia wrote: ↑Thu Jun 23, 2022 10:53 amHi
I use an LCD HD44780 + Pcf8574 in my raspi and i write data via C# code. All works fine but in some case display show strange char. If i restart application it works fine but after some pressure it happens again.
I read this issue is related to freq that arduino solve with wire.setClock.
I try to set
dtparam=i2c_baudrate=190000 (-> 95Khz)
but if remove my thread sleep LCD show strange char
Any idea?
http://www.cpmspectrepi.uk/raspberry_pi ... gData.html
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B, B+, and a A+) but Buster on the P3B+, P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm
Re: Strange Char on LCD HD44780+Pcf8574
Hi Trev
thanks for you reply but how can I check this timing?
In my c# app I doesn't set nothing. I use this sketch
https://docs.microsoft.com/en-us/dotnet ... cd-display
thanks for you reply but how can I check this timing?
In my c# app I doesn't set nothing. I use this sketch
https://docs.microsoft.com/en-us/dotnet ... cd-display
- FTrevorGowen
- Forum Moderator
- Posts: 6862
- Joined: Mon Mar 04, 2013 6:12 pm
- Location: Bristol, U.K.
Re: Strange Char on LCD HD44780+Pcf8574
Sorry I don't use C# so can't comment further however I would expect the timings to be observable in the source code if you have access to that. If you post what may be the relevant parts here within code tags someone else may be able to advise you better.andmattia wrote: ↑Tue Jun 28, 2022 3:32 pmHi Trev
thanks for you reply but how can I check this timing?
In my c# app I doesn't set nothing. I use this sketch
https://docs.microsoft.com/en-us/dotnet ... cd-display
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B, B+, and a A+) but Buster on the P3B+, P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm
Re: Strange Char on LCD HD44780+Pcf8574
Ok
I try to look to source code on gitHub
thanks for your suggestion
I try to look to source code on gitHub
thanks for your suggestion