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

Arduino Nano Port #31

Open
NovaAstrophotos opened this issue Aug 26, 2024 · 3 comments
Open

Arduino Nano Port #31

NovaAstrophotos opened this issue Aug 26, 2024 · 3 comments

Comments

@NovaAstrophotos
Copy link

Hello friend, sorry to bother you by opening an issue on your project, but I couldn't find a way to contact you, I would like to know if it would be possible to port the Arduino Nano code to a Seeed Studio Xiao ESP32C3 to use the focuser via Bluetooth or wifi, I believe it would be quite advantageous in terms of reducing the number of cables in the setup and also miniaturizing the size of the electronics.

@fehlfarbe
Copy link
Owner

I think the curren tproject with serial control should run without problems on ESP32 boards.

Bluetooth or WiFi could be possible. The problem: If you still want to use the MoonLite driver you need some kind of serial <-> Bluetooth/WiFi bridge on your computer to simulate a serial port for the driver. Like this:

ASCOM / INDI <---> virtual serial port <---> Bluetooth/WiFi <---> ESP32

Currently I have some other projects but I can have a look at it in the next few weeks when the weather gets worse again.

@NovaAstrophotos
Copy link
Author

Hi, sorry for the delay, it would be great if you could take a look at it for me, I don't know anything about programming, about bluetooth/wifi I saw some old projects here on github that used bluetooth with the moonlite driver, they used a module called HC-05, I don't know exactly how they managed to do this.

Taking advantage of this thread, I would like to ask you something, I'm testing 3 28BYJ48 stepper motors, I noticed a strange problem that I don't know how to solve.
If the motor suffers any stress or I turn it by hand, it reverses the rotation position and It loses precision when I'm focusing, If I disconnect them from the uln2003 and wait a few hours or days, the stepper returns to normal, is this a normal behavior for this motor?? I'm testing it on my 150p and a Rokinon 135.

@NovaAstrophotos
Copy link
Author

Hello friend, how are you? Did you have some time to work on the port of the Arduino Nano code to the Seeed Xiao ESP32-C3? I found a project here on github where a guy managed to do serial communication via USB and Bluetooth using the Arduino Uno Rev3, his name is Lutzbellmann, he used the HC-06 module to achieve this feat, but it was necessary to use a jumper, because you can't use Bluetooth and USB at the same time, since the ESP32-C3 Bluetooth is integrated into the board, maybe this isn't a problem, or maybe it can be solved with code, have a nice one.

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

2 participants