×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Need help for rotator project

  • Posts: 197
  • 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)
1 year 3 weeks 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.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 3 weeks ago #62891

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

  • Posts: 197
  • 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
1 year 3 weeks ago #62892

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

  • Posts: 212
  • Thank you received: 14
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
1 year 3 weeks ago #62913
Attachments:

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

  • Posts: 197
  • 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
1 year 3 weeks ago #62915

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

  • Posts: 212
  • Thank you received: 14
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
1 year 3 weeks ago #62916

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

  • Posts: 127
  • Thank you received: 24

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)
Latest Stellarmate on Rpi 4B, 294mm-pro, EFW-8, CEM70
1 year 3 weeks ago #62934
Attachments:

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

  • Posts: 197
  • 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
1 year 2 weeks ago #62957

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

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


1 year 2 weeks ago #62971
Attachments:

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

  • Posts: 212
  • Thank you received: 14
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
1 year 2 weeks ago #62972

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

  • Posts: 197
  • Thank you received: 3
thank you for the answer.
You use what as care arduino. I have the UNO for my tests.
1 year 2 weeks ago #62973

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

  • Posts: 212
  • Thank you received: 14
No problem if you use UNO or Nano boards
1 year 2 weeks ago #62979

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

Time to create page: 2.815 seconds