Week 11 :
This week we connected an LCD display to the Arduino.
Black Gnd to Gnd
Red +5V to Vcc
Blue SDA to A4
YellowSCL to A5
I connected the display and then adjusted the contrast until you could hardly see the white squares on the screen. I did this using a small screwdriver (I did not have the official tool). The display then looked like this when plugged into my laptop:
I then dowloaded the relevant files to make the sketch work from student central. The first was the ‘liquid crystal’ library which is needed to make the display work. You have to then add this library the the LCD sketch on Arduino IDE.
I got errors each time I tried to upload the sketch which was strange as I had just downloaded it from student central and did not change any of the code. I was also having trouble with iCloud which meant I was struggling to download files which made this process quite long.
I then chose to restart the process which allowed the sketch to upload without errors.
This is the loop which tells it what to print on the screen.
However even when this had uploaded nothing appeared on the screen. So there is something else going wrong but I’m not sure what.