Show Posts
Pages: 1 ... 119 120 [121] 122 123 ... 353
1801  Using Arduino / Project Guidance / Re: Straightforward burn custom bootloader on: June 19, 2013, 01:09:04 pm
That's firmware for the ATmega16U2 of the UNO or Mega2560, so it's not for the main processor but the coprocessor, that handles the USB to serial conversion. So you need to use the ICSP header just beside the USB connector on the UNO board. A Duemillanove does not work with this software because it does the USB2Serial in hardware in an FTDI chip.
1802  Using Arduino / Sensors / Re: Serial Camera C328 connect to Arduino on: June 19, 2013, 01:01:05 pm
Quote
Baud rate: 115200

Forget serial speeds above 38400 with SoftwareSerial. You must connect this camera to the hardware serial interface. You may use SoftwareSerial for debugging (with lower speeds), but you have to find a way to deal with the image data and how you may send it to the PC. Probably any application other than to store the pictures to an SD card overcharge the Arduino (except maybe the Due). What do you plan to achieve with it?
1803  International / Deutsch / Re: Arduino Uno, 434Mhz Empfänger und Dekodierung von Manchester kodierten Daten. on: June 19, 2013, 12:50:05 pm
Hast Du meinen Vorschlag eingebaut? Falls ja, poste den resultierenden Code.
1804  Using Arduino / Networking, Protocols, and Devices / Re: Enc28j60 .browseUrl() with local IP on: June 19, 2013, 12:48:33 pm
What's in your server's log? Nothing? Run WireShark on the PC to sniff the whole network traffic. Do you see anything come into your PC's network interface?
1805  International / Deutsch / Re: multiple values von processing an arduino senden on: June 19, 2013, 12:43:56 pm
Quote
d.h. dann doch im umkehrschluss, dass seriell keine daten ankommen?

Genau.

Klappt denn das Blinken mit meiner Version überhaupt? Sprich: ist die LED in Ordnung?

Hast Du den Tipp von kucky umgesetzt und den Namen der seriellen Schnittstelle korrekt ersetzt? Welchen verwendest Du?
1806  Using Arduino / Networking, Protocols, and Devices / Re: Webserver - encoding Problem on: June 19, 2013, 12:40:54 pm
So post again and don't "show easier" if you want to get some help here.

You can try to replace all occurrences of ">" by "&gt;" and "<" by "&lt;". If you haven't done the stuff from my previous post correctly, this might help.
1807  International / Deutsch / Re: Menüprogrammierung Temperatureinstellung on: June 19, 2013, 12:36:06 pm
Ein sprintf("%03d", fvalue) gibt immer nur den ganzzahligen Teil der Fliesskommazahl aus. "%.02f" kennt die C-Bibliothek für AVR leider nicht, also bleibt nur noch das dtostrf(): http://www.nongnu.org/avr-libc/user-manual/group__avr__stdlib.html#ga060c998e77fb5fc0d3168b3ce8771d42
1808  International / Deutsch / Re: Wie speichere ich Daten von einem I2C Sensor auf ein externes I2C eeprom? on: June 19, 2013, 12:30:24 pm
Beginne mal mit dem Auslesen des Sensors und auf die serielle Schnittstelle ausgeben. Wenn das klappt, versuchst Du feste Werte im EEPROM zu speichern und später wieder auszulesen. Wenn beides geklappt hat, dann kannst Du die beiden Sketches vereinigen.
1809  International / Deutsch / Re: multiple values von processing an arduino senden on: June 19, 2013, 12:28:40 pm
Ohne Betrieb auf der seriellen Schnittstelle wird der Code auch nicht aufgerufen. Probier's mal so:

Code:
void loop() {   
  if(Serial.available()){
    int incomingValue = Serial.read();
   
    values[currentValue] = incomingValue;
 
    currentValue++;
    if(currentValue > 1){
      currentValue = 0;
    }
    an = values[0];
    aus = values[1];
  }
  digitalWrite(ledPin, HIGH);
  delay(1000);
  digitalWrite(ledPin, LOW);
  delay(1000);
}
1810  Using Arduino / Networking, Protocols, and Devices / Re: I2C speed on Arduino DUE on: June 19, 2013, 12:25:14 pm
Code:
   Wire1.endTransmission();

Remove this line, it has no necessity (you don't have a Wire1.beginTransmission(), so you cannot end it) and on the Due it does send something on the I2C bus which may confuse the connected devices.

What type of device do you access here? In most cases you have to specify the register to read to the device and you cannot just read again and again. Please post a link to the datasheet.
1811  Using Arduino / Networking, Protocols, and Devices / Re: Problem with Wire.h library and Eclipse on: June 19, 2013, 12:18:19 pm
How do you know that it is able to find it?

Post the whole sketch and complete error message (and please copy it and don't retype).
1812  Using Arduino / Networking, Protocols, and Devices / Re: Problem with Wire.h library and Eclipse on: June 19, 2013, 05:08:40 am
It's not wire.begin(), it's Wire.begin(). C and C++ is case-sensitive!
1813  Using Arduino / Networking, Protocols, and Devices / Re: I2C speed on Arduino DUE on: June 19, 2013, 05:06:58 am
The speed of the I2C is fixed on the Due (at least if you use the Wire library):

Code:
TWI_ConfigureMaster(twi, TWI_CLOCK, VARIANT_MCK);

and

Code:
static const uint32_t TWI_CLOCK = 100000;

So I doubt that the speed is your problem here.

Check the return value of Wire.requestFrom() if you really read the requested number of bytes.

If that doesn't help: post the whole sketch!
1814  Using Arduino / Networking, Protocols, and Devices / Re: I2C-Bus with automatic Adresses on: June 19, 2013, 04:46:09 am
Quote
Small Range means, that i2c adresses are limited to 127 devices. My idea is, to ship modules (sensors) that are able to work on any host (master) like an ethernet.

You know that I2C has other limitations (length for example, without extender chips you're limited to about half a meter in length) and is quite delicate about the bus capacity. So if you want to establish a bus which is able to access several sensors and has no fixed configuration, I'd rather go for a RS485 bus. It's much more reliable for longer cables and you can establish your own addressing scheme if you like.
1815  Using Arduino / Networking, Protocols, and Devices / Re: I2C-Bus with automatic Adresses on: June 18, 2013, 02:37:03 pm
Quote
My only problem is, that i cannot set the i2c-adress fix, because of the small range.

What does "small range" mean? Why can't you set the I2C address to a fixed value? What other devices (other than the controlling Arduino) are connected to that bus?
Pages: 1 ... 119 120 [121] 122 123 ... 353