You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anybody successfuly used the hd44780 driver in 'write only' mode? i.e. permanently holding the RW pin at GND and passing machine.NoPin as rw when creatingthe Device
I wanted to use it this way since the LCD board I'm using requires 5V, but I'm interfacing with a 3.3V MCU (Pi Pico) so want to avoid reading from the device at 5V.
I know I could use a bi-directional level shifter in the circuit, or a hardware hack, but since the driver supported this mode and timing is not important to me I thought I'd try to use it.
I've tried in 8-bit and 4-bit modes but no luck. Just get the boxes instead of text. The datasheet for the LCD module says it uses a SPLC780D rather than a HD44780 but from those datasheets I don't see a huge amount of difference in the timings.
I've tried changing ClearHomeTime & InstrExecTime in Config but found no values that work.
I've also tried rebuilding the driver with various timing changes during the Configure function for the initialization sequence to be more tolerant to the various devices as summarized here but still no luck.
If I connect RW to another GPIO pin - to allow the driver to read the 'busy flag' from the LCD module - then it works flawlessly in both 8-bit and 4-bit mode, so I've ruled out hardware failure.
No, I only started using this repo at v0.19.0 which is downstream of that commit (905fc6f). All the changes I tried from the descritpion were built against dev at the time.
neildavis
changed the title
HD44780 WriteOnly mode not working
HD44780 WriteOnly mode not working (with SPLC780D)
Apr 25, 2022
Has anybody successfuly used the
hd44780
driver in 'write only' mode? i.e. permanently holding the RW pin at GND and passingmachine.NoPin
asrw
when creating theDevice
I wanted to use it this way since the LCD board I'm using requires 5V, but I'm interfacing with a 3.3V MCU (Pi Pico) so want to avoid reading from the device at 5V.
I know I could use a bi-directional level shifter in the circuit, or a hardware hack, but since the driver supported this mode and timing is not important to me I thought I'd try to use it.
I've tried in 8-bit and 4-bit modes but no luck. Just get the boxes instead of text. The datasheet for the LCD module says it uses a SPLC780D rather than a HD44780 but from those datasheets I don't see a huge amount of difference in the timings.
I've tried changing
ClearHomeTime
&InstrExecTime
inConfig
but found no values that work.I've also tried rebuilding the driver with various timing changes during the
Configure
function for the initialization sequence to be more tolerant to the various devices as summarized here but still no luck.If I connect RW to another GPIO pin - to allow the driver to read the 'busy flag' from the LCD module - then it works flawlessly in both 8-bit and 4-bit mode, so I've ruled out hardware failure.
Any ideas greatfully recieved. Thanks.
Here's my program (8-bit mode variant)
The text was updated successfully, but these errors were encountered: