Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing COM baud rate #33

Open
vzr314 opened this issue Dec 30, 2020 · 6 comments
Open

Changing COM baud rate #33

vzr314 opened this issue Dec 30, 2020 · 6 comments

Comments

@vzr314
Copy link

vzr314 commented Dec 30, 2020

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...)
@kaito83
Copy link

kaito83 commented Jan 22, 2021

  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

@vzr314
Copy link
Author

vzr314 commented Jan 22, 2021

  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!

@kaito83
Copy link

kaito83 commented Jan 22, 2021

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

@vzr314
Copy link
Author

vzr314 commented Jan 23, 2021

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

@TCWORLD
Copy link
Owner

TCWORLD commented Jan 23, 2021

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).

@vzr314
Copy link
Author

vzr314 commented Jan 23, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants