EasyManua.ls Logo

Elegoo Mega2560 - Page 134

Elegoo Mega2560
224 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
134
/
223
Wiring tips: Power supply (+) is connected to 5V of MEGA2560 R3 board, ground
electrode (-) is connected to GND. Signal output (S) is connected to the ports (A0-
A5) which have function of inputting analog signal in MEGA2560 R3 board, random
one is OK, but it should define the same demo code as the routine.
Code
After wiring, please open the program in the code folder- Lesson 18 Water Level
Detection Sensor Module and click UPLOAD to upload the program. See Lesson 2
for details about program uploading if there are any errors.
Example picture

Table of Contents