The procedures of installing and updating are slightly different, but once a firmware is installed, you can always use the browser-based update function described further below. If you want to install the Robotan firmware on a fresh Wemos D1 device which does not have a firmware installed, you have follow the following steps:
-
Download and install the Arduino IDE as well as the ESP8266 core as described here.
-
In the Arduino IDE, set the following parameters in the "Tools" menu:
-
Connect the Wemos D1 with your computer via USB but WITHOUT THE ROBOTAN BOARD ATTACHED and flash the RobotanSetup.ino.
Before flashing, you may set individual credentials for your personal WiFi network (variables WLAN_local_SSID and WLAN_local_password) as well as for the username and password for the webinterface (variables http_username and http_password). These will then be stored in the module and used instead of the default ones mentioned below. -
Now a minimal browser-based firmware update program is installed on the Wemos D1 and you can proceed with the updating procedures explained below.
-
Download the most recent Robotan.ino.bin and save it on your computer.
-
Connect to the robot's WiFi network. The default network name is "Robotan" and the WiFi password is "Robotan88" (without quotation marks). If you have configured Robotan to use your existing WiFi network, you have to be connected to that WiFi network instead.
-
Open the following URL if you use the Robotan default WiFi, otherwise replace the IP number with the IP the Robotan has in your local WiFi network:
http://192.168.4.1:8080/update
If you are asked for a login, the defautl username is "Robotan" and the password is "Robotan88". If you have configured your own credentials, of course you have to use them instead. -
Under "Firmware-Update", please browse to the Robotan.ino.bin you have downloaded before and click "Update". Do not use the "Update Filesystem" upload option, if present.
-
If the upload was successful, Robotan will reboot and after a short while you should be able to access the Robotan web interface at
http://192.168.4.1
. If you have cofigured Robotan to use your own WiFi network, these settings will still be there, so you can access the web interface via the IP number you have used before.
If you are asked for a login, the username is "Robotan" and the password is "Robotan88", unless you have configured your own individual username/password.
Please note: Each time you insert the Robotan board into your robot, you will be asked for a PIN password on your robot.
This is the PIN you have assigned your robot during setup and is by default 0000.
Unless the robot is authenticated, you won't be able to control it!
In case you do not enter the PIN quickly enough, you might have to turn the robot off and on again, as it checks for authentication soon after powering on.