CoDrone Pro No Bluetooth



  • This is my situation. The previous class departs our lab. We have 4 minutes for class transition. The reading of the daily announcements takes a maximum of 5 minutes. What this means is that that if I avoid my hall supervision, I have roughly 9 minutes to get the drone connected to the computer and ready to program. My problem is that I have never been able to get it connected in less than 30 minutes. If I cannot get this connected in under 9 minutes, it is of no use to me. I am running Windows 10 as an OS. Here are the steps I have tried.
    I installed Python 3.7
    ![alt text](0_1549400168422_error1.png
    I opened the command prompt as an administrator and used the
    pip install –upgrade pip
    command.
    0_1549400244570_error2.png
    I typed the next command of
    python –m pip install jupyter
    0_1549400304965_error3.png
    I start the jupyter notebook.
    jupyter notebook
    0_1549400374883_d1b64a5b-3d00-4304-abc1-65d1ab9db966-image.png
    I select the new Python 3 menu.
    0_1549400477761_error5.png
    I downloaded and installed the driver.
    0_1549400535667_error6.png
    I extracted the zipped files.
    0_1549400586120_0cd7070e-e7dd-4edc-bcbf-3da56fb74fbc-image.png
    I ran the executable file.
    0_1549400629874_739f129d-b0e2-4e3a-95c1-9c882106b9a9-image.png
    Using Jupyter, I installed CoDrone.
    0_1549400671038_6ba91a2a-1d3b-491f-ad6b-99670c99142b-image.png
    The UART cable is disconnected, the USB cable is connected to my computer and the BLE LED is blinking red. I connected the CoDrone battery and ran this code.
    0_1549400709528_892422f6-7bfd-41a5-a10a-6cacf6fd6890-image.png
    I have previously had it connected to this computer, but I do not know why it connected. I repeated this same process 4 times and on the 4th time it connected. I shut down the computer, did a restart, and it would not connect again. On the second attempt at connection, I started at running Jupyter Notebook and trying to connect. It would not connect. I ran through the entire installation process and it would not connect. Can anyone find an issue with my installation sequence?


  • administrators

    Hi @rcase35 ,
    Since you are using Windows there is a way to check which COM port the device is connected to. Navigate to your Control Panel >Devices and Printers> Device Manager. From the menu, select the "Ports" drop-down menu and look for the correct port. It will never be on COM1 so it should the other available port. Once you have this information you can open the port manually in the code. For example, if your BLE board shows up on COM3:

    drone.pair(drone.Nearest, 'COM3')

    It seems like your connection worked before. Did you ever change the USB cable or try plugging it in a different USB port?



  • @robolink_leila
    I had tried all three USB ports on the front of the computer. I moved it to the back of the computer to the USB ports that are soldered to the motherboard and it worked. I will test again later today and keep my fingers crossed.


  • administrators

    @rcase35 It may the case that you need to continue to connect to that port if you are on a desktop computer. Keep me updated!


Log in to reply
 

Looks like your connection to Robolink community was lost, please wait while we try to reconnect.