86
Photoresistor module connection
: connect pin S to analog port A1, pin - to GND, and + to 5V
Analog-hall sensor module connection
: connect pin S to analog port A2, pin - to GND, and
+ to 5V
Step 2:
Program (Please refer to the example code in
LEARN -> Get Tutorial
on our
website
)
Step 3:
Compile
Step 4:
Upload the sketch to SunFounder Uno
Now, press "
Power
" Key and you can see "
Environment Monitor Begin:
" on the LCD.
Press digital 1 key and it will show "
DS18B20
" and a temperature value.
Press digital 2 key – "
DHT11
" and current humidity.
Press digital 3 key – "
Big Sound
" and current sound level.
Press digital 4 key – "
Light Sensor
" and current light intensity.
Press digital 5 key – "
Analog Hall
"
and the current magnetic field intensity.
Press digital 6 key and the display will exit and restore to null.
SunFounder