Customize your CoDrone’s programming by uploading your own code to the remote



 Getting into Upload Mode

  1. Make sure your SmartInventor Board is connected by the 4 pin connector to the Bluetooth board.  The Bluetooth board should then connect through the Micro USB Cable to your computer:


2.     Next, make sure your dipswitch 1 is ‘on’, and switched 2 and 3 are ‘off’ on the Smart Inventor board. Hit the reset button (the black button right beneath the switches). A single blue LED light should begin blinking on your Smart Inventor board after a few seconds:


3.   Make sure the single blue light on the SmartInventor board is blinking.

IMG_1346 2

You’re now in uploading mode!  Remember, any time you want to upload code to your CoDrone you have to put the controller into uploading mode.

Uploading your Code

  1. Now that we’re in upload mode, we can finally upload our code.  Lets open up Arduino:


 2. The first thing we need to do before uploading our code is to ensure that we have selected the proper board and port.  At the bottom right of your Arduino window, the current board and selected COM port is shown (Above image boxed in red).  CoDrone boards are Rokit SmartInventor-mega32_v2

To select the Rokit SmartInventor-mega32_v2 Board, navigate to and select:

Tools > Board > Rokit SmartInventor-mega32_v2   (Might have to scroll down a bit)


Now, make sure you’re connected to the right PORT.  The COM Port is related to which USB slot on your computer the controller is connected to:

Tools > Port > Your COM Port  (usually it will be the only port that shows up)


Now the bottom right of the window should say something like:
Rokit SmartInventor-mega32_v2 on COM 4  (but the COM might be different)

After your port and board are set properly, then click the “Upload Button” to begin the upload


If everything went well, the bottom console should say “Done Uploading”


Then you’re finished!  Follow our coding tutorials to learn how to code.  Remember to exit upload mode after you successfully upload your program to run them (put dip switch 1 back down).

Good luck and happy coding!