Loading...
Pages: [1]   Go Down
Author Topic: help pleaseeeee  (Read 296 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

ok so we go this as a project for school, (btw its supposed to be a 101 class lol) have to make a robot that will use 5-8 servos it will have to do some kind of action (dance or follow a pattern of movements) activated by a sensor of some kind.i have been going through the tutorials for the past 3 days i haven't been able to find any thing on single loops or using multiple servos ,however i found a few things on single servos with sensors and  been able to do that but im very very new to this programing world i belive i have the servos connected correctly i can get them to move but the dont stop also i can only get one at a time to run off the sensor. now i do relise tjis might seem very stupid to u guys i have seen some amazing things u guys built, if there is any way any one can help me i would o u big time pleaseeee,,(im an airbrush artist ill return any favors by airbrushing ur next project :smiley-fat )  just need help understanding how the coding would work
thank you guys
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 277
Posts: 25506
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
i can get them to move but the dont stop also i can only get one at a time to run off the sensor
So post that code and we can have a look at it and say where you are going wrong.
Use code tags, that is the # box to surround your code.
Say what you expect it to do and what it does.
Logged

Queens, New York
Offline Offline
Edison Member
*
Karma: 29
Posts: 1571
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you try the servo examples?

Post your code.
Logged

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino

Arduino Tutorials, coming soon.

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

Poole, Dorset, UK
Offline Offline
God Member
*****
Karma: 8
Posts: 671
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Which type of servo?,  continuous rotation or normal?

Mark
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 314
Posts: 35518
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
ok so we go this as a project for school, (btw its supposed to be a 101 class lol) have to make a robot that will use 5-8 servos it will have to do some kind of action (dance or follow a pattern of movements) activated by a sensor of some kind.i have been going through the tutorials for the past 3 days i haven't been able to find any thing on single loops or using multiple servos ,however i found a few things on single servos with sensors and  been able to do that but im very very new to this programing world i belive i have the servos connected correctly i can get them to move but the dont stop also i can only get one at a time to run off the sensor. now i do relise tjis might seem very stupid to u guys i have seen some amazing things u guys built, if there is any way any one can help me i would o u big time pleaseeee,,(im an airbrush artist ill return any favors by airbrushing ur next project :smiley-fat )  just need help understanding how the coding would work
thank you guys
Apparently communication skills are not part of your curriculum. Periods and capital letters and paragraphs ARE important. If you were talking to us like this, we'd tell you to slow down and breathe once in a while.
Logged

Offline Offline
Edison Member
*
Karma: 114
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
just need help understanding how the coding would work

The code is very easy to understand it has a modular structure with the 1st section before the 2nd section and the 2nd section before the 3rd section and the last section after them all all you have to do is to follow variables x y zbcd they form the basic structure of the code and lead you to the utopia of coding if you have any questions please do not hesitate to ask see you hope all work out great for you before i forgot the single servo you have is not very good for this code you have to tie that servo to this servo and then ground them all to that point on the servo over there if you hope to have any chance to get your code to work honestly
Logged

0
Online Online
Tesla Member
***
Karma: 50
Posts: 6549
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
ok so we go this as a project for school, (btw its supposed to be a 101 class lol)

You need to post your code that doesn't work with an explanation of what it is supposed to do.
Logged

Why I like my 2005 rio yellow Honda S2000 with the top down, and more!
GOOGLE ADVANCED FORUM SEARCH BELOW!  
Go to:  http://www.google.com/advanced_search?hl=en
put in key search words,
use site or domain:  http://arduino.cc/forum
or in a google search box put key words site:http://arduino.cc/forum

Pages: [1]   Go Up
Print
 
Jump to: