Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Bluetooth module connection

Status
Not open for further replies.

Chullaa

Advanced Member level 4
Joined
Aug 27, 2010
Messages
113
Helped
17
Reputation
34
Reaction score
17
Trophy points
1,298
Activity points
2,019
Hi i am trying to interface bluetooth module BC417 **broken link removed**

I made connection of Vcc through 3.3V Regulator and Connected all grounds, Rx and Tx pins go directly to MAX232 for UART. LED connected through 100 Ohm resistor to pin 24 (LED).
then I used hyper terminal and realterm. but can not test the module. (by sending "AT").

what is wrong.

Thanks
 

does the LED show any signs of life?
have you tried looking at the RXD and TSX pins with an oscilloscope?
the datasheet states that the EGBT RXD input is not 5V tolerant and you need a level translation circuit to protect the inputs. if you connected RXD direct to the MAX232 you may have problems.
 

I did not used level translation as my senior told me, it would not cause problem. LED does not glow. I need to check it from oscilloscope now.
 

how can i translate voltage level for Tx and Rx both.
 


Thank you guys for the help. Yet so far. I have succeeded to turn my both bluetooth modules ON and configured it using AT commands. One thing that wonders me is name of first BT is HC-05 and the other is Linvor.:-? (also not getting into AT mode && LED status changed from PIN31 to PIN24:cry: )

Well I want to summerize if anyone may need this in future.

Tx(PIN1) and Rx(PIN2) will get 5.5V and connect to RS232, or USB to TTL converter Directly.
All four grounds are connected. i.e. (PIN13,PIN14,PIN21 and PIN22)
Vdd (3.3V) will connect at (PIN12).
PIO11 (PIN34) will connect to 5V(for AT Mode) or GND (for Data Transfer Mode)

MODE CHANGE
AFTER you change the mode. You may need to Reset (PIN11) from low to high.

LED STATUS

BLINKING SLOW= AT MODE
BLINKING FAST= Data Transfer MODE

Moreover, i'll make a tutorial on my blog after completing this job. :D

Umair
 

well i m here to answer myself, HC-05 and linvor (HC-06) are two different modules so the names. and pinout is different as well.

At startup, Linvor's LED (PIN22) will start blinking. Now you need to connect master BT.
Here is config for master (HC-05)
{key(PIN34) should be kept high}

Code:
AT\r\n
ok

AT+UART?\r\n
ok 9600,0,0

AT+CMODE?\r\n
ok CMODE=0

AT+role=1\r\n
ok

AT+INIT\r\n
ok {it will initailze the BT}

Binding need 12character HEX address and timeout delay in the following format
AT+BIND= abcd,ef,ghijkl,timeout \r\n
e.g. at+bind=0714,04,819963,20 \r\n    \\where 20 is 20second timeout

\r carriage return
\n newline
Both used to tell BT module that command is finished. aka EOL(End Of Line)

After binding, Key(PIN34) should be zero or left open, and then reset the BT Module.

linvor(HC-06) LED(PIN22) will get stable to show binding successful.

Thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top