AstroEQ icon indicating copy to clipboard operation
AstroEQ copied to clipboard

Changing COM baud rate

Open vzr314 opened this issue 4 years ago • 6 comments

Awesome astrowork!

Actually I have three questions:

  1. Is it possible to increase COM baud rate up to 57600, meaning, would that possibly affect avrdude?
  2. Is it possible to configure different microstepping configuration for per axis? I.e RA 1/32 and DEC 1/16
  3. Is there a way to switch from North to South sidereal tracking direction without reflashing configuration (in driver? Or maybe hardware 2-way switch...)

vzr314 avatar Dec 30 '20 05:12 vzr314

  1. You can cheat If you double or half the like motor gear ratios
  2. Why do you want to change direction when You can do this from EQMOD

kaito83 avatar Jan 22 '21 11:01 kaito83

  1. I don't use EQMOD nor ASCOM. I use this with INDI server on Raspberry PI, Joystick and android App (IPARCOS). Recently I discovered that I can connect Arduino MEGA via UART port on RPi and TTL logic level converter (because RPi works with +3.3V). This way I don't need udev, or USB and I can connect multiple AstroEQ devices to single RPi INDI server and I can use INDI via serial pins or ASCOM via USB with double hardware switch. And everything works flawlessly!

vzr314 avatar Jan 22 '21 14:01 vzr314

This is ASCOM independent. And I also have raspi so: 2. you have to change in the firmware gear ratio(example): RA 2, DEC 4 3. Find some research just a little help -15,041067

kaito83 avatar Jan 22 '21 18:01 kaito83

What about baud rate? Is it safe to increase, what cloud possibly impact?

vzr314 avatar Jan 23 '21 08:01 vzr314

Why do you want to increase the baud rate? Doing so won't make the AstroEQ run any faster. In practice it will likely result in lower reliability as the command processing loop may not be able to keep up, and hence start losing characters.

The firmware for the AstroEQ is already push the limit of what an AVR can do in terms of multi-tasking (controlling two motors, while also interfacing with the PC).

TCWORLD avatar Jan 23 '21 11:01 TCWORLD

I need to test that on my own. So far i found 38400 with smaller timer and bigger buffer noticably more responsive. May be due to my setup which include additional modules like I²C display (for encoder values) and HC-05. I believe there are more framing errors on 9800

vzr314 avatar Jan 23 '21 23:01 vzr314