Show Posts
Pages: 1 ... 116 117 [118] 119 120 ... 350
1756  Using Arduino / Sensors / Re: Serial Camera C328 connect to Arduino on: June 20, 2013, 07:25:53 am
Quote
I plan to use this as a camera for a quad-copter, for video recording.

You want to use an Arduino for video recording? Forget about that, it's massively underpowered for such a task, including processor power and memory size.

If you just want to transfer the picture to the PC, use a USB2Serial converter (Arduino has the USB2Serial Light and several other suppliers have FTDI cables). Even directly connected to a PC you won't get a video with this solution, you probably won't get to 1 frame per second with a serial camera. Use an embedded Linux platform based on some ARM computer and connect a cheap USB web cam to it, you'll probably get the best value for your bucks with that.
1757  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.
1758  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?
1759  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.
1760  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?
1761  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?
1762  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.
1763  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
1764  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.
1765  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);
}
1766  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.
1767  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).
1768  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!
1769  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!
1770  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.
Pages: 1 ... 116 117 [118] 119 120 ... 350