Questions tagged [mosfet]

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

Filter by
Sorted by
Tagged with
11
votes
2answers
24k views

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

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
4answers
16k 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
2answers
914 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
1answer
680 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
2answers
186 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
1answer
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
3answers
691 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
2answers
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
2answers
11k 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
1answer
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
1answer
919 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
0answers
497 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
2answers
106 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
2answers
220 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
2answers
2k 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
2answers
109 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
1answer
58 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
3answers
526 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
1answer
432 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
2answers
742 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
1answer
587 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
1answer
6k 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
vote
1answer
237 views

PWM water pump flow control - should I use capacitor for MOSFET? [closed]

I want to control flow level on 12V water pump with PWM pin, I'm using IRF520N MOSFET for that (and dedicated 12V power supply). Should I use some capacitor on MOSFET output to "smoothen" voltage? ...
1
vote
2answers
2k 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. ...
1
vote
1answer
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
1answer
877 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
1answer
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
0answers
757 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 ...
1
vote
0answers
182 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 ...
0
votes
1answer
743 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 ...
0
votes
3answers
2k 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
2answers
56 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
2answers
729 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
1answer
116 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
1answer
687 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 ...
0
votes
1answer
349 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
1answer
163 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
2answers
1k 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
1answer
7k 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
1answer
30 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 ...
0
votes
1answer
55 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 ...
0
votes
2answers
880 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....
0
votes
3answers
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. ...
0
votes
0answers
36 views

Arduino Relay Alternative [closed]

I am looking for an alternative to this Arduino relay circuit. Mosfet? Any suggestions?
0
votes
0answers
36 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
3answers
233 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
1answer
126 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
1answer
117 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 ...
0
votes
1answer
341 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
votes
1answer
231 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 ...