Skip to main content

Questions tagged [mosfet]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Change analogWrite() frequency using the arduino framework for ATSAMD51 [closed]

I am using Adafruit Feather M4 Express board which has Atmel SAMD51 controller on it. I am using platformio as IDE, which lets me use this controller using the Arduino framework. I want to change the ...
dreamcoder's user avatar
1 vote
1 answer
183 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 ...
boop's user avatar
  • 191
-1 votes
2 answers
80 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); } // ...
datta sahu's user avatar
2 votes
1 answer
182 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/...
Vassilis Papanikolaou's user avatar
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 ...
AI09's user avatar
  • 13
1 vote
1 answer
137 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 ...
Grégoire Lefebvre's user avatar
1 vote
0 answers
230 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 ...
Estefanía Rodríguez Álvarez's user avatar
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 ...
Kilroy's user avatar
  • 49
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 ...
rfii's user avatar
  • 170
0 votes
1 answer
337 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 ...
Curiousone's user avatar
2 votes
2 answers
251 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 ...
Constantin's user avatar
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 ...
Andrew Gravlin's user avatar
2 votes
2 answers
370 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 ...
Thomas Sxt's user avatar
1 vote
1 answer
918 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 ...
Oliver Walters's user avatar
-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 ...
ltrell's user avatar
  • 1
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 ...
Bart's user avatar
  • 13
0 votes
1 answer
174 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 ...
Billathekilla's user avatar
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 ...
ElectronSurf's user avatar
-1 votes
1 answer
132 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: ...
Jan Turoň's user avatar
-1 votes
1 answer
151 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 ...
guyd's user avatar
  • 1,049
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 ...
nnv's user avatar
  • 1
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 ...
pumper's user avatar
  • 3
0 votes
1 answer
274 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 ...
scornflake's user avatar
1 vote
2 answers
581 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 ...
Vasekdvor's user avatar
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 ...
Hira's user avatar
  • 41
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 ...
MaxN's user avatar
  • 13
-1 votes
1 answer
515 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 ...
begin123's user avatar
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 ...
Leander's user avatar
  • 11
-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 ...
JoeyB's user avatar
  • 121
0 votes
1 answer
778 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 ...
user1085907's user avatar
0 votes
1 answer
269 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 ...
miccet's user avatar
  • 119
-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 ...
Suraj Jorwekar's user avatar
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....
Oliver Walters's user avatar
-1 votes
1 answer
743 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 ...
Erik's user avatar
  • 99
-1 votes
2 answers
329 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 ...
Avéel's user avatar
  • 1
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 ...
nandy's user avatar
  • 23
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 ...
H0ttenburg's user avatar
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 ...
pinoyyid's user avatar
  • 129
0 votes
3 answers
158 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 ...
Denis Giffeler's user avatar
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 ...
Stepan Novikov's user avatar
1 vote
3 answers
1k 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(...
Dim Abdessamad SOulhi's user avatar
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 ...
Sanu - Open Maker's user avatar
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
1 vote
1 answer
621 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 ...
user3106888's user avatar
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 ...
Jupiter Moll's user avatar
1 vote
2 answers
126 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 ...
Kirtik Soni's user avatar
2 votes
1 answer
1k views

Using N mosfet to switch ESC to BLDC phases [closed]

I have an ESC that powers 36v 3 phase BLDC motor. The ESC has limited functionality and can power motor only in one direction. If I switch manually two of the ESC to Motor phase connections, than the ...
Naho's user avatar
  • 39
3 votes
2 answers
4k views

Using a MOSFET module to control DC LED PWM

I've seen some similar questions here for using MOSFET to control 12V LEDs But apparently the only MOSFET currently available to us is a 2-MOSFET high power trigger module, details in the link below. ...
user31305's user avatar
-1 votes
1 answer
564 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 ...
Brandon's user avatar
3 votes
2 answers
2k views

Does an I²C IO Expander needs additional resistors for outputs?

I have following setup (see also schematic in the end) Arduino Nano is connected via I²C to the PCF8575C (link) IO Expander. Both, SCL and SDA have 10kOhm pull-ups to 5V. The Expander pins are ...
Maximilian Wiens's user avatar