New wireless control board from AirQ Networks

We are really excited to announce that we are almost ready to release a new control board on the market. Its name is AirQ 305 and it will have really interesting features and, more important, a really competitive price. AirQ Read more

Survival guide for AirQ ShielD buyers

You just received your new AirQ ShielD. And you want to start developing your application right now. But before you can start coding there are a couple of things you may know. We know: you don't like to read Read more

sNET library for Arduino now on github

After a week of testing and tuning up, we are finally ready to push the Arduino sNET library on our github account at http://github.com/airqnetworks :-) The library repository is named snet-arduino, and it can be easily downloaded using git: $ git clone Read more

New AirQ ShielD for Arduino UNO

As we've announced some days ago, we are progressively releasing information about how to develop custom applications above our wireless devices. We already described the protocol we've developed to interact with our control boards and wireless sensors: its name is sNET Read more

arduino relay

New release of sNET library for Arduino

We worked really hard to resolve several issues affecting the sNET library for Arduino. But, first of all, we would like to say thank you to Rob Jann who gave us precious info to address them.

The new 0.2 version is now on our public github account (http://github.com/airqnetworks) and can be easily downloaded using git. We suggest downloading always versions that have reached a stable code point. Every time we are sure that the library is usable at all we release a new tag. The list of tags can be reached at https://github.com/airqnetworks/snet-arduino/tags.

This new release introduces a really important feature: library can now check if the status of relays is effectively changed when requested. Since sNET Protocol is a best effort protocol, it does nothing to ensure that a message is received by a device and version 0.1 of the library does nothing to address this. With this new release we introduced status check, and it can easily used passing an additional parameter to setRELAYx() method of an AIRQ310 or AIRQ300 object. Let’s see an example.

Although we have done the best to reduce the size of the whole library, status check requires additional code that increases the total size of library of at least 500 bytes. If your application doesn’t need this feature, you can comment the macro SNET_ENABLE_CONFIRM in the sNET.h header file:

However, to have a better experience using our control boards we suggest to leave that macro uncommented and use status check feature.

 

Posted on by admin in Arduino Leave a comment

sNET library for Arduino now on github

After a week of testing and tuning up, we are finally ready to push the Arduino sNET library on our github account at http://github.com/airqnetworks :-) The library repository is named snet-arduino, and it can be easily downloaded using git:

Those who aren’t confident with git version system can download the library zip file using this link https://github.com/airqnetworks/snet-arduino/archive/master.zip.

Library implementation is still partial. Only AirQ 300 and 310 control boards are supported at the moment. However, the underlying structure is almost complete, so we will spend less time to support all other AirQ Networks devices. There is a lack of documentation too. We’ll add documentation to our technical wiki soon. In the github repository there is a REAME file that explains the main concepts of the library. Library is really simple to use. Let’s suppose that we want to turn-on the RELAY1 of an AirQ 310 control board with a sNET address equal to 4.0.1.2. This can be simply achieved with the following Arduino code:

Let’s give some explanations. At line 10 we create a new sNET object. This object is responsible to collect all messages coming from the sensor networks and captured by the AirQ ShielD. Every time we create a new sNET object we must specify how many devices the shield will interact with (in this case we assume only one AirQ 310 board). Usually, an Arduino sketch uses only one sNET object.

Next on the line 19 we ask to sNET library to process all messages coming from sensor network using sNET::processMessages() method. This a cyclical task and programmer have to call this method every time they can in order to avoid that messages are lost (for more info, see attached doc in the library). sNET library will create a device object for us when a new message coming from the AirQ 310 is detected. A device object is an abstraction that allows us to interact with a wireless device without knowing underlying details of sNET protocol. Line 26 checks if the library has created the device object for us and if so we turn ON the RELAY1.

We’ll publish further details in the next days. Stay tuned 😉

Posted on by admin in Arduino 1 Comment

AirQ ShielD development status

We are currently working hard to release as soon as possible the Arduino library that will allow to interface our devices. We have written down already a lot of code and we are doing testing and tuning up.

The following video shows a really simple and funny application (but a little bit useless :-)). The sketch running on Arduino is a simple loop that cycles between the 5 relays of an AirQ 310 boards.

Ok. It’s useless, but great 😀

Posted on by admin in Arduino 2 Comments

New AirQ ShielD for Arduino UNO

airqshield-2As we’ve announced some days ago, we are progressively releasing information about how to develop custom applications above our wireless devices. We already described the protocol we’ve developed to interact with our control boards and wireless sensors: its name is sNET and it’s fully documented in our technical wiki (http://wiki.airqnetworks.com/index.php/SNET_Protocol). Moreover, we are developing new devices that will speed up the integration process.

The first product we are going to release is AirQ ShielD. As its name suggest, it’s a shield for the popular Arduino Uno platform. Thanks to this shield, it will be possible to develop custom hardware projects that interact with our devices. For example, it will be really simple to develop an automation solution using one of the our wireless control boards as well as other type of projects which use one of our wireless sensors.

However, AirQ ShielD will allow building even more general wireless applications too. Indeed, it can be used to simply exchange messages among different Arduino boards using several shields.

A fully Arduino compatible library will be release in the next days with an open source license. AirQ ShieldD has a really competitive price: €19,90+VAT. However, for a limited time, it will be possible to buy an AirQ 310 and an AirQ ShielD at the same price of the AirQ 310 control board!

Stay tuned 😉

Posted on by admin in Arduino, Hardware 1 Comment