A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

3

An ESC is an Electronic Speed Controller. It's purpose is to control the speed and direction of a Brushless DC Motor. A Bushless DC Motor ("BLDM") is not like other motors. You can't just provide it power and it will spin. Instead it is made up of three (or multiples of three) electromagnets along with a permanent magnet on the rotor. Energising these ...


0

I had a project where I needed to run two steppers at the same time as they were moving a heavy load and were moving the same piece. While a servo is going to move the desired spot, a stepper will not. In the process of setting up the stepper you designated steps per rev and amount of steps to take at a time. The stepper is only going to move the "amount of ...


0

Basically you can't. PWM value required to turn to a specific degree will depend on motors, on voltage, on hardware, in the current velocity of the car and probably on the surface under the wheel. Also keep in mind that real cars don't turn like that (at a fixed angle). Instead, driver constantly adjusts the position of the steering wheel, while looking at ...


0

I cannot say much about the example code, that you mentioned. The posted example code is not complete, also the second part with the for loop is plain wrong. A for loop looks like this for(<Variable initialization>; <Condition for running the loop>; <Action done for every loop iteration>) So the condition in the middle is the condition ...


0

The first issue I can see is the use of delay() in your code. delay() is blocking code, so nothing else can happen while your Arduino is waiting for the delay time to elapse. The code should be re-witten to avoid the use of the delay function. Next issue is the power supply for your project. What kind of 9V battery are you using? Nowhere in your code do I ...


0

Try a decoupling capacitor acorss your TEG : 100µF/35v (+ at the +). This will avoid micro power drops... Verify that y hardware driving motor works below 9V.


Top 50 recent answers are included