that is great. Only one problem... I am in hospital at the moment and don't have access to my main computer and sources. Might take a while before they release me here, I will contact you via PM on this forum when I am back in business. (Would like to discuss a few things with you anyway).
Hi guys, I was following this thread with interest, but decided to have a go myself. The hardest part so far was getting a development environment working, which I eventually achieved!
Since then I have created a MyFocuserPro2 driver that is based on the moonlite and currently implements the following
Move functions (In, Out, Target, Sync, Current Position, Max position)
Step mode (full - 1/32),
Coil Power (On Off)
Motor speed (1,2,3)
Display (On Off)
I will try and implement "Reverse Direction" tomorrow time permitting.
I have not done anything regarding temperature, as I have not got this option enabled on my focuser, and so cannot test it.
The biggest issue I will have is actually getting this code into the project, and any help with would be greatly received, but not quite there yet.
What would people suggest are the 2nd layer functions that perhaps I should try to implement, if any, that MyFocuserPro2 supports?
Thanks a lot for your work, it's greatly appreciated! Can you tell us why setting the development environment was difficult? If it is difficult, we need to improve documentation and HOWTOs to make it easier.
I have just spent 5 minutes writing a response, including some of the install issues and an update to progress, to only loose the reply when submitting!!!!!
I clicked "I'm not a robot", then "Submit". Next a Captcha popped up, which I clicked. The captcha disappeared, and so did my post, and I was presented with an infuriating message to complete "Captcha" before posting!!!
I think I have found a bug in this forum interface. If you click "I'm not a robot", followed by submit (before the captcha appears, then the post is lost. Interestingly, I don't have the "Captcha" visible for this post.
Anyway, back to the important stuff, I have coded the "Reverse motor" function, and plan on doing some pre-sets on the main page for 1,10,100,500.
I am developing on a desktop, intel processor, (I did try and do it on my raspberry Pi, but struggled, and will start a new thread about this). I would like to test my code on the Raspberry Pi, but not sure how to proceed. Can I just take the intel compiled code and run it on the Raspberry Pi (arm processor)? If so what files do I actually need (I have an extensive Windows programming background, but almost zero Linux programming).
Ok, So very pleased with progress, see attached screen grabs (the only thing not working is Temperature Calibration (think this is supposed to be just an offset to the rad temperature, but can't find any offset in the MFP2 arduino code).