Naresh krish

Push OTA Updates to your RAK Wireless Ameba Devices

This project aims to build a software app to deploy OTA updates to your RAK wireless AMEBA-IoT boards (Dash button, RAK473, Creator pro).

AdvancedFull instructions provided3 hours611
Push OTA Updates to your RAK Wireless Ameba Devices

Things used in this project

Hardware components

RakWireless RAK Wireless DASH Button
RakWireless RAK Wireless RAK 473
Jumper wires (generic)
Jumper wires (generic)
Breadboard (generic)
Breadboard (generic)

Software apps and online services

Arduino IDE
Arduino IDE
Amazon Web Services AWS S3

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)


Read more


RAK 473 schematics


OTA CLoud update

#include "WiFi.h"
#include "OTA_r.h"

char ssid[] = "ssid";     // your network SSID (name)
char pass[] = "password";  // your network password (use for WPA, or use as key for WEP)
char REMOTE_ADDR[]="";
int  REMOTE_PORT = 80;
int status = WL_IDLE_STATUS;

void setup() {
  // put your setup code here, to run once:
  if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("WiFi shield not present");
    // don't continue:
    while (true);
  String fv = WiFi.firmwareVersion();
  if (fv != "1.1.0") {
    Serial.println("Please upgrade the firmware");
  // attempt to connect to Wifi network:
  while (status != WL_CONNECTED) {
    status = WiFi.begin(ssid,pass);
    // wait 10 seconds for connection:
  int checksum = OTA.gatherOTAinfo(REMOTE_ADDR,"/check.txt", REMOTE_PORT);
  if( checksum != -1) Serial.println("info_ok");
  if(OTA.beginRemote(REMOTE_ADDR,"/ota.bin",REMOTE_PORT, checksum) != -1) Serial.println("OK");
  else Serial.println("FAIL");

void loop() {
  // put your main code here, to run repeatedly:


Dashuploader app

Ameba SDK


Naresh krish

Naresh krish

22 projects • 88 followers
Maker, Hacker, Guitarist, Full time Android and iOS Dev.


Add projectSign up / Login