Date   

Re: #diy #skywatcher #250p Dobsonian Skywatcher 250p goto project #diy #skywatcher #250p

Arnaud V
 

ok now i see what i want to build for my onstep

with esp32 what is the best for onstep :
wemos r32 esp32 + cnc shield v3 +TMC 2130 + wemos d1 mini pro for wifi
 or
esp32 nodemcu + cnc shield v4 + TMC 2130 + wemos d1 mini pro for wifi
?
for stepper motor i'll take 2 nema 17 planetary 100:1

is that good enough for begin with onstep with basic feature only for goto?


Re: Instein Onstep ESP32 (& 8826) crashing stubbornly #esp32

Jay Murphy
 

Try a better power supply


Instein Onstep ESP32 (& 8826) crashing stubbornly #esp32

Andrei Sava
 

Hello dear group, 

 

After reading the whole internet for a gazillion times, I've finally made an account to take up this discussion on the onstep group here. I'm quite happy to be here and thank you in advance for any help you can ever provide!

I'm the semi-happy owner of an Instein ESP32 & 8826 Onstep unit which I've had for over a year now. Bought last year with those new TMC 5160 drivers, I've had success using it for quite a while, with good performance too. 

Until now. 

 

For reasons I can't identify , the unit disconnects/times out after ~2-3 minutes up to 10 minutes after booting up. I have 3 channels for coms : - USB / WIFI / Bluetooth . They all have the same symptoms : - successfully boots up , starts align and motor power up routine, slews , starts tracking , then the power cuts out to the steppers and the mount becomes unresponsive until next power on (times out receiving data) 

 

Now I have done a lot of things before coming here, including some code modifications with Instein who is responding to my emails, so we worked together on this. 

 

What I've tried so far: 

- Flashed ESP 32 & 8826 to the latest Onstep versions (including the PDF guide from Guilherme Venere which worked for me) . Currently using : WiFi Server 2.1v / (OnStep 4.24f)

- Booted with no cables attached ; then with no stepper drivers ; then with everything taken out and the axis1&2 drivers disabled from the .INO. 

- Modified parts of the code pertaining to Instein specifics : Like LEDSTATUS mode OFF, different baud rates, Bluetooth OFF, etc.  then reverted to the original code. 

- Tried operating the mount with USB cable only, disabled Wifi/BT . 

- Prayed a lot. 

Symptoms :

- No matter what kind of (careful) modifications I do to the code , the unit works normally for a few minutes then it will crash with no visible reason. 

- Sometimes I get a "Open Load AB" report but I've heard it's normal when slewing or in standstill state, anyway the steppers work fine, no weird sounds, no stalling ,etc. before it crashes for good and cuts power. 

- Either by usb cable (ascom or onstep driver) , Wifi or BT , the unit will freeze and stop responding after a few minutes, with a timeout waiting code, it can't be reconnected, I have to power off and wait a few minutes for it to be visible again. 

- The TMC 5160's get warm , like  hot coffee  warm, but I've been using the unit for over a year now with no problems. I think it's normal. My IHOLD & IRUN is - 900 ; IGOTO - 1400 . Motors do not get hot, they barely get warm,  Motors are 400 steps .1.7A nema 17. 

- This seems to be like some internal COM or power issue, since it crashes the same way no matter how I communicate with it and if there are stepper boards/cables/ motors connected or not. 

- If I either connect to it or leave it alone just to broadcast , it will still crash after some elapsed minutes. (wifi/bt dissapears, cable will connect-timeout  ) 

- Before crashing everything works normally, nothing software related seems to be crashing it. Sometimes the motors disconnect but the mount will stay connected so I can restart the coils using Reset (at home) and aligning again, but that's a rarity. 
- I'm using RJ45 cat5 to 4 pin DIN connectors for the motors , which I've been using for an year now. Never had any trouble. They are soldered in twisted pairs to go from 8pins to the 4 pin panel. 

- The ESP32 only lights up the red LED , it stays on steady, no blinking, no nothing, not even when flashing. 

- Now I've had this problem in the past ,occasionally, but always managed to reboot and get it working one way or another. It just seems this isn't the case anymore. 

Using :

ESP32-DEVKITC-32U 

ESP8826

2X TMC 5160 in quiet mode

Instein pinmap and PCB. 

 

 

