Go Down

Topic: Bluetooth Shield Problem.. pls help! (Read 2917 times) previous topic - next topic

gordox505

Im currently using a gizduino V.3 (http://www.e-gizmo.com/KIT/Gizduino.html).. it's working fine..
but when i plug the bluetooth shield- EGBT-04S slave only (http://www.e-gizmo.com/KIT/BLUETOOTH%20SHIELD.html) to the gizduino, the shield wont work.. The LED1 (green) and LED2 (red) wont blink..

i uploaded the code slave.pde to test the shield.. but nothing seems to work..

any help guys?..  plsss...  :smiley-roll:

gordox505

Im currently using a gizduino V.3 (http://www.e-gizmo.com/KIT/Gizduino.html).. it's working fine..
but when i plug the bluetooth shield- EGBT-04S slave only (http://www.e-gizmo.com/KIT/BLUETOOTH%20SHIELD.html) to the gizduino, the shield wont work.. The LED1 (green) and LED2 (red) wont blink..

i uploaded the code slave.pde to test the shield.. but nothing seems to work..

any help guys?..  plsss...    =(

strykeroz

Hi

How are you powering it, just via the Arduino?  And how is the power selector (S2 jumper near the power jack) set?  Is there a chance you have it set to expect external power?

Cheers ! Geoff
"There is no problem so bad you can't make it worse"
- retired astronaut Chris Hadfield

gordox505

Yes, just by the gizduino(connected to my pc).. do i need to use an external dc supply for the shield?.. how do i change the setting?.. im really new with this stuff..  =(




gordox505

i actually tried using an external dc supply for my bluetooth shield (9V).. but it still didn't work..

strykeroz


i actually tried using an external dc supply for my bluetooth shield (9V).. but it still didn't work..
I don't own one of these, but reading from the schematic in the user manual you need to have a jumper either between the leftmost pin and middle one (on S2) to tell it to use the external power; or between the rightmost pin and the middle one to tell it to take 5V power from the Arduino.

Curiously the photo there shows no jumper on S2 at all, but there's nothing in the schematic to indicate that would work.

Cheers ! Geoff
"There is no problem so bad you can't make it worse"
- retired astronaut Chris Hadfield

gordox505

wow! it actually worked!.. thanks strykeroz!..

i'll just be posting.. if i'll encounter another problem..

a big thanks bro..  :) :)

gordox505

I got the green LED blinking.. but still could not get it to work.. I need to get the red led to blink and green led to be steady so that the BT shield will be on SLAVE mode..

when i.uploaded the slave.pde without the shield, it will complete uploading.. but will not get the BT shield to work..

and when i uploaded the slave.pde with the shield.. I got the error: avrdude: stk500_getsync(): not in sync: resp=0x49

what should I do?

HazardsMind

what is on the other end of that BT connection, PC, phone, what are you trying to control it from?

Note: the shield does need to be off the board inorder to upload the code.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

gordox505

An android phone.. trying to communicate to the BT shield using android..

ah, so.. i need to upload the code before putting the shield on the arduino.. tnx..

but, it still wont work?... :(

gordox505

i used the codes found in http://www.seeedstudio.com/wiki/index.php?title=Bluetooth_Shield..

is it applicable with my BT shield?..

Riva

I don't have the shield like you have but the module I bought http://www.hobbytronics.co.uk/wireless/bluetooth/bluetooth-module looks similar. It just plugs into arduino 5V, GND, RX & TX and no need for any special arduino software. Just pair computer with it and open terminal window and it just works when arduino does Serial.print.

gordox505

how can i pair it with my android phone?.. i tried but the BT shield cannot be detected.. as if it's not in slave mode yet.. the green led just keeps blinking fast..

HazardsMind

#13
Nov 18, 2012, 05:13 pm Last Edit: Nov 18, 2012, 05:19 pm by HazardsMind Reason: 1
You need the MAC address of the BT module, that MAC address has to be in your android code. Also include the correct UUID.

The best way to detect the BT module would be to pair it to your computer, and get the MAC address that way or through a program call "Bluetooth chat".
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Nick Gammon

Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Threads merged.

- Moderator
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Go Up