OTHER DEVICES

TI Launchpad CC3200

The TI CC3200 was the natural evolution of the CC3000/CC3100 chip. Instead on providing a single chip for managing the WiFi communications, it also integrates a powerful programmable MCU, in the same way the ESP8266 is doing. So you can program your code and have WiFi capabilities right out of the box. The easiest way to start with this chip is by using the TI CC3200 Launchpad, which integrates the chip, as well as some sensors, leds, and the USB to serial so you can program the board right from the USB.
To program this board it is possible to use an Arduino-based IDE that is called Energia. So, download and install it before continue. Checkout also the required instructions for programming the CC3200, as you need to make a short between two pins.
Once the environment is available and you can program the board examples, then you should install the Thinger Arduino Client Libraries also in the Energia IDE. Check the Manual Import for reference.
The following example will allow connecting your device to the cloud platform in a few lines. Just replace the sketch username, deviceId, and deviceCredential with your own credentials, and the wifi_ssid, wifi_password with the WiFi credentials.
1
#include <WiFi.h>
2
#include <ThingerWifi.h>
3
4
ThingerWifi thing("username", "deviceId", "deviceCredential");
5
6
void setup() {
7
thing.add_wifi("wifi_ssid", "wifi_password");
8
}
9
10
void loop() {
11
thing.handle();
12
}
Copied!
Want to add some device resources (led, sensors, etc.) to interact with them from the Internet?, check the Add Resources section.

SeeedStudio LinkIT ONE

The LinkIt ONE development board is an open source, high performance, Arduino footprint board for prototyping Internet of Things (IoT) devices. The list of capabilities is truly staggering. The board is based around a powerful ARM7 EJ-S™ processor, but has onboard GSM, GPRS, Wi-Fi, Bluetooth BR/EDR/BLE, GPS, Audio codec, and SD card connector (and more!).
The board is programmed through the Arduino IDE with a plugin from MediaTek. Check the MediaTek LinkIt™ ONE SDK for Arduino
Pin-out similar to Arduino boards, including Digital I/O, Analog I/O, PWM, I2C, SPI, UART and power supply, compatible with Grove 4-pin interface. Although the board is made by Seeed, the chipset is made by MediaTek, a large Chinese company who are already offering significant SDK / support resources.

WIFI Connection

The following example will allow connecting your device to the cloud platform in a few lines. Just replace the sketch username, deviceId, and deviceCredential with your own credentials, and the wifi_ssid, wifi_password with the WiFi credentials.
Untitled
1
#include <ThingerLinkItOneWifi.h>
2
3
ThingerLinkItOneWifi thing("user_id", "device_id", "device_credential");
4
5
void setup() {
6
thing.add_wifi("SSID", "SSID_Password");
7
8
pinMode(2, OUTPUT);
9
10
// pin control example (i.e. turning on/off a light, a relay, etc)
11
thing["led"] << digitalPin(2);
12
13
// resource output example (i.e. reading a sensor value, a variable, etc)
14
thing["millis"] >> outputValue(millis());
15
16
// more details at http://docs.thinger.io/arduino/
17
}
18
19
void loop() {
20
thing.handle();
21
}
Copied!

GPRS Connection

It is also possible to connect the board by using the GPRS connection, so it does not require a WiFi connection for the communication, improving the board mobility. Note that the current version of the LinkIt ONE does not support a SIM with PIN, so remove the PIN befor its use. In this case, it is only necessary to provide the apn, username, and password provided by your network operator. But you can skip this process if your SIM already integrates this information.
LinkItOneGRPS.ino
1
#include <ThingerLinkItOneGPRS.h>
2
3
#define USERNAME "your_user_name"
4
#define DEVICE_ID "your_device_id"
5
#define DEVICE_CREDENTIAL "your_device_credential"
6
7
ThingerLinkItOneGPRS thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
8
9
void setup() {
10
// SIM unlock using a PIN is not supported by LinkItOne. Remove PIN from SIM before use.
11
12
// Set your GPRS APN if it is not provided automatically by your SIM
13
//thing.set_apn("orangeworld", "orange", "orange");
14
15
pinMode(2, OUTPUT);
16
17
// pin control example (i.e. turning on/off a light, a relay, etc)
18
thing["led"] << digitalPin(2);
19
20
// resource output example (i.e. reading a sensor value, a variable, etc)
21
thing["millis"] >> outputValue(millis());
22
23
// more details at http://docs.thinger.io/arduino/
24
}
25
26
void loop() {
27
thing.handle();
28
}
Copied!
Last modified 2mo ago