WEEK2

In this week, the main task we finished was the circuit connection of the LCD and Arduino, and we also tested the work of the LCD with the program.

However, during the experiment, the difficulty we met was that the components including shift register, contact of I2C interface and wires which we ordered last week did not arrived.
For the connection of Arduino and 2x16 LCD, we searched some online cases about the correct connection and we found that even though we did not require the shift transistor, we still needed a 10 KΩ pot to connected with V0 pin to adjust the contrast of LCD. However, we did not have 10 KΩ pot as well. Eventually, we used a fixed resistor to replace the 10 KΩ pot. We used the resistor valued 2700 Ω between V0 pin and ground to build the circuit at first as Figure 1 shows.
Figure 1. The Circuit Connection of LCD and Arduino
However, the characters shown on LCD were not clear enough which is displayed in Figure 2.

Figure 2. The First Display of LCD
Then, we changed the resistors valued 3300 Ω and 1000 Ω (actually 905 Ω) respectively and found the smaller one could provide proper contrast to make LCD display clearly. Then, we also tested the character shifting of LCD as the Figure 3 shows.
Figure 3. The Char-Shifting Test with Clear Display
After testing LCD, we assumed that we could used the data from D6T to be the data input of LCD to realize the temperature display.

For the component D6T, we did not have the contact to plug into house of I2C interface. Thus, we inserted the wires directly to the house, but the program did not work as our expectation. We supposed that loose contact of wire and house or there was something wrong with our program/D6T, which we should solve next week.

Additionally, we would like to visualize the data detected by D6T rather than just display the temperature on the LCD. Therefore, we ordered the 8x8 LED RGB matrix to help us achieve the temperature visualization.

Comments

Popular posts from this blog

Week 5

Week 4

WEEK1