I am looking into myFocuserPro f/w... and I have compilation error, even after following all instructions (I hope) properly...
Are there similar issues (and solutions) with other DIY-ers?
With the info you have provided, this is what I think based on the error message.
Normally, there is a folder called 'libraries' under the Arduino installation folder where you would put your focuser library into. That way Arduino knows how to find the library. The error message you are getting is as it says as it can't locate the file. The sketch folder or below is not the library folder.
On my PC, the sketch location is: C:\Users\Redbeard\Documents\Arduino , but this is not where libraries should go.
The installation folder where I have installed Arduino software on my PC is G:\Arduino\
All my library files are stored in G:\Arduino\libraries\ as this is where Arduino software looks for them.
Arduino libraries are not normally stored in the sketch folder. It's annoying as the Arduino software does not list where it stores the libraries.
You don't need to copy the individual files to this location, just the folder with the files in it.
I came to the same conclusion as you suggested, but my Ardino IDE still can't find that library.
Funny thing is, that "myQueue.h" is in the folder of the same name, but there is nothing else in it, while other folders of the same package have other files, including *.cpp.
So I don't know what is happening here... still waiting for someone with similar experience with that particular "sketch" or from discussion group to reply...
Thanks again,
Under no circumstances place this in the C:\program files etc
Arduino stores libraries in two places
1. In a libraries directpry along with executable program (normally C:\Program Files (x86)\Arduino)
2. In the users Documents folder
As these are user libraries, do not put them in C:\Program Files (x86)\Arduino
If Arduino IDE is running, close it
Unzip the firmware file.
Go into the myFocuserPro2libraries folder
Select all folders and then Copy
Go back to the Documents\Arduino\Libraries folder (from 2 above)
When in the Documents\Arduino\Libraries PASTE all those copied folders.
I came to the same conclusion as you suggested, but my Ardino IDE still can't find that library.
Funny thing is, that "myQueue.h" is in the folder of the same name, but there is nothing else in it, while other folders of the same package have other files, including *.cpp.
So I don't know what is happening here... still waiting for someone with similar experience with that particular "sketch" or from discussion group to reply...
Thanks again,
I would definitely remove the 'libraries' reference as noted from the link for your preferences file. Change to: "c:\Users\Astra_1\Documents\Arduino " as Robert has pointed out.
Also the reference in the preferences file points to where your saved sketches files will be saved by default, not your libraries folder.
The libraries folder should be one level below where the actual installation of Arduino was done. For example, if you installed the Arduino software in say c:\Program_files(x86)\Arduino, then the libraries folder should be: c:\Program_files(x86)\Arduino\libra ries and that's where I would put the libraries.
I just placed the myQueue.h in an Arduino sketch and it compiled OK on my machine so I think file location and the above link may help.
Thank you all for your help guys, and special thanks to Robert (same Robert from SourceForge? who helped me on SF forum).
I just remembered I have lap with (not used much) Arduino installation, so first I will try to compile there, then I will clean this desktop and try from scratch.
Thanks again to all !
I really feel stupid now.
I placed content of myFocuserPro2libraries into F:\Data_disk\Arduino_libraries and it works.
I am sure I did exactly that earlier, but without success.. so re-installation must have helped.
Thank you all for your help, now I can start thinking about mechanics
I really feel stupid now.
I placed content of myFocuserPro2libraries into F:\Data_disk\Arduino_libraries and it works.
I am sure I did exactly that earlier, but without success.. so re-installation must have helped.
Thank you all for your help, now I can start thinking about mechanics
Hi Bojan,
Great to hear you have it sorted. I was just about to send you a document to help but sounds like all is good now.
Hi Bojan,
Great to hear you have it sorted. I was just about to send you a document to help but sounds like all is good now.
Cheers,
Damien.
Damien, thank you.
Yes, it was my fault entirely - For some reason I placed lib files in wrong folder. What's worse, in the past I was manually updating Arduino libs, and I never made such a stupid mistake... I am getting old (and not reading instructions carefully enough)
Everything mounted in box, and it works :-)
Instead of buttons I have 3x1 switch... but I plan to have encoder instead.
This particular firmware combination (ULN2003 + encoder) is not available, but I will try to reshuffle source.. hopefully it will work.
I also designed and printed motor bracket, to be mounted on C11 using the existing threads around focuser and screws (idea came from Robert's documentation). Gears (or timing belt transmission) are on their way soon.
Gears fit, but a bit too tight.. perhaps I will print them again, slightly smaller.
On the other hand, the red flange is not flash with scope back end, so the bracket is slanted and motor shaft is moved towards big focuser gear...perhaps 2x 0.5 mm spacers and longer screws will help here.
Anyway, not bad at all for first iteration
EDIT:
With washers under the bracket, gears fit perfectly (as much as plastic can...).
I also printed the tightening mechanism for 55-teeth gear.
It is tightened with M6 screw and hex nut (which sits in between 3 "fingers" that go into the hollow of the focusing shaft, ø16 mm).
It is easy to remove the motor from bracket and use the gear-knob for manual focus instead of original rubber one.
Latest update:
I managed to "marry" ULN2003 board and rotary encoder in code - it is a bit of a patchwork, but it reads encoder and moves the motor accordingly, apart from other functionality relevant to ULN2003 board.
Disengaging the focusing knob (for manual focus) can be done easily by rotating the motor body in the bracket (before this mod I was removing the motor from bracket.. which was also not hard - but this way it is better)
Very interesting build. Is there focuser control under Onstep that could manage a stepper motor for focus?
Thank you :-) This design was inspired by one of MyFocuserPro users..
OnStep supports up to 4 motors (AR/AZ, DEC/EL, rotation and focuser.) and there are ASCOM and INDI drivers, so interface to CdC od NINA for example is easy.
I am using MyFocuserPro to share electronics between different mounts and scopes..