Show Posts
Pages: 1 ... 115 116 [117] 118 119 ... 349
1741  Using Arduino / Sensors / Re: Arduino Ping))) Sensor suddenly stops after showing a few results on: June 21, 2013, 02:08:57 pm
Try measuring the voltage between the GND and the 5V pin on the Arduino using a multimeter while the Ping sensor is connected. What do you get?

How do you power your Arduino? Using the USB connector or using an external power supply?
1742  Using Arduino / Sensors / Re: Serial Camera C328 connect to Arduino on: June 21, 2013, 02:06:11 pm
Quote
i do want to use Arduino Uno, i dont want to spend any more money. If i upload this sketch how do i take a snapshot or picture?

The sketch is to disable the usage of the pins 0 and 1 of the main processor of the Arduino. This way you can use the integrated USB2Serial converter (the ATmega16U2 on the UNO board does exactly that) to access the camera by the PC.

Once you've done that you can control the camera with the PC, it's as if you connected it directly to a PC with an RS232 interface.
1743  International / Deutsch / Re: serielle Verbindung hängt sich auf on: June 21, 2013, 11:30:06 am
Quote
im moment verwende ich Arduino 1.0.1, für debian wheezy gibt es leider noch keine neue Version

Du musst ja nicht die Distributionsversion benutzen, Du kannst einfach die aktuelle Version downloaden, irgendwo in Deinem Home installieren und von dort aus verwenden. Auf diese Weise kannst Du zur Not auch mehrere Versionen gleichzeitig im Einsatz haben (z.B. wenn Du einen Due verwendest).

Quote
Plötzlich funktionieren String-Objekte dauerhaft fehlerfrei!

Der malloc-Bug scheint behoben zu sein. Die String-Klasse hat aber einen inhärenten Bug, der nicht so einfach korrigiert werden kann: Es wird ständig Speicher alloziert und wieder freigegeben. Dadurch wird der Speicher schnell fragmentiert und ist bald so zerstückelt, dass keine genügend grossen Stücke mehr alloziert werden können. Da Arduinos keine MMU (Memory Management Unit) haben, kann auf Hardware-Ebene nicht abgeholfen werden und in Software ist zumindest mit normalen C/C++-Mitteln keine Abhilfe möglich.

Also: schreibe Deinen Sketch um, damit er die String-Klasse nicht mehr benützt, dann hast Du das Problem gelöst und nicht nur verschoben.
1744  Using Arduino / Sensors / Re: fast "analogRead" for multiple flex-sensors. I'm Lost! on: June 20, 2013, 10:33:20 am
Quote
So can i connect analog sensors to both sets of pins and the switch between them by setting the MUX high or low?

MUX5 is used on the ATmega2560 to specify if A0-A7 or A8-A15 is used. Do you have an Arduino Mega2560?
1745  Using Arduino / Sensors / Re: CMPS03 (kompas sensor) for PID on: June 20, 2013, 10:23:09 am
The English is ok, but you didn't provide links to the hardware you used and the according datasheet. Also post a picture of how you wired it.
Did you read the sticky note at the top of the forum?
1746  Using Arduino / Sensors / Re: Arduino Ping))) Sensor suddenly stops after showing a few results on: June 20, 2013, 10:21:17 am
From your description I'd guess an incorrect wiring. Please post of picture of the wiring, showing all connections.
1747  Using Arduino / Sensors / Re: Serial Camera C328 connect to Arduino on: June 20, 2013, 10:17:29 am
Quote
how about just taking a picture then?

As I already wrote: Take a simple USB2Serial converter and attach it to the PC. If you want to use the Arduino UNO, use the following sketch (to deactivate the serial interface of the processor) and swap the pins 0 and 1 (so camera TX to pin 1 and camera RX to pin 0). This way you just use the ATmega16U2 coprocessor of the UNO as a USB2Serial converter. Upload the sketch before you connect the camera!

Code:
void setup() {
  pinMode(0, INPUT);
  pinMode(1, INPUT);
}

void loop() {
}
1748  Using Arduino / Project Guidance / Re: Straightforward burn custom bootloader on: June 20, 2013, 07:33:19 am
Quote
Reprogram the FTDI looks impossible...

The FTDI chip isn't reprogrammable.

Depending on what you exactly want to achieve, a Leonardo or Micro might be an alternative because both use the ATmega32U4 processor which integrates USB, which means you don't have to care about reprogramming a coprocessor and the protocols between the main and the communication processor but you can have everything in one sketch, controlling everything.
1749  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.
1750  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.
1751  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?
1752  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.
1753  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?
1754  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?
1755  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.
Pages: 1 ... 115 116 [117] 118 119 ... 349