Course Solutions Uncategorized (Solved) : Hello M Working School Project Using Arduino M Using Potentiometer Control Brushless Motor Q27920213 . . . .

(Solved) : Hello M Working School Project Using Arduino M Using Potentiometer Control Brushless Motor Q27920213 . . . .

 

Hello, I’m working on a school project using arduino. I’m usinga potentiometer to control a brushless motor and so far it works. Iwas just wondering how to create a dead zone so that the motordoesn’t starting spinning the moment I press on the throttle.

My teacher gave me a hint:

if (voltage=>1.5) {

   send out signal;

}

else {

   send out zero;

}

This is the arduino code that I have and it works:

#include <Servo.h> //accesses the Arduino ServoLibrary

Servo myservo; // creates servo object to control a servo

int val;    // variable to read the value fromthe analog pin

void setup()
{
myservo.attach(9); // ensures output to servo on pin

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post