PIR, Compass HM55B, Memsic 2125 Accelerometer,PING

Hi!

I have finished libraries for those 4 sensors (look the subject). I would like to share them, but I cant find the way to upload files.

"Show me the way to the next..."

Thanks,

Vladimir

P.S."I will be 2 weeks traveling, so I might not respond immediately".

hey

that is super cool

Put them in the playground wiki: you can make an account here.
then you can make pages in the wiki, whatever you like...

D

PS: the cookies used in the Arudino forum and the playground conflict, so sometimes it looks like you can;t log in, but all you have to do is try again.

That's great,

would it be compatible with the wiring board?

Titus

Hi Vladimir,
Have you posted the code anywhere yet?
I have an Arduino USB w/ the ATMEGA-168 and have not been able to successfully read from my HM55B so far. I keep getting a '1111' as a return code from the module itself, which, according to the docs means "Did not receive EN High/Low toggle before command", even though my code has this before each command I'm sending out.

Code snippet:

            digitalWrite(ENpin, HIGH);
            digitalWrite(ENpin, LOW);
            shiftOut(DOUTpin, CLKpin, MSBFIRST,COMPASS_START);
            Serial.println("Sent COMPASS_START");
            digitalWrite(ENpin, LOW);
            digitalWrite(ENpin,HIGH);
            digitalWrite(ENpin,LOW);
            shiftOut(DOUTpin,CLKpin,MSBFIRST,COMPASS_STAT);

I would really like to get this working on my Arduino because it would draw less power and take up a LOT less space than my Parallax BOE board.

Thanks!

Hi Vladimir, same troubles here! Quite curious about your HM55B code! Is it online somewhere? That'll be great. Best,

Hannes

just paste the code into http://pastie.caboo.se and post the link in here! And maybe some photos in flickr pasted here as well. easy!