Show Posts
Pages: 1 [2] 3 4 ... 650
16  Using Arduino / Programming Questions / Re: HTTP Request with Arduino Ethernet Shield on: September 28, 2014, 10:00:24 pm
I don't think the  arduino does the s part of https://
17  Using Arduino / Motors, Mechanics, and Power / Re: Brushed 12v DC Motor Control using Arduino Uno on: September 28, 2014, 01:25:13 pm
if yo just need to control the motor speed and not direction, a logic lrvel MOSFET like below might work.

https://www.sparkfun.com/products/10213
18  Using Arduino / General Electronics / Re: 43A H-Bridge fried? Yes/No? How to repair? on: September 27, 2014, 01:49:34 pm
What do you have the enable pins connected to?
19  Using Arduino / Project Guidance / Re: H-Bridge DC Motor Controller on: September 27, 2014, 01:19:03 pm
There have been some notable discussions of DIY H-bridge designs. Below is one to read. The most cost effective approach for time and $$ is buy a design proven to work.

http://forum.arduino.cc/index.php?topic=53425.0

http://www.banggood.com/Semiconductor-BTS7960B-43A-HBridge-Motor-Driver-Module-For-Arduino-p-928634.html

http://www.ebay.com/sch/i.html?_from=R40&_sacat=0&LH_BIN=1&_nkw=Double+BTS7960B+43A+Motor+Driver&_sop=15

20  Using Arduino / General Electronics / Re: Cheap power for LED Night Light. on: September 27, 2014, 01:08:16 pm
Go to the DollarTree store and get a $1 LED night light and modify it for your needs.
21  Using Arduino / Programming Questions / Re: Getting code from serial data on: September 27, 2014, 11:38:48 am
The textfinder library might provide info on string identification in streaming characters.

http://playground.arduino.cc/Code/TextFinder
22  Using Arduino / Programming Questions / Re: Servo Control through serial monitor on: September 27, 2014, 10:59:38 am
Quote
The main one being – the Servo accepts two numerical info – the “degree”  range 0 thru 180 refers to true angle position / degrees of servo, the range above 500 (something ) refers to microseconds time to set the servo to desired  position / angle. This timing data should be in servo data sheet.

Not really. The servo accepts pulses with durations usually of 500us to 2500us, in intervals of 5ms to 20ms. Servo controllers accept various command formats and output the control pulses to the servo. The 0-180 deg command is jut an approximation of expected servo positioning, and in the arduino servo library, is converted to a corresponding us command position. The below code lines set an initial servo control position (library default is 1500us), and the second line sets the desired servo control limits if desired to be different from the default.

Code:
  myservo.writeMicroseconds(1500); //set initial servo position if desired
  myservo.attach(7, 500, 2500);  //the pin for the servo control, and range if desired
23  Using Arduino / Motors, Mechanics, and Power / Re: mechanical tutorials? on: September 27, 2014, 12:40:59 am
Mechanical movements from the past (some might be suspect).

http://books.google.com/books/about/Five_Hundred_and_Seven_Mechanical_Moveme.html?id=vOhIAAAAMAAJ
24  Using Arduino / Motors, Mechanics, and Power / Re: Gears and connections for Parallax servo motors on: September 27, 2014, 12:30:24 am
Quote
Do you have any reliable sites for procuring connections to the aforementioned servo?

Hot glue can make strong but removable attachment to servo horns.
25  Using Arduino / Project Guidance / Re: GSM board questions on: September 27, 2014, 12:21:14 am
Quote
Hi I was thinking of starting a new project that included the GSM board.

With the high level questions, there is a good possibility the GSM shield will not actually do what you assume it will in your project.
26  Using Arduino / Project Guidance / Re: Mobile App Controlled Drone on: September 27, 2014, 12:15:35 am
i predict that while you are fiddling with your mobile device, the drone will fly away or crash. How about a slower moving ground vehicle?
27  Using Arduino / Project Guidance / Re: What's happening with my robot? on: September 27, 2014, 12:12:21 am
Quote
my servo is a tower pro sg 90. I'd love to implement your schema, but sadly I don't have that controller, I don't know how to connect it.

I posted the schematic to show you a concept, not actual wiring for your project.
28  Using Arduino / Project Guidance / Re: What's happening with my robot? on: September 26, 2014, 11:51:25 pm
below is one way to use a 7805 regulator for a servo and controller chip.


29  Using Arduino / Networking, Protocols, and Devices / Re: Arduino - WebClient - Control Led on: September 26, 2014, 07:48:31 pm
Probably several approaches to what you want to do. below is client code that captures every thing sent from the server into a String, which then can then be parsed for data of interest.

Code:
//zoomkat 11-04-13
//simple client test
//for use with IDE 1.0.1
//with DNS, DHCP, and Host
//open serial monitor and send an e to test
//for use with W5100 based ethernet shields
//remove SD card if inserted
//data from server captured in readString

#include <SPI.h>
#include <Ethernet.h>
String readString;

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; //physical mac address

char serverName[] = "web.comporium.net"; // zoomkat's test web page server
EthernetClient client;

//////////////////////

void setup(){

  if (Ethernet.begin(mac) == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    // no point in carrying on, so do nothing forevermore:
    while(true);
  }

  Serial.begin(9600);
  Serial.println("client readString test 11/04/13"); // so I can keep track of what is loaded
  Serial.println("Send an e in serial monitor to test"); // what to do to test
  Serial.println();
}

void loop(){
  // check for serial input
  if (Serial.available() > 0) //if something in serial buffer
  {
    byte inChar; // sets inChar as a byte
    inChar = Serial.read(); //gets byte from buffer
    if(inChar == 'e') // checks to see byte is an e
    {
      sendGET(); // call sendGET function below when byte is an e
    }
  } 
}

//////////////////////////

void sendGET() //client function to send/receive GET request data.
{
  if (client.connect(serverName, 80)) {  //starts client connection, checks for connection
    Serial.println("connected");
    client.println("GET /~shb/arduino.txt HTTP/1.1"); //download text
    client.println("Host: web.comporium.net");
    client.println("Connection: close");  //close 1.1 persistent connection 
    client.println(); //end of get request
  }
  else {
    Serial.println("connection failed"); //error message if no client connect
    Serial.println();
  }

  while(client.connected() && !client.available()) delay(1); //waits for data
  while (client.connected() || client.available()) { //connected or data available
    char c = client.read(); //gets byte from ethernet buffer
    readString += c; //places captured byte in readString
  }

  //Serial.println();
  client.stop(); //stop client
  Serial.println("client disconnected.");
  Serial.println("Data from server captured in readString:" );
  Serial.println();
  Serial.print(readString); //prints readString to serial monitor
  Serial.println(); 
  Serial.println();
  Serial.println("End of readString");
  Serial.println("==================");
  Serial.println();
  readString=""; //clear readString variable

}
30  Using Arduino / Networking, Protocols, and Devices / Re: Connecting multiple clients to Arduino TCP/IP server on: September 26, 2014, 07:22:26 pm
Quote
zoomkat - I'm sorry but the link you provided goes to a search page, could you specify what you were directing me to?

I'm directing you to previous forum post concerning wifi questions. you may find useful info there that might help you with your project now and in the future.
Pages: 1 [2] 3 4 ... 650