![]() ![]() PIN 4 is configured as a digital input and it is used as a manual watering button. In the second state, when DFF0’s output is low and DFF1’s is high (48-hour option), Pipe Delay0’s output appears on LUT0’s output and the pump turns on every two periods of CNT0. When the DFF0 output is high and DFF1 is low (24-hour option), LUT0 activates the IN2 pin connected with CNT0, the counter output passes to P DLY0 (used as a rising edge detector), and a pulse passes to the pump counters (described in the next section) to turn the pump on. The initial polarity of DFF0 is high, which represents the 24-hour state, and the output is piped to DFF1's D pin. DFF0 and DFF1 are used to save the option. A control button to switch between the two options is built on PIN 2, which is connected with LUT1 (configured as an AND gate). ![]() Pipe Delay resets when the pump turns on. To make the 48-hour timer, the CNT0 output is connected to Pipe Delay0, configured to make two risingedge delays. CNT3/DLY3 from matrix1 is set to give a pulse every 10 seconds, and its "counter data" is 7812, which is given by the formula: One counter isn't enough for this period, so to make the 24hour timer, we’ll use two counters. The pump must be activated once every 24 or 48 hours. The system interface has 4 push buttons that are described in Table 1. To make the system interactive, a custom LED matrix is connected to the SLG46620V to show emotional images (happy and sad) according to the system state, so the system can be a competitive product. GreenPAK provides all these parts and more in one tiny chip that can be configured in minutes. ![]() Some commercial products make do without a controller by using oscillators and ICs for timers, logic gates ICs, and many other discrete components. GreenPAK is also more power-efficient for timing projects, so if we want the project to run on battery power, GreenPAK saves more power than a microcontroller. Since GreenPAK IC cost less than microcontrollers, the overall project costs will below. The SLG46620V CMIC will be configured to run as an IC controller for all the project functions, as it is a cost effective NVM programmable device that minimizes component count and power consumption. It can optionally display LED emotions as well.Ī user interface must be built to control and monitor the system. The system also alerts the user when the water level in the tank is low. The user can choose how long they want the plant to be watered based on the plant’s water requirements. The system must water the plant (turn on the pump) automatically every 24 hours or 48 hours for a selectable time period (5 seconds, 10 seconds, or 15 seconds). Plug the GreenPAK Development Kit to your computer and hit the program to design the solution. However, if you just want to get the result of programming, download GreenPAK software to view the already completed GreenPAK Design File. We built this system using the GreenPAK™ SLG46620V IC, a small liquid pump, transistors, LEDs, pushbuttons, and a buzzer.īelow we described steps needed to understand how the solution has been programmed to design the watering system. The automatic watering system described in this project will keep the plant alive by watering it automatically. ![]() In these cases, the plant may die due to alack of water. We sometimes go away from the house for days, on a vacation or a business trip. Often, we may be busy and forget to water our plants. In this project, we’ll build an automatic watering system for indoor plants. ![]()
0 Comments
Leave a Reply. |