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

wireless sensors

Building a wireless thermostat using Arduino/2

In first part of this tutorial we started developing a wireless thermostat using Arduino Uno and one AirQ 305 control board. In that tutorial we designed a really simple thermostat that doesn’t interact with the user: the desired temperature is fully hardcoded inside the code and user can’t see the ambient temperature. In the second part of this tutorial we’ll push our thermostat to a more interesting level, adding a LCD display and two switches that allow to increase/decrease the wanted temperature. Moreover, we’ll remove the tmp36 temperature sensor attached to Arduino and we’ll use a more practical AirQ 100 wireless temperature sensor.

Bill of material

For this part of the tutorial we need the following material:

  • One Arduino Uno.
  • One AirQ ShielD for Arduino Uno.
  • An AirQ 305 wireless relay board.
  • An AirQ 100 low-cost wireless temperature sensor: different from the fist part of tutorial, we’ll use a wireless temperature sensor since it’s more practical to have the sensor separated from the Arduino. With a wireless sensor we are totally free to place it wherever we need. However, if you need to keep the budget low, you can simply rearrange this tutorial to use the tmp36 sensor.
  • A character 16×2 LCD: we’ll use a cheap 16×2 LCD by Powertip (model PC1602F, which uses a compatible display driver for the Hitachi HD44780 display chip) but you are totally free to use every type of display.
  • Two SPST switches.

Read more

Posted on by admin in Arduino, Tutorials 2 Comments

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 tens of pages on our technical wiki. You’re only interested in write down code.  That’s the reason why we wrote this survival guide. One. Two. Three. Let’s go :-)

There are essentially two main things you have to know: pairing and ARS.

Pairing

Each AirQ Networks end device (eg. AirQ 310 control board or AirQ 101 wireless sensor) can be associated to only one transceiver. And an AirQ ShielD is a transceiver. This procedure is called pairing. To pair a device to an AirQ ShielD you need to follow this procedure:

  1. Turn off the device you need to pair to the shield (eg. AirQ 310 control board).
  2. Turn on Arduino with the shield correctly mounted (see next).
  3. Press the PAIR button on AirQ ShielD leaving it pressed for 2 seconds.
    1. You’ll notice that the STATUS led starts blinking repeatedly. The shield will remain in pairing mode for 30 seconds.
  4. Turn on the device you want to pair.
  5. After two or three seconds the STATUS led of the device will blink more quickly to signal that it has been paired. The STATUS led stops blinking.
  6. Pairing is completed. To stop pairing mode immediately, press PAIR button for 1 second.

We did a video that shows this procedure.

 

However, for all of you that are buying in this period an AirQ ShielD with another AirQ Networks device, we are providing them already paired. But it’s important to know that pairing could be needed if you buy other devices in the future.

Remember that if you bought only AirQ ShielDs you don’t need pairing.

Read more

Posted on by admin in Arduino, Hardware 1 Comment

How to use AirQ ShielD to build custom wireless solutions

A lot of you asked us if AirQ ShielD could be used to build customs hardware solutions without using other AirQ Networks devices. And the answer is definitively yes. AirQ ShielD is nothing more than a transceiver and it is designed to accept commands that send bytes to another AirQ ShielD. To develop a wireless solution using AirQ ShielD you need:

  • At least two AirQ ShielDs (but you can use how many you need).
  • Two Arduino Uno boards.
  • The sNET library for Arduino

AirQ ShielD allows sending data messages to another AirQ ShielD. The maximum number of bytes that can be sent is 10. To a send a message to another shield the sNET::sendToDevice() method can be used. Let’s do an example. Suppose that you received two AirQ ShielDs: one with sNET address equal to 191.0.0.11 and the other one with the address 191.0.0.12. And suppose that you want to send the “HELLO” string from 191.0.0.11 board to 191.0.0.12. The following Arduino code is all you need.

The code is self-explanatory: the first 4 parameters are the address of the remote shield that will receive the message; the fifth parameter (0x1) says sNET library to send a data message; the remaining part is the data we want to send and its size. If you want to send a message to all AirQ ShielD on the same sNET network, you can use the sNET::sendBroadcast() method:

 

Posted on by admin in Arduino Leave a comment