New Integration: Arduino MKR 1010 WiFi

thinger.io
thinger.io

The developer and maker environment has just taken a great leap thanks to the presentation of the new Arduino MKR 1010 WiFi. More and more often, companies use these kinds of devices to create their firsts MVPs, as they are really easy to use and allows a fast deployment. That’s why we just updated our thinger.io library.

Now it is easier than ever to connect your Arduino MKR 1010 WiFi to the thinger.io server.

The Arduino MKR 1010 WiFi is the newest version of the Arduino MKR 1000 WiFi and it has an ESP32 module. This speeds up and simplifies the prototyping of WiFi-based IoT applications. It is possible to connect it to other expansion shields, and it has the same pinout as other MKR boards (1400-1000). MKR 1010 allows making digital and analog reads, as well as reads from sensors of all kind such as DHT11 or Dallas 18B20. It also controls GPIO status through DigitalWrite or AnalogWrite.The MKR WIFI 1010 includes 32-bit computational power, the usual rich set of I/O interfaces, and low power Wi-Fi with a Cryptochip for secure communication using SHA-256 encryption. It has a USB port to supply power (5V) to the board. It has a Li-Po charging circuit that allows it to run on battery power or an external 5-volt source, charging the Li-Po battery while running on external power.

To access the example code just follow these steps:

Arduino IDE > File > examples > thinger.io > Arduino > Arduino WiFi 1010.ino

And this is the example code:

#include

#define USERNAME “your_user_name”
#define DEVICE_ID “your_device_id”
#define DEVICE_CREDENTIAL “your_device_credential”

#define SSID “your_wifi_ssid”
#define SSID_PASSWORD “your_wifi_ssid_password”

ThingerWiFiNINA thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() {
// configure wifi network
thing.add_wifi(SSID, SSID_PASSWORD);

pinMode(LED_BUILTIN, OUTPUT);

// pin control example (i.e. turning on/off a light, a relay, etc)
thing[“led”] <> outputValue(millis());

// more details at http://docs.thinger.io/arduino/
}

void loop() {
thing.handle();
}


We would love to see your projects using Arduino MKR 1010 WIFi, so be sure to share them in the Community Discussion Forum!

Do you have any doubts? Contact us!

Discover how Thinger can help your business with our All-in-One platform. 

Start building your IoT products

With the All-in-One Best Leading IoT Platform