OnStep na WeMos R32 platformi

Autor Bojan (Mount Pleasant Observatory), 23.02.2022. u 08:10:52 sati

« natrag - naprijed »

0 Članovi i 1 Gost pregledava ovu temu.

OuttaControl

Dada dobra ideja,

Ne koristim CdC ali korisitm EKOS+indi na Astroberry

Uspio sam spojit, nije bas funkcionalno ko Originalni Onstep ali znaci da je sve uploadano kako treba biti.

2022-04-03T11:45:28: [INFO] Device configuration applied.
2022-04-03T11:45:28: [INFO] Pulse guiding is enabled.
2022-04-03T11:45:28: [INFO] Setting Max Slew Rate to 5 (8x)
2022-04-03T11:45:28: [INFO] Observer location updated: Latitude 43:30:00.0 (43.50) Longitude 16:16:00.0 (16.27)
2022-04-03T11:45:28: [INFO] Site location updated to Lat 43:30:00.00 - Long 16:16:00.00
2022-04-03T11:45:28: [INFO] Dome Policy set to: Dome ignored. Mount can park or unpark regardless of dome parking state.
2022-04-03T11:45:28: [INFO] Loading device configuration...
2022-04-03T11:45:27: [INFO] Initialization Complete
2022-04-03T11:45:27: [INFO] Mount is unparked.
2022-04-03T11:45:27: [INFO] No Rotator found.
2022-04-03T11:45:27: [WARNING] Error on response to rotator check (:GX98#) CHECK CONNECTION
2022-04-03T11:45:27: [WARNING] Error: -4
2022-04-03T11:45:27: [INFO] At least one focuser found, showing interface
2022-04-03T11:45:27: [INFO] Focuser 2 found
2022-04-03T11:45:27: [WARNING] Timeout/Error on response. Check connection.
2022-04-03T11:45:27: [INFO] Focuser 1 NOT found
2022-04-03T11:45:27: [INFO] Non-Network based connection, detection timeouts set to 0.1 seconds
2022-04-03T11:45:27: [INFO] =============== Parkdata loaded
2022-04-03T11:45:27: [INFO] Mount is unparked.
2022-04-03T11:45:27: [INFO] OnStep/OnStepX version could not be detected
2022-04-03T11:45:11: [WARNING] Could not process mount date and time: ��ꒈ꒎薎�蒎���������������
2022-04-03T11:44:58: [WARNING] Failed to get site latitude from device.
2022-04-03T11:44:54: [ERROR] Failed to get tracking frequency from device.
2022-04-03T11:44:46: [ERROR] Failed to retrieve time format from device.
2022-04-03T11:44:38: [INFO] LX200 OnStep is online.



Sad treba prokuzit sta je sa wifijem i/ili bluetoothom
sw130p,mak127, stipe 60/330 ED, Svbony sv705, canon 550d, rpihq camera, rpi imx462, astroberry, sw eq5 Onstep, Dwarf 2

vzr

Citat: bojan  u 03.04.2022. u 08:45:38 sati
Ne znam za OnStepX, ali sa 4.24 nema problema.
Kad ide upload, vidi se progres - 10%, 20% itd. Kad je gotovo, imas poruku "reset (tako nesto)"

Kao sto rekoh ranije, kod mene ne radi WiFi (u najboljem slucaju ispada  nakon nekoliko sekundi) BT ne radi na kompu ali radi bez problema na mobilu.

Spoji se kablom sa CdC, vidjet ces da li radi.


SWS (Smart Web Server) se ne instalira iz foldera Addon ni kod OnStep 4 ni kod OnStepX, vec ga je potrebno preuzeti sa posebnog repozitorija:
https://github.com/hjd1964/SmartWebServer (ukoliko planirate spajati i SHC putem WiFi-a, preuzmite master branšu u suprotnom može i release)

Isto važi i za SHC (smar hand controller):
https://github.com/hjd1964/SmartHandController Takođe, ako želite bežični SHC preuzimate master branšu u suprotnom može release.

Kod OnStepX-a da bi uključio BlueTooth treba u Extended.Config.h ovako udesiti:
#define SERIAL_BT_MODE              SLAVE
#define SERIAL_IP_MODE                OFF

Integrisani WiFi i Bluetooth ne mogu raditi zajedno, već samo ili jedno ili drugo. Ako imate onaj mali Wemos D1 Mini (ili sličan wifi koprocesor) onda na njega instalirate SWS a na OnStepX kontroleru odaberete Bluetooth pa ih imate oba. Takođe na OnStepX-u integrisan WiFi od ESP32 nema web tu stranicu već samo komandni telnet kanal koji sluša na portu 9999 na koji možete spojiti ASCOM ili INDI drajver ili Android aplikaciju.
Telescopius
AstroBin
Sky-Watcher 200P (tube flocked + mirror masked) | Meade Instruments DS2090 90/800 | Tair-3-Phs | Celestron CG-5 (GT2 belt + NEMA17 + OnStepX) | ZWO ASI120MM-S | TS 50/205 Guididescope | RaspberryPi (INDIlib) | Canon EOS 600D AstroMod
We are the Borg. You will be assimilated. Your biological and technological distinctiveness will be added to our own. Resistance is futile.

OuttaControl



Za jedno mjesec dana nastavljam dalje :D Nije bas neke kvalitete dizajn za ovaj dio, ne ide GND kroz pcb i zato je slabo pričvršćeno i osjetljivo i na lagana uključivanja.

A WiFi ni BT nisam uspio osposobiti do sada, mislio sam obični onstep instalirat.
sw130p,mak127, stipe 60/330 ED, Svbony sv705, canon 550d, rpihq camera, rpi imx462, astroberry, sw eq5 Onstep, Dwarf 2

vzr

Ajoj, peh. Ali to nije Wemos R32, to je ESPDUINO-32 i malo je drugaciji. Poznat je po nekim problemima u OnStep krugovima. Recimo svaki put prilikom prikljucivanja na racunar preko USB se restartuje sto nije bas dobro za OnStep jer se izgubi pointing model. Mora se ugasiti ono Serial port DTR control u drajveru a verovatno i dodati kondenzator cca 50nF10V na taster za reset. To se obicno radi na CNC shield-u kako bi moglo neometano da se radi upload firmware-a ali ga treba odpojiti od shield-a kad se uploaduje firmware...

Sto se tice USB porta, ja sam imao slican peh na jenom ESP32, pa sam na njegovo mesto stavio kablove a na drugi kraj muski cetveropolni GX10 konektor koji se montira na kutiju. Zatim sam napravio kabel koji na jednom kraju ima USB a na drugom zenski GX10. Medjutim vrlo retko sam ga koristio, WiFi mi radi odlicno.
Telescopius
AstroBin
Sky-Watcher 200P (tube flocked + mirror masked) | Meade Instruments DS2090 90/800 | Tair-3-Phs | Celestron CG-5 (GT2 belt + NEMA17 + OnStepX) | ZWO ASI120MM-S | TS 50/205 Guididescope | RaspberryPi (INDIlib) | Canon EOS 600D AstroMod
We are the Borg. You will be assimilated. Your biological and technological distinctiveness will be added to our own. Resistance is futile.

OuttaControl

Ahaaaa, nisam niti skuzio da je krivi, sad sam naručio ovog sa Bojanovog linka, vjerojatno sam zbog krivog boarda i imao probleme... Aliex ima jako cudan search, prvi rezultat ne bude ono sto trazis nego sto on misli da ti trazis, pa ako dobro ne paziš lako krivo narucis.

Sve u svemu sad sam bez OnStepa, na bluepillu sam sprzio DIR a ovog polomio :D
sw130p,mak127, stipe 60/330 ED, Svbony sv705, canon 550d, rpihq camera, rpi imx462, astroberry, sw eq5 Onstep, Dwarf 2

OuttaControl

Stigla su mi jos 2 boarda i oba su ESPDUINO32 iako ih seller prodaje kao Wemos D1 R32, cak su na slici Wemos. Javio sam mu se ali nezz sta cu dobit sa tim...
sw130p,mak127, stipe 60/330 ED, Svbony sv705, canon 550d, rpihq camera, rpi imx462, astroberry, sw eq5 Onstep, Dwarf 2

vzr

Pa dobro, šta sad da se radi, poslužiće i espduino32, samo na dve stvari da obratiš pažnju prilikom povezivanja na PC...
Telescopius
AstroBin
Sky-Watcher 200P (tube flocked + mirror masked) | Meade Instruments DS2090 90/800 | Tair-3-Phs | Celestron CG-5 (GT2 belt + NEMA17 + OnStepX) | ZWO ASI120MM-S | TS 50/205 Guididescope | RaspberryPi (INDIlib) | Canon EOS 600D AstroMod
We are the Borg. You will be assimilated. Your biological and technological distinctiveness will be added to our own. Resistance is futile.

OuttaControl

Da ali ovog sam platio 7 dolara po pločici espduino32 sam moga 2.5 dolara po plocici  *zubko*

Evo pokusavam uploadat prvo sam OnStepX, ali nesto. ne funkcionira tu, sad sam se prebacio na Onstep 4.26 a tu mi ne kompajlira za ESP32 DEV MODULE, ali poigrat cu se jos malo sa errorima, mislim da je do mojih postavki.
sw130p,mak127, stipe 60/330 ED, Svbony sv705, canon 550d, rpihq camera, rpi imx462, astroberry, sw eq5 Onstep, Dwarf 2

vzr

Za OnStepX trebaš ESP32 board verzije 2.0.0 Njega povlačiš sa dev repozitorija, odnosno dodaš tamo negde ono File > Settings (ili kako već ide) ovaj repo:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json

Zatim u board manageru nađeš ESP32 verzija 2.0.0 i instaliraš preko postojeće ESP32. U odabiru boarda nađi ESP32 Dev module (to sad neće biti po defaultu odabrano jer nije na prvom mestu više). Nakon što tako uradiš moći ćeš kompajlirati i uploadovati OnStepX.
Telescopius
AstroBin
Sky-Watcher 200P (tube flocked + mirror masked) | Meade Instruments DS2090 90/800 | Tair-3-Phs | Celestron CG-5 (GT2 belt + NEMA17 + OnStepX) | ZWO ASI120MM-S | TS 50/205 Guididescope | RaspberryPi (INDIlib) | Canon EOS 600D AstroMod
We are the Borg. You will be assimilated. Your biological and technological distinctiveness will be added to our own. Resistance is futile.

OuttaControl

Ahaaa, mislim da je u mene 2.0.3, oke jasno, sutra nastavljam s borbom. Vrime je za krpe.

Puno hvala na savjetima :)
sw130p,mak127, stipe 60/330 ED, Svbony sv705, canon 550d, rpihq camera, rpi imx462, astroberry, sw eq5 Onstep, Dwarf 2

