Date   

Re: Teensy 3.2 availability #mini

Dave Schwartz
 

You could if you wanted to modify the design (my SHC case design source files are in the Files area... go nuts).

The reason I did mine the way I did was that it was easier to tap the 4-40 threads into the longer through-hole in the bottom PCB supporting columns. If tapped into the top (faceplate), the column is much shorter and therefore fewer threads and it would probably still have to be a through-hole to be able to tap the full length (a blind hole would require a bottom-tap with no starting taper at all and I don't think they even make such a thing).

On 2022-11-30 2:04 a.m., ETXcetera wrote:
On Tue, Nov 29, 2022 at 04:52 PM, Howard Dutton wrote:

little 3D printing magic can put tiny holes in face

Speaking of holes in the face. I will just throw this out there. Can we (the smart 3d printer people), design the SHC case to be upside down, so the screws for it are on the back, not the front? Form over function for sure.


Re: ESP vs. Teensy and max slew speed

Dave Schwartz
 

Lower microsteps or lower physical reduction so slower or the same rate of toggling of STEP (i.e. keeping within the capabilities of the MCU) to the driver results in more movement at the motor. That and enough torque will get you all the speed you could possibly want.

On 2022-11-29 9:16 p.m., Chad Gray wrote:
I know max slew speed depends on at lot of things.  One is speed of the processor.

I started experimenting more with this SkyTrack <https://www.heavenscape.com/index.html> satellite tracking software and i want to see if i can speed my mount up.

On my ESP based OnStep board i am getting a max of 1.4deg per sec.

If i bump by steps per degree in config.h to a lower number I get some more speed (AKA i have to build a new mount made for speed). How else can i increase slew speed?  Or do i need to build a PCB with a Teensy on it?  I think  i want to aim for 6 degrees per second.  4 is working pretty good, but i want to push it further.

Like one thing i want to experiment with is tracking ISS for doing radio communication with it.  I dont need arc second precision. I need degree precision.

Thanks!
Chad
--
Authorized OnStep Dealer and Creator of the CGE Pro Conversion Kit
https://graydigitalarts.com/


Re: Do I need to re flash after changing DS3231 STM32 #stm32 #bluepill

 

Have a look at these eeprom diagnostic sketches for STM32: https://onstep.groups.io/g/main/files/Utilities%20for%20STM32

Maybe try executing :ENVRESET# in serial console, reboot, wait minute or two then reboot again and initialize controller from scratch (I don't know if this works with STM32), but it purge EEPROM and put default values back in on other controllers. Since STM32 don't have flash or eeprom of it's own, it uses one in DS3231 module and will not work without it.


Re: Do I need to re flash after changing DS3231 STM32 #stm32 #bluepill

Dave Schwartz
 

No  need to reflash anything. The OnStep code is stored in the flash memory integral to the STM32 chip. The only thing that would have been lost is that stored in the DS3231 (ZS041) module which would have looked completely blank to OnStep on first startup so I would have initialized it with all the compiled-in settings from your Config.h when it was built and the dynamic settings such as the location and focus position, as you noticed, would have been set to their defaults (usually zero). All will go back to working as before once you reinitialize those things with the app or SHC again.

On 2022-11-30 5:09 a.m., OuttaControl wrote:
Hi,

My DS3231 burned out (failed to boot with it) so I ordered another one. When I plug new one in it boots, but Time/ Location/Focus resets to zero, same as it is not booted (pwr led glows on DS).
As I am not sure about my code version I am reluctant just to try to re flash it to test as I may lost configuration.

Is it possible that I got bad DS3231, or I need to re flash when changing chip?


Re: ASCOM Switch with S6 #fysetc

Howard Dutton
 

On Tue, Nov 29, 2022 at 05:58 PM, Lloyd Simons wrote:
So i tried inserting a relay with diode between the camera and the regulator. I tested with another 12v device and this works fine. However, when I try connecting to my camera, it connects power (I hear the relay close) and I can no longer operate the ASCOM switch. Is this the USB 3 power causing this problem?
How about a schematic.


Re: ugrading an EM10 OnstepMini version 1

Howard Dutton
 

On Tue, Nov 29, 2022 at 10:50 PM, ETXcetera wrote:
But really, is it not out of the question with OnstepX to just use an E4 as a focuser and dew heater?
Not at all.  OnStepX was designed from the beginning to be modular where you can compile any combination of Mount, Rotator, Focuser, or Auxiliary Feature.  When one of the sub-components is not enabled it is not just disabled in software, it is removed by the C++ pre-processor so the code isn't even compiled.

When you do this though you loose some integration features so your Auxiliary Feature only design will not be controllable from the Android App or SHC...

The Website plug-in and SWS, however, are adaptive and will display only the relevant pages for AF control.  The ASCOM driver should still work with it too.


Re: MiniPCB2 -- Axis 2 stepper driver not working

hitosi sato
 

Hi
Are VM and Vcc normal on the stuck AXIS2 motor driver pin?

Hitoshi


Re: MiniPCB2 -- Axis 2 stepper driver not working

Howard Dutton
 

Reading this over... I wonder about the Axis2 M0,M1,M2 pins (MOSI, SCK, CS.)

It is required for the TMC-SPI driver to be programmed before it powers up the outputs.

You'd need an oscilloscope to see the signals being sent on those pins but instead you could set Axis2 to an LV8729 and set various microstep modes to see the M0, M1, M2 states appear High/Low on your meter.  That would be a fair indication of it working or not.

Mode M0 M1 M2
1x Low Low Low
2x High Low Low
4x Low High Low
8x High High Low
16x Low Low High
32x High Low High
64x Low High High
128x High High High


Re: Teensy 3.2 availability #mini

Howard Dutton
 

On Tue, Nov 29, 2022 at 11:04 PM, ETXcetera wrote:
so the screws for it are on the back, not the front?
Only if recessed.


MiniPCB2 -- Axis 2 stepper driver not working

d.revan
 


Got a doozy.  I can't get the axis 2 stepper to respond to any move commands.  The axis 1 stepper works as expected.  

My setup is the MiniPCB2 published board, using a Teensy 4.0, BTT TMC2130 drivers, and the Wemos board for the SWS.  I'm using StepperOnline Nema 17 1.5A 1.8 degree motors.  32 microsteps.  12V input power from a 6 amp power supply.  Actual measured voltage is 12.48V.  

Here's a list of things I've tested: 

1. Used the reset home button in the smart web server and enabled tracking to allow manual moves.  E&W buttons move Axis 1.  Nothing happens when pressing N&S buttons.  First time I pressed reset home, the below horizon error popped up in the status screen.  I adjusted the allowable range of the Alt axis to -30 and the error no longer pops up when using the reset home button.  

2. Swapped stepper drivers, stepper motors, and connection cables to the steppers in every possible configuration.  Axis 1 always works with whichever combination of stepper/driver/cable is used there, and axis 2 always fails to work.

3. Tested voltage at the enable pin.  With the steppers disabled in the OnStep webserver (used the home reset button in OnStep to do this), there is 3.3v present on Axis 2 (also on Axis 1).  With the steppers enabled (enabling tracking), there is 3.0mV present at the enable pin on Axis 2, but the stepper motor can be moved by hand freely.  On Axis 1, there is 0V at the enable pin, and the motor does not move freely.  

4. Tested continuity and resistance from the control pins on the stepper to the appropriate pins on the Teensy 4.0 board.  All checked out on both stepper drivers.

5. Went into the pinmap.h file and swapped "Axis1" for "Axis2" throughout the MiniPCB tab.  Compiled and uploaded the revised firmware to the Teensy and tested again.  With the modified firmware, N&S now moved Axis 1, but Axis 2 is still unresponsive - E&W buttons do nothing.  I may be misinterpreting, but this result seems to confirm that the problem is a hardware problem as opposed to a software problem.  

6. Changed the firmware back to normal.  I had been using the trim pot on the steppers to control current, so I switched to SPI in the firmware just to see if that would somehow help.  It didn't.  Same behavior.  

The only thing that I see that is slightly out of expectation (other than axis 2 not working at all) is the 3.0mV present on the enable pin when the drivers are enabled.  I'm having trouble finding information about whether that is enough voltage present to prevent the driver from enabling.  My hunch is that this is not the problem

Any suggestions on how to proceed with further troubleshooting would be greatly appreciated.  

  



Do I need to re flash after changing DS3231 STM32 #stm32 #bluepill

OuttaControl
 

Hi,

My DS3231 burned out (failed to boot with it) so I ordered another one. When I plug new one in it boots, but Time/ Location/Focus resets to zero, same as it is not booted (pwr led glows on DS).
As I am not sure about my code version I am reluctant just to try to re flash it to test as I may lost configuration.

Is it possible that I got bad DS3231, or I need to re flash when changing chip?


Re: Cannot connect to wifi and no Bluetooth on my first build. #esp32 #wifi #maxesp3

Ketil Vegum
 

I may have the same problem.

Not able to conect BT. on self buid card.

I got connect when stepmotordrive (TB6600) not was connecded at startup.
I found "IO 0" make the trouble, so if I connect this wire after I got Bluetooth connect it's work.

My solution was to put a TTL pack betreen ESP32 and stepmotorcontroller.
Thats work!
Then set up  TTL on all the output pin RA DIR, RA Step, DEC DIR, DEC step, ant its work fine!

I think the load on ESP pins is to heavy while conecting stepmotordrive, but this TTL solution solve it.

Ketil Vegum



--
Slewing /navigating  speed.

Hello.

I have an ESP32 wrom with / MaxESP3 configuration. (testlab on table)
I have connected to Skysafari6 pro via Bluetooth.
Goto function works so far, but there are some other challenges.
When I get to an object, I want to make some small adjustments from SkySafari.
Here I get a little problem, because I have not figured out how I can change the slew / guide / tracking speed on Skysafari. - or parameter for this in onstep.
Then I have set up ST4 and try to drive from here, but the speed is too low.

I have a Skywatcher EQ6 with synScan. here I can adjust the "rate" from 1-9 for different speeds,
and want to do something similar onstep.
So far I have not figured out how to do this onstep, and it may not be possible with this configuration.

Maybe I need to look at smart hand controll (SHC)?
Will SHC have this function?

Another problem is the bluethoot connection.
When everything is connected, I can not connect between ESP32 and the onstep app on the tablet.
By connecting the cable to the R.A. direction, I get in touch, and then I can put the cable in place,
then it's fine.
Is there any explanation for this?

Then there are a few more things that I have not achieved yet,
but it will have to wait until I have achieved this.

Best regards Ketil


Re: Onstepping Eq5 and skywatcher 200p

 

You only must have integer number of steps per worm rotation, or rounded up to nearest whole number (AXIS1_STEPS_PER_WORMROT is integer), but that has nothing to do with gear ratio of 3.75 because these two decimal places will disappear by multiplying by 200 or 400 steps per motor revolution anyway:

400 (motor steps/revolution) * 32 (microsteps per each full step) * 3.75 (GR1) = 48000 steps per worm rotation

I would get rid of PEC for sure. It's very delicate, requires special attention and it's potential source of many problems if used incorrectly. And can't cope with autoguiding. I rather make shorter subs but many of them if i don't use autoguiding. PEC will not help you a lot anyway and when it does, it only works with smaller focal lengths like camera lens up to 300mm.

With example above (400steps, 32 microsteps, 3.75 GR1) you will have 53 microsteps per each arc-second on EQ5, that's plenty for AP. Going with 1/64 over 1/32 microsteping may not be always better idea. Depends on tons of factors (motors build quality, current and voltage settings, stepsticks advanced features, MCU oscillator accuracy) and use scenario you may even have worse performance. In edge cases, there will be more skipped steps with 1/64. And most of them happen when motor is accelerating or decelerating (changing speed, starting, stopping - autoguiding). So, before you go 1/64 you first get rid of edge cases - increase GR1, use interpolated drivers, motors with more steps per revolution, etc... But then You already increased angular resolution by other means and not need 1/64 anyway. My unguided tracking worked just as same with 1/64 as with 1/32, but with autoguiding I had better total RMS when using 1/32, until I brought all the other things to perfection, now it's all the same for me.


Re: Configuration Calculator 1.19+ and Driver Microsteps

Klaus
 

Thank you George,
 
here in Germany we say:
 
"Whoever can read has a real advantage"

Klaus


Re: Onstepping Eq5 and skywatcher 200p

Nick Bramhall
 

Hi Chris. I'm also in the UK and have upgraded my old EQ5 mount with OnStep. I mostly use it with a small refractor for imaging but have also had my 200P on it for visual and OnStep had no problem driving the bigger reflector. I have a thread here for my build and also a page on my website. If you have any questions feel free to reply here or on the build thread.


Re: OnStep and Sky Safari Pro work well together!

ETXcetera
 

I too have wondered if possible to bypass onstep app and go straight to skysafari. I currently use Android App for setup and then iphone for navigation 😒. I have not tried this yet but I was thinking if you change

#define TRACK_AUTOSTART               ON

Then it should be unparked when you plug the mount in.
In Skysafari there is a toggle for "Set Time & Location".
If you have a decent polar scope and are polar aligned, then pointing to a bright star and Aligning to it in the app might work.

I would also probably use these settings:
#define PIER_SIDE_SYNC_CHANGE_SIDES   ON
#define PIER_SIDE_PREFERRED_DEFAULT  BEST

All is lost I think if Skysafari cant set the time and location (maybe your board has a real time clock though :-)


Re: Onstepping Eq5 and skywatcher 200p

ETXcetera
 

Is it important to have an integer ratio when it comes to PEC? My first conversion I did with 60:16 (3.75) and .9A steppers as I thought thought the larger ratio would help tracking accuracy (60 tooth barely fits). I have another mount that I have 48:16 (3:1) with 2A steppers. My plan was to use 64microsteps with the larger motors and integer ratio but keep similar tracking accuracy.  Definitely needed the 20V power supply for the 64 microsteps.


Re: Teensy 3.2 availability #mini

ETXcetera
 

On Tue, Nov 29, 2022 at 04:52 PM, Howard Dutton wrote:
little 3D printing magic can put tiny holes in face
Speaking of holes in the face. I will just throw this out there. Can we (the smart 3d printer people), design the SHC case to be upside down, so the screws for it are on the back, not the front? Form over function for sure.


Re: ugrading an EM10 OnstepMini version 1

ETXcetera
 
Edited

Shoot I haven't been around long enough for PCB1. I guess surface mounting the E4 over the old controller is the way to go :-).

But really, is it not out of the question with OnstepX to just use an E4 as a focuser and dew heater? On my ED80 scope the case fits in the void made by the tube rings between the dovetail and the tube. Im not sure of the challenges faced with concurrent connections with two Onsteps but Im sure it has been discussed here.


ESP vs. Teensy and max slew speed

Chad Gray
 

I know max slew speed depends on at lot of things.  One is speed of the processor.

I started experimenting more with this SkyTrack satellite tracking software and i want to see if i can speed my mount up.

On my ESP based OnStep board i am getting a max of 1.4deg per sec.  

If i bump by steps per degree in config.h to a lower number I get some more speed (AKA i have to build a new mount made for speed).  How else can i increase slew speed?  Or do i need to build a PCB with a Teensy on it?  I think  i want to aim for 6 degrees per second.  4 is working pretty good, but i want to push it further.

Like one thing i want to experiment with is tracking ISS for doing radio communication with it.  I dont need arc second precision. I need degree precision.

Thanks!
Chad
--
Authorized OnStep Dealer and Creator of the CGE Pro Conversion Kit
https://graydigitalarts.com/