kevinferrare / arduino-st4 Goto Github PK
View Code? Open in Web Editor NEWA PC-Telescope interface built around an arduino
A PC-Telescope interface built around an arduino
Some mounts do not support moving both axis simultaneously, add an option in the driver to wait for an axis to move before going to the other.
Only one program for instance Skycharts or PHD can be connected at a time, while the idea of ASCOM is to have the possibility to connect many via the ASCOM driver.
As I see it, the driver should be rewritten in a way that it determines the Arduino device on which port is running and the user is forbidden or hidden the selection for COM port.
Also when you connect a program(PHD) via the ascom driver to the device and disconnect it, the next time you try to connect to the device on the com port it fails, unless you restart the program(PHD).
Hello Kevin,
I have found your mini Arduino project and I was tempted to play with it so I have built everything as described. My prototype got nicely built and works pretty fine.
As you know if you do a meridian flip the declination axis' up/down become totally the opposite. So I've added little more code to the Arduino sketch a (MFLIP# command) so I can exchange the pins of the Dec axis, whenever I want. In order to do it via the COM I must disconnect the arduino in SkyCharts and then send the MFLIP# command. But after I connect it in SkyCharts again there nothing is changed. It looks like one just has started it. I assume this comes from the driver. It probably restarts the Arduino on each connect in SkyCharts.
Is this the reason and can we change it?
Kind Regards
Grozdan
Hello Kevin,
A big thank you for your project, I realized this winter my version based on an ARDUINO UNO R3 (ch340) for my mount NEQ5.
I just finished the tests everything is OK.
I come to publish the realization of this project on GitHut :
https://github.com/DominiqueMACHU/Interface-Arduino-ST4-for-NEQ5
I look forward to your new version.
friendships
Dominique (Lyon-France)
I have uploaded the software and received a"finished uploading" message, the red LED is on, the green LED stopped flashing but the hardware does not seem to respond to commands, COMMAND+# does not turn the LED on or off, the only change is that a yellow LED gives one fast flick when the command is executed.
I also have a window with the following message:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
This is my first contact with Arduino and uploading code so I have no idea what to do next.
I would very much appreciate some assistance.
Thanks,
Gary
Hi again.
First of all, thanks for all the work behind this proyect.
I am close to connect "arduinost4" to PHD2. In Ascom diagnostics everything seems fine (screenshot 1), Cartes du Ciel connects to st4 and I can set different COM port in properties.
But, in PHD2 I click on properties button and nothing happens. Trying to connect will send an error (screenshot 2) and if I try to set properties via Device Hub the error is different (screenshot 3).
Tried unistalling and installing Ascom, phd2 and driver several times. Checked registry with CCleaner. Also installed 1.1 driver version. Don´t know what else could I do. I am stuck.
Thank you again!!
If PHD2 sends RA+# command over ST4 interface, for how long this "button" should remain pressed? What happen if you hit RA+ button on your remote? How many steps single press of buttons make?
Thank you for your wonderful work. I made the hardware with Arduino Nano and tried to use it on my EQ5 mount. I already have latest ASCOM platform installed and using Cartes du Ciel. I downloaded and installed your Arduino st-4 driver and tried it on CartesDuCiel. however when trying to connect to telescope, I select the ArduinoST-4 (I see it on the list of available HW) it says that the driver is incompatible and does not let me to enter Properties window. Actually it says that the DLL file is not found in CommonFiles/ASCOM/Telescope directory, but when I check the file it looks for is there.
Any help will be appreciated... I really want this to work...
hello sir.
how can use it for my autoguider ?
and how can i send amount of changes to arduino ?
Hi Kevin or anybody -
Perhaps I am trying to be too clever because I decided to use an ATmega328 chip on its own for space saving reasons. I can get the autoguider code to work if I go through the standard Arduino microcontroller board, but not through the standalone chip, with which I communicate through a FT232 USB to serial adapter. That works fine for communicating with and successfully programming the uP (eg Blink), but I cannot communicate with the autoguider that has been loaded onto the chip. I suspect that the Autoguider driver cannot see the auotoguider through the FT232 driver. I have tried various combinations of COM ports.
Am I doing something silly here? Would there be conflicts between drivers and ports?
I've got a basic INDI driver working for the arduino adapter https://github.com/tliff/indi_ardust4.
Just autoguiding, no GOTO but it's a start.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.