Show Posts
Pages: 1 ... 114 115 [116] 117 118 ... 314
1726  International / Deutsch / Re: Protokoll analysieren on: April 12, 2013, 12:24:43 pm
Zum Vorgehen: die serielle Schnittstelle lässt sich mit den geannten Parametern (100kbps, 8E2) konfigurieren (viel genauer als mit den üblichen Baudraten), somit kannst Du über RX die Daten komplett einlesen und verändert über TX wieder ausgeben. Welchen Teil Du dabei verändern willst, ist komplett Dir überlassen.
1727  International / Deutsch / Re: Grössere Datumsanzeige für die Wand gesucht on: April 12, 2013, 11:56:10 am
Quote
Was mir nicht so gefällt, ist das offene Gehäuse.

Wieso denkst Du, dass das Gehäuse offen ist? Nur weil ein paar Fotos der Innereien abgebildet sind, ist das Gehäuse doch geschlossen, siehe 7. Foto.

Die Anzeige kannst Du mittels der Farbfilter auf Deine Lieblingsfarbe einstellen. Scheint mir genau das Teil zu sein, das Du suchst.
1728  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet shield stop responding after some hours on: April 12, 2013, 11:51:40 am
Quote
Second question is PWM pin (4) occupied by the SD card , i dont use SD card , but i need the Pin 4 for some other purposes.

If you don't insert a card into the slot you can use pin 4 for any purpose you like.
1729  Using Arduino / Networking, Protocols, and Devices / Re: I have a shield WIFI R3 comunication on: April 12, 2013, 11:49:33 am
What's a WIFI R3 shield? Provide a link to that product!

The examples of arduino.cc are not expected to work with products not originating from Arduino itself. So if you have a shield from another manufacturer you might have to look at it's website for supporting libraries.
1730  Using Arduino / Networking, Protocols, and Devices / Re: XBee interferes with USB serial on: April 12, 2013, 11:46:54 am
It seems both are forged Arduinos and not original ones. The right one even doesn't have a resonator but a crystal as the clock source. The left one seems to be a copy of the UNO rev. 1 with an almost identical layout while the right one looks like a mixture between an UNO and a Duemillanove.

Quote
The one on the left works perfectly, the one on the right - no.

Does "works perfectly" mean that it turns the the XBee off if powered by the USB? That may be your desired functionality but the Arduino doesn't work correctly if it behaves that way. No matter what power source it should power external components too.

Debugging this is probably a heavy task because you have absolutely no schematics of the badly copied boards and you cannot rely on anything behaving as expected.
1731  Using Arduino / Networking, Protocols, and Devices / Re: Hardware Serial causes hang-up on: April 12, 2013, 11:30:37 am
Quote
It seems that I cannot use two different Interfaces (I2C and UART) at the same time

Believe me, you can. In your sketch you don't use the serial interface, so it seems to be a problem of connecting the GPS to the Arduino. As you don't have any code in the sketch really accessing the GPS, it doesn't seem to be software related.

Replace that part:

Code:
  Wire.beginTransmission(DEVICE); // Übertragung starten
  Wire.requestFrom(DEVICE, num);  // num Bytes von Zieladresse anforden
 
  int i = 0;
  while(Wire.available())         // checken, ob auch Daten bereitliegen
  {
    buff[i] = Wire.read();     // byte empfangen
    i++;
  }
  Wire.endTransmission();         // Übertragung beenden

with
Code:
  if (Wire.requestFrom(DEVICE, num) != num) {
    return;  // read failed
  }
  int i;
  for (i = 0; i < num; i++) {
    buff[i] = Wire.read();
  }

