Arduino Forum

Products => The Arduino Starter Kit and Basic Kit => Topic started by: BennyBoyW on Dec 22, 2017, 09:38 pm

Title: Starter Kit Project 10 "Zoetrope" - Motor too Fast
Post by: BennyBoyW on Dec 22, 2017, 09:38 pm
Hi all
I've successfully created the Zoetrope in Starter Kit Project 10
However, the motor is too fast even with the potentiometer at the lowest usable speed.
What is the best way to slow this down? I was thinking about cogs and creating a gear. But I have not got a clue about the best ways to attach cogs to the motor or the rotating part.
Am I overthinking this? Is there a simpler way that I'm missing?
Thanks in advance fir any suggestions
Ben
Title: Re: Starter Kit Project 10 "Zoetrope" - Motor too Fast
Post by: rogertee on Dec 24, 2017, 03:52 am
the line for speed is 26 the analogue read that value is divided by 4 try higher numbers like 6,8 but the actual speed is set on line 46 the analog write you can try to remove that variable 'motorSpeed' and replace it with values from 0 being off to values up to 255 . e.g. analogWrite(enablePin,100) but doing so will disable the pot. Other alternatives use a lower voltage battery other than 9v. things to research is pulse width modulation and also the L293 IC as to how it works and pins used. There are a lot of tutorials on those subjects.To use gears etc would be a pain unless you get a geared motor. one way to debug projects with variables is to use the serial monitor then print the value of variables like motor speed to display on the built in serial monitor of the Arduino IDE see project 3 in projects book its shown there. use a Serial.print(motorSpeed) because values around 10 should slow down the motor
Title: Re: Starter Kit Project 10 "Zoetrope" - Motor too Fast
Post by: BennyBoyW on Dec 26, 2017, 03:41 pm
Thank you so much for the advice - you've made me think about various options and it's much appreciated  :)
Happy Christmas
Ben
Title: Re: Starter Kit Project 10 "Zoetrope" - Motor too Fast
Post by: roboDuckRabbit on Feb 19, 2019, 06:24 am
I had the same issue because the potentiometer pins don't connect to the breadboard very well (it's very loose). So I have to hold it down for it to work at all. Annoying when you also have to hold the zoetrope itself :o

Also I found the image doesn't show very well through the slits and it's hard to see it as anything but a blur. Oh well, beginner projects! :)