vzr

Hmmm... Ako imaš 2.0.3 to bi možda i trebao da kompajlira ali nisam siguran. Mislio sam da imaš 1.0.4 jer to je bilo za OnStep 4 zadnja verzija koja radi... Kako god, probaj da staviš 2.0.0...
Telescopius
AstroBin
Sky-Watcher 200P (tube flocked + mirror masked) | Meade Instruments DS2090 90/800 | Tair-3-Phs | Celestron CG-5 (GT2 belt + NEMA17 + OnStepX) | ZWO ASI120MM-S | TS 50/205 Guididescope | RaspberryPi (INDIlib) | Canon EOS 600D AstroMod
We are the Borg. You will be assimilated. Your biological and technological distinctiveness will be added to our own. Resistance is futile.

OuttaControl

My bad imam 1.0.6

A ESP8266 imam 2.3.0

Zato i ne radi vjerojatno sad se nastavljam igrat.
sw130p,mak127, stipe 60/330 ED, Svbony sv705, canon 550d, rpihq camera, rpi imx462, astroberry, sw eq5 Onstep, Dwarf 2

OuttaControl

Uspio sam stavit OnStepX i da samo 2.0.0 je podrzan sa 2.0.3 nece da kompajlira.


Uspio sam omogućiti bluetooth, ali ne WiFi. Sa wifijem STATION nece da se kompajlira. Error:

