@ahudson the following link is the hardware files. Please download this file -> DOWNLOAD <- and set your directory path as the folder labeled Step_2_Addons.
To change your directory you have to locate it using the preference tab.
File > Preferences > Sketchbook location: C:\Users\username\Documents\Arduino.
The above should be changed to Step_2_Addons.
For reference please use Lesson 1C.
If this does not work, please try deleting files located in: C:$Username\AppData\Local\Arduino15\staging
Then try checking if it works again.
Thanks for your questions!
CoDrone is equipped with an accelerometer, barometer, optical flow sensor, and more. It can be programmed to fly autonomously or with remote control. However, the front IR transmitter and receiver on the CoDrone can only send and receive messages and will not detect obstacles. For autonomous flight, you can program a flight pattern in our Snap! block program, Arduino, or Python. There is an optical flow sensor onboard that you can use to estimate position and displacement from the origin. As for the battery, flight time is limited to keep the drone small and lightweight. If you want to upgrade, we currently do not offer support for adding extra sensors but here are some links that may be helpful on the technical specifications:
This lesson briefly goes over all of the components and assembling CoDrone Pro
For technical specifications on the SmartInventor Board and Bluetooth communication, check this documentation site
Here is a function guide with code examples for requesting sensor data
If the above links did not answer any your questions you may refer to ByRobot's documentation
Let me know if you have any more questions!
Hi @rhavlick ,
Take a look at this diagram and make sure you are using a digitalRead() from the bottom IR sensors. I've included a link to the lesson here so you can take a look. If you still want to use the ones on the side you will need to write some different code because those are analog pins, which means they return a value from 0-1023. The code would look similar to this but replacing the motor commands with CoDrone commands. Hope this helps!
Sorry for the delay! Just checking up on you to see if you are still experiencing the same problem. Did you install the driver? Sometimes with Mac OS you need to install it twice. If you switched the USB cable with a different one it may also not work. Let me know if you continue to experience issues.
It looks like your SmartInventor board is having a problem and you will need to send it back for a repair. I will have someone email you so that it can be arranged
When you get your new board, make sure you also update your CoDrone library. It seems like you have an old version. In Arduino, go to Sketch>Include Library>Manage Libraries...
Search for CoDrone and make sure to click "Update" to the most recent version.
Hi @mntrunner ,
Could you attach a screenshot or a video of the issue?
In the meantime, you can try the following:
Install the Chrome app instead of the native app
If you are on Mac, you may need to install the Legacy version of the driver twice.
Double check that the BLE light is flashing red and your CoDrone back light is flashing green before you attempt to pair
Let me know if any of these solve the issue.