HD44780 problems #5262
Replies: 1 comment
-
Posted at 2016-02-23 by AlexOwen The exact code is:
Posted at 2016-02-23 by @gfwilliams Do you think it was a firmware version change? I'm struggling to think what the issue could be. I know the HD44780 sometimes gets upset if it's sent data too quickly, but honestly I doubt that's the issue here. Posted at 2016-02-23 by Wilberforce Are you using a breadboard? Recheck your wiring, as a bad connection will stop it working! Posted at 2016-02-23 by DrAzzy Doesn't Espruino on ESP8266 output debug info on D2 if you don't turn that off?
Posted at 2016-02-24 by AlexOwen I managed to solve it! I was assuming the library would set the pinMode, but it doesn't (maybe it should?). Here's the working code:
@drazzy, setting the debug mode seems to have no effect, but I've added it in just to cover all bases, thanks for that. @wilberforce, my setup was on veroboard and working last time I used it, but thanks for the suggestion. @gfwilliams, thanks for your input as always (I still think it's amazing that you put so much time and effort into this). I'm not sure if the driver should set the pinMode or if the Espruinos have different defaults to the ESP8266. Posted at 2016-02-24 by DrAzzy digitalWrite() should set pin mode (unless you've otherwise set it manually), unlike in Arduino et al. I remember hearing something about the ESP8266 port not doing that. I assumed that was fixed though, since they were talking about it late last year I think... Posted at 2016-02-25 by @gfwilliams Yes, I'd thought this was fixed - what's your firmware version? In this case it's definitely a problem with the ESP8266 port as opposed to the HD44780 module though. Posted at 2016-02-25 by Ollie There's an open issue re this, here espruino/Espruino#735 AFAIK pinMode is still required. I set it in the sketches I'm running on ESP8266, although I don't have latest build. Posted at 2016-02-25 by @gfwilliams I just tried with the latest build - I know I only have ESP01, but it seems to work fine for me without the need for Posted at 2016-02-25 by the1laz @AlexOwen how well is the module working for you? I gave it quick go on the ESP8266 and it was quite inaccurate. Just wondering if it was just me? Posted at 2016-02-26 by AlexOwen @gfwilliams, I'll give that a go. @the1laz what do you mean by inaccurate? Mine seems to be up and running well and it's been updating every minute for 2 days without issue so far. Posted at 2016-02-26 by the1laz Sorry, misread your post, thought you were talking about a different module. :S |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-02-23 by AlexOwen
Hi,
Is anyone else using a HD44780 on an ESP8266 in parallel? I had it working, but for some reason it isn't any more. I'm just trying the example code but all the screen is displaying is a line of squares (uninitialised). Does anyone have any ideas?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions