Tempature Control with DHT22 Sensor and 10v fan

Guys,

I'm working on a project at the moment which basically consists of controlling the temperature inside a test environment. The test environment I have set up is just a standard storage box with a 10v DC fan and a 50W heat lamp which is positioned at the top of the box.
I’m using the Arduino Uno and need to control the speed of the fan through PWM. I was planning to use a TIP142 transistor to control the switching of the fan.
The heat lamp will be constantly on during testing so the heating section of the project is uncontrolled.
I’m just wondering has anybody tried a similar project? Is it even possible to achieve the outcome I’m hoping for?

Thanks in advance for your time

Yes, its a regular Arduino project, many such examples around and the heat lamp could be controlled by the Arduino as well.

Leaving a heater on without any control or protection is not good ! eg thermal overload

The TIP142 with a base resistor and flyback diode will be fine for the fan, the heat lamp, if mains voltage ? will require a suitable relay or SSR.

If you do not need humidity control, then look at the DS18B20 encased temp sensor as its much more accurate.