Show Posts
Pages: 1 ... 323 324 [325] 326 327 ... 596
4861  Topics / Home Automation and Networked Objects / Re: Wireless motion sensor camera on: April 27, 2012, 01:19:43 am
Most wireless IP cams have those features.
4862  Using Arduino / Networking, Protocols, and Devices / Re: Network works for UdpNtpClient and WevServer, but not for UdpSendReceiveString on: April 27, 2012, 01:17:07 am
Quote
I really need help with this. Nothing I can do makes it work. The arduino is definitely working properly, and my computer is sending udp correctly

Maybe, maybe not. Something you are assuming is working properly apparently isn't.
4863  Using Arduino / Networking, Protocols, and Devices / Re: TTL to RS232 without Maxim's circuit on: April 27, 2012, 01:13:15 am
The below might have some ideas.

http://www.scienceprog.com/alternatives-of-max232-in-low-budget-projects/
4864  Using Arduino / Programming Questions / Re: How to turn on/off LED using String? on: April 27, 2012, 12:56:39 am
Simple code that you might be looking for.

Code:
// zoomkat 8-6-10 serial I/O string test
// type a string in serial monitor. then send or enter
// for IDE 0019 and later

int ledPin = 13;
String readString;

void setup() {
  Serial.begin(9600);
  pinMode(ledPin, OUTPUT);
  Serial.println("serial on/off test 0021"); // so I can keep track
}

void loop() {

  while (Serial.available()) {
    delay(3); 
    char c = Serial.read();
    readString += c;
  }

  if (readString.length() >0) {
    Serial.println(readString);

    if (readString == "on")     
    {
      digitalWrite(ledPin, HIGH);
    }
    if (readString == "off")
    {
      digitalWrite(ledPin, LOW);
    }

    readString="";
  }
}

4865  Using Arduino / Project Guidance / Re: Keeping the dog off the couch on: April 27, 2012, 12:45:30 am
You might get one of the below and set it on the couch. There are other DIY gizmos that can be made to harmlessly startle dogs and cats when they go into undesired places.

http://www.ebay.com/itm/Security-Door-Window-Vibration-Detector-Burglar-Alarm-/110736354308?pt=LH_DefaultDomain_0&hash=item19c866ac04
4866  Using Arduino / Programming Questions / Re: Serial communication for pwm to sabertooth motor control am i doing this right? on: April 26, 2012, 06:53:46 pm
You may just want to use the servo library and control the motors per the below. Should be very simple.

R/C input mode takes two standard R/C channels and uses those to set the speed and direction of the motor.
4867  Using Arduino / Networking, Protocols, and Devices / Re: PHP: read / write to / from Arduino - Genaral Steps - please free complete it on: April 26, 2012, 02:36:34 pm
Quote
I didn't know you could use Serial ports directly from PHP.

In the windows environment, PHP apparently does not support reading from the serial port, only writing to the serial port.
4868  Using Arduino / General Electronics / Re: How to learn EE and Arduino on: April 26, 2012, 01:10:44 pm
Google is a good source for electronic learning materials, just add the word tutorial in the component search box. Lots of info turns up, like the search for "multimeter tutorial" below.

http://www.google.com/search?hl=en&as_q=multimeter+tutorial&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=&as_occt=any&safe=images&tbs=&as_filetype=&as_rights=
4869  Topics / Robotics / Re: Arduino UNO plus Adafruit motor shield to run modified servo or DC on: April 26, 2012, 12:44:32 pm
The servo pot also has to be disconnected from the motor gearing along with removing the gearing stop. Below is how I made some continious rotation servos. You do not need a motor shield on the arduino with the continous rotation servos. Bottom is some servo code you can use to test your servo.

http://www.lynxmotion.net/viewtopic.php?f=31&t=6388

Code:
// zoomkat 10-22-11 serial servo test
// type servo position 0 to 180 in serial monitor
// or for writeMicroseconds, use a value like 1500
// for IDE 0022 and later
// Powering a servo from the arduino usually *DOES NOT WORK*.

String readString;
#include <Servo.h>
Servo myservo;  // create servo object to control a servo

void setup() {
  Serial.begin(9600);
  myservo.writeMicroseconds(1500); //set initial servo position if desired
  myservo.attach(7);  //the pin for the servo control
  Serial.println("servo-test-22-dual-input"); // so I can keep track of what is loaded
}

void loop() {
  while (Serial.available()) {
    char c = Serial.read();  //gets one byte from serial buffer
    readString += c; //makes the string readString
    delay(2);  //slow looping to allow buffer to fill with next character
  }

  if (readString.length() >0) {
    Serial.println(readString);  //so you can see the captured string
    int n = readString.toInt();  //convert readString into a number

    // auto select appropriate value, copied from someone elses code.
    if(n >= 500)
    {
      Serial.print("writing Microseconds: ");
      Serial.println(n);
      myservo.writeMicroseconds(n);
    }
    else
    {   
      Serial.print("writing Angle: ");
      Serial.println(n);
      myservo.write(n);
    }

    readString=""; //empty for next input
  }
}

4870  Using Arduino / Project Guidance / Re: Build a Simple Robot! on: April 26, 2012, 11:51:41 am
Quote
I really need to find how to do it...

Some reading material:

http://www.google.com/search?hl=en&as_q=Sharp+IR+sensor&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=http%3A%2F%2Farduino.cc%2Fforum%2Findex.php&as_occt=any&safe=images&tbs=&as_filetype=&as_rights=
4871  Using Arduino / Programming Questions / Re: arduino ethernet reference on: April 26, 2012, 11:40:21 am
Quote
Another point: in the examples why sometimes address are declared as "byte ip[]={xxxx}" and sometimes as "IPAddress ip(xxxx)"?

Interesting question as various example code may use one or the other. I haven't seen any real explination of the difference between the two or how they are used by the ethernet librarys.
4872  Using Arduino / Programming Questions / Re: Robotic Hand on: April 26, 2012, 11:35:02 am
Quote
In which direction I want it to turn, is controlled by a toggle switch, one for each finger.

I suggest you switch from toggle switch operated motors to servos for your robot hand actuators.
4873  Using Arduino / Project Guidance / Re: "Camera trap" security design on: April 25, 2012, 08:51:09 pm
Quote
I would like to use an IR beam because PIR's will not work well in our very brushy, leafy yard.  We also have a lot of small critters that set them off.

Bushes and leaves should not set off PIRs as they are at ambient temprature. If you have small critters, adjust the PIR field of view to a couple feet above ground level.
4874  Using Arduino / Project Guidance / Re: Blinking eye project on: April 24, 2012, 10:34:50 pm
Some suggested reading.

http://www.google.com/search?num=100&hl=en&lr=&as_qdr=all&q=eye+servo+animatronic&oq=eye+servo+animatronic&aq=f&aqi=&aql=&gs_nf=1&gs_l=serp.3...42981.59558.0.60386.12.12.0.0.0.0.703.2030.4j7j6-1.12.0.DRFUhiOb0qQ
4875  Using Arduino / Project Guidance / Re: Project Guidance (Security Camera) on: April 24, 2012, 10:22:15 pm
Quote
I am new to this,

I suggest you do more research on current network and security cams. They can send emails with pix when motion is detected, record to DVR units, and more.
Pages: 1 ... 323 324 [325] 326 327 ... 596