Date   

Re: Hello from a newbie (onstep)

Khalid Baheyeldin
 

Ken,

This is the page for the S6, which has 'the works' and reasonably fast,
specially with the SPI drivers (TMC2130 or TMC5160, the latter is more
expensive, but has much less heat, and more current for larger motors).

And this is the page for the W32 + CNC V3. If you already have the shield,
then the W32 is very cheap, and you can get a controller quickly, get all
the mechanical part sorted and then test with it. If it is adequate (no reason
it won't be so), then stay with it. Just don't use the DRV8825 unless you
are doing purely visual. If you want astrophotography, then use the low
cost LV8729, and be done with it.

You can always scrap what you have and start anew with another controller
without having sunk a lot of money in the electronics part.


Re: New build. Can I use a HiLetgo STM32F407VET6?

Mechotronic
 

Thanks for the response. I should have been clear with my previous post in that I'm comfortable with embedded development and don't mind getting my hands dirty. I did some more searching and it looks like the F4 is working okay for some people in various forms. I have piles of microcontrollers that I need to use up. The extra I/O would be nice too because I will probably tinker quite a bit with it.  

Are you referring to the ESP32 Uno style boards when you mention the R32? Those look pretty neat. I may look into those since they're $10 if F4 fights me too much. I would get the F6 in a snap if it wasn't going to take until the end of December to ship to me.


Re: Hello from a newbie (onstep)

Ken Hunter
 

Another question...

I have ordered some SHC boards and the parts needed to complete 2 SHC's. 5 boards should be on the way in a few days. I do not anticipate that I will need to use more than 2 of them. Is there a way to offer the extra boards and parts to folks on the onstep group and also perhaps see if other folks are having extra boards etc. to offer also? For instance when I ordered the RJ connectors, I opted to get the bags of 50 items as the price difference was minimal on Amazon. I WILL have extras of these for sure LOL...

Why buy 5 for a dollar when you can get 50 for 2 dollars?

Ken


Re: New build. Can I use a HiLetgo STM32F407VET6?

Khalid Baheyeldin
 

On Mon, Nov 23, 2020 at 01:00 PM, Mechotronic wrote:
I'm new and looking to build my first setup. I'm adapting a dob with some 100:1 motors and a bunch of 3d printed parts. After digging around it looks like 32bit has a lot of advantages and I'd like to go that route. I was wondering if the controller here: https://www.amazon.com/HiLetgo-STM32F407VET6-Cortex-M4-Development-NRF2410/dp/B071KBZR58 is a good fit? I'm just wondering if there are any gotchas to using this. I already have one sitting around so it would be easy to use, but I'm not dead set on it.
If you go that route, then you are on your own. You have to create a HAL file for that board, and also a pinmap.

What I recommend is that you use something that has already been developed, debugged, and tested instead.
The MKS Gen-L (cheap but slow) and the FYSETC S6 (faster, for a bit more money) provide all the features of
OnStep in ready soldered boards. The R32 + CNCv3 is very cheap and still fast enough. It lacks heaters though
if you ever want them. The OnStep purpose built boards require ordering parts (or kits) and soldering everything
together, but offer a broader selection of drivers.

So there is already a wide variety of solutions. No need to create another one that has no clear advantage.


Re: New user with #superpolaris

George Cushing
 

For low cost and pure simplicity it's hard to beat the Wemos R32 with CNC V3. If you are content with control by USB and no bells and whistles be on goto and accurate tracking you can be up and going for under $20. But start adding features and you are beating a new path. 

Yes, the ESP32 and Teensy based controllers are the easiest to program. Especially the Teensy. I will often flash half a dozen at a blow. Once OnStep is compiled in the IDE all you have to do is attach the Teensy to the USB cable and select upload from the Teensyduino popup without returning to the IDE's Upload function. Six can be flashed in a couple minutes. Purchased by the dozen a Teensy 4.0 runs about $22 a unit delivered. That buys you more than 50 ESP32 development boards. While the ESP32 unit is more costly than the BluePill, if you take the cost of the DS3231 RTC and the USB RS-232 adapter needed for the BluePill the cost difference is minimal. Until you get to the STM32F411CEU6 there is no performance advantage over the ESP32. And there would have to be PCB modifications to use the F411, as well as, firmware tweeks.

So it seems to me, if you need 600MHz and a small foot print without all the features of the MaxESP3, then the MiniPCB2 makes sense. Otherwise, unless $2 BluePills return to the market, the MaxPCB @ $40 is the way to go.


Re: Hello from a newbie (onstep)

Ken Hunter
 

Hello Howard...

Yes, the ~750 steps per degree is what I get in FullStep with my NEMA 17's and 8225 drivers on the cncV3/UNO configuration.
Using AccelStepper acceleration I can get a bit more speed but torque and stalling/skipping is the result. I am using a 13.6 volt 35 amp supply so the power is "STIFF" and not an issue on the bench. Yes, I already have the UNO/cncV3, 8225's etc and have learned a lot during this Covid learning period so not a wasted effort or expense for me. If it's better to go another route, I will just change directions and chalk up the UNO/cncV3 to an Arduino programming and learning experience and move on even though I do have the parts on the way for the wemos/cncV3 as well as the SHC boards that I should be able to use whichever way I eventually go. For me, this is an exercise in design, construction and gaining a better understanding of the computing and PID process. I have spent several years living on observatory grounds so observing in the cold at objects I've seen with scope apertures measured in meters is not all that important LOL...

One thing I might suggest... As a newbie coming into the onstep world it took me a long time to realize that all the boards mentioned on the right side of the page were "alternate" ways that have been used to produce the onstep system and each way was an individual solution. I'm not sure how a better explanation of this could be presented but there was major confusion for me until the lights were switched on and I saw that these were different routes to the same result.

Safely isolated at home, soaking up info and trying to make sense of it all..

Ken


New build. Can I use a HiLetgo STM32F407VET6?

Mechotronic
 

Hello everyone, I'm new and looking to build my first setup. I'm adapting a dob with some 100:1 motors and a bunch of 3d printed parts. After digging around it looks like 32bit has a lot of advantages and I'd like to go that route. I was wondering if the controller here: https://www.amazon.com/HiLetgo-STM32F407VET6-Cortex-M4-Development-NRF2410/dp/B071KBZR58 is a good fit? I'm just wondering if there are any gotchas to using this. I already have one sitting around so it would be easy to use, but I'm not dead set on it. Thanks!


Re: OnStep + ESP32 (WemosD2R32) + Motor Shield V3 + Wii Nunchuk

Khalid Baheyeldin
 

On Mon, Nov 23, 2020 at 11:49 AM, Kedar wrote:
I am bit confused about the "set the jumpers for the microstep" part. I don't see any jumpers on the LV8729's I have.
They are not on the driver itself.

I guess you are referring to CNCv3.
Yes.

I found this on the net that covers the topic. Is this correct?
Yes, it is the M0/M1/M2 under each socket (X and Y).
You need to lookup the LV8729 values that correspond to the microstepping that you have
in your spreadsheet, then set the jumper accordingly.

May be we should add this to the wiki page covering Wemos D1 R32 & CNCv3.
It is already there, briefly:
"The LV8729 is the recommend driver due to its low cost and easy setup. These stepper drivers operate in
a fixed micro-step mode selected on the 3x 2 pin headers under to each stepper driver."


Re: OnStep + ESP32 (WemosD2R32) + Motor Shield V3 + Wii Nunchuk

Kedar
 

Thanks!
I am bit confused about the "set the jumpers for the microstep" part. I don't see any jumpers on the LV8729's I have. I guess you are referring to CNCv3. I found this on the net that covers the topic. Is this correct? May be we should add this to the wiki page covering Wemos D1 R32 & CNCv3.


Re: OnStep + ESP32 (WemosD2R32) + Motor Shield V3 + Wii Nunchuk

Khalid Baheyeldin
 

On Mon, Nov 23, 2020 at 11:19 AM, Kedar wrote:

1) How do I power the R32 + CNCv3 combo? Just powering the CNCv3 be sufficient?
    Or I need to power both from the same source with a (hydra) split power cord at 12v?
    I am planning to use 12v nominal (10v -> 14v) Li Ion supply eventually.
    Right now I have a 1.5Amp wall wart to power this @12v.

