The way to connect the jumper wires:
/ include the library code:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print(millis()/1000);
1) LCD RS pin to digital pin 12
2) LCD Enable pin to digital pin 11
3) LCD D4 pin to digital pin 5
4) LCD D5 pin to digital pin 4
5) LCD D6 pin to digital pin 3
6) LCD D7 pin to digital pin 2
7) LCD R/W pin to ground
8) 10K resistor:
9) ends to +5V and ground
10)wiper to LCD VO pin (pin 3)
2) LCD Enable pin to digital pin 11
3) LCD D4 pin to digital pin 5
4) LCD D5 pin to digital pin 4
5) LCD D6 pin to digital pin 3
6) LCD D7 pin to digital pin 2
7) LCD R/W pin to ground
8) 10K resistor:
9) ends to +5V and ground
10)wiper to LCD VO pin (pin 3)
We used this to help us in our wiring.
/ include the library code:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print(millis()/1000);
Number of Tests
|
4
|
7
|
10
|
1
|
pH 4.18
|
pH 7.15
|
pH 10.08
|
2
|
pH 4.14
|
pH 7.18
|
pH 10.1
|
3
|
pH 4.13
|
pH 7.21
|
pH 10.08
|
4
|
pH 4.13
|
pH 7.18
|
pH 10.09
|
5
|
pH 4.13
|
pH 7.18
|
pH 10.06
|
Average
|
pH 4.13
|
pH 7.18
|
pH 10.08
|
SST Lab Sensor:
Number of Tests
|
4
|
7
|
10
|
1
|
pH 4.17
|
pH 6.98
|
pH 10.03
|
2
|
pH 4.14
|
pH 7
|
pH 9.99
|
3
|
pH 4.14
|
pH 7.02
|
pH 9.95
|
4
|
pH 4.15
|
pH
|
pH
|
5
|
pH 4.15
|
pH
|
pH
|
Average
|
pH 4.15
|
pH 7
|
pH 9.99
|
No comments:
Post a Comment