Hi @dgDrone ,
Unfortunately, you will need to upload the code again and do the pairing process with CoDrone.pair(Nearest). Then, reupload the same code with CoDrone.pair(). After you've done this, it helps to label both the CoDrone and remote with a sticker or number. Hope this helps!
@eric For Blockly, you do not need to connect the BLE board so you can disconnect it from the computer. Try again without anything connected and it should work just fine If you are still having issues, try and update your Chrome browser.
@james-whitee There are quite a few things you need to set up on the Arduino software to be able to upload to our custom board. Check this lesson to make sure you have the board files and the right USB driver for your operating system. If none of these solutions work for you, please send a screenshot of the error. Thanks!
@ixmclean said in App can't connect Codrone:
you don't pair on BLE with the drone. your phone needs to be on the drone's broadcasting wireless network. Use the app, and the app will take care of the BL handshaking/firmware transfer.
Still not working. I tried to follow the video release by Byrobot, but still doen't work. Take a look at this. I've turned on the Wi-Fi and the Bluetooth, I can't find drone through Wi-Fi.
@code-y-cant-code Sorry to hear that your board is causing some issues. We are actually phasing out Snap as our block coding platform because of connectivity issues. However, just to be sure the issue is not with the board, I recommend testing the Bluetooth board with our other platforms (like Arduino or Python). If the BLE board works well then the issue may be with Snap. As an alternative, please try using Blockly, our newest platform which does not require the Bluetooth board. Please let me know if this works for you and if you can't get your Bluetooth working at all then we will set up a replacement
Pairing CoDrones can be a confusing process, so I hope these steps help you successfully pair every time:
Install all the necessary software and hardware files for your operating system (tutorials are here)
Open Arduino and upload the default flight controller code which can be found by navigating to File > Examples > CoDrone > Controller > FlightController.
Plug in a battery into one drone and wait until they pair. You do not need to fly it.
Go back into the code and change CoDrone.pair(Nearest); to CoDrone.pair();
Reupload this new code and pair to the same drone again. From now on, that controller is paired with that drone as long as students always use CoDrone.pair(); without the Nearest parameter. It's a good idea to label the pair with a colored sticker so that you know which ones are paired.
Repeat for every drone.
Hope this helps!
After the Arduino IDE is installed, you need to install the CoDrone library. Open the IDE then go:
Sketch-> Include Library-> Manage Libraries
then a 2nd window will pop up and in the search bar type CoDrone. and you should see something similar to my pic:
install that and you shoudl be able to start coding... also make sure your IDE is setup to talk to the BLE controller and have the CoDrone hardware type selected:
Tools-> Port: mine is either /dev/ttyUSB0 (or ttyUSB1)
File-> Preferences: in the "additional Board Managers" copy/paste: https://raw.githubusercontent.com/RobolinkInc/Robolink/master/package_rokit_index.json
Tools->Boards: should now list RoKit-SmartINventro-mega32_v1 and v2. Select the V2.
Once both steps are done you should see the bottom right hand corner of your screen looking like this pic:
Hope that helps
@cs From the images, I can see that the fourth connector is connected backward. Could you try again after rewiring? It may solve your issue. If it seems like all of the controls are inverted, you can refer to step 6 of the build guide to review the wiring.
Looks like your connection to Robolink community was lost, please wait while we try to reconnect.