View previous topic :: View next topic |
Author |
Message |
zagoaristides
Joined: 08 Jul 2007 Posts: 15 Location: Cordoba - Argentina
|
|
|
gip_mad
Joined: 23 Aug 2008 Posts: 24 Location: Italy
|
|
Posted: Wed Sep 03, 2008 8:46 am |
|
|
I don't know these protocols, but did you consider using a CAN bus? Very affordable, already integrated in some PICs, safe, collison detection.... |
|
|
zagoaristides
Joined: 08 Jul 2007 Posts: 15 Location: Cordoba - Argentina
|
Reply |
Posted: Sun Sep 14, 2008 5:32 pm |
|
|
gip_mad wrote: | I don't know these protocols, but did you consider using a CAN bus? Very affordable, already integrated in some PICs, safe, collision detection.... |
The thing goes like this, maybe you can help me. I want to send the data from a sensor device with 3 accelerometers (3 axis) via X(any) protocol to a master pic, but this master has to check how many devices (Maxim of 3) are connected to it. Well I thought about a token ring with this protocol because I can put a head data in the transmission so then the repetition is increased by one in each device, so when the full stream of data arrives to the master, it can check how many devices connected to that port it has. But I'm stuck. |
|
|
gip_mad
Joined: 23 Aug 2008 Posts: 24 Location: Italy
|
|
Posted: Mon Sep 15, 2008 12:24 am |
|
|
For this low device count, I think you're better use simple analog input to every sensor... But for the bus thing, well, CAN can do the trick! You can send a "broadcast" message, and every sensor replies without collision so you know who is connected. Adding a sensor is as simple as plug-in... As long as you put different addresses on every device. You can also negotiate addresses at power up as I did in my application.
Can can also be very fast, so it can be used in real time applications (it is designed for automotive communications). |
|
|
zagoaristides
Joined: 08 Jul 2007 Posts: 15 Location: Cordoba - Argentina
|
|
Posted: Tue Feb 24, 2009 10:33 am |
|
|
gip_mad wrote: | For this low device count, I think you're better use simple analog input to every sensor... But for the bus thing, well, CAN can do the trick! You can send a "broadcast" message, and every sensor replies without collision so you know who is connected. Adding a sensor is as simple as plug-in... As long as you put different addresses on every device. You can also negotiate addresses at power up as I did in my application.
Can can also be very fast, so it can be used in real time applications (it is designed for automotive communications). |
Do you have an example of the use and some text to read?
Thanks |
|
|
|