I was originally going to use a 555 timer to emulate the fan signal like in the random project man blog post, but after hours of doing calculations for resistor and capacitor values and pricing out the parts, I got fed up. Then I found out that an Arduino can output square wave signals, so I figured I'd try one of those out.
To make sure I made the square wave signal as close as possible to an actual fan, I measured it with an oscilloscope.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/hNCe4BK.jpg)
The oscilloscope shows each high and low state lasting for 2ms (with a .4ms switching time that I forgot to add into my original calculations). So each high and low cycle takes 4ms, which becomes 250 cycles/second or 250Hz. This is a little bit faster than the 7Hz that was estimated from the random project man blog.
So I programmed an Arduino Pro Mini to output a 250Hz square wave on pin 9. I bought a clone from Microcenter for $4, but it can be found even cheaper on ebay (make sure to get the 5V version). The cost difference between this and building a 555 timer is pretty negligible. Although, if you need the USB adapter to program it, it raises the price a little more.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/Tprnq3Q.png)
Then I tested it with the oscilloscope to make sure it's working.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/ghjSr3E.jpg)
Here it is installed
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/iP9WGuC.jpg)
The Arduino is wired up to 5V and ground on the PSU and the signal wire on the fan plug (the fan's currently unplugged for testing purposes). I also made a video of the Dreamcast running with the fan unplugged. I unplug the Arduino for a few seconds to show that the Dreamcast will shut off without it.
Now just about any 5/12V fan can be used in the Dreamcast without having to worry about it turning off. The Dreamcast won't be able to tell if the fan actually does stop, so it may overheat if that happens. In the final version of the mod, I plan to have the Arduino wired up to the fan plug to make it look cleaner. The Arduino draws less current than the stock fan, so there shouldn't be any issues. I'll have to wire up the fan elsewhere.
I'll also probably change the frequency to 200Hz to account for the .4ms of transition time I forgot earlier. The beauty of using an Arduino to generate the signal as opposed to a 555 timer is that I don't have to replace physical parts to change the frequency. I just need to modify the program and re-upload it.
To make sure I made the square wave signal as close as possible to an actual fan, I measured it with an oscilloscope.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/hNCe4BK.jpg)
The oscilloscope shows each high and low state lasting for 2ms (with a .4ms switching time that I forgot to add into my original calculations). So each high and low cycle takes 4ms, which becomes 250 cycles/second or 250Hz. This is a little bit faster than the 7Hz that was estimated from the random project man blog.
So I programmed an Arduino Pro Mini to output a 250Hz square wave on pin 9. I bought a clone from Microcenter for $4, but it can be found even cheaper on ebay (make sure to get the 5V version). The cost difference between this and building a 555 timer is pretty negligible. Although, if you need the USB adapter to program it, it raises the price a little more.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/Tprnq3Q.png)
Then I tested it with the oscilloscope to make sure it's working.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/ghjSr3E.jpg)
Here it is installed
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/iP9WGuC.jpg)
The Arduino is wired up to 5V and ground on the PSU and the signal wire on the fan plug (the fan's currently unplugged for testing purposes). I also made a video of the Dreamcast running with the fan unplugged. I unplug the Arduino for a few seconds to show that the Dreamcast will shut off without it.
Now just about any 5/12V fan can be used in the Dreamcast without having to worry about it turning off. The Dreamcast won't be able to tell if the fan actually does stop, so it may overheat if that happens. In the final version of the mod, I plan to have the Arduino wired up to the fan plug to make it look cleaner. The Arduino draws less current than the stock fan, so there shouldn't be any issues. I'll have to wire up the fan elsewhere.
I'll also probably change the frequency to 200Hz to account for the .4ms of transition time I forgot earlier. The beauty of using an Arduino to generate the signal as opposed to a 555 timer is that I don't have to replace physical parts to change the frequency. I just need to modify the program and re-upload it.
