Loading...
  Show Posts
Pages: 1 ... 7 8 [9] 10 11 ... 13
121  Using Arduino / Motors, Mechanics, and Power / Re: Weird motor problem on: December 29, 2012, 10:05:43 pm
No problem!!!! Just out of curiosity what are you building?
122  Using Arduino / Project Guidance / Re: PH fish tank on: December 29, 2012, 10:04:14 pm
Thanks for all the input!! I still have a few questions.


From what I saw it seemed like you could just leave the PH sensor in the tank for long periods of time with out attention. Is that correct? Also, if I use the wiring diagram (link below) could anybody show me how to get the value from the sensors into an integer so I could use the numbers in my program. 

http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/Biometric/Wiringdiagram.pdf

Also, this is not for fish. It's for algae.

http://www.algaelab.org


Thanks for all of your help!!!!
123  Using Arduino / Motors, Mechanics, and Power / Re: capacitor stopping motor?? on: December 29, 2012, 06:30:42 pm
Yes
124  Using Arduino / Motors, Mechanics, and Power / Re: Weird motor problem on: December 29, 2012, 06:28:07 pm
Hello!!!

The reason you'r hearing that noise is because your not giving the motor enough voltage. Due to the fact that your AA batteries probably are not really 1.5v more like 1.2v and because of the voltage drop due to The SN754410 your motors are not getting enough voltage. When you use the 6v your motors are getting plenty of voltage (probably to much). Keep in mind that voltage is not split up between the motors like amperage is. Each one is getting 6v. I would recommend using 3 AA batters. After voltage drop your motors should each get around 3V.

Best of luck,
Drew Davis
125  Topics / Robotics / Re: Motorized pan/tilt, zoom and focus videoscoping setup for field use. on: December 29, 2012, 05:33:18 pm
Depending on the battery voltage you need you could uses vex batteries. They have worked well for me, last a long time, and are nicely priced. Robot shop also sells their charger.

This is one kind they sell...
http://www.robotshop.com/productinfo.aspx?pc=RB-Inn-179&lang=en-US

 
126  Topics / Robotics / Re: Motorized pan/tilt, zoom and focus videoscoping setup for field use. on: December 29, 2012, 05:15:41 pm
Quote
I also need a small actuator or something that can physically push the record button on my camera.

I would use one of these options...

http://www.robotshop.com/productinfo.aspx?pc=RB-Sbo-109&lang=en-US

http://www.robotshop.com/productinfo.aspx?pc=RB-Fir-40&lang=en-US

You could also use a regular servo to push it with a beam fixed on the horn...

http://www.robotshop.com/productinfo.aspx?pc=RB-Hit-27&lang=en-US

Quote
What is the best arduino motordriver

Your going to need more then one and probably different ones because the amperage of each motor will be different.Here are some I like….


https://www.sparkfun.com/products/9457?


http://www.robotshop.com/productinfo.aspx?pc=RB-Dfr-19&lang=en-US

You could also build your own easily. If you chose to do that order the parts from http://www.digikey.com… Best prices ever!!!

Best of luck,
Drew Davis



127  Using Arduino / Project Guidance / PH fish tank on: December 29, 2012, 04:37:15 pm
Hello, I'm trying to measure the PH levels of my fish tank. Spark Fun sells a kit (see link below) but I don't know if this would work for my project. I need my Arduino to check the ph level continually and dump a mix into the tank if the ph falls below 10.5. Would this kit work for this application? If so does anybody know where I could look at a sample program like this. The programs they have seem to send the values to the computer which is not what I need.

Also, If anybody knows of a different kit that would work better or is cheaper that would be awesome.


Thanks!!!

https://www.sparkfun.com/products/10972
128  Using Arduino / Programming Questions / Re: PIN HIGH/LOW on: December 26, 2012, 03:55:19 pm
Thanks!!!
129  Using Arduino / Programming Questions / Re: PIN HIGH/LOW on: December 26, 2012, 03:31:46 pm
Like if I type in this: "int value = 225" ... "analogWrite(E2, value);   //PWM Speed Control"

Will it keep  E2 at 225 if my program moves on from the loop that the latter part of the code is form?

Thanks,
Drew
130  Using Arduino / Programming Questions / Re: PIN HIGH/LOW on: December 26, 2012, 03:23:01 pm
I have one more question. If using analogWrite on a digital pin will it hold the assigned voltage unless changed ?

Thanks,
Drew
131  Using Arduino / Programming Questions / Re: PIN HIGH/LOW on: December 26, 2012, 03:09:07 pm
Thanks!!!
132  Using Arduino / Programming Questions / PIN HIGH/LOW on: December 26, 2012, 02:58:06 pm
When you set a pin to "HIGH" will it stay like that until you set it to "LOW"?

Thanks,
Drew
133  Using Arduino / Installation & Troubleshooting / Re: my uno R3 is not recognized on: December 26, 2012, 01:49:14 pm
I have a mega that has the same problem. My Mac can not find the Arduino, but it lights up. Also the bottom of my board seems to have some blue spots that seemed to leek from the top. I would love to find out if it can be fixed.
134  Using Arduino / Programming Questions / Re: Stop on black line on: December 22, 2012, 12:35:32 pm
Thanks for all of your help. I should have tried the Serial.print from the beginning. The problem was that the lcd left the 0 from 1000 so it made it seem like the light sensor was reading 9900 when it was really 990.  I was able to adjust the values and it works now.

Thanks,
Drew


Code:
#include <SerialLCD.h>
#if ARDUINO < 100
#include <NewSoftSerial.h> //this is a must
#else
#include <SoftwareSerial.h>
#endif

SerialLCD slcd(11,12);
int E2 = 5;                         
int M2 = 4;   
int sensorPin = A1;
int long sensorValue = 0;
int value = 250;
int value2 = 0;


void setup()
{

    pinMode(M2, OUTPUT);
    slcd.begin();
}

void loop()
{
 
 
  sensorValue = analogRead(sensorPin);
 
  while (sensorValue < 1000) {  // #1
   
  sensorValue = analogRead(sensorPin);
 
  slcd.setCursor(0, 1);
  slcd.print(sensorValue, DEC);
   
  digitalWrite(M2,LOW);       
  analogWrite(E2, value);
   
  }
 
 
 
 while (sensorValue > 1000) {  // #2
   
    sensorValue = analogRead(sensorPin);
   
    slcd.setCursor(0, 1);
    slcd.print(sensorValue, DEC);
   
    digitalWrite(M2,HIGH);     
    analogWrite(E2, value2);   //PWM Speed Control
   
 }}
135  Using Arduino / Programming Questions / Re: Stop on black line on: December 22, 2012, 12:14:09 pm
Also I'm not using Serial.print as the lcd is telling me the value.
Pages: 1 ... 7 8 [9] 10 11 ... 13