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.

Microcontroller connect bluetooth module

Status
Not open for further replies.

baicy

Newbie level 4
Joined
Jan 6, 2010
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
uk
Activity points
1,359
Hi all,

I'm working on a project, geting some data (analogue voltage) from sensor, do simple processing using PIC16F877A, and then send information to my PC using Bluetooth.

I've configure the UART communication between PIC and bluetooth as shown in the attachment. And set up the connection VDD, GND, Rx (using a voltage divider), and Tx. But I don't know how to code the PIC to do the job, all I need is:

1. receive the voltage reading from the sensor by A/D channel.
2. send the voltage reading by Bluetooth (UART)

Any one have any idea how to code the PIC16F877A to connect with Bluetooth?
Can I send the AT command directly to the Bluetooth module with UART?

Many thanks!

Baicy
[/img]
 

Hi

It is mostly depend on the Bluetooth module you have - most module use AT command for control and communication using the UART

You will need to look at BT operating manual and data sheet to learn more


All the best

Bobi

The microcontroller specialist
 

Thank you, Bobi.
The Bluetooth module Im using support AT command. It can be programmed by Hyper Terminal. Im just wondering if the AT command can be send by coding the PIC microcontroller through UART. Many thanks.
 

Hi

Yes you can , best way by using a C language not ASM

Search this forum for connecting PIC & cellphone and you will find many to your answer

All the best

The microcontroller specialist
 

Thanks a lot, dude.

I have downloaded some files about AT command thing, but I am still not sure how this works in this project. Do you still have your codes? Really want to know how to make this circuit work.

Thanks in advance.
 

AT-Commands differ according to the type of the module you are using. I mean, AT-Commands for a GSM/GPRS modules are completely different than those of a Bluetooth module, than those of a Zigbee module... and so on.

Specify the module you want to use and check its manual for the supported AT-Commands.
 

So you saying bluetooth module shold be initialized in a GSM or GPRS module? Or if I use bluetooth module, I may not be worried about GSM/GPRS modules.
I guess AT commands can control bluetooth, is this right?

Thank you for replying.
 

So you saying bluetooth module shold be initialized in a GSM or GPRS module? Or if I use bluetooth module, I may not be worried about GSM/GPRS modules.
I guess AT commands can control bluetooth, is this right?

No.
What I said is that the AT-Commands used with a bluetooth module are not the same as those used with GSM modules. The commands are different.
 

OK. I guess now I understand better. The Bluetooth needs AT commands, but it is unique, right?
 

OK. I guess now I understand better. The Bluetooth needs AT commands, but it is unique, right?
Depends on your Bluetooth module. Refer to the manual.
 

hey..i am using AUBTM-20 blutooth module with ATMEGA8 controller. i want to know that how to use AT commands to program Bluetooth module. please tell me fast. i have to submit my project in next week
 

Have you take a look in the group:

Embedded Wireless Networks - WiFi, ZigBee, MiWi, 802.15.4, Bluetooth & RF

I've posted several Bluetooth projects and guides, including some specific to the AUBTM-20

Ciao
 
Last edited by a moderator:

i am not able to find these projects......can u jus list a few names
 

Hi all,

I'm working on a project, geting some data (analogue voltage) from sensor, do simple processing using PIC16F877A, and then send information to my PC using Bluetooth.

I've configure the UART communication between PIC and bluetooth as shown in the attachment. And set up the connection VDD, GND, Rx (using a voltage divider), and Tx. But I don't know how to code the PIC to do the job, all I need is:

1. receive the voltage reading from the sensor by A/D channel.
2. send the voltage reading by Bluetooth (UART)

Any one have any idea how to code the PIC16F877A to connect with Bluetooth?
Can I send the AT command directly to the Bluetooth module with UART?

Many thanks!

Baicy
[/img]

Which Bluetooth Module you are using ?
If it supports AT command then you can send AT commands using UART of your PIC ..
Please see the following Link for more clarification.
**broken link removed**
 

can any buddy tell me how to connect my AUBTM-20 module to PC using UART??
 

you need to make a driver for your aubtm based on your pc.

Lets say you need to write a program, and it depends on the OS on your pc.

can any buddy tell me how to connect my AUBTM-20 module to PC using UART??
 

Hi all,

I'm working on a project, geting some data (analogue voltage) from sensor, do simple processing using PIC16F877A, and then send information to my PC using Bluetooth.

I've configure the UART communication between PIC and bluetooth as shown in the attachment. And set up the connection VDD, GND, Rx (using a voltage divider), and Tx. But I don't know how to code the PIC to do the job, all I need is:

1. receive the voltage reading from the sensor by A/D channel.
2. send the voltage reading by Bluetooth (UART)

Any one have any idea how to code the PIC16F877A to connect with Bluetooth?
Can I send the AT command directly to the Bluetooth module with UART?

Many thanks!

Baicy
[/img]
have you looked at the datasheet of your bluetooth module?
posting that here, you may get some help.
 

i am connecting my module with PC using UART. it gives OK. but i enter any command it is not responding to it. please help me out.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top