Bluetooth DIP Module - Roving Networks and PIC NEED HELLP

Hi,

I have a https://www.sparkfun.com/commerce/produ … ts_id=8550 and this are the Settings

BTA=000666014CC6

BTName=CCPC

Baudrt=9600

Parity=None

Mode =Slav

Authen=0

Encryp=0

PinCod=1234

Bonded=0

Rem=000B0D098086

I have use a Logic Level Converter and a PIC 16f877a (5v) this is my wardware setup.

[<LINK_TEXT text=“http://img108.imageshack.us/img108/3605 … terpl3.jpg”>http://img108.imageshack.us/img108/3605/levelconverterpl3.jpg</LINK_TEXT>

This is a simple code in PBP to see if pic is talking to the BT


@ Device HS_OSC

define OSC 20

Include “modedefs.bas” ’ Include serial modes

TrisB.5=1 ’ Rx BT

TrisB.4=0 ’ Tx BT

TrisB.0=0

Pause 5000

Serout2 Portb.4,84, [“$$$”,13]

Pause 5000

Serin2 Portb.5,84, [wait(“CMD”)]

High PortB.0

End


Using the a PC USB BT to config. the module i can comunicate very well with the module send “$$$” and received “CMD” more and more …

And my big big problem is when using the pic to config. the module the led dont light, i tryed connecting the BT with a PC USB BT and the pic at same time and using hyperterminal to see what is going on and i saw the “$$$” send by the pic but not the response from rthe BT “CMD”.

Can you people hellp me?

Thanks for caring.](http://imageshack.us)

Hi,

I solvet it my problem was on the level converter, bad connection see how its done.

[<LINK_TEXT text=“http://img508.imageshack.us/img508/8994 … pl3ub9.jpg”>http://img508.imageshack.us/img508/8994/levelconverterpl3ub9.jpg</LINK_TEXT>

Xau](http://imageshack.us)