Here, a digital output pin (Do) is not used. The water pump and servo motor are controlled by Arduino connected to digital pins 3 and 9, respectively. 2: Circuit diagram of the automatic plant watering system That is, the servo motor signal control pin is connected to pin 9 of the Arduino board. If the value reaches the threshold value, the program does the following three things: The program in the Arduino reads the moisture value from the sensor every 20 seconds.It moves the servo motor horn, along with the water pipe fixed on it, toward the potted plant, whose moisture level is less than the predetermined/ threshold level.It starts the motor pump to supply water to the plant for a fixed period of time and then stops the water pump.It brings back the servo motor horn to its initial position.The program is written in Arduino programming language. The code is well-commented and easy to understand. Compile the autowatering.ino code and upload it to the microcontroller, using Arduino IDE version 1. The sensor will calibrate by itself once it is kept in the soil and the threshold value will be shown on the serial monitor in Arduino. Serial debugging is available in this program. Comment out if you do not wish to use the serial monitor.Īn actual-size, single-sided PCB layout of the automatic plant watering system is shown in Fig. PCB LayoutĪssemble the components on the PCB to minimize errors. Alternatively, you can assemble them on a breadboard or Arduino prototyping shield, or a general-purpose PCB. Upload the code to the Arduino UNO board and install the sensors in the soil of the potted plants. Component Layoutĭownload PCB and Component Layout Automatic Plant Watering System Working Do not immerse the sensors fully inside the soil. Install the pump in a water container that can hold a few liters of water. Changing the angle of rotation of the servo horn toward the first pot and second pot.Installing the water pump in the container Attaching the pipe on the servo hornīefore powering the circuit on, you need to keep in mind the following macro definitions in the code: Attach the water pipe on the servo motor horn. Changing the watering time according to the size of the pot.The default values are 70 degrees and 145 degrees. Changing the threshold value according to your need.The default values are five seconds and eight seconds. Place the flower pots where the pipe from the servo motor horn can easily reach them. When the moisture level dips below 600, the servo horn rotates at an angle of 70 degrees. That is after the servo motor horn moves 70 degrees toward the first pot, the motor pump will be on for five seconds and then stop automatically. Just open up the dresser, collect the three sprites, and drag them close to the foot of the bed to lure out the scared sprite, who will give you an item as a reward for your effort.Then, the servo returns to its original position. The first one is an easy one since it requires you to find some light sprites so that they can be used to lure out a scared light sprite under your bed. When playing in Portable or Tabletop Mode, or if playing the game on a Nintendo Switch Lite, you’ll be able to use the console’s touchscreen to control everything.Īs for the type of puzzles you’ll have to solve during your time with Growbot, allow me to discuss the first two in the game so as to not spoil things. You can press the X button to show all hotspots on the screen to make it easier to know what you can and can’t interact with. Others are consumables, which you can drag and drop as needed, as well as combine some of them to create new items. Some are keepables, which you can drag and drop on the inventory on the left side of the screen. Since this is a point and click adventure game, you’ll be collecting many items. You’ll also move a cursor around the screen with the right analog stick, interacting with objects or creatures by pressing the A or L buttons. Growbot can be controlled with the left analog stick.
0 Comments
Leave a Reply. |