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

interface pic16f877a with bluetooth

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Tony Pinto



Joined: 30 Jan 2014
Posts: 3
Location: chennai

View user's profile Send private message

interface pic16f877a with bluetooth
PostPosted: Thu Jan 30, 2014 9:10 am     Reply with quote

Hi Every one !!!
i've written an adc program and now i want to interface it with an android device via bluetooth.
i'm using pic 16f877a.
please advice what is the best bluetooth module should i write any coding.
if yes please guide me as to how to write it,as i'm totally new to programming
thanks in advance
God bless !!!
_________________
Tony
temtronic



Joined: 01 Jul 2010
Posts: 9208
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Jan 30, 2014 9:54 am     Reply with quote

There is no 'best' bluetooth module.What works for me, may not work for you...
Since you are a 'beginner' programmer, I'd suggest looking for one that has a 'serial (RS232) interface' as opposed to say I2C or SPI. Serial tends to be easier for beginners. Be careful though. 'serial' to some means RS-232 compatible, so that it has 'max232' or equal builtin, others consider 'serial' to mean 'TTL' compatible. While both are serial they are NOT the same. The details will be in the datasheet.
Your choice of the now obsolete 16F877 isn't the best but should work for you.
As to code....
since you say the ADC section is running,
1) cut code so that it goes to a PC via a max232 device). Confirm the data sent is correct both in format and protocol.
2) develop a PC bluetooth program,again confirm it works
3) cut PIC code to transmit the ADC data via Bluetooth device.

providing every step is taken and works, the overall project will work.

hth
jay
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Thu Jan 30, 2014 11:46 am     Reply with quote

Sparkfun... "bluesmirf"

Easy.

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
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