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 Serial Adapter - need opinions

Status
Not open for further replies.

aforadi

Newbie level 5
Joined
Aug 15, 2008
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,350
Re: Bluetooth Serial Adapter

I have completed my project wherein I am controlling a stepper motor through a VB form and displaying the temperature of the surrounding also on it.
Right now I have done it using the RS232 port on the desktop. I wish to now convert this to Bluetooth serial comm... From what I understand I have to buy a Bluetooth serial adapter which costs around$50. So before buying one I just wanted to clear a few doubts.
1. Do I just have to replace the DB9 female connector with the Bluetooth?
2. If so then all I have to do is change the code of VB to support the corresponding COM port>?
3. Is there anything else that I would have to do?Any problems I might face?

Added after 4 minutes:

I am using PIC18F4550 and MAX232 and ULN2003 and LM35 temperature sensor.
 

Re: Bluetooth Serial Adapter

BT module can be connected directly to uC TX/RX port without rs232, but in some case you will need other kind of logic converter 5v-3.3v.

It should work same way as rs232. So uC side will not need to be modified, and on VB side you will need to change COM port configuration.

Well i did have some issues with initialization of my communication protocol, cause when my BT module get connected with PC it received bunch of chars and CONNECTED string. So i'm using initialization array to begin my protocol ...
 

Re: Bluetooth Serial Adapter

I have completed my project wherein I am controlling a stepper motor through a VB form and displaying the temperature of the surrounding also on it.
Right now I have done it using the RS232 port on the desktop. I wish to now convert this to Bluetooth serial comm... From what I understand I have to buy a Bluetooth serial adapter which costs around$50. So before buying one I just wanted to clear a few doubts.
1. Do I just have to replace the DB9 female connector with the Bluetooth?
2. If so then all I have to do is change the code of VB to support the corresponding COM port>?
3. Is there anything else that I would have to do?Any problems I might face?

Added after 4 minutes:

I am using PIC18F4550 and MAX232 and ULN2003 and LM35 temperature sensor.

Regarding the bluetooth Serial adapter.As I know the wholesale price is from 22-30usd/pcs.
I think you can get following up the use manual to set up.
and the Package Including as following:
Bluetooth serial adaptor
Antenna
DB9 male to female converter
USB cable for power supply
DC adaptor
User’s manual
For the connecor with the bluetooth can be powered via:
1.An AC/DC converter (output power: +5 to +6 V DC/300 mA)
2.A USB cable
3.Pin 9 of the D SUB 9-pin connector


General
Specification Description
Baud Rate Supports 4.8/9.6/19.2/38.4/57.6/115.2/230.4 Kbps
Coverage Up to 100 m
Connection Point-to-point (pico net)
Signal TxD, RxD, GND, CTS, and RTS
RS-232 Interface D_SUB 9-pin female
Standard Bluetooth specification version 2.0+EDR
Frequency 2.400 to 2.4835 GHz
Hopping 1,600/sec, 1MHz channel space
Modulation GFSK-1 Mbps, DQPSK-2 Mbps, and 8-DPSK-3 Mbps
Tx. Power Max. 18 dBm (Class 1)
Rx. Sensitivity -86 dBm typical
Antenna Chip antenna or SMA female + external antenna (optional)
Antenna Gain Chip antenna max. 1 to 2 dBi
Power Supply +5 to +6 V DC
Current Consumption Max. 90 mA
Operation Temperature -20°C to +75°C
Dimensions 35 mm (W) x 65 mm (D) x 16 mm (H)
 

hello


1. Do I just have to replace the DB9 female connector with the Bluetooth?
i think it's PC side, so yes you have to connect a USB/Bluetooth key
and a bluetooh interface between your PIC UART and this device directly
be carreful if power supply is 3,3V .. you need to add resistor to build a divider 5V -> 3V from Pic TX to BT RX
and direct from BT TX to RX PIC


2. If so then all I have to do is change the code of VB to support the corresponding COM port>?
NO, you can youse a VIRTUAL COM PORT
example: Use BlusSoleil, add a COM service to attach your PC Bluetooth device as a COMx port
and use it as usual with VB.

3. Is there anything else that I would have to do?Any problems I might face?
don't forget BT config , PIC side.
Name default is constructor name ex: FireFly
Password ex: 1234 or 0000
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top