Did you modify the code received from other sources? Mention the site, the information you got, and the modification you made.
The code obtained from online tutorials or reference sources may require modifications to suit specific project requirements.
Common modifications include:
(1) Changing pin numbers in the code to match actual connections on the microcontroller.
(2) Adjusting threshold values for sensors (such as changing the moisture threshold for a watering system).
(3) Modifying timing parameters in delay functions to change how long an output stays on or off.
(4) Adding additional conditions or logic to handle multiple sensors or outputs.
The source of the code should be properly credited, and all modifications should be documented for future reference.
Explanation
The chapter suggests students can search for tutorials online using keywords like 'Tutorial + automatic plant watering system + using Arduino' and use the code as a reference to build upon. Students should document the source of their code and describe any modifications made to customize it for their specific application.
Solution Steps
Code from online tutorials or reference sources may require modifications for specific project requirements
Changing pin numbers in code to match actual microcontroller connections
Adjusting threshold values for sensors (e.g., moisture threshold for watering system)
Modifying timing parameters in delay functions to control output duration
Adding additional conditions or logic to handle multiple sensors or outputs
Source of code should be properly credited and modifications documented for future reference