sparkfun bluegiga wt32 - tutorial etc?

hi there

I just recieved my bluegiga wt32 and tried to connect it to my arduino. no luck though, nothing happens. I connected VCC to the 3.3V output, GND to ground and RX, TX to the corresponding arduino pins. Did I miss something?

Maybe some of you already have experience with that setup or know of a tutorial… let me know!

thanks alot…

You’ve wired it up as Tx to Rx and vice-versa?

I might be stating the obvious, but it happens quite a lot…

Can your Arduino interperate 3.3V as logic-high?

good question, I’ll have to look into that… but it can output 3.3v so it should also be able to interpret it also input I guess. I’m just confused because there is nothing blinking or anything if I connect the unit (it’s on the sparkfun breakout board) to power and ground. shouldn’t there be a power led on or something?

haha, I’ve just reread your post… I indeed wired it up as tx to tx and rx to rx, thank you, I totally missed that. I’ll try again and see if this time I’ll have more luck…

edit: ok, still no luck… I try to send the command “INQUIRY\n” but don’t get any answer on my serial port…

Do you have “VREG_ENA” pulled-high? (labeled “BTEN” on-board, i think :wink: )

Or i think you can toggle it high…

no, I haven’t… I’ll try that out right now… anything else I should connect?

I’m looking through the datasheet at the mo…

If i find anything else i will post about it… :smiley:

very nice of you! it seems to work now… thank you alot!

now I just found out that there are some differences between

the wiring and the arduino IDE… No idea how to recieve text

serially.

Anyway, thanks alot!

No problem :wink:

Where you planning to use the Arduino just to send/grab data to/from it?

If you are, i’m sure i saw some code somewhere…

yes that was the plan. I’m figuring it out at the moment, you just need to recieve each char individually and put it together again. that part is easier in wiring, but whatever…

best

If you want to just use the Arduino as a serial port and have the Diecimila/Duemilanove, the Tx and Rx pins are wired to the microcontroller and the FTDI chip…

So using any serial port terminal, you should be able to directly send and receive commands to the Bluetooth breakout without writing any code…

sorry, that was a misunderstanding. no, I’d like to use my arduino to

send and recieve over bluetooth autonomously. it almost works now ;).

Oh, okay… No worries :lol:

This link may, or may not, help you - [Arduino - Extended Reference (under “Serial Communication”)](Arduino - Home)

ok, I can already pair my cell phone to the wt32. my problem at the moment ist that I used the serial communication both for sending commands to the wt32 and debugging. any idea on how to “mask” the debugging text in order that the wt32 won’t send me syntax error al the time?

Not that i can think of… :frowning:

Do you need to use software serial? Might fix your problem whilst debugging… - [Arduino - SoftwareSerial

Then change it back when you get it working properly…](http://www.arduino.cc/en/Reference/SoftwareSerial)

maybe it’s ok, it’s just a little annoying… another thing that bugs me that the module is sending

!!! THIS IS BETA RELEASE AND MAY BE USED FOR EVALUATION PURPOSES ONLY !!!

WRAP THOR AI (2.3.0 build 79)

Copyright (c) 200

constantly. I would understand if this would be sent once, but all the time? is that normal?

I think that should only happen once… (and a bit unprofessional)

Try toggling the “VREG_ENA” pin.

Ah. In the datasheet for the WT32, it says it needs “100mA average current and should be able to handle peaks of 120mA without fold back or limiting

but the Arduino can only supply 50mA… Could be the sorce of your problems…

Do you get “READY.” in your terminal window?

hm toggling vreg_ena has no impact, works exactly the same way as before. I don’t get read in my terminal, but setting up the chip works, as does pairing with my cell phone…

Hmmm… Odd. :expressionless:

Can you change any iWRAP settings?

yes, command mode seems to work. I can change BT NAME for example.

It’s really quite odd, but maybe I have some code issues, too.

I can’t imagine where, though… I just downloaded the string libraries

for arduino, so I can mask out this a bit easier, I’ll let you know…