×

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
Okay, I'll see when I get home.
But it seems to me that I tried and that kstars didn't manage to make the connection with the arduino card.

By the way, can I just connect the arduino without the engine driver to see if it's ok?
3 years 4 months ago #63037

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

  • Posts: 250
  • Thank you received: 3
so I tried, I put the right port in kstars(/dev/ttyACM0), but it didn't work, and I got this message.

2020-11-18T17:41:57: [INFO] Error retrieving data from NightCrawler, please ensure NightCrawler controller is powered and the port is correct.
2020-11-18T17:41:57: [INFO] Focuser Type 3.5 NC

or then there is something that I do wrong, should I configure something in the code according to the port?
and do you have a schematic of your setup

thank you for your help, it's nice to take time for me !

Regards
Christophe
3 years 4 months ago #63044

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

  • Posts: 333
  • Thank you received: 23
/dev/ttyACM0 ????? My system enable only /dev/ttyUSBx ports
3 years 4 months ago #63049

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

  • Posts: 250
  • Thank you received: 3
it seems to me that I can't choose because it's the default port of an Arduino Uno card.

We have to indicate the port in the code you gave me, because I searched and I saw nothing.
3 years 4 months ago #63050

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

  • Posts: 333
  • Thank you received: 23
I do not have a genuine arduino board, only clones. No changes are need to the arduino code. I will check but you have to wait next days.
3 years 4 months ago #63051

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

  • Posts: 250
  • Thank you received: 3
OK and thanks for looking at my problem.
3 years 4 months ago #63053

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

  • Posts: 333
  • Thank you received: 23
My rasperry see only /dev/ttyUSBx ports and the arduino code works. I was able to connect to my board (at the second attempt) and I was able to change the angle, but I only have only the arduino and not other driver board connected.
It is normal that the first attempts does not works. Systems send a reset command before do a connection, to avoid this you need to add a 10uF capacitor connected between RST and GND arduino's pin
3 years 4 months ago #63204
Attachments:

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

  • Posts: 250
  • Thank you received: 3
OK, but do I have to configure the code to put the one my pc assigns?
3 years 4 months ago #63213

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

  • Posts: 333
  • Thank you received: 23
No, the code does not matter with the physical usb port. The arduino code manage only the motor driver based on serial commands received from Kstars
3 years 4 months ago #63214

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

  • Posts: 298
  • Thank you received: 46
Hi guys,

I just connected my genuine Arduino Uno just to see what port it creates,

[ 584.205058] usb 2-2: new full-speed USB device number 2 using xhci_hcd
[ 584.355522] usb 2-2: New USB device found, idVendor=2341, idProduct=0043, bcdDevice= 0.01
[ 584.355526] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 584.355529] usb 2-2: Manufacturer: Arduino (www.arduino.cc)
[ 584.355531] usb 2-2: SerialNumber: 8523535313735130F1F0
[ 584.383481] cdc_acm 2-2:1.0: ttyACM0: USB ACM device
[ 584.384503] usbcore: registered new interface driver cdc_acm
[ 584.384504] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

I'm using Ubuntu 20.04.1 LTS and I do get a ttyACM0, hope this helps.
Br,
/Markku
3 years 4 months ago #63219

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

  • Posts: 250
  • Thank you received: 3
OK so you have a scanner port in kstars that gives... like me, or did I misunderstand?
3 years 4 months ago #63220

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

  • Posts: 333
  • Thank you received: 23
if you go in the CONNECTION tab at the end you can see the ports that has been found on your system
3 years 4 months ago #63222

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

Time to create page: 1.548 seconds