Hi all,
I'm hoping someone might be able to give me some suggestions for something I'm trying to design in easyeda and get through lcsc and jlcpcb.
For reference, my background isn't electrical engineering, and I've spent many many hours researching the power aspects of my project and understanding things like linear regulators verses switching, requirements, and constraints of different options. Being a test engineer, I'm trying to consider all factors which could impact things before making a decision.
In short, I'm trying to build a pcb with an arduino (specifically this one -
https://robotdyn.com/mcu-pro-mega-2560-atmega2560-16au-usb-ch340c-with-pinheaders-2-lines-pinheaders-pitch-0-1.html) and numerous modules/peripherals attached to it. I'm avoiding powering any 5v modules from the Arduino and instead power those components from the 5v regulator. This is because the arduino itself operates at 200mA (according to the datasheet) and the manufacturer recommends only 7-9v on VIN otherwise its onboard AMS1117s can get too hot. Because I *do* want to provide 12v to the VIN of it, I'm avoiding having any other components connected requiring the Arduino's onboard regulator.
Essentially my requirements are a voltage regulator (and 5v rail design) that:
- Can go from 12v to 5v
- Safely provide 500mA output
- Simple
- Can get parts through lcsc.com. Ideally "basic" parts for JLCPCB.
- Has circuit protection e.g. Schottky diodes protecting reverse current, over current protection etc.
So - What have I considered? Linear Regulators Initially I looked at the 7805 linear regulator since this is super popular, common, and only requires a couple caps to implement.
My concern however is the fact it's linear and converts excess voltage to heat. Given potential output requirements, I'm concerned this would generate far too much heat, and I don't want to add a heatsink - (input voltage - output voltage) * current. Overall it just seems inefficient.
So this lead me into looking at various switching regulators, followed by LDOs...
Switching Regulators For those changing out a part such as the 7805 for a SR, I see the general recommendation is something like the OKI-78SR-5/1.5-W36-C. While this is fine if you're getting parts from mouser or element14, I'm trying to get everything from lcsc which doesn't appear to have something like this. Even if they did, I'm creating something "new" and would have only gone for this because it's a drop in replacement for the simple 7800 series LR.
I then started looking at some other components such as the LM2596.
Even better, someone has already designed a schematic and PCB using it which I might be able to use as a reference
https://easyeda.com/wagiminator/y-lm2596-5vbuckconverter-smdHowever this got me thinking - Given I'm just powering a 5v rail with numerous components, is this overkill considering devices like LDOs? Or should I just call it a day and use this schematic + datasheet as a reference?
Secondly, some of the connected peripherals are potentiometers used as dials for controlling the Arduino, and I know SRs generate noise which could impact things on the analogue GPIOs.
LDO Regulators Low-dropout regulators seem to be a really logical conclusion here, but I don't really know what to pick from LCSC or a reference schematic for what I may need.
As per the wikipedia page for them (
https://en.wikipedia.org/wiki/Low-dropout_regulator), they:
include the absence of switching noise (as no switching takes place), smaller device size (as neither large inductors nor transformers are needed), and greater design simplicity (usually consists of a reference, an amplifier, and a pass element). The disadvantage is that, unlike switching regulators, linear DC regulators must dissipate power, and thus heat, across the regulation device in order to regulate the output voltageSo yes, we're back to heat dissipation, however these seem to be a better option than the LR7805. I assume there's a "safe" 500mA option for 12v to 5v, but I don't really know where to begin with looking.
So what do you all think I should do?
If you think LDO, I'd love lcsc part recommendations and schematic :-)
Thanks a lot!
Matt