×

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

Bi-monthly release with minor bug fixes and improvements

Connection via Bluetooth to Celestron Advanced GT

  • Posts: 2
  • Thank you received: 1
Hy everyone,

at the moment i try to connect my Celestron mount to my INDI-Server on a raspberry Pi 3. The connection of the Camera works fine, but the connection to the mount doesn´t work. My Handcontrol of the mount has a bluetooth-modul. So i asked myself if it is possible to connect the mount to INDI via bluetooth, but i don´tt now how. The only way to connect i can find ist serial or ethernet. Is there anyone who try the same and it works?

Greetings
Tim
5 years 1 month ago #35368

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

Yes it's possible, if somewhat hairy. You can use whatever bluetooth manager your raspberry pi uses to pair with the bluetooth module and assign a COM port for it. However, it is mostly forgotten on the next boot. You'd probably need a script to make it bind to the bluetooth on every startup. If you search the forums, you'll find multiple posts on this very topic with ready to use scripts.
5 years 1 month ago #35371

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

  • Posts: 1309
  • Thank you received: 226
Binding to bluetooth at startup is a simple matter and can be accomplished in /etc/rc.local
rfcomm bind hci0 XX:XX:XX:XX:XX:XX 1 &
replace the XX's with the mac address of the bluetooth adapter on the mount.
Also uninstall Modemmanager.
sudo apt-get remove modemmanager
You will also have to pair the device with a bluetooth manager of your choice, but that should be a one time procedure and you set it to trust the device.
5 years 1 month ago #35432

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

  • Posts: 985
  • Thank you received: 160
Tim reported he had successfully connected to the mount via bluetooth. The necessary steps:

- $ bluetoothct1
- $ default-agent
- $ scan on
- $ pair xx:xx:xx:xx:xx:xx
- enter PINs
- $ trust xx:xx:xx:xx:xx:xx
- $ sudo rfcomm bind hci0 xx:xx:xx:xx:xx:xx 1 &"

After that there is an rfcomm0 in addition to ttyUSB0.
The following user(s) said Thank You: Tim
5 years 1 month ago #35455

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

THat remains for the next reboot?
5 years 1 month ago #35464

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

  • Posts: 985
  • Thank you received: 160
I don't know. I hope timf5344 will keep us updated.
5 years 1 month ago #35465

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

  • Posts: 1309
  • Thank you received: 226
It should remain. I have not had any issues with re-pairing or re-binding my bluetooth adapter. I actually used my homebrew EQBT adapter for a full night last weekend instead of my cable to test it out in the cold. No problems.
5 years 1 month ago #35480

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

  • Posts: 2
  • Thank you received: 1
Hy everyone,

sorry for my late answer. The pairing of my Mount remains after evry boot. The only thing i have to do at every boot is $ sudo rfcomm bind hci0 xx:xx:xx:xx:xx:xx 1 &"

I´ve tested this many times. At the moment i try to find out, how this command run at every boot automaticly.

I´ll keep you up-to-date.
The following user(s) said Thank You: Alfred
5 years 1 month ago #35498

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

  • Posts: 1309
  • Thank you received: 226

Place that command, without the " at the end, into rc.local
5 years 1 month ago #35532

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

Time to create page: 0.458 seconds