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 ekMicrochip has zigbee stack for PIC18 and PIC24, but you would probably need 64K to 128K flash.
IR network for PIC-processors
Started by ●April 9, 2011
Reply by ●April 9, 20112011-04-09
Reply by ●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 ●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 ●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 ●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 ●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 ●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.