Ice Cube Detection System in the Refrigerator
by silicioslab in Circuits > Arduino
280 Views, 1 Favorites, 0 Comments
Ice Cube Detection System in the Refrigerator
Nowadays, several devices are already equipped with intelligence. Among these devices, we highlight household appliances. Over time, they evolved and brought many functionalities to our homes.
In this way, we can mention the refrigerators. Over time, technological panels for control and functionalities have been developed to assist the user. And one of the quite interesting features in some refrigerators is the ability to inform when the freezer is with few ice cubes.
This prevents the user from opening the freezer and increasing electrical consumption. Thinking about this problem, we decided to implement a system to check and inform the user when the ice box is low on ice cubes.
Supplies
To construct the project you'll use:
Now, we will present the entire circuit design and programming.
In the refrigerator, when the box ice is with enough ice cubes, it will be very heavy, so as to actuate the limit switch sensor and the LED will be deactivated. Otherwise, the LED will be activated and will inform the user that the box is will a few ice cubes.
In Figure above the circuit is representing in the protoboard.
The system is simples, but, there are several informations to discuss the following point:
- This simple system can impact the fact that you do not need to open your refrigerator to check for the absence or presence of ice;
- I can exemplify the fact of a vision that the engineer had and made the product different from many others and generating value and novelty for the users;
- A simple system like this, allows the user to reduce energy consumption, by virtue of avoiding the user open to check when there is ice or not;
- The fact of putting an Arduino or any other microcontroller is to demonstrate how the systems of home appliances and other devices are "intelligent". And a small system like this, coupled with all the other systems that a refrigerator has, as I said, will make an innovative product.
- This refrigerator, besides having this system that detects when there is little ice, the same engineers have devised a system to generate sound signals when one of the doors is open. These are simple things, but they directly affect product innovation.
What we want to present with this article is that: Simple ideas can generate great innovations!
Now, after learning how about the circuit works, it is the hour to learn how to program this project. Let get started!
Development Project
The project has a simples circuit. In Figure 1 is shown the electronic schematic.
In the presented circuit, the button is used to represent the limit switch sensor. The working project is very simple.
In the refrigerator, when the box ice is with a very ice cube, it will be very heavy, so as to actuate the limit switch sensor and the LED will be deactivated. Otherwise, the LED will be activated and will inform the user that the box is will a few ice cubes.
Hereafter is presented the code used to program the project.
#define BOTAO 8 #define LED 10 bool LimitSwitch = 0; void setup() { pinMode(BOTAO, INPUT); pinMode(LED, OUTPUT); } void loop() { LimitSwitch = digitalRead(BOTAO); if(LimitSwitch == 0) { digitalWrite(LED, HIGH); } if(LimitSwitch == 1) { digitalWrite(LED, LOW); } }
In the code, we declared the LimitSwitch variable to store the pin state of the button. Therefore, in the loop, the system will verify what is its value.
If the pin state of the button is 0, the system understands that the limit switch sensor doesn't is actuated and the system is with few ice cubes. In this way, the LED will be activated as is shown in Figure above.
Now, if the system is with enough ice cubes and the limit switch sensor is activated, the LED will be deactivated, as is shown in Figure above.
Nowadays, already exists refrigerators with this functionality. As you see, the system is very simple to implement and aid the users with simple information about the number of ice cubes there are inside the icebox.