Poll

hi all . im new here . i just wanted to ask a question on connecting a 60mA lamp to stm32 using a dual n channel mosfet . initally what we want is ,when turned on the lamp will be in high state for 30 sec. using pwm signal from PA8 of stm 32 it will be dr

yes
1 (33.3%)
no
2 (66.7%)

Total Members Voted: 2

Voting closed: May 08, 2023, 07:21:44 am

Author Topic: mosfet  (Read 482 times)

0 Members and 1 Guest are viewing this topic.

Offline smokeiiotTopic starter

  • Newbie
  • Posts: 1
  • Country: in
mosfet
« on: April 28, 2023, 07:21:44 am »
hi all . im new here .
i just wanted to ask a question on connecting a 60mA lamp to stm32 using a dual n channel mosfet . initally what we want is ,when turned on the lamp will be in high state for 30 sec. using pwm signal from PA8 of stm 32 it will be driven by a standalone 3 v output from a booster circuit. after 30 sec. the PA8 will go low and PA5 will be high and will be providing a .5 hz pulsing signal using another standalone 5v supply output from another booster.  we would like to use FDC6561AN mosfet in this circuit . how can i connect this circuit.?
 

Offline CountChocula

  • Supporter
  • ****
  • Posts: 208
  • Country: ca
  • I break things—sometimes on purpose.
Re: mosfet
« Reply #1 on: April 28, 2023, 03:17:10 pm »
Hiya! Assuming that the lamp doesn't need any current limiter (in which case you'd need an additional resistor), something like this might work:



I assume here that the stm32 is operating at 3.3V, which isn't enough to drive the gate of the MOSFETs, so you need a couple transistors for that purpose. FWIW, you could just use any two jellybean NPN transistors in this circuit, and forego the MOSTFETs altogether.
Lab is where your DMM is.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf