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").
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.
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 )
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.
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.