Hello, I am a beginner creating an Arduino Project where I use temperature sensors to control the speed of a fan and the temperature of the sensor is displayed in an i2c LCD.
However, the reading of my fan seems to go way off and reaches 400C, I have tried many ways to solve this but i do not seem to understand the source of the problem.
Hello, I have only begun making the layout of my project through Tinkercad, however we are planning to make the fan with makeshift materials as we are only needed to create a miniature.
As pointed out, your fan will need far more current and maybe voltage than an Arduino pin can provide.
I suggest you acquire a 4-pin PC cooling fan. You can connect the speed control pin of the fan directly to an Arduino output pin. You can also connect the speed sense pin to an Arduino input and measure the RPM.
Hello, so I am making a project which is about a TMP35 Sensor reading the room temperature and then displaying that temperature on the i2c LCD and then depending on that specific temperature, a DC Motor turns on, however theres a problem in my work. The temperature isnt accurate at all. It reaches -18 degrees celsius and sometimes at 400 degrees celsius. I do not know what seems to be causing this problem because it completely works fine in a simulation. Any help would be greatly appreciated. Thank you.
The diode is to shunt the high voltage (hundreds of volts, at least) generated when the MOSFET turns off and the motor magnetic field collapses. Without the diode, the MOSFET can be, quickly, destroyed.
Still don't know the MOSFET part number. If it is not logic level you will have a hard time with consistent operation.
The optional cap will bypass motor brush noise and help to keep the power clean.
Clean up some of the things already pointed out. Should see some improvement.
I see, thats very helpful. I'll put these components you suggested into my project. Thank you so much for that. However, my main problem is that the tmp35 sensor doesnt read the temperature accurately. Do you think that it needs to be replaced or theres just something wrong with my wiring? Thank you.
Its supposed to read the surrounding room temperature which is just right about 20-30 degrees celsius, but it reaches abnormal numbers.
I had a similar problem before however which reached the same abnormal numbers but that was only because I had set it up at the wrong analog pin. This one is set at A0.