FreeRTOS based Wireless Sensor Network communication protocols

dioguerra wrote on Monday, September 22, 2014:


I am currently making a WSN project that runs FreeRTOS and I am looking for a Communication protocol that can be used alongside the FreeRTOS uOS.
I found some references to some, but they are paid extentions to the FreeRTOS kernel. Being this ones:

Can someone help me with some suggestions or pointers of what can i use?
Comments and replies are welcome!!


     Diogo Guerra

rtel wrote on Tuesday, September 23, 2014:

Sorry - I don’t understand. What are the requirements of your communication protocol, that is, what are you connecting to? Many are limited in choice by, for example, needing to work over Bluetooth LE or some such medium.


davedoors wrote on Tuesday, September 23, 2014:

And what chips are you using? The answer would be completely different if you were using an 8051 compared to say a dual core Cortex-A9. FreeRTOS will run on both. Also how much data and at what frequency?

dioguerra wrote on Tuesday, September 23, 2014:

Hello again,

My network is a cluster of motes that may be applied in 2 different scenarios.

  • Close range cluster (with a diameter of <500m)
  • Wide range cluster (with a diameter of 1 to 5km)

For this I have at my disposition 2 radios being this ones:

  • Sub 1GHz - CC1000 (433MHz) - RF
  • Over 1GHz - CC2420 (2.4GHz) - 802.15.4 Low-rate WPAN

The mote microcontroller is a MSP430F5x chip and the transmission rate is very low. Packets are sent when there is an event, so the network must be real-time capable.

I need the entire stack library, but mainly the network and transmission layer ones, because the lower ones will need modification (most probably).
The cluster will then use a Gateway Node to send the data over ex. Ethernet to a DataBase.

davedoors wrote on Wednesday, September 24, 2014:

You won’t fit much software on an MSP430 and although TCP is not really intended for low data rates and is definitely not real-time capable you might look at something like uIP.

I think TI provide their own software to use these parts in mesh networks. I would look at that, with a bridge to the internet so you can meet your 5km target.