Ok, thanks. I guess the first step is to try the HD44780 driver in OpenELEC itself and see whether that works - would save a lot of time if it does! I’m at work at the moment, so wouldn’t be able to do this until later this evening though.
I was also looking for the controller needed for the DOT3K as I couldn’t find any reference on here, so thanks for that!
Not sure what I would need to do to reconcile etc, but I’ll happily report back on any progress with the built-in driver support in OpenELEC.
The next step would be hacking in some WiringPi libs to switch the register select pin- and potentially finding out how you compile just one driver rather than the whole thing.
I prefer using Python3 over Python2 for my tinkering and when I first got a Dot3k I remember it needed a lot of fiddling in the bowels of Python to get it working. With a recent re-assignment of my various Raspberry Pi devices, I’ve moved my Dot3k to a new Pi2 with a recent Rasbian and firmware (kernel version 4.0.9-v7+) so thought I’d document the steps needed to get the Dot3k going under Python3.
Is that really all it took? Nice! One day I might support something more than just the Pi- but it’s unfortunately a very slippery slope and before you know it half your library code is conditional logic and sniffing to try and figure out what system it’s running on.
Hope I did this in the correct forum location! The majority of problems that you are having with hardware devices connect to a Raspberry Pi 2 can be fixed by this timing issue in jessie: https://gist.github.com/Gadgetoid/57084ec5817142a118ac
This is pretty old news now, from way back during the Pi 1 to Pi 2 transition. I don’t believe it’s a problem in any recent versions of Jessie, applying this fix would do nothing at best.
I’ve installed Jessie dozens of times since this problem was resolved, and have never needed to do this. The Gist that you link is my bug report and proof which was used to arrive at the original fix and if you repeat the steps therein on a fresh Jessie install you will see an expected delay of 1.08 to 1.25 seconds ( the delay within the code plus overheads ) and not the 20sec that was caused by the bug.
In fact, Display-o-Tron 3000 still worked with the bug, it was just very, very, very slow.
I’m going to go out on a limb and guess that the only part of this fix that helped your setup in any way was the necessary reboot.
Hi guys. I am in the middle of a project using a DOT3K and have a lot of the code done and working fine. My problem is that it’s going to be an audio project, so I also want to use the Wolfson Audio hat from element14. I can get them both connected fine by using a 90 degree ‘IO shim’ to replicate the GPIO connections at 90 degrees - and the display backlight and text is fine, but the joystick stops functioning with both boards connected.
I have checked the I2C addresses are different for both boards (wolfson is 3b and DOT3K is 54) so that’s not an issue - is there any documentation as to how the joystick is wired to the GPIO so I can start trying to debug this?