Show Posts
Pages: 1 ... 116 117 [118] 119 120 ... 343
1756  International / Deutsch / Re: SoftwareSerial bei ATtiny on: June 11, 2013, 09:42:26 am
ÿ ist gleich 255 oder -1 im integer-Kontext, somit schreibst Du wahrscheinlich Zeichen raus, obwohl gar nichts angekommen ist. Welchen Sketch verwendest Du auf dem Arduino?
1757  International / Deutsch / Re: SoftwareSerial bei ATtiny on: June 11, 2013, 08:34:17 am
Lade die aktuelle Version der Tiny-Library herunter, Du scheinst eine alte Version einzusetzen. In der aktuellen Version kommt die Zeile

Code:
virtual void Print::write(uint8_t);

nicht mehr vor.
1758  International / Deutsch / Re: HILFE! unsere Lehrer hat keine Ahnung on: June 11, 2013, 07:56:00 am
Ein erster Tipp für die Suche: H-Bridge.

Welchen Gleichstrom-Motor setzt Ihr ein (Link zum Datenblatt)?

Wenn Ihr auch Hilfe beim Sketch braucht, postet mal, was Ihr schon habt.
1759  Using Arduino / Networking, Protocols, and Devices / Re: ethernet + sd + login HELP! on: June 11, 2013, 07:49:44 am
Although I would say your solution is possible it sounds horrible to me. If your login page just redirects to a standard or an admin page, you can eliminate the login completely because there's absolutely no security in this solution. Also if you host the pages on some server I don't see a reason why the Arduino has to deliver HTML pages stored on an SD card.

If you want some help, start with describing what you want to achieve not how you want to achieve it. What information does the Arduino have, that the server doesn't have?
1760  Using Arduino / Networking, Protocols, and Devices / Re: ethernet + sd + login HELP! on: June 11, 2013, 05:11:31 am
An Arduino cannot execute PHP scripts, it's clearly under-powered for such a task. If you tell us more about your project we may show you alternative ways to do it.
If you need to run PHP scripts on an embedded platform buy one of the cheap embedded Linux computers (Raspberry Pi, pcDuino, Cubieboard, etc.), they have the horse power and RAM for such tasks.
1761  Using Arduino / Networking, Protocols, and Devices / Re: New to Arduino and WiFly on: June 11, 2013, 04:22:38 am
Did you try the command I posted or did you type your own command? My command connects to port 80, did yours too?

If you used my command and got this error message you probably also cannot connect with a browser from that computer.
1762  Using Arduino / Programming Questions / Re: HIH-4030 on: June 11, 2013, 04:05:00 am
You have to provide links to the non-standard libraries you used:

Code:
#include <HttpClient.h>
#include <Xively.h>
#include <HIH4030.h>
1763  Using Arduino / Sensors / Re: IR Emitter to Photodiode Help on: June 11, 2013, 04:02:05 am
These two components should work together. Keep in mind that ambient light also contains infrared parts, so the "communication" between these parts work in the dark but not reliably in daylight (out of the box). Maybe we are able to help you further if you disclose a bit more information about your project.
1764  Using Arduino / Sensors / Re: IR Emitter to Photodiode Help on: June 10, 2013, 08:20:06 am
A photodiode usually has a frequency range where it's detecting within. If your photodiode does detect light in the IR range, you can use this combination.
An IR receiver includes a demodulation filter in most cases which only detect IR signals if they are modulated by a 38kHz square wave. This makes sense in many environments where you may have daylight influencing your results otherwise. An IR Emitter is usually an IR LED, do you use something else? Please post links to the parts you plan to use.
1765  Using Arduino / Sensors / Re: Issues with Reading and Writing Configuration Registers for LTC6803-3 on: June 10, 2013, 08:14:32 am
Quote
By looking on the chip, it seems to be that the characters after the numbers are ARWZ

This model works up to max. 1Mbps data frequency. With the SPI frequency divider at 32 you should be on the save side.

Quote
I've checked with the engineer here and we've confirmed that the decoder is being used properly. CS0 is never directly connected to the LTC, but rather is an input to the decoder and the slave select of the LTC is one of the possible outputs of the decoder.

Which decoder are you using then? Post a link to the datasheet.

Quote
The SPI mode should be correct given the datasheet, as it states on page 17 that CPHA = 1 and CPOL = 1, which is SPI_MODE3 according to the arduino SPI reference page.

You're right with that, I haven't read that paragraph but concentrated on the pictures.


1766  Using Arduino / Networking, Protocols, and Devices / Re: Problem displaying time via SPI on: June 10, 2013, 03:56:47 am
You forgot to connect the grounds (of the external power supply and the Arduino, which gets it's power from the USB connection). Without a common ground you won't get a communication up between the components.
1767  International / Deutsch / Re: Atmega 8515 Bootloader Fehler on: June 07, 2013, 01:14:23 pm
Welches Board hast Du denn ausgewählt bzw. woher hast Du die ATmega8515-Unterstützung für die IDE?
1768  International / Deutsch / Re: Ultraschallsensor on: June 07, 2013, 12:39:58 pm
Im einfachsten Fall wäre das in etwa:

Code:
int value = abs(100-cm) * 255 / 100;
if (value < 0) value = 0;
analogWrite(LED, value);
1769  International / Deutsch / Re: SRAM SPI 1Mbit @ Mega2560 on: June 07, 2013, 12:07:38 pm
Code:
#define SRAM_DEVICE 53  // SRAM on pin 10

Du solltest den Kommentar auch anpassen, wenn Du den Wert veränderst, sonst weiss der Leser nie, was nun eigentlich gewünscht war.

Code:
char test [] = "hello, world";

void loop (void)
{
 sram_write (SRAM_DEVICE, 100, (byte *) test, sizeof test);
 
 char buf [100];
 
 sram_read (SRAM_DEVICE, 100, (byte *) buf, sizeof buf);

 Serial.println (buf);
 delay (1000);
 
}

Du schreibst 12 Zeichen und liest dann 100 ein, ohne Dich um die Terminierung zu kümmern. Dann gibst Du diese Zeichenkette aus, ohne eine entsprechende End-Marke eingefügt zu haben.

Dein Chip hat 128kB Speicher, Du adressierst aber mit 16-bit, womit Du aber nur 64kB erreichen kannst. Laut Datenblatt muss die Adresse auch 24-bit lang sein. Somit müsstest Du Deine Schreib-/Lese-Routinen enstprechend anpassen.

1770  International / Deutsch / Re: Ultraschallsensor on: June 07, 2013, 11:52:45 am
Zeig uns mal den Code, den Du am weitesten entwickelt hast.

Ein Problem dürfte sein, dass der HC-SR04 Objekte, die näher als etwa 10cm sind nicht mehr "sieht". Ansonsten liest Du den Abstand ein, ziehst ihn von 100 ab und verwendest das für die Ausgabe auf die LED.
Pages: 1 ... 116 117 [118] 119 120 ... 343