Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on How to use USB-B to power 5 V microcontroller and peripherals

Post

How to use USB-B to power 5 V microcontroller and peripherals

+2
−1

I built a small breakout board of for an ATmega328p microcontroller. It included an AMS1117 5 V regulator and a CP2102 USB-UART bridge for programming and serial communication. On the board I use a USB-B receptacle to provide power, and for communication purposes. Both the microcontroller and the bridge run on 5 V.

The simplified schematic without other peripherals looks like this.

Image_alt_text

I have learned that my AMS1117 5 V regulator is a bad idea, because the dropout voltage is around 1 V, leaving at best 4 V for my microcontroller and bridge.

What is the correct approach to use here? I need 5 V for the bridge and micro. Should I just feed the unregulated USB Vbus into both ICs? Should there be a mechanism to limit inrush current? I have heard about polyfuses / resettable fuses - are they useful here?

History

1 comment thread

What's your rationale for wanting to run the microcontroller on +5V ? (1 comment)
What's your rationale for wanting to run the microcontroller on +5V ?
Nick Alexeev‭ wrote 9 months ago · edited 9 months ago

Carl‭ , what's your rationale for wanting to run the microcontroller on +5V, and not some lower voltage like +3.3V ?