How to upload my mBlock program to the Ranger


#1

For windows PC

  1. Connect Ranger to PC with USB cable, open the mBlock software and choose Board as Auriga:
  2. Choose correct Serial port under Connect . If your PC is windows, you need check the serial port for Ranger under device manager, show as following picture.
  3. Edit a program on mBlock. Then right click on the program and select upload to arduino.
  4. Then you can see following page and click on Upload to Arduino.
  5. Then the program will start uploading, wait until it shows Upload Finish.

If your PC is Mac:
Please download the latest version mBlock for Mac, after you install the mBlock software, you need install the driver on Mac:
If your Mac os is below mac os sierra, here is the link to download the driver.
If it is Mac os sierra, please download and install this driver.
If it is Mac os high sierra, here is the link to download the driver.

Besides, when choose Serial port under Connect->Serial Port, please choose port similar to /dev/tty.wchusbserial1410.


I get fail when i'm trying to upload the code to makeblock
#2

I do all this and a small box says that it downloaded successfully. Put robot on ground and it just blinks stupidly at me. Tried to use ipad as remote and won’t connect. So I know a program is on the ardino. Factory reset and can use the ipad as remote again. What’s going on?


#3

Hi JerryAulik

What was the mBlock program that you have uploaded to the Ranger robot? Could you please take a picture for it?

Please note that the factory default program will be cleared if you upload your own program to the robot so that it can’t be remote controlled by the iPad.
When you want to remote control the robot again with iPad, you can reset default program for the Ranger robot.


#4