Show Posts
Pages: 1 2 3 [4] 5 6 ... 19
46  Using Arduino / Sensors / Re: HYT 221 from Hygrosens Instruments on: March 21, 2012, 11:00:21 am
pls google since I don't know where you're from in europe you get it from every electronic store...
47  Using Arduino / Sensors / Re: HYT 221 from Hygrosens Instruments on: March 21, 2012, 10:47:35 am
just take any HYT they 221 is an old one so use the 271.
 I'm currently using this one too.

48  Using Arduino / Sensors / Re: HYT 221 from Hygrosens Instruments on: March 21, 2012, 10:39:24 am
ok found the problem. It does work with Arduino v1.
In 0022 you have to cahnge wire.read to wire.receive and wire.write to wire.send and then it does work smiley

However I got another question.
Does someone know how to change the Adress of one sensor?

Thx
Andy
49  International / Deutsch / Sensor an der I2C Schnittstelle on: March 21, 2012, 10:14:10 am
Hallo zusammen

Wollte die ID aus einem Sensor auslesen habe dafür ein Datasheet gekriegt wo drin steht wie es gehen soll
doch irgendwie begreiffe ich das nicht...
Kann mir jemand helfen wie ich die Command richtig an den Sensor sende damit der auch mir antwortet.

Danke das wäre super,
Andi
50  Using Arduino / Sensors / Re: HYT 221 from Hygrosens Instruments on: March 21, 2012, 08:06:21 am
thx but hmm for which version of the Arduino is this since for my Arduino IDE 0022 it doesn't work...

HYT221.cpp: In member function 'uint8_t HYT221::read()':
HYT221.cpp:33: error: 'class TwoWire' has no member named 'write'

andy
51  Using Arduino / Sensors / Re: HYT 221 from Hygrosens Instruments on: March 21, 2012, 01:02:35 am
I saw this code but it is not working, it is printing always the same values messured at the first time.
So the Code from above does work better.

Andy
52  Using Arduino / Sensors / Re: HYT 221 from Hygrosens Instruments on: March 20, 2012, 05:50:39 am
Hy

zhx for the example. However why do we need the delay of 100ms since when
I do remove this the sensor does still work???
I know it is written in the manual but I see no difference.

Thx
Andy
53  Using Arduino / Project Guidance / Re: Data over video stream on: March 03, 2012, 04:37:15 pm
Quote
Didn't know that this is working this way
Sorry, I assumed you were talking about analogue composite PAL/NTSC/SECAM style video.

If you are, get used to something like an LM1881

Yes it would be a PAL signal and yes I just read about the LM1881 hmm lets see how I can deal with that...
54  Using Arduino / Project Guidance / Re: Data over video stream on: March 03, 2012, 04:30:50 pm
Like teletext, you send the data in BLANKING.
Didn't know that this is working this way, ok so this would be a solution.
Now I do need the components...
55  Using Arduino / Project Guidance / Re: Data over video stream on: March 03, 2012, 04:23:26 pm
Very low bit-rate data in blanking?

Hmm wouldn't this disturb the video signal itself. You should still get a clean Video
without interference....
56  Using Arduino / Project Guidance / Data over video stream on: March 03, 2012, 04:17:41 pm
Hy

Is it possible to send data over a video Signal?
So on one side of the Arduino the raw video signal is coming in. The
Arduino does attach some information.
And than a second Arduino could detect this data in the Video signal
and process it...
How can I achieve this?

Thx
Andy
57  Using Arduino / Programming Questions / Re: math and cosinus on: January 06, 2012, 08:52:21 am
ahhhhh sorry for that but how could I miss that!!!

Thx a lot you saved me a lot of time smiley
58  Using Arduino / Programming Questions / math and cosinus on: January 06, 2012, 08:42:23 am
Hy

Hmm I like to calculate the cos-1() but when I use acos the result is wrong.
So: cos-1(500/1000) => 60° the Arduino does calculate 90° why?

This is the code:
Code:
float alpha = acos(500/1000);
int grad = alpha*57.2957795131; //is the same as (180/pi)
Serial.println(grad);

What am I doing wrong?

THx
Andy
59  Using Arduino / Displays / 2.8" TFT Touch Shield on: July 13, 2011, 09:00:14 am
Hy

I just got the new 2.8 TFT Touch Shield from SeeedStudio:
http://www.seeedstudio.com/depot/28-tft-touch-shield-p-864.html?cPath=132_134
First I used the sketch below which worked great. Then I added a few Rectangles and
more circles but suddenly the Screen stayed white even after disconnecting from the Arduino
and reattaching.

I then just tried the example sketch but the Display stays white....
I tried several things but still it won't change anything... Is the Display already dead?



// Draw Circles - Demonstrate drawCircle and fillCircle APIs

#include <stdint.h>
#include <TouchScreen.h>
#include <TFT.h>
#define SEEEDUINO

#define YP A2   // must be an analog pin, use "An" notation!
#define XM A1   // must be an analog pin, use "An" notation!
#define YM 14   // can be a digital pin, this is A0
#define XP 17   // can be a digital pin, this is A3


void setup()
{
  Serial.begin(19200);

  Tft.init();  //init TFT



  Tft.drawCircle(100, 100, 30,YELLOW);
  Tft.drawCircle(100, 200, 40,CYAN);
  Tft.fillCircle(200, 100, 30,RED);
  Tft.fillCircle(200, 200, 30,BLUE);
}

void loop()
{

}
60  Using Arduino / Programming Questions / Re: How can an Arduino crash? on: June 17, 2011, 01:37:55 am
Thx for the explenation. Thats why I use:

Code:
counter++;
        if (counter == (BUFFSIZ-1)){
          counter = 0;
          break;
        }

so if counter for the buffer is  equal to the BUFFSIZ, the counter value gets back to 0 and the buffer won't get over its edge. The Message in the buffer will be worthless but in general i do send just SMS with 10 characters to the Arduino so every other SMS it gets will be rejected....

But can someone tell me how to parse the Information from a GSM Module. Not every sentence will start with a $ sign like the GPS they are different. Sometimes they start with "+" or "/n" or even "*"....
Pages: 1 2 3 [4] 5 6 ... 19