|
Post by Phil on Jun 16, 2017 23:10:03 GMT -7
So, when I try to upload the GroundStation_UNO_V5 to the Arduino I get the following error message:
Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\Ground Station\Desktop\Tracker\Antenna_Tracker\GroundStation_UNO_V5\GroundStation_UNO_V5.ino:10:26: fatal error: Adafruit_GPS.h: No such file or directory
#include <Adafruit_GPS.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
|
|
|
Post by Phil on Jun 16, 2017 23:29:03 GMT -7
Okay...after a little more research on the proboards I found that I just needed to download all the proper libraries for the Arduino that were called for in the GroundStation_UNO_V5 file. After I uploaded GroundStation_UNO_V5 my calibration window is coming up with the proper numbers.
|
|
|
Post by kendra on Jun 18, 2017 9:54:09 GMT -7
I downloaded the Adafruit_GPS file from Github. Where am I supposed to put this to make the calibration work?
Kendra
|
|
|
Post by kendra on Jun 18, 2017 10:29:28 GMT -7
So, I think I figured out how to add the library in the Arduino IDE but now it is looking for <Adafruit.Sensor.h> and I do not see it in the Adafruit_GPS file.
Where can I find this?
Kendra
|
|
|
Post by kendra on Jun 18, 2017 10:52:26 GMT -7
I found the Adafruit.Sensor.h library on the Adafruit github, but am not figuring out how to add it to the GroundStation_UNO_V5.
I feel like this should be an easy thing to do, but it is taking me hours to install it.
Kendra
|
|
|
Post by kendra on Jun 18, 2017 12:43:38 GMT -7
I still haven't found how to install the libraries we need to make the IMU calibration file work.
I would really like to get this going before the bench test tomorrow.
Kendra
|
|
|
Post by David MSGC on Jun 18, 2017 13:24:39 GMT -7
|
|
|
Post by kendra on Jun 18, 2017 13:43:59 GMT -7
Ok, I put the Adafruit_GPS, Adafruit_Sensor, and Adafruit_O055 libraries to the >This PC > Documents > Arduino > libraries. It seemed to compile, but when I went to upload it, I get this error. Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Uno" Sketch uses 17578 bytes (54%) of program storage space. Maximum is 32256 bytes. Global variables use 1161 bytes (56%) of dynamic memory, leaving 887 bytes for local variables. Maximum is 2048 bytes. avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified. Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. Now what? Kendra
|
|
|
Post by David MSGC on Jun 18, 2017 13:46:07 GMT -7
Make sure you have the right com port selected in the Arduino IDE, com 1 is usually a serial port and not the Arduino. It will be the same com port number for the Arduino as it is in the antenna tracker as long as you are on the same computer.
|
|
|
Post by kendra on Jun 18, 2017 13:49:12 GMT -7
Where do you select the com in Arduino IDE?
|
|
|
Post by kendra on Jun 18, 2017 13:51:29 GMT -7
I found it under tools. I am using COM5
|
|
|
Post by kendra on Jun 18, 2017 13:52:08 GMT -7
Ok, it says it is done uploading.
|
|
|
Post by kendra on Jun 18, 2017 13:56:11 GMT -7
The calibration window is coming up.
I will take it out to see if the tracking works with the Iridium payload.
Kendra
|
|
|
Post by David MSGC on Jun 18, 2017 14:15:37 GMT -7
Great to hear you are making progress
Just so that others know: when you get the message in Arduino "Done uploading," you have successfully updated the code on the Arduino and it is safe to unplug it from the computer/USB
|
|
|
Post by David MSGC on Jun 18, 2017 14:18:35 GMT -7
The calibration window is coming up. I will take it out to see if the tracking works with the Iridium payload. Kendra Just a reminder: have the Iridium payload at least 50 feet in front of the antenna to prevent the pan servo from turning more than 180 degrees. The variation in the GPS location can make the antenna think the payload is behind it and try to point at it.
|
|