After you installed the Arduino IDE, download and install Ardublock.
Check your BLE-Link version: Kickstarter edition works as-is; DFRobot V1.1 requires a modification (see FAQ). NB A USB dongle is required for programming.
Option 1: automatic configuration
Option 2: manual configuration
Launch Iron 1.0 for Mac or XCTU for PC and set the XBee shield to factory defaults, except:
Option 3: semi-manual configuration
Launch a terminal window, type +++ and issue the following commands:
What is very nice about Bluetooth 2 Over-The-Air programming is that you don’t need a USB dongle. However, there are a few drawbacks:
This is your first LED Blink Arduino sketch.
Turn an RGB LED on for one second, then off for one second, repeatedly.
You can adjust the LED brightness between 0 and 255.
This simple echo Arduino sketch displays back what you type on Serial Monitor:
This Arduino sketch monitors the battery voltage, USB voltage and charge status continuously:
This Arduino sketch automatically configures any of XBee, Bluetooth 2 or WiFi shields:
Our preferred configurations are:
Set XB24-API XBee to factory defaults, except:
This Arduino sketch controls 7 colors of the built-in RGB LED at full power from a smartphone. Android sources can be found on github.
Same as above, but this Arduino sketch controls 7 full power colors of 40 NeoPixels daisy chained in 2 concentric rings:
Be sure to use a powerful power supply (for example Li-ion battery). 40 white NeoPixels will draw up to 2.4A (20mA per segment = 60mA per white pixel).
This Arduino sketch repeatedly read the proximity sensor value from analog pin A4 and switch the LED red when distance is under 50 cm.
This Arduino sketch repeatedly read the 3-axis accelerations in g. Look for triggered actions: inactivity, activity, single tap, double tap and free fall.
What you need:
This Arduino sketch uses left/arrow keys to control a miniature brushbot made of toothbrush heads and vibrating pager motors.
Vibrating motor specifications:
When operating simultaneously, some vibrating motors may exceed the built-in regulator current (200mA). If this happens, simply reduce the PWM ratio in the following instructions: analogWrite(LEFT, 255); analogWrite(RIGHT, 255); Another option would be to make a hardware hack and drive the breakout board mosfets directly from the built-in battery.
Same as above, but this Arduino sketch uses RemoteXY and Bluetooth 2. RemoteXY for Bluetooth 2/Android is a Graphical User Interface (GUI) generator to build your own mobile interface. The idea behind it is that this is the Arduino program which tells the GUI how to display and behave.
What you need:
RemoteXY for Bluetooth 2/Android is a Graphical User Interface (GUI) generator to build your own mobile interface. The idea behind it is that this is the Arduino program which tells the GUI how to display and behave. It features an innovative G-sensor widget which senses your smartphone’s motion. This Arduino sketch is a dual-channel proportional control for robotic motors, triggered by the internal smartphone’s G-sensor. Given the low current of the micro motors below, you can directly connect them the AirBoard pins 10, 11 and GND.
What you need:
To control an airship in 3D, you normally would want 3 motors for XYZ. But this adds weight and using gravity as Z-force is a great way to teach physics and buoyancy. You need to make a perfect balance, so that the airship naturally lifts up as motors increase speed and slowly returns to earth otherwise.
Combine the flexibility of the AirBoard broad range of wireless shields and the diversity of littleBits to make your own devices, robots, etc… littleBits is a library of electronic modules. The sketchBit is a single-input/single-output bit adapter that allows you to control your littleBits modules from the AirBoard. It also features a micro switch to select digital vs analog output for advanced functionalities.
This Arduino sketch directly copies the input bit to the output bit in a transparent mode.
What you need:
Combine the flexibility of the AirBoard broad range of wireless shields, the ease of RemoteXY drag-n’drop programming and the diversity of littleBits to make your own devices, robots, etc… littleBits is a library of electronic modules. The sketchBit is a single-input/single-output bit adapter that allows you to control your littleBits modules from the AirBoard. It also features a micro switch to select digital vs analog output for advanced functionalities. RemoteXY for Bluetooth 2/Android is a Graphical User Interface (GUI) generator to build your own mobile interface. The idea behind it is that this is the Arduino program which tells the GUI how to display and behave.
This Arduino sketch sends the input bit to a bargraph on your smartphone and a slider on your smartphone drives the output bit.
What you need:
This Arduino sketch is a GSM data logger based on the SODAQ GPRSbee SIM800H shield.
It repeatedly reads light sensor data and sends an SMS with the measured value every minute.
The GPRSbee can be powered by The AirBoard internal battery or by an external battery.
WARNING! DO NOT CONNECT AN EXTERNAL BATTERY TO THE GPRSBEE IF SJ2 IS SHORTENED.
On the AirBoard Kickstarter Edition, J2 and J3 are 11-pin connectors which incorporate B+/B- pads to allow direct power of GPRSbee. The new J2/J3 connectors are now 10-pins (also 2mm thinner) to avoid possible confusion when inserting wireless shields. GPRSbee can still be powered by B+ with your own connection.
This Arduino sketch is a WiFi data logger based on the WiFly RN-XV (RN171) WiFi shield:
It repeatedly reads light sensor data every minute and pushes a motification to PushingBox which sends an email with the measured value.
On the production units, J2 and J3 connectors are 2mm thinner than the Kickstarter Edition’s. This has a number of advantages, for example compacity and the ability of the board to hold its own balance when standing on the J1 connector (this was a bit problematic with SIGFOX modules for instance). The drawback is that the WiFly shield now does not fully insert into the AirBoard’s female connectors. This is not ideal, however this does work for prototyping and also other popular WiFi shields (e.g. the cheaper ESP8266) will fit nicely.
PushingBox is a service which can send e-mails triggered by a device.
With the AirBoard and XBee shield, send your data periodically every minute for 6 full months on its tiny 155mAh battery. Yes, we can! With this ultra low-power logger Arduino sketch, send light sensor values every minute, using power down feature in between and watchdog as the real-time clock (RTC) timer.
Power budget in µA
Design hardware wakeup for longest autonomy in power-down mode
This SIGFOX logger Arduino sketch is based on the Telecom Design TD1207/1208 module operating in the 868MHz European frequency band.
The module has been updated to the latest bidirectional firmware (SOFT1451):
To get started with this Arduino sketch:
Several SMA antennae are compatible with this shield:
This LoRa logger Arduino sketch sends a message to a LoRa network every 10 seconds via the Multitech MultiConnect® mDot™ LoRaWAN™ module, distributed in Europe by Dataprint.
Here are the steps to use Blynk’s GUI IDE with the AirBoard.