Connecting arduino with stellarium

Hi guys, i have a problem to solve. Basically im trying to create a DLSR mount for catching astrophotos with my camera. Im using 2 5V stepmotors in order to make the camera following the star. The problem is i cant connect arduino with stellarium, i selected on stellarium "pilot a telescope via serial port, everything is correctly setupped but i cant start the stellarium communication with arduino

Welcome to the forum

Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE

Here are some wild guesses / assumptions from the information you've provided so far:

  • Stellarium is a star tracking PC program?
  • You are maybe using an Arduino UNO?
  • You maybe have the CNC shield for the UNO to drive the steppers?

I assume you have some software loaded onto your Arduino that understands the messages that stellaruim is sending out? You might want to provide a link to that software so others can help you.

I assume that you are using the hardware serial port on your Arduino (UNO?) to connect to your PC?

Have you set the correct baud rate?

Beyond that I/we are just guessing until you can provide more details of your project.

Hi, @feuar
Welcome to the forum.

Tom... :smiley: :+1: :coffee: :australia:

If you are working to someone else's plan, please post a link to that here.

If you are working with multiple plans, post links to all of them.

TIA

a7

What happens when you try?

Are you using the Meade LX200 protocol?
Is your Arduino sending the right commands for Get Right Ascension "#:GR#" and Get Declination "#:GD#"

Thank you for answering, basically im using an arduino uno and yes stellarium is a tracking pc program, i saw a tutorial and before starting with the sketch the guide said that when u plug arduino the software recognize the serial port but this doesnt happen in my case, this is my problem

Yes im using LX200 protocol but i cant start the connection between arduino and stellarium it says stopped
image

configurare stellarium - epsilonphoto this is the link, is in italian

thank you

Basically this guide configurare stellarium - epsilonphoto "sorry is in italian" says that if you dont load any sketch into arduino and plug it in the computer stellarium should recognize anyways the serial connection but in my case it shows me that
image

That sounds like the PC is simply supposed to see your Arduino hardware serial port and the stellarium just searches for COM ports.

So the first step is to make sure that a new COM port is detected by your PC when you plug your Arduino in. You don't need any specific code running on your Arduino for this.

If your PC detects your Arduino and creates a COM port for it, then your stellarium should be ok.

Unless, the stellarium software is querying each COM port looking for a specific response. If it is, then you do need the correct code running on your Arduino.

how can i do that?

Which part are you stuck on ?

Cant make the connection between arduino and stellarium image

Put stellarium to one side for now. When you plug your Arduino into your PC, does your PC recognise a new device has been detected?

i can see it from device manager

Have you googled "Arduino stellarium". I got a lot of hits, some right here in these forums.

There is also:

It uses an Arduino Due but there seems to be quite a bit of detail. Maybe step 11 would hold some clues.

@feuar I see that you have posted a duplicate topic in Italian and to make it worse you did not post it in the Italian section of the forum. I have moved there

Duplicate posting is generally discouraged on the forum. For the moment I have not deleted either of your topics nor merged them but it might be done in the future

So i tried, but nothing new, i cant make stellarium communicate with my arduino, i even tested if RX and TX have problems, but nothing new, they work, i can even see the arduino COM on stellarium
image
I think that the problem is something with stellarium