fehlfarbe / arduino-motorfocus

Arduino motorfocus with moonlite protocol for telescopes
MIT License
48 stars 13 forks source link

Cnc shield arduino nano #27

Open hpacone opened 8 months ago

hpacone commented 8 months ago

Hello, first of all a big compliment to you and your project!! Then a big please! Do you think it would be possible for you to implement the whole thing on an Arduino Uno with CNC Shield v3? Best greetings from Austria ✌️

fehlfarbe commented 7 months ago

Hi,

you can also write in German if that's easier for you :)

I added a version for Arduino Uno and CNC shield in the arduino_uno_cnc_shield branch. Just checkout the new branch and try to flash your Uno with this version. I'm controlling the X axis motor. Unfortunately I don't have a CNC shield at home so I cannot test the changes. If it doesn't work, I will order a shield from eBay to test the code.

hpacone commented 7 months ago

Hallo, das ist wirklich sehr nett von dir ich danke dir vielmals!!! Ich werde das die Tage testen und dir ein Feedback geben! Dankeschön Glg

hpacone commented 7 months ago

Hallo, der UNO lässt sich mit der Moonlite SW verbinden aber der Motor bewegt sich leider nicht! Danke SG

fehlfarbe commented 7 months ago

Hey, ich habe gerade noch mal ein paar Anpassungen vorgenommen. Leider wurden meine Pinänderungen im Code wieder überschrieben. Da mein CNC-Shield vorhin ankam, konnte ich es auch gleich testen. Bei meinem Motorkabel sind vermutlich die Pins vertauscht, daher springt er gerade nur hin und her. Ich hoffe, bei dir klappt das.

Die Buttons zum rein/raus zoomen sind auf die Z/Y Endstops gelegt. Damit kannst du es auch probieren.

hpacone commented 7 months ago

Danke für deine Bemühungen! Ich werde das morgen gleich probieren. ✌️

hpacone commented 7 months ago

HI, leider finde ich keine Eintrag zu flashen eines Unos in der Auswahlliste!? Ich finde auch bei den env keinen Eintrag zum uno cnc shield. Danke Sg

fehlfarbe commented 7 months ago

Hast du den richtigen git branch ausgecheckt?

git pull
git checkout arduino_uno_cnc_shield
hpacone commented 7 months ago

🤦👍