Hi folks… I just received a Bluegiga WT-32 breakout board from sparkfun and i’m trying to get it going with my Arduino (for now i’d like to just send/receive data throug the UART on the BT board to see the device get to the READY state).
I’ve wired it as follows
BTEN - 3.3v from Arduino
VCC - 3.3v from arduino
GND - GND from arduino
Tx - Rx on arduino
Rx - Tx on Arduino
RESET - Output pin on Arduino
I’m using an Arduino Demilanoeve board (which runs at 5.0v, but has a 3.3v 50ma source also).
When the arduino comes up I bring the RESET pin HIGH for a second and then drop it, then i begin reading from the Serial connection to the WT32
What i’m seeing is only garbage characters (there is some data, just none of it is ascii) – I tried all different baud raters (i expected it to be 115200, but that is garbage also).
I’m wondering if my problem is that the Serial connection pins (Tx, Rx) and the RESET pin on the Arduino is running at 5v, and the WT32 is looking to operate at 3.3v? …
Does this mean that i need to get a 3.3v Arduino to work with this module? – or does anyone have any other ideas?
I’ve updated my setup to put a voltage divider for the RESET and Rx (from arduino to WT32) signals … so now those signals are at 3v …
… Still can’t get the WT32 to talk to arduino …
Now i dont even get garbage… now its just silent.
Well, i have another update.
I decided to stop using the NewSoftSerial library to talk to the WT32 in case that was messing things up, and decided to just use the hardware UART. For debugging i hooked up a second USB BUB that i just got from ModernDevices (also got a bare bones arduino kit).
I also configured the Vcc BTEN to be supplied from an extern 3.3v powersupply (since arduino can only provide 50mA, and i think we need more for the WT32), i grounded the WT32 to the external PS.
This setup still yielded nothing until i attached a LED to the WT Tx pin in parallel with the Arduino Rx pin. (I added a resistor + led in parallel to the arduino, and grounded the LED to the arduino).
Now i was able to see data from the WT32. Still had loss of data at 115200, so i turned the baud rate down to 19200 and it now works without a hitch.
I’ve been able to pair with my cell phone, and send AT commands.
– I’m a bit of a noob at electronics (kind of embarrased to say), but does anyone know what i’ve done wrong such that the UART communication fails unless i have this LED connected in parallel to the WT32 Tx pin?
I should draw a picture of what my wiring looks like.
Hi Ricardo,
I am probably horribly wrong, but to me it looks like your parallel setup “mimics” an additional pull-up resistor. Since you said you’re doing the communication hardware-wise now, you might try and enable the ATmega’s internal pull-up for the TX pin and then remove that LED/resistor combo.
I am using the bluegiga wt32 to connect to the wii mote and I was
I have a question about the bluetooth library!!! how do you get the selected wt-11 bluetooth module has anyone used.
[[u]how to treat depression[/u]](http://howtodealwithdepression.net.ph/)