Date   

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


Re: Hello from a newbie (onstep)

JOAN
 

Hi Khalid!
I use a MKS board with DRV8825 .
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?

Thanks for you support. You are great!
Rgds,
Joan Bertran


Re: Wemos D1 mini pro compile problem

Harry Wu
 

So there’s a problem with pcb,
maybe the soldering, or the female pin header?
controller is fine, i can connect it with usb.
Is there anyone know where’s the problem?


Re: Hello from a newbie (onstep)

Ken Hunter
 

Ummm... Reading the comment/reviews reveals that these are NOT the STM32 chips... They are different
clones that are sub-par and probably not usable in this project.

Sorry for the wasted bandwidth.

Ken


Re: Hello from a newbie (onstep)

Ken Hunter
 

Just found these on Amazon... https://www.amazon.com/s?k=STM32F103C&ref=nb_sb_noss
Is this the "BluePill" we are looking for?

Is the "wemos/cnc3"  mentioned earlier a replacement, another way, or something to be avoided
because of lack of PCB, support etc?

Caution: Blind man feeling his way in the dark!

Ken


Re: Hello from a newbie (onstep)

Ken Hunter
 

Hello Khalid...

Thanks for the info even though I am fast approaching info overload.

Such a steep learning curve for something I thought would be an easy solution.
I am not familiar with the (MKS Gen-L, FYSETC S6 and Blue Pill, MiniPCB, MaxPCB)
I believe the CNC board (R32/CNCv3)  is the one that I am using with my UNO.
My hardware situation is NEMA 17 steppers on Alt and AZ axis, working through
homemade gearboxes, 40:1 on AZ and 60:1 on the EL axis. The final gearing is
unknown as the gearboxes drive large wooden disks with timing belts. Testing the
AZ axis with the UNO and cncV3, I need 269,550 steps to complete a 360 degree
rotation that takes approximately 3-1/2 minutes to complete. Math is not my strong
point but I think that is about 748.75 steps per degree and is the highest speed that
I can run the stepper and remain reliable in full step mode with the current setup..

Could that be reasonable or should I try for some different "fast" speed? The gear
reductions were made with on-hand gears and I don't mind waiting for a 2-3 minute 
GOTO when working in an area of the sky. It takes me much longer to find objects
in PushTo mode LOL

All help is very much appreciated so, thanks again!

Ken


Re: Onstep with Rasberry Pi 3+ Kstars and Ekos

Brian Davis
 

Generally, the RPi4 has all 4 USB ports tied into a single PCIe lane limited to 4Gb/s (the SD card uses USB also). The whole Pi, has a max current limit of 1.2a, including board power, and whatever goes out the USB ports. This is why so many people have trouble running gear off the Pi's USB ports.

So, a good first step for problems with all USB gear attached directly to the Pi, is to move it off to a powered hub. Consider that any form of disk write, including images, temporary files, etc, are going to use a lot of USB bandwidth, and since USB 3.0 has a limit of 5Gb/s, and the Pi can do only 4, directly attached devices that use both current and bandwidth (like Cameras of any sort) are an iffy proposition at best, and often produce weird problems, problems caused by starving other devices, or just not working at all.

Another USB issue to keep in mind on the Pi4, is that the USB2.0 ports share a common root port - there is an integrated USB2.0 4-port hub in the VLI chip, so the total USB2.0 bandwidth across all 2.0 ports is 480mbit/s. USB3.0 hubs forward *both* USB3.0 and USB2.0 traffic, so the bandwidth limit applies even if you plug a USB2.0 device into a downstream USB3.0 hub. The PI's VLI chip can only handle 480Mbs total, and a USB2.0 camera can easily starve that, if it's using USB2.0, and even if its attached to a USB3 external powered hub. Something Astroberry and Stellarmate users should be aware of.

Power-wise, the RPi4 uses 575 mA at idle. Thus, there remain only 625mA for all other directly attached devices, but only when the PI is doing nothing at all. Typically, under normal loads, the Pi probably pulls more like 650-850 mA during normal use, leaving 400-500 mA for all directly attached devices. This creates a problem - The USB 2.0 specs call for the capability to use up to 500mA per connection, and 900mA for USB3.0. The Pi can't cover the potential load the spec places on it's (2) 3.0 and (2) 2.0 ports, which together would require 2800mA of power to attached devices to meet the basic USB spec.

Best practice - minimize the use of USB2.0 ports to the maximum extent possible, and move all devices requiring power to a powered USB3.1 hub.

Virus-free. www.avast.com


On Sun, Nov 22, 2020 at 5:39 PM Alexander Varakin <avarakin@...> wrote:
I run all my capturing hardware (Onstep, CCD, guider, filterwheel) directly from Pi without a hub.
Here is a script for installing all the required software on Pi:
https://github.com/avarakin/AstroPiMaker4
There is a step there for disabling the mounting of the camera. 
I suggest upgrading to Pi 4. No need for 4GB version, 2GB works fine. 


Re: Hello from a newbie (onstep)

Khalid Baheyeldin
 

Ken,

Each board has its features and provisos.
So read the Wiki on each of them before you buy ...

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).

The 3D printer boards have additional things like heaters, thermometers, ...etc, in case you
need them. They are also easier to get, and require less parts to be procured and minimal
soldering (not that this is a limitation in your case).

Here is a video I made today showing how easy it is to get a basic OnStep setup with the S6:

https://www.youtube.com/watch?v=AhEA3TjKxpM


Re: Hello from a newbie (onstep)

Hemendra Rawat
 


On Sun, Nov 22, 2020, 3:49 PM Ken Hunter <kb7hunter@...> wrote:
Hi Guys..
Thanks for the comments, I'll take them under advisement and check out those options.

How do I contact or find George? I don't see him listed in the Directory.
I may decide to use the Wemos/cnc3 scenario as that is very close to the current setup I have been using on my breadboard (UNO and cncV3 shield).
I also have 2 Nunchucks that I have been playing with so it looks interesting to see if I can make everything play nice together.

I'm sure I'll be back with more questions... Keep safe!

Ken


Minimal OnStep with the FYSETC S6, TMC2130 and WiFI

Khalid Baheyeldin
 

For those who face challenges putting the hardware together ...

In this video, I show how a FYSETC S6 can be used in a minimal setup for OnStep.

The TMC SPI drivers are the recommended ones (TMC2130 or TMC5160) since they allow a different microstepping for slewing.


Re: Hello from a newbie (onstep)

Ken Hunter
 

Hi Guys..
Thanks for the comments, I'll take them under advisement and check out those options.

How do I contact or find George? I don't see him listed in the Directory.
I may decide to use the Wemos/cnc3 scenario as that is very close to the current setup I have been using on my breadboard (UNO and cncV3 shield).
I also have 2 Nunchucks that I have been playing with so it looks interesting to see if I can make everything play nice together.

I'm sure I'll be back with more questions... Keep safe!

Ken


Re: Onstep with Rasberry Pi 3+ Kstars and Ekos

Alexander Varakin
 

I run all my capturing hardware (Onstep, CCD, guider, filterwheel) directly from Pi without a hub.
Here is a script for installing all the required software on Pi:
https://github.com/avarakin/AstroPiMaker4
There is a step there for disabling the mounting of the camera. 
I suggest upgrading to Pi 4. No need for 4GB version, 2GB works fine. 

5481 - 5500 of 33156