Power MOSFET Motor control with Arduino
A demonstration on how to connect a large MOSFET to an Arduino for control of a large motor. Also demonstrated. The MOSFET used in the video is a RFP50N06.
int motor = 9; // the pin that the MOSFET gate is attached to
int speed = 0; // initial speed of the motor
int speedincrement = 10; // how many speed points to put the motor through
The Code
____________________________________________________
void setup() {
// declare pin 9 to be an output:
pinMode(motor, OUTPUT);
}
//loop runs forever
void loop() {
// set the speed of motor controller (MOSFET) on pin 9:
analogWrite(motor, speed);
// change the speed for next time through the loop:
speed = speed + speedincrement;
// reverse the direction of the speed after reaching full speed
if (speed == 0 || speed == 250) {
speed = -speed ;
}
// wait for 1 second to see the speed effect
delay(1000);
}
____________________________________________________
Like, Share or Subscribe if you like what you see.
Thanks.
Видео Power MOSFET Motor control with Arduino канала Dorian McIntire
int motor = 9; // the pin that the MOSFET gate is attached to
int speed = 0; // initial speed of the motor
int speedincrement = 10; // how many speed points to put the motor through
The Code
____________________________________________________
void setup() {
// declare pin 9 to be an output:
pinMode(motor, OUTPUT);
}
//loop runs forever
void loop() {
// set the speed of motor controller (MOSFET) on pin 9:
analogWrite(motor, speed);
// change the speed for next time through the loop:
speed = speed + speedincrement;
// reverse the direction of the speed after reaching full speed
if (speed == 0 || speed == 250) {
speed = -speed ;
}
// wait for 1 second to see the speed effect
delay(1000);
}
____________________________________________________
Like, Share or Subscribe if you like what you see.
Thanks.
Видео Power MOSFET Motor control with Arduino канала Dorian McIntire
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![MOSFETs and Transistors with Arduino](https://i.ytimg.com/vi/IG5vw6P9iY4/default.jpg)
![How PWM works | Controlling a DC motor with a homemade circuit](https://i.ytimg.com/vi/5nwNKPs2gco/default.jpg)
![MOSFETs and How to Use Them | AddOhms #11](https://i.ytimg.com/vi/GrvvkYTW_0k/default.jpg)
![Controlling an electric drill motor using an Arduino](https://i.ytimg.com/vi/H9u7MR1ryo4/default.jpg)
![Power MOSFET Magic](https://i.ytimg.com/vi/I1h-HZmIJ4E/default.jpg)
![The Ultimate Diy DC Treadmill Motor Controller](https://i.ytimg.com/vi/ECKKXco3Oks/default.jpg)
![Build a Power MOSFET H-Bridge for Arduino, PIC](https://i.ytimg.com/vi/IjgvKJrAOS4/default.jpg)
![Designing Power MOSFET Circuits - Circuit Tips and Tricks](https://i.ytimg.com/vi/56p3_aORiJ0/default.jpg)
![Complete Guide for 15A 400W MOSFET AOD4184A to control motor or load](https://i.ytimg.com/vi/tCJ2Q-CT6Q8/default.jpg)
![Control Large DC Motors with Arduino! SyRen Motor Driver Tutorial](https://i.ytimg.com/vi/OW-Bf3yjUyE/default.jpg)
![Guide: Properly picking and using MOSFETs!](https://i.ytimg.com/vi/ND8uJWlOgIQ/default.jpg)
![Electronic Basics #23: Transistor (MOSFET) as a Switch](https://i.ytimg.com/vi/o4_NeqlJgOs/default.jpg)
![Arduino PWM Solar Charge Controller #1 - MOSFET Configurations](https://i.ytimg.com/vi/qY-6GK873ts/default.jpg)
![Control Large Gearmotors with PWM & Arduino](https://i.ytimg.com/vi/Rc892r--njw/default.jpg)
![Control XY-1250 10-50V 60A 3000W PWM motor Speed controller using Arduino](https://i.ytimg.com/vi/k13iTmvPtUU/default.jpg)
![Using IRF520 MOSFET Switch Button to Turn ON or OFF DC load](https://i.ytimg.com/vi/17vqLv508Uw/default.jpg)
![MOSFET as a Switch - MOSFET with Arduino](https://i.ytimg.com/vi/I5azjRX4-do/default.jpg)
![Controlling fan speed with mosfet and Arduino](https://i.ytimg.com/vi/Pw1kSS_FIKk/default.jpg)
![How to use controller to reverse and stop the BLDC motor.](https://i.ytimg.com/vi/5nezrLrHZsY/default.jpg)