It's been a long time since I last updated the chibiArduino software. For the most part, the stack has been amazingly stable for the last few years but there were always small things that could be done to improve the stack. These were small features that should have been implemented but kept on getting put off. I'm now re-discovering myself after having many adventures, some time off, and going through a few personal roller coasters. It's been a long road, but I'm happy to be back and excited about wireless sensor networks again. There's really a lot of interesting stuff going on and in some strange way, things took a turn up my alley. I'm completely shocked that people are interested in low power, wide area networks (LPWANs) now and also on outdoor, medium/long range wireless sensor networks. In any case, there will be more discussion about that, about some exciting new devices coming out, some hard realizations I've had about myself, and perhaps some ruminations on wireless sensor networks too. So let's get to the release.

One of the main things I did for this release was to enable the various PHY modes. Previously, there were only two data rates supported at 900 MHz (250 kbps and 40 kbps) and one data rate supported at 2.4 GHz (250 kbps). I've added support for a whole slew of data rates at 2.4 GHz: 2 Mbps, 1 Mbps, 500 kbps, and 250 kbps. The range drops off as the speed increases but in some cases, there might not be a need for range as much as throughput so that option is there. 

At 900 MHz, I've enabled 1 Mbps, 500 kbps, and both 40 kbps and 20 kbps with BPSK. Previously, BPSK only supported 40 kbps. The higher rates are interesting but what's really exciting is the BPSK-20 PHY mode. At 900 MHz, two types of modulation are supported: OQPSK (offset quadrature phase keying) and BPSK (binary phase shift keying). You don't really need to know the details, but  BPSK is much simpler than OQPSK. It encodes less data per symbol than OQPSK hence the lower data rate, but in return, it improves the chances of decoding faint signals. This means a great improvement in range. I've already range tested BPSK-40 and it was pretty crazy. Me and my friends couldn't really walk far enough to escape the signal. BPSK-20 should get even better range than that since the data rate is lower. 

I've also added support for a bunch of new boards that will be coming out in the next few weeks. These boards will have variations on the AVR MCU and come in various form factors targeted at specific applications. And finally, I fixed one pretty nasty bug that was found when I was helping a freakduino user figure out a problem they had when they re-initialized the stack after waking up from deep sleep.

In general, these will be the first of many updates and releases and I'll be getting much more active on the website. Thanks for taking the time to read through all of this rambling and I hope you like the software release. 

Here is the link to the latest release of chibiArduino.

Happy New Year and it's great to be back :)



0 #1 Pascal 2016-01-05 11:46
> I've also added support for a bunch of new boards that will be coming out in the next few weeks.

Tell us more about these new boards ! :)
0 #2 David Lamontagne 2016-01-05 13:41
Awesome! Can't wait to try this!
0 #3 Ken Wood 2016-01-05 15:34
Happy new year and thanks!
0 #4 cjwang 2016-01-08 03:06
Ha ha ha. New board info will be forthcoming. Would hate to ruin the surprise :)

Actually I'm mainly just struggling to finish all the documentation.

0 #5 !!Dean 2016-01-09 00:27
Would you please elaborate on your range testing? What sort of antenna was used? And what was the ballpark range (city blocks, kilometers)? I understand range varies significantly with equipment and conditions.
0 #6 cjwang 2016-01-09 01:57
Yes, that's true. Range is dependent on topology, antenna, power, and height. I was using a 9 dBi Yagi directional antenna, BPSK-40 modulation (40 kbps, BPSK), and the Freakduino 900M Long Range boards with the 500 mW power amplifier on the front end. We tested it on the beach out to approximately 4 km with no transmission problem and still quite a bit of RSSI. I need to put together a longer range test now.

Add comment

Security code