View previous topic :: View next topic |
Author |
Message |
[email protected]
Joined: 24 Sep 2007 Posts: 2
|
How to control Parani ESD-200 Bluetooth Module w/ pic18f452 |
Posted: Mon Sep 24, 2007 10:27 pm |
|
|
My group and I have been working on a project for a while and now we are at a point where we are integrating a Parani ESD-200 bluetooth module using USART. However, we are not sure how to get started on how to program this module to scan for other bluetooth devices and then be able to connect to transfer data. I know that there are AT commands for the module but how could we use these in our C program to control it.
Any help would be greatly appreciated. We just really need to get started as soon as possible due to a deadline.
Thanks |
|
|
[email protected]
Joined: 24 Sep 2007 Posts: 2
|
pic18f452 used to control parani esd-200 Bluetooth module |
Posted: Wed Sep 26, 2007 5:08 pm |
|
|
This is the website which shows the Parani ESD-200 and the data sheets are also available on the page.
http://www.sena.com/products/industrial_bluetooth/oem_bluetooth_serial/parani_esd/
We are trying to control the module with a PIC18f452 and we are using MPLAB to generate our hex file. The program is written in C.
Does anyone know how to write the AT commands to the module using the pic? |
|
|
kevcon
Joined: 21 Feb 2007 Posts: 142 Location: Michigan, USA
|
|
Posted: Thu Sep 27, 2007 7:45 am |
|
|
Quote: | Does anyone know how to write the AT commands to the module using the pic? |
This is kind of like asking how to make a sandwich. There are a million different ways to do it, and the way you do it depends on what you want the end result to be.
Writing commands is the easy part as shown below. The hard part is handling the messages that the module sends back, this is where the million different ways comes in to play.
Is this your first class project at UTEP?
What code does your code look like so far?
Code: |
#pragma use rs232( stream = BLUETOOTH, baud = 9,600, UART1, parity = N, BITS = 8 )
fprintf( BLUETOOTH, "ATZ\r" );
|
|
|
|
|