Yes, a Y cable can be used to power both boards. One branch for each board, from a common
source.

2) There are 4 slots for hooking up the stepper drivers on the CNCv3 named X Y Z & A.
     Which one to use for RA & which one for Dec?
     X for RA, Y for Dec? And the header pins marked "End Stops" for limit switches?

X is Axis1/RA, and Y is Axis2/DEC

3) I suppose I can plug in the LV8729's but not wire up the motors when I attempt the
    first OnStep download to this setup.

Yes.
Before you insert the drivers, set the jumpers for the microstep you will use.


Re: Parts arrived! Time to build

Drew 🔭📷🚴‍♂️
 

As George pointed out, you will need to reorganize your workstation to OnSteper's high standards.


Re: OnStep + ESP32 (WemosD2R32) + Motor Shield V3 + Wii Nunchuk

Kedar
 

Hi,

I got Wemos D1 R32 today afternoon and have since gotten basics to work: ability to load code, toggle LED etc. I have cut off the 10k resistor on the CNCv3 shield and bolted the shield on the R32. I would appreciate if anyone can help answer a few questions before I proceed:

1) How do I power the R32 + CNCv3 combo? Just powering the CNCv3 be sufficient?
    Or I need to power both from the same source with a (hydra) split power cord at 12v?
    I am planning to use 12v nominal (10v -> 14v) Li Ion supply eventually.
    Right now I have a 1.5Amp wall wart to power this @12v.

