Electronics ru
Advanced Search +
Go Back   RadioLocman Forum > Electronics and ... > Microcontrollers (MCU)

Microcontrollers (MCU) Application and programming of MCUs, Evaluation Kits and Demonstration Boards, Programmers.

Thread Tools Search this Thread
Old 10-19-2016, 09:11 AM   #1
Junior Member
Join Date: Jul 2016
Posts: 2
jeccik is on a distinguished road
Default MCU Output Driver Verification

I am creating a circuit in which a MCU (STM32) must drive 12VDC outputs, and wanted to make sure there wasn't anything missing in my driver circuit for the outputs.

-R1 is the inrush current limiting resistor
-R2 is the pull-down resister to keep the mosfet gate low if the MCU pin floats,
-D1 is the flyback diode, for protection against inductive loads, which will be a use case.

PS: I forgot to change the diode in the circuit, the actual part number is GSD2004W

The load will be connected to the 12V power line and the ground will be switched via the out pin.

The expected load will be practically anything as long as it is 12V and less than 250mA. But there will definitely be relay coils, indicator lights, and solid state relays attached to the output.

If there is anything I am missing that would be necessary or even a good idea or small improvement to include? I just don't want to spin a board with this and find out something wasn't working as intended, so some assurance would be nice.
jeccik is offline   Reply With Quote
Old 10-19-2016, 07:14 PM   #2
Join Date: Jan 2011
Posts: 65
Vadzz is on a distinguished road

In principle, all right. However, I would like to note the following (my personal opinion):
- resistor R1 - 220 Ohms
- resistor R2 - 10 kOhm, I think it is quite enough
diode D1 - I don't think that this will suit you, for you load. When selecting a diode should be based on a set of parameters, one of which is the relay coil current. In general, suitable diodes 4007, M7

MOSFET 2N7002 - the maximum drain current (if the manufacturer NXP) 300 mA - I think you have to choose another transistor. And by the way, the transistor has a built-in diode. See. Datasheets
Vadzz is offline   Reply With Quote
Old 10-26-2016, 04:55 PM   #3
Junior Member
Join Date: Jan 2016
Posts: 5
ravicoolit is on a distinguished road

jeccik, put a transistor IRFZ44
ravicoolit is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 transistor circuit input output question brandonb916 Beginners 2 01-29-2016 02:33 PM
Using Arduino to high current 12volts inputs and output tracert Microcontrollers (MCU) 2 12-06-2015 06:09 PM
Software to control COM or Parallel port pin output tracert Microcontrollers (MCU) 1 08-16-2015 07:47 AM
Discussion: MMA7455L Three Axis Digital Output Accelerometer Radiolocman Robot Microcontrollers (MCU) 1 05-13-2015 06:01 PM
Datasheet MCU STM32F100R4T6B First Electronic Components 1 12-31-2010 06:52 PM

All times are GMT. The time now is 11:03 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Slices ↓
Radiolocman facebook Radiolocman twitter Radiolocman google plus