Progression Report: Temperature Controlling of The Portable Fridge Via Web Application
Progression Report: Temperature Controlling of The Portable Fridge Via Web Application
especially Arduino. The most important advantages of the first price is cheaper than other modules.
The other is that Arduino IDE can be programmed with USB-TTL serial converter just like arduino
programs. The first-use UART serial communication protocol connects RX-TX pins with arduino or
other cards internally via wi-fi. This allows you to not create controlled circuits over the internet.
For the second use, you can program this card by loading the ESP8266 libraries into the Arduino
IDE. We programmed our project by loading the ESP8266 libraries over Ardunio Uno. Cooling Fan
Fan is a device that blows hot air in cold weather. It is also called an airing device, a propeller, a
propeller blade, a ventilator. It is an electrically operated tool used to clean the air. The fan, which is
a moving element, works on the air. The fan gains static and kinetic energy. The ratio of these static
and kinetic energies to each other depends on the characteristics of the fan.
Arduino Uno
Arduino Uno is a microcontroller board based on the ATmega328P (datasheet). It has 14 digital
input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz
crystal, a USB connection, a power jack, an ICSP header and a reset button. It contains everything
needed to support the microcontroller; simply connect it to a computer with a USB cable or power it
with a AC-to-DC adapter or battery to get started.
Also we use transistor, resistance and diode.
2. Arduino Code
Arduino code is written as below:
float voltage; // voltage value from LM35
float temperature; // temperature value transformed from voltage
float desired=40; // desired temperature by user
int pwm = 0; // motor duty cycle
int motorPin = 9;
int lmPin=A0;
void setup() {
Serial.begin(9600);
pinMode(motorPin,OUTPUT);
pinMode(lmPin,INPUT);
}
void loop() {
voltage = analogRead(lmPin);
voltage = (voltage / 1023) * 5000; // voltage value is transformed into byte voltage
temperature = voltage / 10; // temperature value is one per ten of voltage by LM35
Serial.print("Temperature: ");
Serial.println(temperature, DEC);
if (Serial.available() > 0) {
desired = Serial.parseFloat();
}
Serial.print("Desired: ");
Serial.println(desired, DEC);