Show Posts
Pages: 1 ... 49 50 [51] 52 53 ... 243
751  Using Arduino / Project Guidance / Re: which input I turn my components? on: April 06, 2014, 05:08:17 pm
Quote
1 -) what type of Arduino is right for me? I've been researching the Mega 2560, Arduino UNO REV3 and MINI models.
ps: I need to put the arduino with these components on a boat, takes up less space as possible inside the boat, then if the arduino MIni work, it will be even better.

2 -) which and how many entries I'll use in Arduino (how many analog inputs and PWM inputs are necessary for each component)

All of this is on your end, you need to do the research. Go through each component and see what each one needs to work. Count  up the number of pins each one uses and then see what board is right for your needs. You need it to be small so your options are the Nano, Micro and Minis or you can make your own arduino from scratch with Bare Bones Arduinos.

Added: since its going to go into a boat, your going to want water proof casing or some way to prevent water from entering. Look into water proof servos too.
752  Using Arduino / Programming Questions / Re: Searching for info regarding the PS2X Library on: April 06, 2014, 04:28:50 pm
Did you try the example that came with the library? If you downloaded the PSX2 library from the arduino playground then you need to go into the PSX2.h file and change WProgram.h to Arduino.h and save it. This will allow the library to compile and you can start with the example sketch it came with. The sketch shows you how to read the buttons and analog sticks.

I use the library myself, so I can help you get started.
753  Using Arduino / Project Guidance / Re: What is this?? on: April 05, 2014, 09:40:40 pm
Quote
Would a servo be considered a digital version of a stepper which is analogue?

Kinda. a servo has a potentiometer inside which is able to keep track of where it is and also allows the user to tell it to stop at a certain degree. A stepper can do the same but it requires some math to figure out how many steps it takes and then convert that to a degree. Not all steppers are the same, some take bigger / smaller steps then others.

Also a big difference is what happens when you move a stepper. If you don't have anyway to keep track of its location(angle), it's going to get lost and it wont be able to correct itself. Whereas a servo being that it already has a way tracking its location, it can return back to a certain degree if it is ever moved.

Steppers allow for torque, but are not good at keeping track of where they are, and likewise for servos.
754  Using Arduino / Programming Questions / Re: Using TFT button for dual purposes on: April 05, 2014, 03:28:05 am
Your welcome.  smiley
755  Using Arduino / Project Guidance / Re: Robotic arm from scratch on: April 05, 2014, 03:14:51 am
?
Quote
omega
The Arduino Mega or your power supply? The arduino does have a built in regulator both 5V and 3.3V but the current is tiny, only about 200 mA and 40 mA on the digital pins. Your power supply may have a regulator too, I don't know.
756  Using Arduino / Project Guidance / Re: What is this?? on: April 05, 2014, 02:58:19 am
That small board is a stepper motor, driver, but 2 regular DC motors will work too.
757  Using Arduino / Project Guidance / Re: Robotic arm from scratch on: April 05, 2014, 02:41:27 am
The servos need 6 volts to work properly so you may need a voltage regulator to bring down the voltage.
758  Using Arduino / Project Guidance / Re: Robotic arm from scratch on: April 05, 2014, 02:16:55 am
Well you would need some good torque motors, that is if you don't want to use servos. Or you could also use hydraulic pistons to move the arm.

Servos are good to start with, especially with a kit but for better stronger applications worm gears and hydraulics are the way to go.
One other thing, servos can not run off the 5 volts from the arduino, so you will need an external power supply that can output about 6 volts and decent current ~1 - 2 amps.
759  Using Arduino / Displays / Re: 16x2 LCD nearly works - but has a few strange characters. Why??? on: April 05, 2014, 02:07:06 am
It's possible your screen is getting the ASCII codes for the carriage return and new line. When you see what is printed on the serial monitor see if they are 10 & 13.
760  Using Arduino / Project Guidance / Re: Robotic arm from scratch on: April 05, 2014, 01:58:24 am
If you want your arm to be strong, then use metal worm gears. What is the arm going to be made from and how big will it be?
761  Using Arduino / Project Guidance / Re: need help with judge dredd lawgiver lights and sound [IMAGES] on: April 04, 2014, 09:18:13 pm
I want one.
762  Using Arduino / Displays / Re: Can't get my LCD screen to work. Help? on: April 04, 2014, 09:14:13 pm
Well what does it do? Does anything at all happen, does the backlight come on, do you see black boxes on the screen. Did you remember to have a pot connected to the contrast pin?

Post some pictures of your setup. Please try to make the pictures a reasonable size.
763  Using Arduino / Project Guidance / Re: Bee Hive Scale on: April 04, 2014, 08:38:22 pm
Why not just hang the hive from a digital scale? Or you can make your own scale that way you can have whatever alarms your want.
764  Using Arduino / Programming Questions / Re: Variable Counting on: April 04, 2014, 05:31:46 pm
Make sure you declare all the variables at the top.

if( someVar == 0)
  counter++;
else
  counter = 0;

Its not rocket science.
765  Using Arduino / Project Guidance / Re: Robot wireless mode select on: April 04, 2014, 01:26:50 am
Try this.
Quote
boolean state = digitalRead(Stay) ; // make state boolean at the top of your code
 if( state != lastState )
 {
   if( state == HIGH )
      s = !s;

   lastState = state; // <- this had to be taken out of "if( state == HIGH )"
 }
Pages: 1 ... 49 50 [51] 52 53 ... 243