I'm really low on ideas and stuff left to tryout , I've ordered a new ESP32 Expressif board , the exact same model Instein is putting on their units , I'm going to try reflashing with a new board. His board had a transistor soldered between   GPIO 0 and 3.3V line , probably will duplicate that too. 

 

I was wondering if you have any suggestions I haven't tried yet. I can gladly offer any other information necessary to find this ghostly problem that I can't seem to diagnose. 

 

Thanks a lot!

Andrei 

 

 

 

 

 

 


Re: Dew Heater seting

Howard Dutton
 
Edited

The goal is to scale the dew heater power (PWM 0 to 100%) to keep dew from forming on an optical surface while not wasting energy or overheating the surface and disturbing seeing.

The scaling is based on the temperature differential between the spot temperature (ideally near the optical surface but even just the ambient temperature if that's all you have) vs. and the dew-point temperature.  A differential near or below 0 deg. C means dew may start forming.

The Zero temperature differential setting is where power is at 100%.
The Span temperature differential setting is where power is at 0%.


Re: #diy #skywatcher #250p Dobsonian Skywatcher 250p goto project #diy #skywatcher #250p

George Cushing
 

Roman Hujer's ESP32 shield has provision for the ESP-01 WiFi module and simplifies the entire process of building a controller with most features supported by OnStep. 



Dew Heater seting

Roman Hujer
 

Dear Howard Could you please explain how the Spam and Zero values work in the DewHater settings ? I couldn't find it in the wiki. Thank you
Roman


Re: Encoder on Wemos Mini Wifi #wemos

András
 

Thanks! 
I attach the pinout of the board to make the info complete, may anyone need it.


Re: ESPMAX3 No Wifi

Seven Jones
 

On Tue, Jul 6, 2021 at 05:46 PM, Drew 🔭📷🚴‍♂️ wrote:
No, too noisy. I run a 12 volt fan at 5 volts, nice and quiet. Don't worry about the PPS, the clock on the ESP32 is just as good. Leave AUX7 open for now.

okay thanks. I will do that too.


Re: Help Requested / Compiiling SmartWebServer

Martin Bonfiore
 

Howard,

Thanks.  That fixed it.  Compiled without an issue.  Now off to test ethernet connectivity.


Re: Help Requested / Compiiling SmartWebServer

Howard Dutton
 

On Thu, Jul 8, 2021 at 10:43 AM, Khalid Baheyeldin wrote:
Maybe something Teensy specific in the code, or the Ethernet code in there.
Because I am able to compile the latest SWS code for an ESP8266 (WiFi) and there are no issues ...
Should be ok now, the NV library within the SWS just needed an update.


Re: Help Requested / Compiiling SmartWebServer

Khalid Baheyeldin
 

On Thu, Jul 8, 2021 at 01:34 PM, Martin Bonfiore wrote:
Note that I successfully uploaded the "old" addon Ethernet server (not the SWS) unto the Teensy 3.2 with no trouble/first try, so it seems to be something about SWS or something I am doing incorrectly. 
Maybe something Teensy specific in the code, or the Ethernet code in there.
Because I am able to compile the latest SWS code for an ESP8266 (WiFi) and there are no issues ...


Re: Help Requested / Compiiling SmartWebServer

Martin Bonfiore
 

Relative to the issue I just posted, I pulled the SWS code this morning fresh from Github.


Help Requested / Compiiling SmartWebServer

Martin Bonfiore
 

Trying to compile SmartWebServer (SWS) for a Teensy 3.2 install for wired Ethernet operation (not wireless).  I am getting errors relating to "NVS does not name a type" primarily but also concern that E2END is not defined.  Note that I successfully uploaded the "old" addon Ethernet server (not the SWS) unto the Teensy 3.2 with no trouble/first try, so it seems to be something about SWS or something I am doing incorrectly.  Thanks in advance for any thoughts.


Re: #diy #skywatcher #250p Dobsonian Skywatcher 250p goto project #diy #skywatcher #250p

Arnaud V
 

thank you for all the informations i see all a bit better now


Re: #diy #skywatcher #250p Dobsonian Skywatcher 250p goto project #diy #skywatcher #250p

Mike Ahner
 

On Thu, Jul 8, 2021 at 11:32 AM, Khalid Baheyeldin wrote:
or can i handly move the scope when all is not powered?
When you have a scope with OnStep controlling it, then all movement should be from OnStep, not manually. Otherwise OnStep will lose track of where it is pointing. But a small number of users add encoders that tell OnStep (via the Wemos WiFi module) where the scope is pointing.
Arnaud, I think you mean when you don't power the telescope, can it be moved by hand. In that case, the answer is yes, maybe. Because you will have motors and gears connected to the telescope with belts, you will find it harder to move the telescope by hand unless you disconnect the motors. You can do that with a clutch system or just remove the belts. Then the telescope will move with your hands, just as it does now.

-Mike


Re: #diy #skywatcher #250p Dobsonian Skywatcher 250p goto project #diy #skywatcher #250p

Drew 🔭📷🚴‍♂️
 

On Thu, Jul 8, 2021 at 12:32 PM, Khalid Baheyeldin wrote:
The ESP32/CNC combination does NOT provide WiFi.
It does provide only Bluetooth.
Although the ESP32 does have WiFi hardware, there is no support in OnStep, because of technical reasons too long to explain here.

If WiFi is needed, then this board is not a good fit.
Not exactly true. Like all of the ESP32 based versions a Wemos mini (with the SWS firmware) can be attached to the SerialB (Serial2) port pins (designated TX2, IO5 and RX2, IO13). Then you would have both Bluetooth and WiFi.


Re: Encoder on Wemos Mini Wifi #wemos

Khalid Baheyeldin
 


Re: #diy #skywatcher #250p Dobsonian Skywatcher 250p goto project #diy #skywatcher #250p

Khalid Baheyeldin
 

On Thu, Jul 8, 2021 at 12:13 PM, Arnaud V wrote:
i m new here with the project of convert my dobsonian skywatcher 250p to goto with onstep.I read almost all of the wiki but i m a bit lost with all of the board and stepper motor. my first idea was mks board l 2.1 +TMC 2209 + wemod d1 mini pro
The MKS Gen-L V2.1 is a cheap board with very little soldering required.
But its microcontroller is very slow, and you may be limited in slewing speeds (but other factors are at play, such as gear reduction, ...etc).
One way to speed up the Gen-L V2.1 is to use SPI drivers: i.e. TMC2130 or TMC5160
That allows a feature called MICROSTEPS_GOTO which can speed up slewing speed.

but no idea for motor (i see everywhere nema 17) because i m total noob with motor and gear ratio.
Best source of info on this is the Dobsonian section of the Showcase page on the Wiki.
There, you will find links to builds, and get idea on what gear reduction ratios are used, and how motion is transferred from the motors to the mount axes.

my second idea was esp32 + cnc to have wifi & bluetooth direclty on the main board.
The ESP32/CNC combination does NOT provide WiFi.
It does provide only Bluetooth.
Although the ESP32 does have WiFi hardware, there is no support in OnStep, because of technical reasons too long to explain here.

If WiFi is needed, then this board is not a good fit.

another question is must i have a shc to move the scope
An SHC is convenient because when you are centering an object in the eyepiece, you don't need to take your eye off the eyepiece to see which button you are pressing. You can use an Android device to do that, but you don't get tactile feedback, so you have to look on the phone's screen to know which 'button' you are pressing. But some people (like me prefer not to have wires around and stick with the phone and Android app. The SHC also has full catalogs of popular catalogs
or can i handly move the scope when all is not powered?
When you have a scope with OnStep controlling it, then all movement should be from OnStep, not manually. Otherwise OnStep will lose track of where it is pointing. But a small number of users add encoders that tell OnStep (via the Wemos WiFi module) where the scope is pointing.


Encoder on Wemos Mini Wifi #wemos

András
 

Hello, can someone share the pinmap to connect axis1 and axis2 A/B type encoders to the Wemos Mini Wifi module?
Thanks


#diy #skywatcher #250p Dobsonian Skywatcher 250p goto project #diy #skywatcher #250p

Arnaud V
 

Hello everybody,
i m new here with the project of convert my dobsonian skywatcher 250p to goto with onstep.I read almost all of the wiki but i m a bit lost with all of the board and stepper motor. my first idea was mks board l 2.1 +TMC 2209 + wemod d1 mini pro but no idea for motor (i see everywhere nema 17) because i m total noob with motor and gear ratio. my second idea was esp32 + cnc to have wifi & bluetooth direclty on the main board.can anyone help me for a choie :D.and an another question is must i have a shc to move the scope or can i handly move the scope when all is not powered?
thank you in advance

nb : capable skill -->soldering,arduino,3d print

10561 - 10580 of 45738