After we discussed how to install drivers and additional tool tools for Wemos Uno here, this time we will discuss how to program LCD in Arduino and Wemos.
It seems, this Eid Mubarak holiday will be wasted by writing tutorials.
You need LCD library from marcoschwatz at GitHub.
Extract that, and copy the contents to
This is the results.
To connect I2C, you can refer to this picture.
White : SCL
Black : SDA
Red : VCC
Grey : GND
For Uno, SCL is on A5 and SDA is on A4.
For WeMos, SDA is on D4 and SCL is on D5.
But before that, you need to search first what is your I2C bus address. Mine is on 0x3F, yours may be different. Use the program below to find it out.
Code from Arduino.cc
Then plug your I2C. if everything happens correctly, you’ll see something like this.
Take a note of that address code, and then replace 0x3F with your address in my code.
After you upload this code, the results should be similar to my photos above.
Thanks for reading! I’ll see you around.
- Cara Pasang I2C Ke Lcd
- Menggunakan Lcd I2C Arduino
- Cara Pasang Lcd Dengan I2C
- Wemos Mega Cara Menggunakan
- Cara Menggunakan I2C Lcd
- Cara Menggunakan I2C
- Wemos D1 Pinout