Date   

Re: Motors not Spinning at Low Rates #error

Khalid Baheyeldin
 

On Sun, Dec 27, 2020 at 07:50 PM, Pupper wrote:
would the vref voltages be the same? For example if I wanted the 0.95A peak then I'd set vref to 0.95V?
No!

The Vref has a formula that is specific to the stepper driver that you are using.
Google the Vref formula and use that to get 0.95A.


Re: Motors not Spinning at Low Rates #error

Pupper
 

Oh okay thanks so much.

So those currents are peak values, and would the vref voltages be the same? For example if I wanted the 0.95A peak then I'd set vref to 0.95V?


Re: SHC Enclosure - Printed, no PCB needed :)

Sylvain Mennessier
 

I ordered the oled screen from Amazon, the only one available in France quickly, but the dimensions are slightly different.

I will have to modify the drawing, to see if I cut acrylic with a laser or a CNC milling machine.

Good project for the coming weeks.


Re: SHC Enclosure - Printed, no PCB needed :)

MartinL
 

There is a small chamfer on the edge ;) so it is ok to hold. I keep it simple - larger radius makes everything more complicated - colision with countersunk holes for screws, thickness of parts and so on. Technically possible, but too much effort at the moment :)

Regarding WII joysticks - not suitable - they dont have middle button function :(

Regarding Teensy - cavity for MCU module is largre - shall be possible to fit in anything else - or just modify the part :)

Martin


Re: Blue Pill Upgrade: RobotDyn F303CC

George Cushing
 

The irony is that the cloned ST-Link V2 uses a CSK IC too. The link works fine with ST's software.

I've got some STM32F103CB ICs. I'm going to try mounting some on F103C8 carriers once I get the T962 reflow oven hooked up.







Re: Recovery of parameters Now focuser question.

Wayne Hilliard
 

Thanks Khalid,
I tried the commands you specified and the :GXA1# and :GXA2# only returned a single zero so I said to heck with it and uploaded the new firmware. RA and Dec seem to be fine. But now my focuser is messed up. Either that or It's fine and I don't understand the new options in Indi control panel when it comes up. Bear in mind I don't use Android or Windows so all I have to control this is Kstars/Ekos/indilib.  The focuser motor energizes, when I click mid-point on the focuser control in the Indi control panel the motor moves half the limits in the OnStep configuration file. But nothing else seems to work.

The version of OnStep I was using was pretty old and it seems like there has been quite a bit of change in how OnStep treats the focuser. The focuser is a simple stepper coupled to the focus threaded rod that moves the mirror in my C8.
Anybody have any advice?

Thanks,
Wayne Hilliard


On Sat, Dec 26, 2020 at 11:50 AM Khalid Baheyeldin <kbahey@...> wrote:
On Sat, Dec 26, 2020 at 08:38 AM, Wayne Hilliard wrote:
Recently I had a computer crash that wiped out the OS on the Intel Nuc that I use to control my telescope in my observatory. I also lost my configuration of my Arduino that I used to program the onstep controller. Is there any way I can recover the parameters stored in the MKS Gen-l board. I don't need that much just the Axis 1 axis 2 and axis 4 (focuser settings) actually I don't need them so much as I want to use them to check what I've set in the new Onstep code before I upload the code to the MKS!
From the IDE's Serial Monitor, try the following:

:VW#
This should return the steps per worm rotation for the RA.

Then try these:

:GXA1#
:GXA2#

It should return a series of numbers. Post them here and we will decode them.


Re: WeMos ESP32 + CNC3 and Aux8

Ken Hunter
 

You are partially correct there...

The input of the R32 that I have is fed to a regulator (MP1482) through a reverse protection diode with a 0.7V drop in the forward direction. The recommended input voltage for the 1482 regulator is +18V, The absolute Maximum input is +20V at the input pin of the regulator (per the manufacturer data sheet) .

Since the voltage drop of the reverse protection diode subtracts the 0.7V, one would be correct in assuming that the input of the R32 board should NEVER exceed 20.7V .

The nominal +20V for the HP laptop and printer power supplies is usually +19V... BNA
A running vehicle is usually charging the battery around 13.6 - 14V... BNA

A decision based on the above information is definitely in order. I would make sure the output of whatever source you choose does not exceed the +20 volt to the R32. I run my CNC board at 13.8V and so far the R32 hasn't complained.

Ken

BNA = But Not Always


Re: OnStep up and running!!!

Lloyd Simons
 

Egge,

It looks like you have significant backlash in Dec. Try adjusting the mesh of your worm gear. Onstep and PHD can help compensate for backlash but you want to try to have as little as possible mechanically first.

Lloyd


Re: MiniPCB v2: Alternatives to some components?

UndCon
 

 

Here are 2 resistor arrays on my SHC.


Re: SHC Enclosure - Printed, no PCB needed :)

UndCon
 

Looks great. I would take some time to round off all corners to make them hand friendly. (not sure they are, I'm on my phone atm) and I would like to see one for the Teensy as well, might fit without mods? 

I have joysticks from WII nunchucks. Might also work. 


Re: WeMos ESP32 + CNC3 and Aux8

Onno Kuijken
 

If you combine the two supplies, isn't the R32 board limiting the input to 12 V max?


Re: SHC Enclosure - Printed, no PCB needed :)

Sylvain Mennessier
 

