Show Posts
Pages: 1 ... 117 118 [119] 120 121 ... 353
1771  Using Arduino / Networking, Protocols, and Devices / Re: Wire.h error working with Eclipse on: June 27, 2013, 09:48:52 am
Wire.cpp does implement that method. Did you include that into your Eclipse project (as well as the also needed twi.c and twi.h)?
1772  Using Arduino / Networking, Protocols, and Devices / Re: Arduino - EM411- SIRF - NMEA on: June 27, 2013, 09:45:41 am
Try replacing




print sees the byte as a unsigned 8bit integer and converts it to an unsigned integer. This is then converted to an ASCII representation (1 to 3 characters per byte) which is then sent to the GPS module. The module expects the binary byte values and not the ASCII representation (which is more human readable but more difficult to decode for the hardware).
1773  Using Arduino / Networking, Protocols, and Devices / Re: nRF24L01 motor shield/SPI compatability on: June 27, 2013, 09:40:47 am
Will I have to do any modding of the SPI library to make this work or was everything designed to work fine right out of the box code wise?

This board is wired in a very special way. The standard SPI pins are used to control the motors while the pins normally used for such tasks (2-7) are available on the nRF24L01 plug. To use such a radio module you need a software SPI emulation then, you cannot use the standard SPI library (which is using the hardware SPI). Because the hardware SPI pins are used (at least on a UNO) you cannot use any other SPI hardware either (like an Ethernet Shield).
1774  Using Arduino / Networking, Protocols, and Devices / Re: RS232 to USB to UART Data Conversion on: June 27, 2013, 09:28:46 am
where, D- = receive, D+ = transmit

This is wrong. D- is the negative data signal, D+ is the positive data signal, both providing a differential signal. Although both UART and USB are serial interfaces they are physically and logically completely different. There is much more similarity between RS232 and UART than there is between the two and USB. What are you trying to achieve?

BTW: an FTDI chip converts between UART and USB, for RS232 you need a MAX232 (or something similar) additionally.
1775  Using Arduino / Networking, Protocols, and Devices / Re: Arduino - EM411- SIRF - NMEA on: June 27, 2013, 09:21:06 am
Post the complete sketch you use to send this SIRF command to the module.
1776  International / Deutsch / Re: Pro Micro Pinout passt nicht on: June 27, 2013, 08:55:32 am
Nunja, ist halt n Leo. Welchen Support soll man denn da anfragen? Wenn Pin 10 beschriftet ist, erwarte ich doch auch, das ich mit Code, welcher Pin10 ansteuert, auch da ankomme. Dem ist aber leider nicht so. habe mehrere ProMicros - und es ist bei allen so.

Ich bin mir ziemlich sicher, dass z.B. bei einem digitalWrite(10, HIGH) wirklich auch Pin 10 angesteuert wird (ausser der Hersteller hat wirklich Mist gebaut). Sehr häufig gehen Arduino Sketches einfach von einem UNO aus, schreiben z.B. Pin 10 vor und steuern dann direkt Port D an, was natürlich bei einem Micro oder Leonardo so nicht mehr funktioniert. Sobald mehr als die Arduino-Funktionen benutzt wird (z.B. PWM oder externe Interrupts), muss so ein Sketch für den Leonard bzw. Micro umgeschrieben werden. Also poste expliziten Code, nur so können wir Dir Hilfestellung geben.
1777  Using Arduino / Project Guidance / Re: Getting 640x480 images from camera modules at 1FPS on: June 27, 2013, 04:37:18 am
I am tired of people saying that it is impossible to use an ov7670 with an arduino
Check out this topic 1 fps at 640x480 is possible with an arduino

Have you read the thread?

The OP wanted to do a webcam with this setup. We didn't tell him that it's impossible but it's not feasible and that's still my opinion. You made a huge effort to save parts of the picture to an SD card but even with that setup you're far from delivering a picture to a web client with 1fps. Using an Arduino for such a task is like transporting your horse with a VW Golf, it's possible (as pictures on the Internet prove) but I hope you agree that it doesn't make sense.
1778  International / Deutsch / Re: Lichtschrankengitter on: June 26, 2013, 06:00:57 pm
Das Umgebungslicht wird normalerweise mittels Modulation auf eine 38kHz Rechteckwelle beseitigt. Viele IR-Receiver haben einen solchen Filter bereits eingebaut. Beim Senden kannst Du die PWM-Funktion des Arduinos benutzen, die IRremote-Bibliothek hat den notwendigen Code für die Erzeugung des Signals eingebaut.
1779  International / Deutsch / Re: Zwei 6-Axis Accelerometer&Compass von Seedstudio am I2C Bus on: June 26, 2013, 05:41:59 pm
Du kannst auch die Adresse des einen Moduls verändern. Standardmässig ist SA0 nach Masse gezogen, Du kannst die kleine Brücke unten rechts am Modul aber mit einem Messer durchtrennen und dafür einen Lötbrücke nach H(IGH) machen. Dadurch erhöhen sich die Adressen um eins (0x1F bzw. 0x19).
1780  International / Deutsch / Re: Arduino plötzlich unbekannt nach dem Bootvorgang on: June 26, 2013, 05:30:45 pm
Tönt nach einem fehlgeleiteten Sketch. Der Bootloader scheint aber noch in Ordnung zu sein, somit kannst Du noch Sketche hochladen, aber Du musst für den Upload genau die ca. 2 Sekunden erwischen, wo der Bootloader noch aktiv ist. Mit ein paar Versuchen solltest Du das hinkriegen. Ansonsten musst Du den Sketch mittels ICSP-Programmer überschreiben (= Bootloader installieren), zur Not kann auch ein anderer Arduino mit entsprechendem Sketch als Programmer herhalten.
1781  Using Arduino / Sensors / Re: Arduino Ping))) Sensor suddenly stops after showing a few results on: June 25, 2013, 04:09:52 am
Power the Arduino by an external power supply. Probably this will solve your problems, your PC seems to have a standard compliant USB port which delivers only 100mA without a high power request. That seems to be not enough for your setup. With an external power supply you shouldn't run into an under-power state.
1782  Using Arduino / Sensors / Re: I2C Reed Contacts (Micro - Leonardo) on: June 25, 2013, 03:12:21 am
Initializing a variable with a function is not good: int val = - '0';

Excuse me but this is just an assertion and in my opinion, it's wrong. I see absolutely no problem in initializing a variable with the result of a function. In this special case you're right, but the problem is not the initialization with a function result but that there is no check for a correct return value.
1783  Using Arduino / Networking, Protocols, and Devices / Re: How to upload sketch using a bluetooth module? on: June 25, 2013, 03:04:16 am
Would you mind telling me, how to write the main sketch to reset the Arduino?

How to do it complete in software is explained on this page:

With some additional hardware you might get better results, just connecting a digital pin to reset and pulling it to GND is not reliable though (according to Atmel), you might need a bit more hardware that hold the reset to GND for a few ms even though the digital output goes to tri-state almost immediately.
1784  Using Arduino / Sensors / Re: Lilypad Erratic Temperature Sensor Output on: June 21, 2013, 02:26:14 pm
My guess is that you don't have a connection with the crocodile connectors. Solder wires and try again.
1785  Using Arduino / Sensors / Re: Noise on analog pins on arduino motor shield R3 on arduiono UNO on: June 21, 2013, 02:22:21 pm
Does that mean you're measuring the analog inputs without anything connected? In this case you're measuring a floating pin which gives you a quite random reading. If you want to have a zero reading connect the analog input to GND and read again.
Pages: 1 ... 117 118 [119] 120 121 ... 353