CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How to control Parani ESD-200 Bluetooth Module w/ pic18f452

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
rcarrillo3@miners.utep.ed



Joined: 24 Sep 2007
Posts: 2

View user's profile Send private message

How to control Parani ESD-200 Bluetooth Module w/ pic18f452
PostPosted: Mon Sep 24, 2007 10:27 pm     Reply with quote

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
rcarrillo3@miners.utep.ed



Joined: 24 Sep 2007
Posts: 2

View user's profile Send private message

pic18f452 used to control parani esd-200 Bluetooth module
PostPosted: Wed Sep 26, 2007 5:08 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Sep 27, 2007 7:45 am     Reply with quote

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" );
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group