Show us how do you connect it to mini.
Mini => Screen
SCA => SCA + 1k8 Pull up res to 5V
SCL => SCL + 1k8 Pull up res to 5V
Seem’s the screen receives something but i can just get strange chars or the backlight turn’s on/off…
I tried to reverse bit order but it doesn’t help.
SCA and SCL pins on mini have required pull-ups already. Try connecting the screen directly.
Here is Mini schematics for your convenience.
How, that’s a good thing.
but i have been trying during 2 days without the pull-ups.
i don’t know where to search…
Like this, right?
Mini => Screen
SDA => SDA
SCL => SCL
Can you snap a picture of your wiring?
OK, when I’ll be home, i’ll make a picture.
thanks, already for your precious support
Looks about right.
Connections all good, no cold joints?
If you have an Arduino, I would try the example arduino code as well to make sure the display is good.
i checked and redone some joints. no luck.
i took another mini and another screen, made this :
still no luck…
i am starting to guess why it’s not working the wiring on my hardware (screen) doesn’t correspond to the “bansky” wiring…
my chip PCF8574T is connected like this :
PCF8574T => LCD
7 => D7
6 => D6
5 => D5
4 => D4
But “bansky” connected it to :
7 => D3
6 => D2
5 => D1
4 => D0
but knowing that the bytes must be cut in 4 by 4, and maybe the order should be reversed (no idea) and that they have to be mixed with commands and orders,
i am puzzled. it would be easier to find the code in .NET.
I made it work
it was in fact the wiring. instead to put the command on the first 4 bits ( on the left). I had to put them on the right and shift the data to the left…
thanks architect for your support, you helped me to keep courage on this one
Sorry, don’t understand what difference you’re talking about - the D numbers are the same??!!
The PCF8574 is just an I2C IO module. Simplistically, you clock in 8 bits of data, then it presents those 8 bits as a single byte (across the 8 output wires). So what we need to do is make sure you present the right sequence of bits to the IO expander, so it presents the right sequence of bytes to the device. If you don’t have the same “bit-wire” connected to the LCD controller as the Bansky code sends, then you need to rearrange that appropriately.
Of course, the I2C adapter is just that, an adapter. You could hijack the raw HD44780 pins on the LCD and prove that works if you wanted to (but it’ll use a few more pins )
Ah cool, glad to hear you sorted it out - while I was typing !
thanks, Brett. I’ve corrected the post about the numbering