Show Posts
Pages: 1 ... 117 118 [119] 120 121 ... 316
1771  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).
1772  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?
1773  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.
1774  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?
1775  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?
1776  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.
1777  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.
1778  Using Arduino / Project Guidance / Re: Temperature display powered for ever !!! on: April 11, 2013, 09:37:49 am
Take a look at the Seeduino Stalker (http://www.seeedstudio.com/wiki/Seeeduino_Stalker_v2.3), there you have almost everything you need on one board, including the battery charger and automatic switching logic, as well as a RTC that is capable of waking up the ATmega at any time, so your sleep states may be more than the 8s the watchdog provides.
1779  Using Arduino / Project Guidance / Re: GPS module and Ethernet ENC28J60 on Atmega328 on: April 11, 2013, 09:33:26 am
Quote
I connect ENC28J60 to 10,11,12,13 pins of atmega.

These are the pins for an Arduino UNO and not for an ATmega328. On the ATmega328 it's pins 16 to 19 (PDIP package).

Quote
When I try to connect GPS to 10 pin, GPS works and data is collected, but ethernet stops working.

Pin 10 (Arduino numbering, pin 16 of the ATmega328) must be configured as output while using SPI (the Ethernet module needs SPI).

Quote
Then I try to connect GPS to 9 pin, but cannot take data from RX pin of GPS.

Post the code you're using!
1780  International / Deutsch / Re: Arduino IDE und externer Editor on: April 11, 2013, 07:45:28 am
Ich verwende einen externen Editor (geany). Die Einstellung "externer Editor" dunkelt den Hintergrund ab, weil der interne Editor abgeschaltet wird. Bei jedem Klick auf den Compilier- bzw. Upload-Knopf wird dann nicht der Inhalt des eigenen Editors genommen sondern die neuste Version von der Platte gelesen. Die Dateien im externen Editor musst Du aber selbst öffnen, das wird Dir nicht abgenommen. Ich benutze die IDE also in erster Linie als komfortabler Uploader, der darin enthaltene Editor sagt mir auch nicht speziell zu.
1781  Using Arduino / Networking, Protocols, and Devices / Re: uploading sketch using ethernet on mega and ethernet shield on: April 11, 2013, 06:55:57 am
Did I get your approach correctly? You want to program a TFTP bootloader to an Arduino Mega2560 by taking an Arduino UNO with an ISP sketch applied?

In this case you haven't wired it correctly. The UNO must have the possibility to reset the Mega2560, so the Mega's reset pin has to be connected to a GPIO pin on the UNO (example with two UNOs: http://arduino.cc/en/Tutorial/ArduinoISP)
1782  Using Arduino / Networking, Protocols, and Devices / Re: XBee interferes with USB serial on: April 10, 2013, 11:41:40 am
Can you post pictures of the two Arduinos? Maybe we can see something on them.

The behavior of the second unit is the behavior I would expect from an original Arduino UNO Rev3.
1783  Using Arduino / Networking, Protocols, and Devices / Re: uploading sketch using ethernet on mega and ethernet shield on: April 10, 2013, 11:37:52 am
Post a picture of your cabling and post the modified bootloader code.
1784  Using Arduino / Networking, Protocols, and Devices / Re: different serial baud rates for rx and tx on: April 10, 2013, 11:36:05 am
If you take an Arduino Micro you get the same processor as used in the Leonardo which means that you have a Serial object to talk to the PC by USB and you have a Serial1 object which represents the hardware serial on pins 0 and 1. On the Serial object you can set any baud rate because it's not relevant, the communication is as fast as the USB part of the processor can handle it.
1785  Using Arduino / Networking, Protocols, and Devices / Re: XBee interferes with USB serial on: April 10, 2013, 11:31:21 am
You probably should describe again, which constellation worked and which didn't. I got that differently, I didn't realize that you didn't disconnect the XBee from the first Arduino.

Which type of Arduino did you use for these tests (UNO, Duemillanove, etc.)? What kind of shield did you use to connect the XBee to the Arduino?
Pages: 1 ... 117 118 [119] 120 121 ... 316