Show Posts
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
DIY AstroEQ / Re: How to complie firmware
« on: November 27, 2016, 23:41:24 »
My compiling problem is solved!
What I failed to understand after trying repeatedly to compile this program was it must all be loaded into the Arduino program, by first loading the AstroEQ sketch, then adding all the .cpp and .h files into the same directory.
Perhaps this will be of some use to someone suffering the same issue.
I’ve now programed the Arduino Mega 2365 R3 bread boarded two DRV8825’s and I’m able to control two NEMA 14’s with EQMOD.
Still trying to sort out tracking with CDC, but I’m sure with some more research that will come along too.
Next comes finishing the modification of the Celestron Super Polaris mount.
Clear skies to all!
Dwight
What I failed to understand after trying repeatedly to compile this program was it must all be loaded into the Arduino program, by first loading the AstroEQ sketch, then adding all the .cpp and .h files into the same directory.
Perhaps this will be of some use to someone suffering the same issue.
I’ve now programed the Arduino Mega 2365 R3 bread boarded two DRV8825’s and I’m able to control two NEMA 14’s with EQMOD.
Still trying to sort out tracking with CDC, but I’m sure with some more research that will come along too.
Next comes finishing the modification of the Celestron Super Polaris mount.
Clear skies to all!
Dwight
2
DIY AstroEQ / Re: How to complie firmware
« on: November 19, 2016, 19:50:01 »
I forgot to include in my previous post that I also have downloaded, and installed to my desktop the following
programs :
AstroEQ
Cartes du Ciel
Arduino
ASCOM Diagnostics, and the ASCOM Profile Explorer
Dwight
programs :
AstroEQ
Cartes du Ciel
Arduino
ASCOM Diagnostics, and the ASCOM Profile Explorer
Dwight
3
DIY AstroEQ / Re: How to complie firmware
« on: November 19, 2016, 16:24:56 »
Hello Tom,
My system is a Windows 10 Pro 64-bit version PC.
I have downloaded the AstroEQ-master folder, opened the AstroEQ-Firmware folder, and then clicked on the AstroEQ folder. After opening I then click on the AstroEQ.ino which then opens Arduino 1.0.6 which I’m running in Compatibility Mode for Windows 8, make sure I have selected the Arduino Mega 2560 board and the correct Com Port after confirmed in the Device Manager.
I then go to Sketch, Click on Add File, and select the PinMappings.h file.
When I either try to Compile, or Upload to the Mega2560 I receive the error messages:
core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:34: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:44: undefined reference to `loop'
Trying this on two new Arduino Mega2560’s (one is the original Arduino Mega2560 R3, and a SainSmart 2560 clone) I get the same errors.
Also, I know I can communicate with the boards as I have loaded and modified the ‘Blink” sketch with no problems.
I’m sure it is something I’m doing as many people are using this system with great success but, I’m lost as to what my problem is.
Thanks for the help!
Dwight Parks
Orlando, FL USA
My system is a Windows 10 Pro 64-bit version PC.
I have downloaded the AstroEQ-master folder, opened the AstroEQ-Firmware folder, and then clicked on the AstroEQ folder. After opening I then click on the AstroEQ.ino which then opens Arduino 1.0.6 which I’m running in Compatibility Mode for Windows 8, make sure I have selected the Arduino Mega 2560 board and the correct Com Port after confirmed in the Device Manager.
I then go to Sketch, Click on Add File, and select the PinMappings.h file.
When I either try to Compile, or Upload to the Mega2560 I receive the error messages:
core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:34: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:44: undefined reference to `loop'
Trying this on two new Arduino Mega2560’s (one is the original Arduino Mega2560 R3, and a SainSmart 2560 clone) I get the same errors.
Also, I know I can communicate with the boards as I have loaded and modified the ‘Blink” sketch with no problems.
I’m sure it is something I’m doing as many people are using this system with great success but, I’m lost as to what my problem is.
Thanks for the help!
Dwight Parks
Orlando, FL USA
4
DIY AstroEQ / Re: How to complie firmware
« on: November 19, 2016, 02:33:22 »
Hello, I'm what you may call a bit of a noob to the world of Arduino and AstroEQ, but have been bitten by the bug for sure.
I've purchased an Arduino Mega 2650 R3, NEMA 14 motors, DRV8825's the pulleys, and I'm in the process of putting this system together for a Celestron (Vixen) Super Polaris EQ mount.
I have downloaded all the recommended items per Tom, and Gigi's suggestions and have copied and pasted the PinMapping.h file from Gigi’s website and renamed as per the instructions in the AstroEQ-Guide.PDF to PinMappings.h.
After loading Arduino 1.0.6 IDE I copy and paste the PinMapping.h. file to a new clean Sketch and try loading to the Mega with no luck.
I receive the following errors after this compiles or if I try to load to my Mega:
core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:34: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:44: undefined reference to `loop'
Not sure what to do at this point, but any, and all help will be greatly appreciated.
Regards,
Dwight Parks
Orlando, FL USA
I've purchased an Arduino Mega 2650 R3, NEMA 14 motors, DRV8825's the pulleys, and I'm in the process of putting this system together for a Celestron (Vixen) Super Polaris EQ mount.
I have downloaded all the recommended items per Tom, and Gigi's suggestions and have copied and pasted the PinMapping.h file from Gigi’s website and renamed as per the instructions in the AstroEQ-Guide.PDF to PinMappings.h.
After loading Arduino 1.0.6 IDE I copy and paste the PinMapping.h. file to a new clean Sketch and try loading to the Mega with no luck.
I receive the following errors after this compiles or if I try to load to my Mega:
core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:34: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:44: undefined reference to `loop'
Not sure what to do at this point, but any, and all help will be greatly appreciated.
Regards,
Dwight Parks
Orlando, FL USA
Pages: [1]