On Sun, Dec 27, 2020 at 04:31 AM, <simingx@...> wrote:
Ah, the analog functionality was only available in Onstep-Master. I've found it now, thanks!
It's also in beta 4.xx.x


Re: OnStep up and running!!!

Egge
 

Hi

in the meantime everything works realy nice! After many weeks of bad weather, yesterday was a clear and very cold night.
So I went out with my Newton (200/1000) on EQ5 with OnStep (STM32). 40/16 pulleys on both axis. 400steps motor on RA and 200step motor on Dec-axis. In config.h. 32 microsteps for tracking were selected for both axis.

Polar alignment was done to be below a few arc-minutes. I did not (yet) optimize backlash and/or did any tests with PEC.

Then I used guiding: PHD2 with a USB cam directly on my finder scope (Skywathcer 50x9), which gave good guiding stars. OnStep was linked through PHD2.

In some cases I good very encouraging results - guiding was in the range of +/-2" (exept beginning).


however in other cases the results were not so good (deviation of up to 8").


As far as I understood, for good astrophotography values of less than 1" are required.
I recognized, that the main deviations are from the Dec-axis. Could this be related to the stepper motor with only 200 steps? Do I need other pulleys (e.g. 60/12 teeth)? Can I modify something in the config.h (e.g. changing amount of micro-steps?)

Can some of the experts give me some advices?

At the end I already got some very nice pictures from Orion-Nebula (at least very nice for me as beginner) - small section of original image and shrinked by factor 16; taken with 5min exposure and ISO100.


and this a very small section of the original image (without shrinking)


So I hope to get even better results, with improved guiding...

But I'm very happy with these first results!!! Thanks to OnStep!!!


Re: SHC Enclosure - Printed, no PCB needed :)

simingx@...
 

Ah, the analog functionality was only available in Onstep-Master. I've found it now, thanks!


Re: Combining OnStep with Celestron #celestron

Chris Vaughan
 

Have uploaded all the instructions. Any questions, comment - ask here


Re: FYSETC S6 Virtual serial disappears #fysetc

Hemant Kulkarni
 

So  there were few issues I saw not only did the COM port driver vanish, but an unknown device appeared in USB hub section of device manager. I had installed STM's virtual COM port driver. It is very poorly written and does not enumerate the device well on Win 10. I removed it, then I saw the port simply disappeared. I removed all the components connected to the board, it worked. Then I added Wemos D1 and GPS it continued to work each time. It failed again when I inserted the S109 drivers. I noticed the RA driver seemed to not cause trouble. I had an old DRV8825 lying around, replaced DEC S109 with it and flashed Onstep with this config. It worked. Then I noticed the VIO pin on Fysetc S6 is VDD pin on S109 which acts as logic high. I chopped it off and so far it has seemed to work every time.

-Hemant


Re: Blue Pill Upgrade: RobotDyn F303CC

Khalid Baheyeldin
 

Martin,

We don't know, as of now, what the "IC defect" that RobotDyn quoted when cancelling orders.

You are the second (or third) person on this group to transplant an F303CC to a Blue Pill board.
Mike Gore was the first. Not sure if someone else did it or not.

There are at least two other people outside of the OnStep community that also transplanted
an F303CC to a Blue Pill board.

Here is one on instructables. (though it is a 128K F303CB, not 256K CC, but the technique is the same).
The other was someone in Europe which wrote a detailed blog post that I can't find right now.


Re: Blue Pill Upgrade: RobotDyn F303CC

Martin Bonfiore
 

I would also like to know more about the "defect" that was referenced by Robotdyn on the F303 chip.  The one Blue pill board that I did the swap on (described in a previous post) seems fully functional in terms of driving the axes, the focuser, the SHC interface, the serial interface to the USB port, the Wifi serial interface etc..

The Onstep firmware uses 65 % of the program space (at first blush, I though it would be around 50% since it has twice the memory but then I realized that the compiler is set to maximize operating speed...that might account for the difference.  Also, it may be that the "defect" resides somewhere up in the remaining memory that I have yet to exercise...but the code is definitely demonstrating that the chip has more than 128K..   I don't have the full Onstep functionality so I can't say that the F303 does not (or will not) suffer from the "defect" in the future...but so far so good.  

I just did a swap on a second blue pill board and it it certainly fussy work but this one seems fine as well.  As they say your mileage may vary....


Re: Blue Pill Upgrade: RobotDyn F303CC

Khalid Baheyeldin
 

On Sat, Dec 26, 2020 at 12:49 PM, Keith Trivett wrote:
In the UK and possibly other countries the CS32F103C8T6 is readily available , not sure what percentage have 128kb but our UK seller checks them. Think you need to use st-link to program,  which is well worth investing in anyway for the few pound it costs.
I have a few of these CKS modules. Half of them turned out to be 128K, while the other have has only 64K.
No, you don't need an ST-Link adapter (unless you have one already).
All you need is to go to the Wiki STM32 page, under Troubleshooting and create a solder bridge on the R3 resistor if it is marked as what is in there.


Re: Blue Pill Upgrade: RobotDyn F303CC

Keith Trivett
 

In the UK and possibly other countries the CS32F103C8T6 is readily available , not sure what percentage have 128kb but our UK seller checks them. Think you need to use st-link to program,  which is well worth investing in anyway for the few pound it costs.

16881 - 16900 of 45632