Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [mosfet]

A type of field-effect transistor. Use this tag for discussing MOSFET circuits.

Filter by
Sorted by
Tagged with
1 vote
1 answer
127 views

PWM and attachInterrupts issues

I'm trying to control the speed of a DC current motor with PWM. I use an arduino UNO to send PWM signal to a mosfet Velleman vma411 to change the average tension of a my motor which is wired to ...
2 votes
1 answer
178 views

ESP8266 Wemos D1 Mini Pro v2.0 - Load sharing and battery

I have a simple question regarding the new version of Wemos D1 Mini Pro v2.0 and specifically about its load sharing circuitry. Schematic is here : https://www.wemos.cc/en/latest/_static/files/...
1 vote
1 answer
175 views

Microcontroller freezes when triggering the gate of an N-channel MOSFET

Disclaimer: I have asked questions about this project before but this is yet another issue I'm facing. What I really want to do: Build a battery powered device with 6 colored buttons. When you press ...
2 votes
2 answers
249 views

Why does controlling power with a transistor interfere with MHZ19B's serial communication?

I've been trying to turn off an MHZ19B (datasheet and teardown photos: revspace.nl/MH-Z19B). I've used an Arduino, NPN, PNP transistors and mosfets as well as the diagram below for connecting the ...
-1 votes
2 answers
77 views

why the p-mos is acting as a constant switch when the source is connect to any port in the circuit iam not able find the solution ?i

if my circuit has mistake please refer me the proper image. #define pwm 6 void setup() { // initialize serial communication at 9600 bits per second: pinMode(6,OUTPUT); Serial.begin(9600); } // ...
2 votes
0 answers
1k views

DFPlayer Mini does not boot reliably after being powered down

For a low power project, I need to power up the DFPlayer Mini module, let it say something, and power it down again using an Arduino Nano (w/o power regulator and LEDs). In the idle time, the Arduino ...
1 vote
1 answer
3k views

How do I control the speed of a 2-wire fan with an Arduino and only a potentiometer?

I am trying to vary the speed of a 2-wire fan by using a Arduino Uno and only a potentiometer. Initially, I assumed that I could go about doing so by using a code that I used for dimming an LED. When ...
-1 votes
1 answer
741 views

Wemos mini pro switch power from servo with mosfet bs170

