Pages: [1]   Go Down
Author Topic: Control DC by 4 Mosfet  (Read 485 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 I am planning using 4 Mosfets to control a DC motor (27V, 5 A). I want to use the pot to control. When I set the pot in the middle, the motor should stop, turn to the left the motor run foward, and turn to the right, the motor turn backward. I don't known how to code it. Any one please help!
Thanks a lot
 
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 533
Posts: 26939
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Start by reading up on H Bridges to understand how to make the motor run forward & backward to start.
Then it is not much more of a step to control the H bridge by reading pot & creating the appropriate H-bridge control based on the analog read (0-1023) of the pot voltage from 0-5V.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: