Show Posts
Pages: 1 [2] 3 4 ... 404
16  Using Arduino / Networking, Protocols, and Devices / Re: Telnet over ethernet shield - connection refused on: August 30, 2014, 01:04:01 pm
I'm not familiar with this ethernet library. That could be part of the problem.
Code:
#include <EthernetV2_0.h>
17  Using Arduino / Networking, Protocols, and Devices / Re: Telnet over ethernet shield - connection refused on: August 30, 2014, 10:47:00 am
Not sure if this is all of your problems, but it is one of them.
Code:
// change this
  Ethernet.begin(mac, ip, gateway, subnet);
// to this
  Ethernet.begin(mac, ip, gateway, gateway, subnet);
18  Using Arduino / Networking, Protocols, and Devices / Re: Arduino MINI 05 and W5200 Wiz820io (Ethernet, SPI) on: August 30, 2014, 08:00:01 am
There are some changes you must make to Ethernet.h and Ethernet.cpp. Did you make those changes? Here is a link to the report that describes the changes:
https://code.google.com/p/arduino/issues/detail?id=898
19  Using Arduino / Storage / Re: Error Initializing SD Card on 2650 R3 and Network Shield v6 on: August 29, 2014, 12:34:23 pm
You must disable all other SPI devices before starting any of them. Disable the w5100 SPI interface before starting the SD card.
Code:
void setup() {
  // disable w5100 SPI
  pinMode(10, OUTPUT);
  digitalWrite(10, HIGH);

  // now do the rest of your setup
20  Using Arduino / Storage / Re: sd card shield issues on: August 29, 2014, 10:53:40 am
Where are you getting the 3.3v power? The 3.3v pin on most Arduinos provides only 50ma, and the SD card could take up to 100ma during read/write.
21  Using Arduino / Networking, Protocols, and Devices / Re: SD Itaed Shield for Arduino and another SPI device on: August 29, 2014, 08:50:33 am
If the ADC is a SPI device, you must disable the ADC SPI interface before starting the SD card.
Code:
void setup() {
  // disable ADC SPI
  pinMode(9, OUTPUT);
  digitalWrite(9, HIGH);

  // now start the SD
  if(!SD.begin(CS))
  {
    Serial.println("SD Fail !");
    return;
  }
22  Using Arduino / Networking, Protocols, and Devices / Re: UDP.write always returns 0 on: August 28, 2014, 04:14:26 pm
I just checked with IDE v1.5.7 and my Mega and it still shows 13.

Do you have a SD card in the shield's slot? That can cause UDP problems if you do not disable the SD card in your setup. If so, power down the Due, remove the SD card, and power up again.
23  Using Arduino / Networking, Protocols, and Devices / Re: UDP.write always returns 0 on: August 28, 2014, 03:44:23 pm
I just tested your code on a Mega 2560, and it shows this over and over:
Quote
UDP.begin = true
UDP.write = 13
UDP.begin = true
UDP.write = 13
Don't know what to tell you.

edit: I'm using IDE v1.0.5.
24  Using Arduino / Networking, Protocols, and Devices / Re: UDP.write always returns 0 on: August 28, 2014, 03:15:42 pm
Don't use Udp.stop(). It releases the socket and resources required to send the UDP packet.
Code:
  if(digitalRead(43) == HIGH){
// remove this line
      Udp.stop();
http://arduino.cc/en/Reference/EthernetUDPStop
25  Using Arduino / Storage / Re: Reading and writting to an EEPROM on: August 28, 2014, 01:13:26 pm
Quote
I am having a bit of an issue finding a good toturial to deal with wriiting to I2C EPROMs. Some are for the older IDE versions that only allow saving of 1 bit at a time, most dont work...
Don't look for an I2C example. You want a SPI example, don't you?
Quote
My EEPROM is a 24C32, using an SPI interface.
26  Using Arduino / Project Guidance / Re: Problem with 4017B decade counter on: August 28, 2014, 12:48:18 pm
How about insuring "clock enable" and "reset" are connected to GND or a pin set to OUTPUT and LOW. If the Arduino is not providing the power for the 4017, insure the grounds are connected.
27  Using Arduino / Programming Questions / Re: http requests all fail, despite being on network (wifi shield) on: August 28, 2014, 06:51:40 am
Have you upgraded the firmware? Here is a test sketch to determine the firmware version. If it reports 1.0.0, it needs to be upgraded. If it reports 1.1.0, it is current.
Code:
#include <WiFi.h>
#include <SPI.h>

void setup() {
  Serial.begin(9600);

  // disable SD SPI
  pinMode(4,OUTPUT);
  digitalWrite(4,HIGH);

  // check for the presence of the shield:
  if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("WiFi shield not present");
    // don't continue:
    while(true);
  }

  // check firmware version
  Serial.print(F("Firmware version: "));
  Serial.println(WiFi.firmwareVersion());.
}

void loop() {
}
Here is a link to the official instructions for upgrading, but you may be better off searching to forum for better ways.
http://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading
28  Using Arduino / Project Guidance / Re: Altimeter_v0 project BMP085 on: August 27, 2014, 11:12:58 am
I would set up two buttons and a switch. With the switch in one position adjusts the ground altitude, and in the other adjusts the alarm altitude.
29  Using Arduino / Project Guidance / Re: Altimeter_v0 project BMP085 on: August 27, 2014, 08:57:32 am
I explain:
-BMP085/180, is not close, over 0.5m (my code over 1 m).
-MS5611, is the closest at 0.1m (now I obtained 0.5m outside maybe less I am wowking with this)

So, I am working only with the MS5611, step by step.
Only if the local sea level pressure is 29.92. Otherwise it could be several meters off.
30  Using Arduino / Project Guidance / Re: Altimeter_v0 project BMP085 on: August 27, 2014, 08:44:00 am
I did not look at your code that close, but do you have a way of entering the local altimeter setting? That will improve accuracy more than any of those devices.
Pages: 1 [2] 3 4 ... 404