Yes . Everyone who replied knows where the information is.
We are just going around in circles. My suggestion to you is just forget this post completely because it is really too many different things in one category. You need to do what I suggested in my last (off-topic) post which is pick a subject and start learning.
If you are so smart , then you know you have to learn each component (or sub-component) one at a time.
Start a new post for one of the many things I created on the list. I am not as smart as you . I don't have a 4.3 GPA, but I have the common sense to itemize the hardware and prioritize the project. If you already have all the hardware then my suggestion is start with the L293 and the motors. If you want to start there then start a new post for that and post the datasheet or vendor link for your motors . If you are using a shield , post the vendor link for that. If you are breadboarding the circuit, post a schematic of your
circuit (draw it with a PEN (not a pencil) and take a PHOTO).
Post your code. I am just a little puzzled how someone so smart has not realized that if you put the word "arduino" at the beginning of your Google (not Bing, which SUCKS) searches on each of the topics. There's like zillion example circuits and sketches for everything you have mentioned. Posting here should be resevered for when you have already tried that and now something is not working the way you expect or you need help coding some part that is not straight-forward. Aside from those cases, everything you need can be found with a google search.
i search for 2 hours and all i find is worthless internet clutter.
It took 2 seconds to find this:
http://www.instructables.com/id/Control-your-motors-with-L293D-and-Arduino/
// Use this code to test your motor with the Arduino board:
// if you need PWM, just use the PWM outputs on the Arduino
// and instead of digitalWrite, you should use the analogWrite command
// --------------------------------------------------------------------------- Motors
int motor_left[] = {2, 3};
int motor_right[] = {7, 8};
// --------------------------------------------------------------------------- Setup
void setup() {
Serial.begin(9600);
// Setup motors
int i;
for(i = 0; i < 2; i++){
pinMode(motor_left[i], OUTPUT);
pinMode(motor_right[i], OUTPUT);
}
}
// --------------------------------------------------------------------------- Loop
void loop() {
drive_forward();
delay(1000);
motor_stop();
Serial.println("1");
drive_backward();
delay(1000);
motor_stop();
Serial.println("2");
turn_left();
delay(1000);
motor_stop();
Serial.println("3");
turn_right();
delay(1000);
motor_stop();
Serial.println("4");
motor_stop();
delay(1000);
motor_stop();
Serial.println("5");
}
// --------------------------------------------------------------------------- Drive
void motor_stop(){
digitalWrite(motor_left[0], LOW);
digitalWrite(motor_left[1], LOW);
digitalWrite(motor_right[0], LOW);
digitalWrite(motor_right[1], LOW);
delay(25);
}
void drive_forward(){
digitalWrite(motor_left[0], HIGH);
digitalWrite(motor_left[1], LOW);
digitalWrite(motor_right[0], HIGH);
digitalWrite(motor_right[1], LOW);
}
void drive_backward(){
digitalWrite(motor_left[0], LOW);
digitalWrite(motor_left[1], HIGH);
digitalWrite(motor_right[0], LOW);
digitalWrite(motor_right[1], HIGH);
}
void turn_left(){
digitalWrite(motor_left[0], LOW);
digitalWrite(motor_left[1], HIGH);
digitalWrite(motor_right[0], HIGH);
digitalWrite(motor_right[1], LOW);
}
void turn_right(){
digitalWrite(motor_left[0], HIGH);
digitalWrite(motor_left[1], LOW);
digitalWrite(motor_right[0], LOW);
digitalWrite(motor_right[1], HIGH);
}
BUT allot of you know how to make a motor go left and right, accelerate and decelerate, how to make a servo go back and forth, how to do the same with a solenoid valve, and how to use the plethora of switches and input devices with the Arduino.
You mean like the sketch above ? (that took me 2 seconds to find ?)
http://arduino.cc/en/tutorial/button
or this:
http://playground.arduino.cc/Learning/SolenoidTutorial
(I'm up to 5 minutes now....)
have a good brain, 4.3 GPA Status. not the best but enough. just need a guide through the forest of knowledge.
You must be off the charts because I thought 4.0 was the maximum.
What do you have to do to get a 4.3 GPA ?