2) There are 4 slots for hooking up the stepper drivers on the CNCv3 named X Y Z & A.
     Which one to use for RA & which one for Dec?
     X for RA, Y for Dec? And the header pins marked "End Stops" for limit switches?

3) I suppose I can plug in the LV8729's but not wire up the motors when I attempt the
    first OnStep download to this setup.

Is there anything else I need to worry about before powering on & loading the firmware?

 

Thanks/Kedar


Re: Remote control collimation - ideas please

George Cushing
 

I just got a couple of these for experimentation. $6

image.png
They will drive a small stepper. The remote is a clone of a Sony car stereo unit.



Re: Parts arrived! Time to build

George Cushing
 

Your workstation is far too organized!
Cave.jpg


Re: Project Onstep on mount EQ-Sky / Astro-3

George Cushing
 

We have an expression here: "Making a silk purse out of a sow's ear." As you say these were sold through out the EU about a decade ago. IIRC these were from Jinghua (Explorer Scientific/Bressler) and were their model EM-8. they were offered in a 2010 Bosma (iOptron) catalog I have. Love to see what what you could do with a CG-5!

Please follow up with some performance results.


Re: #uart #EQ3 #uart #EQ3

Dave Schwartz
 

The obvious indication would be that there's something wrong with the wiring of the DIR pin to the RA driver. Try switching the RA and DEC drivers and see if the problem follows the driver (problem with driver) or stays with the axis (problem between MCU and driver socket).

On 2020-11-23 2:28 a.m., wxjwly2000@163.com wrote:
My RA axis motor can only rotate in one direction


Re: Hello from a newbie (onstep)

Howard Dutton
 
Edited

On Mon, Nov 23, 2020 at 03:26 AM, JOAN wrote:
I use a MKS board with DRV8825 .
DRV8825's can often be really poor performers and so are not generally recommended.  Like most rules there are occasional exceptions (as in... I already have them and they work or using for focuser tin-can motor.)

According to you comment:

For example, the 3D printer boards (MKS Gen-L, FYSETC S6) and the CNC board (R32/CNCv3),
are not wired the same way as dedicated OnStep boards (Blue Pill, MiniPCB, MaxPCB), and
therefore the former will work fully only with two drivers (TMC2130 or TMC5160), while the
latter support more drivers (LV8729, S109).

Will I get problems with th drivers I use?
  • All supported 3D printer/CNCV3 boards provide shunts under the drivers to manually configure any micro-step mode you like for traditional StepStick drivers (LV8729, S109, etc.)  The slow Mega2560 based MKS Gen-L boards will be limited in goto speed with this kind of setup though since there is no ability to change the micro-step mode from within OnStep.
  • Most of our purpose designed OnStep boards (Bluepill, Mini2, Max2) allow the processor to do that same micro-step mode configuration.  They all have faster processors than the Mega2560 but they also allow changing the micro-step mode from within OnStep for fast gotos regardless.
  • Some 3D printer boards (S6, Mks Gen-L v2.0 v2.1) can also be configured for an SPI bus interface to the stepper drivers (so SPI controlled TMC2130 and 5160 drivers can plug right in and work.)  This allows changing the micro-step mode from within OnStep for fast gotos.
  • All of our purpose designed OnStep boards (Bluepill, Mini2, Max2, Max3) can be configured for an SPI bus interface to the stepper drivers (so SPI controlled TMC2130 and 5160 drivers can plug right in and work.)  They all have faster processors than the Mega2560 but they also allow changing the micro-step mode from within OnStep for fast gotos regardless.
There are "tricks" that would allow one to work around the MKS Gen-L limitations WRT to using mode switching with traditional StepStick drivers, like the LV8729 etc, it requires a little soldering (jumper wires or bridging driver mode control pins) and an understanding of how things work though... so I don't know of anyone who's actually done it.


Re: Onstep with Rasberry Pi 3+ Kstars and Ekos

Rafael Barberá Córdoba
 

Brian, thank you for your detailed explanation about how USB works on Raspberry PI computers.


Re: Hello from a newbie (onstep)

Howard Dutton
 

On Mon, Nov 23, 2020 at 02:08 AM, Ken Hunter wrote:
Is the "wemos/cnc3"  mentioned earlier a replacement, another way, or something to be avoided
because of lack of PCB, support etc?
Something to be avoided?  Not at all probably the way to go for you given you already have the CNCV3.

What stepper drivers do you have and "is about 748.75 steps per degree" based on full step mode?


#uart #EQ3 #uart #EQ3

wu
 

My RA axis motor can only rotate in one direction

4781 - 4800 of 32467