code for temperature controlled fan dc motor based with pwm
#1

hi am yibrah i would like to get details on code for temperature controlled fan dc motor based with pwm
Reply
#2

Generally, electronic devices produce more heat. Therefore, this heat must be reduced to protect the device. There are many ways to reduce this heat. One way is to turn the fan on spontaneously. This article describes a circuit that automatically switches the fan when it detects the temperature inside the device greater than its threshold value.


Circuit diagram

[Image: Circuit-Diagram-of-Temperature-Controlled-DC-Motor.jpg]

Principle of the circuit

The main principle of the circuit is to connect the fan connected to the DC motor when the temperature is greater than a threshold value.

The microcontroller continuously reads the temperature of its surroundings. The temperature sensor acts as a transducer and converts the detected temperature to an electrical value. This is the analog value that is applied to the ADC pin of the microcontroller.

The ATmega8 microcontroller has six ADC channels multiplexed with a resolution of 10 bits. The analog value applies to one of the input ADC pins. Therefore, the conversion is produced internally using the successive approximation method.

For ADC conversion, internal records must be declared. The ADC pin generates a digital value. This is compared to the threshold value by the controller that changes the fan if the value is greater than the threshold.

Components

• Atmega8
• L293D
• Lm35
• DC motor

Component Description

 1. LM35
 
The LM35 is an integrated circuit sensor that can be used to measure temperature. The output voltage of this sensor is proportional to the temperature in degree centigrade. The output voltage of the LM35 will vary at a speed of 10mV per degree Celsius.
In general, the range of the LM35 temperature sensor is -55 degrees C to +150 degrees C. To measure this full range of temperatures, that is, from the negative range to the positive range, we need to connect an external resistor between the Data and a negative supply of Vcc.
Either way, we will not consider the negative temperature range in this project. Therefore, under normal operating conditions, we can measure the temperature in the range of +2 degrees C to +150 degrees C.

2. ADC
 
All the parameters of nature are analog, that is, most of the data in the real world is characterized by analog signals. For example, if you measure the temperature of the room.
The ambient temperature varies continuously over time. This measured signal, which changes continuously with time, says from 1 sec, 1.1 seconds, 1.2 seconds and so on is called analog signal.
In order to manipulate real world data using a microprocessor or a microcontroller, we have to convert the analog signals to the digital signals, so that the processor or controller will be able to read, understand and manipulate the data.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: lpc2148 code for dc motor using pwm, code for temperature controlled fan dc motor based with pwm, 12f675 pwm fan circuit, temperature controlled fan dc motor based with pwmt, temperature based dc motor control ppt, temperature controlled fan dc motor based with pwm project synopsis, temperature controlled fan using 8051 code,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Over Speed Alarm Indicators of Electrical Motor with Digital RPM Indicator 0 250 25-07-2023, 05:33 AM
Last Post:
  Lm35 Temperature Sensor using Microprocessor 8086 0 765 23-06-2021, 02:59 PM
Last Post:
  code on mobile based attendance system for project 0 1,189 14-01-2019, 12:52 PM
Last Post:
  Regarding help for code on mobile based attendance system 1 1,142 14-01-2019, 12:48 PM
Last Post:
  voice based email for blinds source code 0 704 22-10-2018, 05:12 PM
Last Post: Guest
  voice based email for blinds source code 0 691 21-10-2018, 07:58 PM
Last Post: Guest
  voice based email for blinds source code 0 631 21-10-2018, 07:43 PM
Last Post: Guest
  effect of avenue trees on temperature under canopy and outside project 0 1,067 20-10-2018, 01:12 PM
Last Post: Guest
  voice controlled lift ppt 0 579 29-09-2018, 03:49 AM
Last Post: Guest
  voice based email for blinds source code 0 642 28-09-2018, 02:42 PM
Last Post: Guest

Forum Jump: