Questions tagged [mosfet]
A type of field-effect transistor. Use this tag for discussing MOSFET circuits.
66
questions
19
votes
2
answers
35k
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 ...
4
votes
4
answers
18k
views
RGB LED Strips with Arduino
I am trying to control an RGB LED strip with an Arduino. I have followed the tutorials in both of these websites:
Using MOSFETs: https://learn.adafruit.com/rgb-led-strips?view=all
Using LED ...
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.
...
3
votes
2
answers
1k
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 ...
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 ...
2
votes
3
answers
740
views
Is there a cheap relay that can control voltage from stuff like bulb lights with a 5 V control output?
I need to power a light bulb or something like 110 V or 220 V at normal amperage for TV or something at that range like a fan...
My micro-controller is an Arduino with 5 V out and 12 V max out trough ...
2
votes
2
answers
343
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 ...
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 ...
2
votes
2
answers
239
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 ...
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 ...
2
votes
2
answers
2k
views
PWM generation for inverter by Arduino
Can I generate a PWM signal for a Mosfet driver using a saw tooth wave and sine wave through Arduino ?
2
votes
2
answers
16k
views
Connecting a switch and a MOSFET to an Arduino?
I have an LED strip that I am trying to turn on with a magnetic switch when a door opens. I want the LEDs to fade on when I open the door and fade off when I close it, which is where the Arduino comes ...
2
votes
1
answer
3k
views
Driving power MOSFET from 3.3v or lower Arduino Pro Mini
I want to control a low voltage (hobby class) motor with a 8Mhz/3.3v Arduino Pro Micro. I'd like to power both from 2 alkaline cells. The motor draws approximately 1 A @ 3V with new batteries. I ...
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 ...
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 ...
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 ...
2
votes
0
answers
209
views
ATMega328 not able to fully switch coreless motor on
I'm having trouble regarding motor control in a project I'm working on.
It uses an ATMega328 DIP package on a PCB. The motors I'm using are small coreless motors and I'm trying to control them using ...
2
votes
0
answers
504
views
RGB LED strip with Arduino [duplicate]
I am trying to control an RGB LED strip with an Arduino. I have followed the tutorials in both of these websites:
Using MOSFETs: https://learn.adafruit.com/rgb-led-strips?view=all
Using LED ...
1
vote
2
answers
140
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 ...
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
vote
2
answers
549
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
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
vote
1
answer
602
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
123
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 ...
1
vote
1
answer
717
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 ...
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
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 ...
1
vote
3
answers
961
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
925
views
Why are MOSFETs only giving 8.1V for LEDs, not 12V?
I'm using three PWM outputs from an Arduino Mini Pro to drive the R/G/B parts of some strips of LEDs. The circuit is basically this:
I've got a single 12V power supply, rated at 200W, to light the ...
1
vote
1
answer
623
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 ...
1
vote
1
answer
135
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 ...
1
vote
1
answer
2k
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
vote
1
answer
1k
views
Use MOSFET to Change Voltage With PWM
Ok so forgive me for being an amateur but I'm having a situation that's driving me nuts.
I have a sensor that I have to cycle between +5VDC and +1.4VDC every 60 seconds. I'm using an ATTiny85 with ...
1
vote
1
answer
942
views
Best way to make an Arduino switch 8 12V LED's
I'm trying to switch multiple 12V LED's with my arduino, based on the input of a (serial-in parallel-out) shift-register.
The 12V comes from a separate battery, so I can use 8 mosfets to get my 12V, ...
1
vote
1
answer
1k
views
Powering Arduino Pro Mini + Driving LED Strip
Just looking for a second opinion on my circuit below. Wired up everything works great, but last night as i was unplugging the FTDI programmer something seemed to have happend, and the mini was ...
1
vote
1
answer
141
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
82
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 ...
1
vote
0
answers
184
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 ...
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 ...
0
votes
3
answers
7k
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
3
answers
142
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 ...
0
votes
2
answers
61
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. ...
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-...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
743
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
266
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 ...
0
votes
2
answers
2k
views
MOSFET to dim LED backlight
I have built the following to dim the brightness of the LED backlight of a display:
I am using a BS170 MOSFET (the diode is no extra part but included in the MOSFET, according to the datasheet). The ...
0
votes
1
answer
8k
views
Using an Arduino to switching a grounded load powered by a 12 Volt supply
I wish to use a MOSFET to drive a 12V rated LED strip from an Arduino.
The negative side of the LED strip must be connected to ground, so that means that the driving MOSFET must be between +12V and ...
0
votes
1
answer
245
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 ...
0
votes
1
answer
65
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 ...