The Wire.beginTransmission() and Wire.endTransmission() are not necessary and wrong here. The while loop doesn't check for more data than requested (shouldn't happen but if it happen, you have a buffer overrun).
1732  Using Arduino / Sensors / Re: count labels with arduino on: April 12, 2013, 09:21:12 am
From the picture it looks like the roll material is more transparent than the labels, so an optical sensor could do the job. What speed do you expect when unwinding the roll?
1733  Using Arduino / Sensors / Re: Can We Read Yaw Axis Without Compass? on: April 12, 2013, 09:10:13 am
Which sensor module are you using? The way the different values are transformed depends on the placement of the components on the PCB, so this fact is relevant.

What values do you get and what would have been the expected values?
1734  Using Arduino / Project Guidance / Re: GPS module and Ethernet ENC28J60 on Atmega328 on: April 12, 2013, 08:00:32 am
Quote
Then I try to connect GPS to 9 pin, but cannot take data from RX pin of GPS.

Sure, you're using it for the Ethernet SS:

Code:
#define ENC28J60_CONTROL_CS    9

It's probably easier for you to use pin 10 as the Ethernet SS because that pin must be an output anyway (that's a hardware thing).
1735  Using Arduino / Project Guidance / Re: [Help] biometric module and arduino on: April 12, 2013, 06:39:21 am
I still have not clue of what you expect the Arduino to do in your setup. Sure it can send some commands to the module and get answers back but what should be it's purpose? Do you plan to open a door by your fingerprint? Should the fingerprint give you some access to a PC program?
1736  Using Arduino / Sensors / Re: Can We Read Yaw Axis Without Compass? on: April 11, 2013, 12:17:27 pm
You can measure the change with a gyrometer but if you need an absolute value the magnetometer is the way to go.

What problem do you have if you tilt it? What output do you expect? If you have a 3 axis magnetometer, you can calculate the facing direction even if the device is tilted. Post the code you used so far.
1737  Using Arduino / Networking, Protocols, and Devices / Re: Hardware Serial causes hang-up on: April 11, 2013, 12:10:32 pm
Quote
My problem is, that my routine(see below) always freezes after a while when the RX, TX pin from the GPS modul is connected to the hardware serial port.

To which hardware serial port (the Mega2560 has 4 of them)?
If you don't connect the RX/TX lines but leave the GPS powered does your sketch run then without problems for a long time?
1738  International / Deutsch / Re: Probleme mit RedFly Bibliothek on: April 11, 2013, 11:55:23 am
Ich habe die Bibliothek schnell runtergeladen und bei mir installiert, das WebClient-Beispiel compiliert ohne Probleme.

Aus Deinen Pfaden kann ich zweierlei ablesen:

1. Du verwendest nicht die aktuelle IDE (1.0.4) -> nicht so schlimm.
2. Du hast die Bibliothek falsch installiert (in das libraries-Verzeichnis der IDE und nicht Deines Arduino-Folders in Documents) -> sollte aber trotzdem funktionieren.

Sind die beiden Fehlermeldungen die einzigen, die Du kriegst? Bringt er nicht vorher schon eine Fehlermeldung, dass er ein Include-File nicht finden konnte?
1739  Using Arduino / Project Guidance / Re: Temperature display powered for ever !!! on: April 11, 2013, 11:44:30 am
Quote
if thats not the case i will need to use a voltage comparator to compare lipo againts solar cell and that will trigger to use battery? do you know any good circuits that will do this?

Take a look at the schematics of the Stalker.

Quote
thats a good idea but is kind big and 39 bucks

Seeedstudio provides complete Eagle files for the stalker, so you're free to use the parts you do need and omit the stuff you don't (for space). I have no solution for the price but I don't think it's exceptionally expensive. In most cases it's cheaper than doing it yourself, the PCB alone may cost more.
1740  Using Arduino / Programming Questions / Re: Serial.available() returning unexpected value, Uno R3 on: April 11, 2013, 11:22:56 am
The serial buffer is filled within an interrupt service routine, so it is possible (and with baud rates high enough, probable) that although Serial.available() returns only 1 byte in the buffer, it will have more available if you do send some 20 bytes or more over the same serial interface in the meantime.
Pages: 1 ... 114 115 [116] 117 118 ... 314