Show Posts
Pages: [1] 2
1  Forum 2005-2010 (read only) / Interfacing / Re: Wire.h and pin 13 on: December 05, 2006, 11:46:45 pm
Victory! The new Arduino arrived today and immediately I was able to include Wire.h without it hanging (using the above breadboarded circuit).

Hopefully getting it to actually communicate with my sensor won't be as hard as just including the library was.
2  Forum 2005-2010 (read only) / Interfacing / Re: Wire.h and pin 13 on: November 30, 2006, 04:48:33 am
crap. I've tried to get it to work on three different computers (one Dell, one g5, one Intel Macbook), no luck. They all hang when I include the wire.h header.

At this point I have to assume it's a problem with my arduino (which has been around the block). I've ordered another one and hopefully that will make everything magically work. I'll let everybody know.
3  Forum 2005-2010 (read only) / Interfacing / Re: Wire.h and pin 13 on: November 24, 2006, 09:14:51 pm
ok, here it is. Again, I'm using this setup with the led_blink example included with Arduino... the only addition to the sketch is including the Wire header file, which causes the sketch to hang. The resistors are a little hard to see... but they are both 1.8 kOhm and going to the power bus from the SDA and SCL pins.

4  Forum 2005-2010 (read only) / Interfacing / Re: Wire.h and pin 13 on: November 24, 2006, 07:48:35 pm
This is driving me insane.

I'm just using the led_blink example included in the arduino download. Including Wire.h screws it up.

I've got the 1.8 kOhm resistors in place and I have the appropriate wires + power going to my sensor. Using an older USB arduino, but it looks like that's what fux was using from his pics and he got it to work without having NG.

I've tried it in OS X and XP.

I'll try to clean up my breadboard and post a pic, but if anybody else has any ideas I'm all ears. Thanks for all the help so far! - Charlie
5  Forum 2005-2010 (read only) / Interfacing / Re: Wire.h and pin 13 on: November 21, 2006, 05:44:39 am
Haven't tried with the resistors yet, but I did just try compiling running XP as a virtual machine in OS X using Parallels.

Same results as just using OS X. I knew it would be too easy if that just worked.

FYI, if you want to use arduino in XP via Parallels, you need to disable the OS X FTDIUSBSerialDriver.kext found in System/Library/Extensions. A slight pain (because you have to renable it to use arduino later in OS X), but nothing horrific.

I have linux installed via parallels too... maybe I'll try that as well. Although fux's recommendation about the resistors sounds like a more likely solution... but it's less geeky and fun... and it also sounds like neillzero got it to work in xp without having any resistors hooked up. hmmm.
6  Forum 2005-2010 (read only) / Interfacing / Re: Wire.h and pin 13 on: November 17, 2006, 12:18:51 am
Thanks,

I'll try it under Windows shortly, see if I can get results there, and then post back to the board.

Thanks again. - Charlie
7  Forum 2005-2010 (read only) / Interfacing / Re: Wire.h and pin 13 on: November 16, 2006, 02:17:22 pm
this is a bump.

Is anybody able to even include Wire.h without it screwing up your sketch? If I don't hear otherwise, I guess I'll go ahead and post in the Bugs forum...
8  Forum 2005-2010 (read only) / Interfacing / Re: Wire.h and pin 13 on: November 13, 2006, 03:26:29 am
A little more info...

If I add Serial.begin(9600) to my setup and then try to send Serial messages in my loop this doesn't work either with Wire.h included.

It basically seems like including Wire.h hangs everything

I'm running the Arduino software on OSX 10.8
9  Forum 2005-2010 (read only) / Interfacing / Wire.h and pin 13 on: November 13, 2006, 03:12:46 am
I have an LED hooked up to pin 13 using the following code:

void setup() {
 pinMode(13, OUTPUT);
}

void loop() {
 digitalWrite(13, HIGH);
}

As soon as I include the Wire header file in this code, instead of getting a steady output from my LED I get an intermittent blinking.

I'm not able to use Wire and i2c with a HMC6352 compass (which I've successfully interfaced with a PIC previously) so I'm trying to troubleshoot... and I get all the way back to the beginning with this problem with the status LED.

Has anybody successfully used Wire yet? Did you have the same problem with pin 13?

I'm using a USB Arduino with version 6 of the software. Thanks for any help! - Charlie
10  Forum 2005-2010 (read only) / Interfacing / who has a working project using Wire? on: December 07, 2006, 11:11:08 pm
If anybody successfully gets the Wire library to work with a sensor, please post your experiences here. It seems like myself and others on this forum are having some very frustrating experiences with it.

Thanks! - Charlie
11  Forum 2005-2010 (read only) / Exhibition / Re: Ardwiino: bluetooth + accelerometer for 40 USD on: May 20, 2007, 02:17:21 am
when I use the code posted here, I don't get any requestEvents. Is that something that I just initiate in whatever software I use to communicate with the wiimote? Or should the wiimote be polling connected devices automatically for info?

I do receive a 64,0 message when powering the Wii Remote on.
12  Forum 2005-2010 (read only) / Exhibition / Re: Wiimote as cheap bluetooth transciever on: June 05, 2007, 11:54:35 am
These links have been incredibly useful to me. Thanks!!
13  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: 'midi in" project.... on: August 25, 2006, 10:15:27 am
Quote
wondering if anyone had a schema to interface an Arduino with a MIDI out port.

http://www.tigoe.net/pcomp/code/archives/bx-24/000292.shtml#000292

it's usually much less finicky to do MIDI output than MIDI input...
14  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: 'midi in" project.... on: July 25, 2006, 03:57:38 pm
Quote
do you have any idea why you're setup works with a pic mc but not with arduino? this doens't make sense, does it? still this thread seems to prove there's something we don't know yet.

nope, I was never able to figure it out.

I'm in the process of moving, so I can't help out very much with this now (everything is in boxes), but I definitely think it's worth figuring out and creating some type of tutorial for.
15  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: 'midi in" project.... on: July 24, 2006, 11:13:03 am
I've gotten the same schematic to work with PIC processors but could never get it to work with Arduino. I posted about this a few months back but didn't get a response...  http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1145948129

There's a slightly simpler program there than the one you posted testing for note on messages.

I don't know if this would help at all but I posted a blog entry about getting MIDI Input to work with the PIC. There's a labeled picture of the final breadboard:

http://saturatedsog.blogspot.com/2006/03/sog-2-midi-input-with-pic.html
Pages: [1] 2