EasyManua.ls Logo

SunFounder 3in1 Kit - Page 130

Default Icon
351 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...
SunFounder 3in1 Kit
Code
Note:
Open the 4.3.toggle_the_joystick.ino file under the path of 3in1-kit\learning_project\4.3.
toggle_the_joystick.
Or copy this code into Arduino IDE.
Open the serial monitor after the code has been uploaded successfully to see the x,y,z values of the joystick.
The x-axis and y-axis values are analog values that vary from 0 to 1023.
The Z-axis is a digital value with a status of 1 or 0 ( when pressed , it is 0 ).
4.4.4 4.4 Measure Soil Moisture
In the planting industry, the crops themselves cannot directly obtain the inorganic elements in the soil, Water in the soil
acts as a solvent for dissolving these inorganic elements.
Crops absorb soil moisture through the root system, obtain nutrients, and promote growth.
In the process of crop growth and development, the requirements for soil temperature are also different. Therefore, a
soil moisture sensor is required.
Required Components
In this project, we need the following components.
Its definitely convenient to buy a whole kit, here’s the link:
126 Chapter 4. Basic Projects

Related product manuals