hello. new and finding how to work the Uno and the arduino.cc website very frustrating.
my first question is: how do you find out if a motoer needs PWM, analog or digital to run it from the pin- also how do you figure out which pin(s) to plug it into specifically and how many can you run together, 2motors only,1 motor and 1 servo, 2 motors and 2 servos? the info in the forum,reference,learning and hardware sections are-for me- extremely confusing. especially when joined with some of the instructables and make: projects.
second question is almost the same as the first only with servos-Hitec 33322S HS-322HD Standard Deluxe Karbonite Gear Servo next is the same but with sensors-specically the -Onite HC-SR04 Ultrasonic Module Distance Sensor For Arduino, Green PCB and the
TowerPro SG90 9G Mini Servo.
lastly (sorry) the analog and digital pins-they all can do digital, 6 can do only analog read/write, right? i read the info in the learng and reference and hardware sections. i'm sorry but that just isn't making any sense. i guess i'm trying to ask is what exactly do you/can you plug into each pin and WHY/WHY NOT into that pin and not into another pin . i'm hoping if i know that i can start to understand this more. i usually learn best by knowing the why on things before i learn how -like in auto class. knew what all the parts did and how the worked together but it never made any sense till i finally understood WHY they did.
sorry again about the idiot simple questions and the run ons. please be helpful and patient and not condecending. thank you.
You have a Arduino Uno, and you use the forum. That's a good start !
This page is some basic information: http://arduino.cc/en/Main/ArduinoBoardUno/
I agree, most projects seem confusing if you are new to Arduino, almost every prjects expects a certain knowledge.
But the Arduino has example programs. So you start with a blinking led, and adapt the program and that's how you learn.
Using sensors and other hardware can sometimes be found in the "Playground" section (click "Playground" in the top bar).
You can past an URL in your message, if you ask about sensors and so.
About the pins.
The analog input pins (The Uno has 6 analog inputs) are for analog inputs. But A4 and A5 are sometimes used for the i2c-bus (serial communication bus). So the best pins for analog inputs are A0,A1,A2,A3.
Digital pin 0 and 1 are in use for Tx and Rx. Digital pin 13 is connected to a led on the Uno. Two pins can also be used for interrupt inputs. And not all digital pins can be used for a PWM output. Some libraries use a hardware timer inside the microcontroller, and the outputs of the timer is a specific pin.
As an extra, also the analog pins can be used as digital pins.
http://arduino.cc/it/Hacking/PinMapping168
The Arduino has a good standard Servo library. So you should read which pins can be used : Servo - Arduino Reference