I got a servo connected to a wemos/arduino with a capacitor(470uf). Before I didn`t use a cap. Now with the cap the device use to much power while sleeping(capacitor on the servo). I want to switch ...
1 vote
0 answers
217 views

PID cooler temperature control

Hello Hello I am making a controller of a small cooler (dry ice) PID but Im not sure if I am using the indicated mosfet Im trying with a NPN 222a and my second option is IRFZ44 Which would be the best ...
0 votes
1 answer
3k views

How to connect IRLZ44N to Arduino?

simulate this circuit – Schematic created using CircuitLab In above schematic; what value should R1 have? is it even needed? do we need that pull down resistor(R2)? if yes, 10K is enough or we ...
19 votes
2 answers
36k views

When should I use a transistor, mosfet, and when should I use a relay?

I am used to relays some, and they are useful, especially for large loads like a incandescent light bulb or other 120V AC device. However, it seems like overkill to use a relay for a bunch of LEDs ...
0 votes
1 answer
133 views

Switching 4.2V circuit with 3.3V Arduino GPIO

I am trying to learn about MOSFETs and see this p channel MOSFET and this tutorial. I am trying to use a 3.3V arduino GPIO pin to control a load that is powered from a 4.2V battery in much the same ...
0 votes
1 answer
319 views

I have a problem trying to limit motor speed to a certain RPM using a MOSFET trigger switch module

I am using the potentiometer to control the duty cycle of a PWM signal to the MOSFET trigger switch module, thus controlling the motor speed. In my code, I have used the map function to utilize the ...
1 vote
0 answers
43 views

Need help with idea before I buy parts. Want to use arduino to act as the button on a TRRS wire to answer and hang up calls

I intend to buy CH340G USB Microcontroller Board Arduino UNO R3 ATmega328P Development Module I want to use it and a MOSFET or whatever needed to act as a button for a TRRS wire I already have home ...
2 votes
2 answers
368 views

Arduino 5V pump digital pin

I am trying to control a 5V pump with arduino and ultrasonic sensor however i can't make it work with the pump connected to a pin. I saw on the forum that you need transistor or relay but i don't ...
1 vote
1 answer
885 views

How to control one Mosfet with another mosfet

I've got 4x 12V 6a peltiers and some 3d printer mosfet controllers to drive them using PWM with my arduino. But I've found the mosfets need ~7V to switch on, so I'm now wanting to control them with ...
2 votes
1 answer
11k views

Alternative for IRF520 mosfet in Arduino shutdown schema

I’am using IRF520 mosfet according to this schema to shut down Arduino by low level on output to 10K ohms resistor Schema of my device is The issue is that IRF520 took too much place Is it possible ...
-1 votes
1 answer
58 views

Mosfet controlled motor runs while LOW

I am using a mosfet (IRFZ44N) to control a dc motor, and a separate one to control a led strip. Both are using the same circuit running to different pwm pins on the arduino. The light strip is working ...
0 votes
3 answers
2k views

Dc motor backvoltage, how to place the diode correctly?

My previous questions have been anwsered, so thank you all for that! I make a new question post because I have some other problems with my setup. I use a esp12s 8266 chip. It sends a PWM signal to a ...
0 votes
1 answer
173 views

MOSFET dimmer IR controlled

I am trying to make a group of LED dim with PWM to a MOSFET. The code seems to work for this, but the trouble is that the IR receiver will only receive the signal to turn on the lights and then IR ...
0 votes
1 answer
66 views

Is my code triggering the N-Channel MOSFET as I have intended to

I have a certain bit of code that I believe after 10 seconds will send a high signal to the second digital pin for 50 seconds. After it will not do anything. For some reason the nichrome wire is not ...
-1 votes
1 answer
130 views

Power Arduino controlled by another Arduino by MOSFET [closed]

I would like to control power to Arduino B from signal of digital pin from Arduino A. I use IRFZ44N MOSFET as switch and +12V DC source. The Arduinos have common ground. The connection is: Gate: ...
-1 votes
1 answer
148 views

Understanding MOSFET parameters - Dimming/Switching LED strip [closed]

I'm trying to create a dimmable/ switchable 12v LED strip using an Arduino board and a MOSFET. Many tutorials can be found doing so such as this youtube link. I've bought a LM317T before I had any ...
0 votes
3 answers
8k views

Arduino Driving Pump via MOSFET

I want to turn on a pump that is running 12V and draws a current of max 1.7A with my Arduino Uno. To do this, I bought the RFP30N06LE MOSFET and followed these instructions to wire it all up. I ...
0 votes
1 answer
272 views

How to drive N channel gate correctly from Adafruit Feather pinout?

I am learning how to create a soft latch power switch, using an N channel mosfet. Currently, I have this: simulate this circuit – Schematic created using CircuitLab The idea is (so far) that ...
1 vote
2 answers
580 views

Arduino write to memory and self shut down (over MOSFET) - An idea help

i would like to ask you for help with design of an circuit. I have and atmega328p, with detection for voltage on its Vin (Vcc). I have made and voltage divider and its output i connected to Analog ...
1 vote
1 answer
1k views

ESP32 Dimmable LED Panel with MOSFET [closed]

I want to use ESP32 to control and use a dimmer for 6 LED panels in my bedroom. The specification of each panel is mentioned in the diagram. Although in the diagram it shows ONLY 1 MOSFET and 1 LED ...
1 vote
1 answer
2k views

Solenoid "vibrates" instead of pushing

I'm using my Arduino Uno to control a 5V 1A solenoid. I'm using an N-Channel MOSFET linked to the Uno's 0 pin to switch the solenoid on and off. It is protected by a Schottky diode. Initially, I ...
-1 votes
1 answer
514 views

how to connect 100 Leds and Blink them on Arduino [closed]

I am planning to connect 100 LEDs to an arduino in a parallel circuit. The current limit exceed beyond the Arduino UNO board. In want to blink all 100 LEDs at same time. So how can I provide power ...
1 vote
2 answers
4k views

Connecting Arduino Arduino to MOSFET

I want to use my Arduino Nano to control a 12V peristaltic pump via a BDX33c N-Channel MOSFET. The pump has a maximum current draw of 1,4 A. The Arduino (via VIN) and the pump are powered by a 12V ...
-1 votes
1 answer
43 views

Minimum separation of MOSFET [closed]

I have three MOSFET in a row, each separated about 2.5mm apart with the backs facing each other. Is this a good idea? N.B Each MOSFET will be sinking 20mA and 60 mA in total for all three MOSFET. I ...
0 votes
1 answer
768 views

Transistor as switch for signal and high current buzzer [closed]

I'm a newbie in transistor switching. I have PIR sensors with C and NC onboard. NC is 12 V signal that I need to switch transistor (bipolar?) to emit 3.3 V (collector connected to 3.3 ...
0 votes
1 answer
267 views

HC-05 and p-channel mosfet

I'm trying to use a MOSFET (BS250P datasheet) to switch a circuit on and off while the MCU is asleep. It's a P-channel MOSFET that closes the circuit when the gate is pulled low. The most power hungry ...
-1 votes
1 answer
1k views

Controlling two-pole contactor using Arduino [duplicate]

I am working with Packard C230C contactor to develop own EVSE. For a simple start i just want to toggle contactor using Arduino. OpenEVSE is already doing it. Just want to know how do they do it and ...
1 vote
1 answer
629 views

Selecting a MOSFET Shield

Im building an electrical system for my EBike. My bike has 2 power sources, one is the 48 volt battery, the other is a 12 power converter coming off the battery pack. I need an arduino shield that ...
0 votes
2 answers
2k views

Controlling multiple 24V solenoids with Arduino

I'm building a pump for which I need 4 medium strength solenoids (20-50N). 24V is probably the minimum I will need to put through them, but this is something I need to test, once I've got them working....
-1 votes
2 answers
327 views

Fade out lightbulb 220V [closed]

I am trying to make a lightbulb fade to dark and back to light, for which I found the following tutorial online: http://bildr.org/2012/03/rfp30n06le-arduino/ Unfortunately, the tutorial makes use of a ...
2 votes
1 answer
2k views

How to control an 12V 2A Car lamp using relay or MOSFET in Arduino [closed]

I am working with the project controlling an 25W 12V Car lamp. I have a 12V car battery. I want to control it with the Arduino using a relay or MOSFET. Any suggestion for my project would be ...
-1 votes
1 answer
563 views

Issues with analog microphone readings

I'm having issues with sampling audio with a microphone and NodeMCU v3. I realize this is the Arduino section so if NodeMCU running the Arduino IDE is not meant for this forum, let me know. The ...
2 votes
0 answers
1k views

Switch on/off LED 24V using a MOSFET

I try to switch on/off IKEA Ledberg LEDs which are powered with 24 V using the setup from this tutorial video: https://www.youtube.com/watch?v=sVyi7yWuXxs I use a IRLB8721PBF MOSFET. When I switch ...
0 votes
3 answers
5k views

Arduino PWM output cannot drive MOSFET 0-12V

On an Arduino Uno, the PWM pin 3 is connected to the gate pin of an N-channel MOSFET STP16NF06L. The source pin is connected to ground of a 12 V power supply and drain pin connected to a multimeter. ...
1 vote
1 answer
65 views

Advice on cabling, packaging and connectors for 12v light project [closed]

My project is to have a 12V solar LED strip lighting system throughout my apartment. This has 6 individual lights, with 5 white and 1 RGB = 8 channels. I've got the whole setup working on my ...
0 votes
3 answers
156 views

How to switch on or off up to seven devices individually? [closed]

Is there a way to turn on or off the power supply of up to seven hard drives with the help of an Arduino? Or maybe there is another way to ultimately - but restorable - prevent read/write access to ...
1 vote
3 answers
999 views

Arduino and 2 MOSFETs

I want to turn on 2 bulbs using 2 MOSFETs. The problem is that they both turn on when it should turn up just one light. Code: void setup() { pinMode(13, OUTPUT); pinMode(7, OUTPUT); } void loop(...
1 vote
2 answers
143 views

Why is the T2 transistor used in Arduino Micro?

I was about to design a small custom board using ATmega32U4, replicating the Arduino Micro. I know that T1 is used to block VUSB when VIN is connected. But why T2? The gate is 5V, so it will be ...
0 votes
2 answers
62 views

I want to control a single DC motor with an Arduino. Why would I use an Arduino motor shield as opposed to an H-circuit and a MOSFET?

I'm new to electronics. I'm trying to build something that will involve controlling the direction of rotation of a DC motor. A lot of online resources seem to recommend using an Arduino motor shield. ...
user avatar
0 votes
2 answers
1k views

What could I use to vary the temperature of a Heating Pad?

Could I get something like this, a 12v silicone heating pad, and vary its temperature with an arduino somehow? http://www.banggood.com/Waterproof-Silicone-Flexible-Heating-Pad-6060MM-DC-12V-10W-p-...
1 vote
1 answer
618 views

analogWrite mosfet problem

i have a custom atmega328p board which have connected to pin 9 the gate of a MOSFET. If i run a simple sketch like: void setup() { } void loop() { analogWrite(9,70); } The motor connected to the ...
1 vote
2 answers
124 views

Can removing lines of code destroy a motor driver and make it catch fire?

I am making a pid line follower robot. So I was tinkering with code to optimize my line follower when i removed two lines of code unknowingly. As soon as I uploaded my code and started the line ...
3 votes
1 answer
1k views

Choosing the right mosfet to switch on-off a neopixel strip

I,m trying to find the right mosfet or transistor to switch on-off a neopixel strip to safe battery power on a Lipo 3.7v using a pro mini 3.3v. My Animation-Setup and Power Comsumption with 35 ...