sketch\src\lib\wifi\cmdServer\CmdServer.cpp:7:12: fatal error: ../../../libApp/cmd/Cmd.h: No such file or directory
   #include "../../../libApp/cmd/Cmd.h"
Multiple libraries were found for "WiFi.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Used: C:\Users\Admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0\libraries\WiFi
compilation terminated.
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1


Nezz odakle multiple libraries za wifi
sw130p,mak127, stipe 60/330 ED, Svbony sv705, canon 550d, rpihq camera, rpi imx462, astroberry, sw eq5 Onstep, Dwarf 2

vzr

Arduino boards imaju svoju wifi biblioteku a ESP32 svoju i dolazi do konflikta. Moraš obrisati Arduinovu koja se nalazi ovde:

C:\Program Files (x86)\Arduino\libraries

Samo uđi u taj folder i obriši ceo podfolder WiFi. Onda će se kompajlirati sa podrškom za wifi 🤣
Telescopius
AstroBin
Sky-Watcher 200P (tube flocked + mirror masked) | Meade Instruments DS2090 90/800 | Tair-3-Phs | Celestron CG-5 (GT2 belt + NEMA17 + OnStepX) | ZWO ASI120MM-S | TS 50/205 Guididescope | RaspberryPi (INDIlib) | Canon EOS 600D AstroMod
We are the Borg. You will be assimilated. Your biological and technological distinctiveness will be added to our own. Resistance is futile.

vzr

Citat: OuttaControlCRO  u 08.05.2022. u 15:16:45 satiA ESP8266 imam 2.3.0
P.S.
Ne znam koliko ti je ovo relevantno ali što se ESP8266 tiče, Smart Web Server radi jedino na verziji 2.4.2 Druge biblioteke će kompajlirati i uploadovati ali neće raditi ili neće raditi stabilno.
Telescopius
AstroBin
Sky-Watcher 200P (tube flocked + mirror masked) | Meade Instruments DS2090 90/800 | Tair-3-Phs | Celestron CG-5 (GT2 belt + NEMA17 + OnStepX) | ZWO ASI120MM-S | TS 50/205 Guididescope | RaspberryPi (INDIlib) | Canon EOS 600D AstroMod
We are the Borg. You will be assimilated. Your biological and technological distinctiveness will be added to our own. Resistance is futile.

🡱 🡳