Reply by linnix May 6, 20112011-05-06
On May 5, 4:05=A0pm, stoffer <stof...@skulp.org> wrote:
> On 2011-04-09 21:53:14 +0200, linnix <m...@linnix.info-for.us> said: > > > Microchip has zigbee stack for PIC18 and PIC24, but you would probably > > need 64K to 128K flash. > > Yes, =A0I think its overdoing it with zigbee >
A lot of the code is dealing with routings, with ZigBee or IR. If you want Peer to Peer, you have to deal with routings. If you want simpler protocols, use star (master to slave) configuration.
Reply by stoffer May 5, 20112011-05-05
On 2011-04-09 21:53:14 +0200, linnix <me@linnix.info-for.us> said:

> Microchip has zigbee stack for PIC18 and PIC24, but you would probably > need 64K to 128K flash.
Yes, I think its overdoing it with zigbee -- - stoffer
Reply by stoffer May 5, 20112011-05-05
On 2011-04-09 18:59:59 +0200, linnix <me@linnix.info-for.us> said:

> How far apart are the nodes? IR only have narrow angle of view as > well.
They can "se" each other at up to 10 meters... -- - stoffer
Reply by linnix April 10, 20112011-04-10
On Apr 10, 7:43=A0am, Ulf Samuelsson <u...@invalid.atmel.com> wrote:
> Kristoffer Ek skrev 2011-04-09 21:06: > > > On 2011-04-09 20:22:46 +0200, linnix said: > > >> You might want to take a look at the zigbee stack. Just change RF to > >> IR. > > > Thanx, thats a good suggestion, according to what I read about zigbee i=
t
> > looks pretty much as my stack is a beacon-less version of zigbee - > > wonder if there are any zigbee software stacks? > > > - kristoffer ek > > You probably do not need to implement a full ZigBee, > in which case you need less than 128 kB. > > The RF4CE stack on top of an 802.15.4 radio will do just fine. > Atmel has a qualified stack for this that runs on top > of the ATmega128RFA1.
Yes, but it's not going to work on 32K PIC18f2550. If the OP wants full Peer-to-Peer, he will need bigger chips. However, he can have 3 to 4 routers and the rest in devices only. Devices might fit in 32K, but not routers.
Reply by Ulf Samuelsson April 10, 20112011-04-10
Kristoffer Ek skrev 2011-04-09 21:06:
> On 2011-04-09 20:22:46 +0200, linnix said: > >> You might want to take a look at the zigbee stack. Just change RF to >> IR. > > Thanx, thats a good suggestion, according to what I read about zigbee it > looks pretty much as my stack is a beacon-less version of zigbee - > wonder if there are any zigbee software stacks? > > - kristoffer ek >
You probably do not need to implement a full ZigBee, in which case you need less than 128 kB. The RF4CE stack on top of an 802.15.4 radio will do just fine. Atmel has a qualified stack for this that runs on top of the ATmega128RFA1. -- Best Regards Ulf Samuelsson These are my own personal opinions, which may or may not be shared by my employer Atmel Nordic AB
Reply by linnix April 9, 20112011-04-09
On Apr 9, 12:53=A0pm, linnix <m...@linnix.info-for.us> wrote:
> On Apr 9, 12:06=A0pm, Kristoffer Ek <stof...@skulp.net> wrote: > > > On 2011-04-09 20:22:46 +0200, linnix said: > > > > You might want to take a look at the zigbee stack. =A0Just change RF =
to
> > > IR. > > > Thanx, thats a good suggestion, according to what I read about zigbee > > it looks pretty much as my stack is a beacon-less version of zigbee - > > wonder if there are any zigbee software stacks? > > > - kristoffer ek > > Microchip has zigbee stack for PIC18 and PIC24, but you would probably > need 64K to 128K flash.
The ZigBee sample router is around 64K for PIC18 and 96K for PIC24. So, you probably need 128K PIC18 or 256K PIC24 to do anything useful.
Reply by linnix April 9, 20112011-04-09
On Apr 9, 12:06=A0pm, Kristoffer Ek <stof...@skulp.net> wrote:
> On 2011-04-09 20:22:46 +0200, linnix said: > > > You might want to take a look at the zigbee stack. =A0Just change RF to > > IR. > > Thanx, thats a good suggestion, according to what I read about zigbee > it looks pretty much as my stack is a beacon-less version of zigbee - > wonder if there are any zigbee software stacks? > > - kristoffer ek
Microchip has zigbee stack for PIC18 and PIC24, but you would probably need 64K to 128K flash.
Reply by Kristoffer Ek April 9, 20112011-04-09
On 2011-04-09 20:22:46 +0200, linnix said:

> You might want to take a look at the zigbee stack. Just change RF to > IR.
Thanx, thats a good suggestion, according to what I read about zigbee it looks pretty much as my stack is a beacon-less version of zigbee - wonder if there are any zigbee software stacks? - kristoffer ek
Reply by linnix April 9, 20112011-04-09
On Apr 9, 10:54=A0am, Kristoffer Ek <stof...@skulp.net> wrote:
> On 2011-04-09 18:59:59 +0200, linnix said: > > >> Actually some of the nodes acts as hubs when they can "see" more than =
one node.
> > > How far apart are the nodes? =A0IR only have narrow angle of view as > > well. > > most of them can se each other. My question is about how to design the > protocol :-) > > - kristoffer ek
You might want to take a look at the zigbee stack. Just change RF to IR.
Reply by Kristoffer Ek April 9, 20112011-04-09
On 2011-04-09 18:59:59 +0200, linnix said:

>> Actually some of the nodes acts as hubs when they can "see" more than one node. > > How far apart are the nodes? IR only have narrow angle of view as > well.
most of them can se each other. My question is about how to design the protocol :-) - kristoffer ek