Possible to do this using Bluetooth DIP module?

Hi all,

Is it possible to send two digital signals to the Bluetooth DIP module and program it to output a character from the Tx pin?

In my application, there will be two digital output from PIC microcontroller, and they will make four combinations, 00, 01, 10, 11. I want the Bluetooth module to broadcast different characters according to the combination. For example, broadcast ‘1’ when the inputs are 01, and broadcast ‘2’ if 10, etc.

Will this be possible? How can I do it? I’m not major in electronic but just hope to use the module in my application.

Will appreciate if anyone can give some hints here. Thanks a lot!

Hi,

After doing some research, I think the way I asked the questions may be silly… :oops:

I found Sparkfun has a schematic showing the interface connecting Bluetooth DIP module with PIC. And we need to program in PIC, making PIC working in UART and sending data to Bluetooth. May I know where I can find sample codes?

Thanks a lot!

ursular:
Hi,

After doing some research, I think the way I asked the questions may be silly… :oops:

I found Sparkfun has a schematic showing the interface connecting Bluetooth DIP module with PIC. And we need to program in PIC, making PIC working in UART and sending data to Bluetooth. May I know where I can find sample codes?

Thanks a lot!

This is how to do it.

Microchip has lots of app notes and source code including several on using the PIC’s UART.

waltr:

ursular:
Hi,

After doing some research, I think the way I asked the questions may be silly… :oops:

I found Sparkfun has a schematic showing the interface connecting Bluetooth DIP module with PIC. And we need to program in PIC, making PIC working in UART and sending data to Bluetooth. May I know where I can find sample codes?

Thanks a lot!

This is how to do it.

Microchip has lots of app notes and source code including several on using the PIC’s UART.

Thanks! I’ve achieved UART communication using PIC16F877A and XBee. It doesn’t work if I use the Bluetooth module… Can anyone tell me why? I thought Bluetooth and XBee are using the same working principle?