Wednesday, January 22, 2020

LCD Shield - DFROBOT


So recently I worked on a project where I wanted to have a simple display show the temperature and humidity as well as have a button to trigger a timer.  This was meant to be a resin casting assistant, hence the name "RES-ASSIST".



I ran into numerous problems with using a nano and a standalone LCD, so I went the route of getting a Arduino Uno and an LCD Shield.  Getting the shield to work was instantaneous.  The one I'm using is: DFROBOT

The only problem I ran into was that the documentation indicated that only Digital pins 4-9 are used for the LCD, and that pin A0 is used for all the button detections.  This may all be well and good except that when I tried to hook up my DHT11 sensor to D2 or D3, the signal was not correct (as viewed on a scope), and the temp and humidity could not be read.

Eventually after some experimentation I found that pin D13 worked.  I didn't check the rest, but note that pins D2 and D3 are not available for use with this shield.

Those pins work fine when the shield is removed.

No comments:

Post a Comment