

I'm trying to follow this adafruit tutorial but am finding the diagram references unclear. I've purchased this RGB LED strip and 12V power supply (specs below). I highly suspected, you're overvolting the fan by using unregulated power supply.I want to send RGB values from my Arduino Uno PWM pins to an RGB LED strip.

Image Sourceīriefly turning the supply on made the fan turn very fast, as expected. Load regulation: Unregulated vs Regulated. And then temporarily shutdown when over-current or over-temperature occurs.įigure 3. On the other side, any typical regulated power supply would maintain the regulation of the output voltage if minimum supply load current is sufficient such as 10mA of LM7812 Linear regulator. As the load increases the voltage will drop proportionally. For the unregulated power supply, when there is no load or little load the voltage would be very high. Image SourceĪnd here is the typical Load Regulation graph. Typical unregulated old-fashioned “linear” transformer-based wall wart. This is a typical schematic of those.įigure 2. I predict that your power supply is a typical unregulated power supplies which only guaranteed to deliver 12V only at specific current load. Looking on the internet such dimension are definitely not typical nowadays regulated SMPS.įigure 1. With just the Uno connected, the voltage from the supply is around 16V! Can anyone explain how it could have happened so I don’t make the same mistake again? The Uno continues to fun fine.ĭue to the smell in my simple test, I’m assuming just connecting the fan to the supply would have resulted in the same death, but everything I’ve read suggests connecting a 0.6A 12V fan to a 1A 12V supply should be fine. Connecting it directly to the supply does nothing so it’s definitely dead. The fan behaved erratically, spinning up, clicking, and slowing down randomly, before quickly going “pop” and stopped working all together.
ARDUINO UNO 12V POWER SUPPLY CODE
I modified the code to add 0% and 100% tests, unplugged the USB cable and plugged in the 12V supply. Powering it over USB, it ran perfectly at three speeds for 5 seconds each, although at a low overall speed due to the limited voltage. I used the code by dlloyd here and connected the fan’s control pin to the Uno’s 3 pin. It’s likely the fan has never been used before, and almost certainly not at unlimited speed, so I thought it would be fine to move on and work on the PWM side. The Uno survived but there was a distinct electrical smell from the fan. The Vin on the Uno can handle 1A, so I thought for an initial test I would be fine to use the GND and Vin on the Uno to power the fan.īriefly turning the supply on made the fan turn very fast, as expected. I know the correct way to wire it would be to connect the fan’s power directly to the supply’s output and only have one control wire to the Uno, but as I was only at the ideas stage I didn’t want to hack into the cable just yet. The supply has a barrel connector that fits the Uno so I thought this would work out perfectly. My power supply is a 12V DC 1000mA probably from an old 3COM switch – model number 3c16741a The fan is a Foxconn brushless 12V DC 0.6A – model number PVA080G12H-P01 I read several posts about using an Arduino Uno to control the PWM function on a 4 pin fan you find in PCs, and as I had the parts lying around I thought it would be a good place to start. I’m working on a project where I want to control the speed of a fan using a microprocessor.
