Discussion in "PIC Microcontroller Discussion" started by    monika    Apr 9, 2008.
Wed Apr 16 2008, 06:20 am
#11
Ok Ajay thanks for ur advice i was in a fix wich to perfer(BLuetooth or RF) but now i go with RF first and c if it can work. i have some RF transciever modules from sparkfun which i think can serve the purpose.
actually i have a doubt regarding security of RF signal in transceiver modules and also the signal of 2 communicating modules might interfer with the signal between the other 2.....how shud i confirm that it wont?...
Can u provide me with some links to read to establish such a link b/w PIC+RF module...it will be of great help..


[ Edited Wed Apr 16 2008, 06:31 am ]
Wed Apr 16 2008, 06:42 am
#12
i know about some RF-modules in fact i have been using only these ...
they come with inbuilt spread spectrum technique for less interfernce...
plus u can set device addres for each of them the way we do in I2C devices.
then the data will only be received by the module which is being addressed !!!!

m talking about MaxSream's xbee pro modules
Wed Apr 16 2008, 07:07 pm
#13
addressing of RF modules is a good thing..

you can send and receive data in frame formats..
like..

[ destination addr ] [ source addr ] [ encrypted data ] [ checksum or crc ]
Thu Apr 17 2008, 07:14 am
#14
plese send the link
Thu Apr 17 2008, 10:35 am
#15
shyam plz chk ur mail i hav written u a mail...and reply asap...

Ajay
I know abt the data formats but dont know how to implement them in a C code on PIC...
i.e if i have the data which needs to be send how shud i make a packet of it.
can u enlighten me on that...:(
Thu Apr 17 2008, 06:03 pm
#16
use data structures.. for defining a packet.. or even simple array would do..
the packet is already defined in my previous post..

can you be more specific on what u want to know?
Fri Apr 18 2008, 06:40 am
#17
shyam
thanks for ur reply. i have gone through this.
this seems to be pretty interesting of a device :-) ...but my application only needs to transmit data in 2 directions(i.e.send an ACK back to the host and fwd the packet to another (uc+RF) system. it does not require PWM or ADC. Still will u recommend dis?.

even i have something..plz hav a look at it also and tell me ur views..cost is not an issue for this project...soo dont judge on that..just enlighten me on implementation will be easier with which one..... RF or this.....

Ajay
yeah evn i was thinking of data structures only, like stacks for that matter....

wen i have recieved a data packet thru UART at the micro then i want to extract the information from it and send an ACK to the source and also fwd the remaining packet to next uc system and so on so forth.

can i save the address of all the destinations in the packet i.e. how can i find the maximum packet length...
Can u be a bit more elaborate....

thanks guyz...
Fri Apr 18 2008, 06:45 am
#18
this is the attachment
Fri Apr 18 2008, 06:48 am
#19
attachment is not being attached here....:(
i have also mailed it to u shyam..reply asap...
Sat Apr 19 2008, 08:59 pm
#20
well first tell me what kind data is gonna be transferred between PC and micro, i mean what will it contain..
and is it gonna be constant? or something..
coz there can be two things, either we can set a defined fixed frame length if data size not gonna change again and again... or if you have variable lenght then we need to specify few more things like frame length along with next frame flag.
give me more specifications about your project so i can help you better..

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Michailqfh
Fri Mar 29 2024, 01:53 am
Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm