Arduino Temperature sensor and LCD Display
In this post I am going to share with you the circuit diagram, code and how to fix faint display or completely invisible texts on the screen. Final Product Components - Arduino Uno board - 1 * Breadboard - 1 * USB data cable (To connect the board to your PC) - 1 * LM35 Temperature Sensor - 1 * I2C LCD1602 (QPASS LCD Display) - Several jumper wires LM35 Circuit For this project you need to add LiquidCrystal Library to your Arduino IDE. In this case I am using V1.07 Download and install by selecting the zip as shown below CODE: // This sketch tests the standard 7-bit addresses // Devices with higher bit address might not be seen properly. // #include void setup() { Wire.begin(); Serial.begin(9600); Serial.println("\nI2C Scanner"); } void loop() { byte error, address; int nDevices; Serial.println("Scanning..."); nDevices = 0; for(address = 1; addr
Comments
Post a Comment