8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  [1] 2 3
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
monika
Wed Apr 09 2008, 03:06AM
 User Offline
Registered Member #7028
Joined: Fri Apr 04 2008, 03:31AM

Posts: 9
Thanked 0 times in 0 posts
I have to establish a wireless link between a PC and a pic microcontroller using Bluetooth USB dongle or a bluetooth module.The data from the micro will travel to another micro again through wireless communication.

PC<----->PIC MICRO<----->PIC micro.
I am not able to decide which protocol to use(RFCOMM,L2CAP,...)
Do the bluetooth modules available have the protocols inbuilt or it will be embedded in the the code of the micro.
also wat sort of interface shud i go for in terms of cost?
this micro--->RS232---->bluetooth. or micro--->MAX3124E---->BLuetooth USB

how shud i decide a particular PIC for this particular project?

If anybody has worked on this kind of project before please guide me.







Back to top


Ajay
Wed Apr 09 2008, 08:16AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3529
Thanked 644 times in 609 posts
i think bluetooth modules avalable in market comes with on board protocol stack. You need to look in nearest market. Decision of pic controller to be used depends on how complex is your design. Which intern depends on type of module.

if you just need to make a simple wireless communication link between pc and controller then why don't you use rf modules available in market? They are really good for this.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


IshaG
Wed Apr 09 2008, 11:06PM
 User Offline
Registered Member #5779
Joined: Wed Jan 30 2008, 09:56PM

Posts: 10
Thanked 0 times in 0 posts
I am also working on a similar project. i have to establish this link over a distance of 1 km. I have found some options for this purpose
1: http://www.lemosint.com/scripts/bluetooth_dongle_class1.asp

2:making a host controller interface USB on PIC itself and then using a usual bluetooth USB adapter easily available in the market.

3: also sparkfun has some readily available bluetooth modules.

but am not able to decide on which one to go for.
out of these 2nd one is the cheapest option but in that case the bluetooth driver(bluetooth protocol stack) need to be written.

I am not sure if i'll have to write the driver in 1st and the last case or not but i think i wont have to...wat do u say?

And i dont knw how to start with it. if any of you knows how to develop a complete driver implementing 'Bluetooth Stack" please help me.
You can tell me some links to it or may be any book if you know...


Back to top

bluetooth   


sashijoseph
Thu Apr 10 2008, 06:24AM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 496
Thanked 112 times in 105 posts
The 1st option would be the easiest as the module already has the bt stack.

The 2nd option would be really difficult unless you use sth like the MAX3124 or a uc with a built in master usb(most usb 'enabled' micros are just slaves).So atleast you don't have to study the whole usb spec and write a USB stack.You still have to write the bt stack though.

btw National too has a serial module with stack implemented.Probably you could get a sample.

Let there be music........
Back to top


shyam
Thu Apr 10 2008, 07:57AM

 User Offline

Registered Member #2984
Joined: Mon Aug 06 2007, 11:33AM

Posts: 701
Thanked 101 times in 97 posts
@IshaG
bluetooth communication over a 1 KM range????

i missed something here isnt it??

lProgress is not made by early risers or hard workers, but by LAZY people, trying to find easier ways to do the same........
Back to top


shyam
Thu Apr 10 2008, 08:04AM

 User Offline

Registered Member #2984
Joined: Mon Aug 06 2007, 11:33AM

Posts: 701
Thanked 101 times in 97 posts
y r u people going for bluetooth????



lProgress is not made by early risers or hard workers, but by LAZY people, trying to find easier ways to do the same........
Back to top


sashijoseph
Thu Apr 10 2008, 08:41PM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 496
Thanked 112 times in 105 posts
shyam wrote ...

@IshaG
bluetooth communication over a 1 KM range????

i missed something here isnt it??

Yup ..... they're providing a patch antenna for increased coverage.Wonder whether it really works error-free in noisy,trying conditions though.

Let there be music........
Back to top


IshaG
Fri Apr 11 2008, 03:29PM
 User Offline
Registered Member #5779
Joined: Wed Jan 30 2008, 09:56PM

Posts: 10
Thanked 0 times in 0 posts
@shyam

I have to establish wireless communication as depicted:
PC<----->uc1<---->uc2<----->uc3<------>........<------>uc20(say). over a distance of 1 km.
i.e. each micro will be communicating with adjacent micros only.PC will be communicating only with uc1 only.I have to make a secure wireless communcation. and bluetooth is good security wise.
I think this can be done using bluetooth modules....wat do u say?

@sashijoseph

I think i'll go for Bluetooth----->RS232 module which has embedded bluetooth stack on it.
but dont knw hw to begin writing the driver code on the PIC.?:-(
and only directing tha data to the PC's COM port will be sufficent for the PIC to recieve it wirelessly or dis will also require some system software on PC .


Please help me guyz with watever u can..thanks a ton....

Back to top


Ajay
Fri Apr 11 2008, 11:26PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3529
Thanked 644 times in 609 posts
Monika and IshaG looks like you both have got a similar project or you are working in same class

Still i want to say.. a simple RF module is enough.. you can define your own encryption algorithm before sending data to other uC and while receiving decrypt the data. Also you can add authentication before data is accepted.

Well do think over it.. Its much better method and cost effective solution. Final decision is still yours..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top



This post has been thanked 1 time
 IshaG 
sashijoseph
Sat Apr 12 2008, 01:18PM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 496
Thanked 112 times in 105 posts
Yeah and with so many links you'll become bankrupt in no time purchasing bluetooth modules.Could've been ok for a single connection......

Let there be music........
Back to top


Go to page  [1] 2 3  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems