×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Need help for rotator project

  • Posts: 250
  • Thank you received: 3
Hello
I am making a Rotator to put on my Newton which is in my obeservatoir.
I'm just trying to be able to turn the camera to take a picture in the right position and not to correct the rotation of the earth.

I have no problem with the manufacturing part, but I do have a problem with the computer part!

Do you know if there is already something under indi for an arduino that kstars can order?

Thank you for your help

Best Regards
Christophe

Translated with www.DeepL.com/Translator (free version)
3 years 4 months ago #62890

Please Log in or Create an account to join the conversation.

There is no "auto-rotator" device now that accounts for earth rotation that I know of now. I think Pegasus is working on one but that particular functionality is not active yet.
3 years 4 months ago #62891

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Ok I had understood that this existed by using a star to guide the rotation.

But then, for my project, is there a code with a driver that I can use or adapt to an arduino code?
Because unfortunately my knowledge in programming is not sufficient or even non-existent for such a project.

Christophe
3 years 4 months ago #62892

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 23
If you want, you can use my raw project that use the Moonlite Rotor INDI driver. It was able to controll a nema17 motor using arduino nano and L297 motr driver

File Attachment:

File Name: ArduinoRotator.zip
File Size:4 KB
The following user(s) said Thank You: Bart
3 years 4 months ago #62913
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
hello
thank you very much!!
I will try to see how it works, and if I can adapt it to my motor for my test that the 28BYJ-48 stepper motor.

But I'll probably need help to install the driver correctly.
Because unfortunately I don't have a lot of experience with linux yet.

Best Regards
Christophe
3 years 4 months ago #62915

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 23
Yes it could be modified to use othe motor boad and libraries.
You do not need to install nothing, it is compatible with Moonlite rotor NiteCrawler that is fully supported end included with INDI-FULL
3 years 4 months ago #62916

Please Log in or Create an account to join the conversation.

  • Posts: 163
  • Thank you received: 26

Replied by Bart on topic Need help for rotator project

Thanks for sharing Porky,

I'll also have a go at it.

I still use this simple experimental board for the focus motor, which works perfect with Moonlite protocol.


Could also work with your code, I presume. It has slots for more drivers, so maybe the two protocols can be combined somehow??
Something like a modular driver board. (And a third for maybe a lens cap motor)
3 years 4 months ago #62934
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Hi , porkyhttp

I had a problem when I wanted to download the code in my arduino.
here is the message
************************************************************************************
Arduino : 1.8.13 (Windows 10), Carte : "Arduino Uno"

C:\Users\garag\Desktop\Arduino\ArduinoRotator\ArduinoRotator.ino: In function 'void loop()':

ArduinoRotator:47:4: error: 'findHome' was not declared in this scope

findHome();

^~~~~~~~

C:\Users\garag\Desktop\Arduino\ArduinoRotator\ArduinoRotator.ino:47:4: note: suggested alternative: 'findingHome'

findHome();

^~~~~~~~

findingHome

ArduinoRotator:59:5: error: 'saveFocuserPos' was not declared in this scope

saveFocuserPos(stepper.currentPosition());

^~~~~~~~~~~~~~

exit status 1

'findHome' was not declared in this scope

**************************************************************
What do you suggest I do?

Thank you and see you soon
Christophe
3 years 4 months ago #62957

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 23
I use the 1.6.7 version. When you open the project, do you have multiple labels present on the Arduino IDE?


3 years 4 months ago #62971
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 23
You just adapt the code to works with this board. you have to change the libraries that control the motor driver.
My ideas was to have a rotor to move my optical train with oag+filterwheel+ccd, it could be very usefully in finding a guide star but when I found it then I need to rotate manually the ccd to correct the rotation made. The best could be have a double rotator, one part that rotate the guding camera and another that move the ccd.
I spent some days to adapt this arduino code that was origilly only for ASCOM, than i canged it to make it compatible with NiteCrawler INDI. It works with basically function
3 years 4 months ago #62972

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
thank you for the answer.
You use what as care arduino. I have the UNO for my tests.
3 years 4 months ago #62973

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 23
No problem if you use UNO or Nano boards
3 years 4 months ago #62979

Please Log in or Create an account to join the conversation.

Time to create page: 1.217 seconds