Date   

Re: Trouble flashing BlackPill STM32 f411CE NO MORE BLUE LED LIGHT

Howard Dutton
 
Edited

The blue status LED (on the Blackpill F411CE) may or may not come on as it's not used as a status LED in this design.

Make sure you follow the Wiki recommendations WRT the Arduino IDE settings for flashing as not doing so can create the exact situation you face.

Libraries 1.9.0 worked fine in my testing but that was quite some time ago.  There has been the mention of trouble with them now and then (FYSETC S6) so....  I have now switched to recommending libraries 2.3.0 in the Wiki as the very latest seems to work properly.

In checking this out I flashed my MaxSTM3.6 (Blackpill F411CE) with the latest OnStep (release 4.24) using 2.3.0 and it all worked just fine.


Re: Teensy 4.1 and MaxPCB

milcha001@...
 

And here (same button push procedure) there is an unexpected "slew stopped". Not sure where this is coming from, I will investigate.
I will post the debug output tomorrow. Have I to set the DEBUG in SWS to REMOTE  to get the output through Teensy 4.1 USB?
Strange is, that there is a different behavior when i double push the same button (the upper one).


Trouble flashing BlackPill STM32 f411CE NO MORE BLUE LED LIGHT

Craciun Bogdan
 


Hello,
I need help pls with maxSTM 3.6
I tried to flash the stm32 F411Ce successfully in arduino ide. And everything went OK. After re plugging in the board I got no more blue led light. Only the red led stays on. And in arduino ide serial monitor i don't get any feedback after sending the command to see if onstep is functioning.
Any suggestions for what I can do to get this up working please. 
Thank you in advance for your support 
Bogdan


#fysetc #TMC2209 #Vorn2.4 #uart #wifi #onstepx #same54p20 #uart #wifi #onstepx #same54p20 #fysetc

jason pichot
 

I ran across this board and would like to know if it would be compatible with onstep? if not, would anyone be interested/willing to help be compile onstep to be compatible?

Considering the processor and the built-in stepper drivers and wifi! it would make a great all in one purchase to get an onstep project set up right away, all you gotta do is mount your motor drivers, setup the config file, and upload! instant success in my opinion.

https://www.amazon.com/dp/B09M89R363/?coliid=I358MAZSBLBA1G&colid=3S4GHYU5ZLXE6&psc=1&ref_=lv_ov_lig_dp_it

https://www.fysetc.com/products/fysetc-big-dipper-board-duet-3-mini-5-wifi-upgrade-motherboard-3d-printer-control-board-for-voron-blv-3d-printer-cnc-machine?variant=41054218387631


Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

Howard Dutton
 

There is now experimental support for the Website running on the ESP32 alongside OnStepX (no SWS required):

https://github.com/hjd1964/OnStepX-Plugins/blob/main/README.md

Handy for this FYSETC E4 I bet... provided it works well and has no or minimal impact on operation.


Re: Teensy 4.1 and MaxPCB

Drew 🔭📷🚴‍♂️
 

Ok, I found some unexpected behaivor. Added some debug code to see the relationship between the buttons and the motors.

Here is a good button push,  low to high speed.

12:25:29.937 -> MSG: BG-focus out low
12:25:29.977 -> MSG: Focuser1, goto target coordinate set (0.00um)
12:25:29.977 -> MSG: Focuser1, starting goto
12:25:29.977 -> MSG: Axis4, autoGoto start 500.00um/s, accel 250.000um/s/s
12:25:30.177 -> MSG: BG-focus out
12:25:30.977 -> MSG: StepDir4, high speed ISR swapped in at 1793.97 steps/sec.
12:25:30.977 -> MSG: StepDir4, high speed swap in took 1 ms
12:25:35.177 -> MSG: BG-focus out high
12:25:35.217 -> MSG: BG-focus out
12:25:39.537 -> MSG: BG-focus stop
12:25:39.577 -> MSG: Axis4, slew stopping
12:25:39.577 -> MSG: StepDir4, high speed ISR swapped out at 1776.13 steps/sec.
12:25:40.577 -> MSG: Axis4, slew stopped

And here (same button push procedure) there is an unexpected "slew stopped". Not sure where this is coming from, I will investigate.

12:26:06.217 -> MSG: BG-focus out low
12:26:06.257 -> MSG: Focuser1, goto target coordinate set (0.00um)
12:26:06.257 -> MSG: Focuser1, starting goto
12:26:06.257 -> MSG: Axis4, autoGoto start 500.00um/s, accel 250.000um/s/s
12:26:06.457 -> MSG: BG-focus out
12:26:07.297 -> MSG: Axis4, slew stopped
12:26:11.457 -> MSG: BG-focus out high
12:26:11.537 -> MSG: BG-focus out
12:26:11.577 -> MSG: Axis4, autoSlew start fwd@ 100.00um/s, accel 50.000um/s/s
12:26:18.140 -> MSG: BG-focus stop
12:26:18.180 -> MSG: Axis4, slew stopping
12:26:20.180 -> MSG: Axis4, slew stopped


Re: Hopewell OnStep finally working!

George Cushing
 

Makerbase MKS TMC2160_57 Stepper motor driver. Prowing the MKS FB page I came across this new high amp driver.  Its peak current is 2.30A~4.33A and uses a 4-layer board design and is equipped with two heat sinks. It can be installed on the back of the motor

image.png
Competitively priced with TB6600 drivers.

2160 FEATURES AND BENEFITS
2-phase stepper motors up to 20A coil current (external MOSFETs)
Step/Dir Interface with microstep interpolation MicroPlyer™
Voltage Range 8 … 60V DC
SPI Interface
Highest Resolution 256 microsteps per full step
StealthChop2™ for quiet operation and smooth motion
Resonance Dampening for mid-range resonances
SpreadCycle™ highly dynamic motor control chopper
DcStep™ load dependent speed control
StallGuard2™ high precision sensorless motor load detection
CoolStep™ current control for energy savings up to 75%
Passive Braking and freewheeling mode
Full Protection & Diagnostics
Compact Size 7x7mm2 (body) TQFP48 package


Re: MKS Gen L 2.1 questions

George Cushing
 

If you are careful you can remove the header plastic and inspect the pins.




Re: TMC2208 for focuser / rotator in R32 CNCv3

GuitsBoy
 

My enable pin was 3.3v, which should be considered high from the point of view of the R32, being a 3.3v device. However the drivers may be expecting 5v instead.

The document you reference mentions pulling the MS0 and MS1 low, but I dont see anything about the requirement on the enable pin.  Only that the 2100 supports stand still power reduction if the pin is left open/floating.   I dont think that was the case for me as the motors would still have moved when commanded.  In my case I believe it may have been getting stuck / not booting as Howard mentioned, since serial monitor was janky and did not respond, and the driver would not connect.

The weird thing is that the enable pin shows 3.3v with only the axis1/2 TMC2130s installed, where it boots correctly.  However it also reads 3.3v with either the 2208s or 2209s installed, without the enable shunt to ground, where it fails to boot.  Perhaps something is happening during boot that I cant catch with my DMM.

Anyway, shunting enable to gnd shows .1v at the enable pin, which seems to be working for all drivers but the 2208, so I might as well just swap for the 2209s since they work.

If any of this sounds to be in error, please let me know.

Thanks for your help,
-Tony


On 7/7/2022 11:22 AM, George Cushing wrote:

A pin floats when it is not being pulled HIGH OR LOW. 

Goto:
  • Choice of Stepper driver:
  • Axis3/4 (Focusers and/or Rotator):
The TMC2208 is a successor to the TMC2100 mentioned there and the setup is the same. Note, you have to set a jumper to stop the EN pin from floating.


Re: Teensy 4.1 and MaxPCB

Drew 🔭📷🚴‍♂️
 

Are you sure you are not just bouncing off the "zero limit". Here is what I get if I start the focuser, move it slightly off zero, and then reverse direction back.
11:34:56.847 -> MSG: Focuser1, goto target coordinate set (0.00um)
11:34:56.847 -> MSG: Focuser1, starting goto
11:34:56.847 -> MSG: Axis4, autoGoto start 500.00um/s, accel 250.000um/s/s
11:34:56.847 -> MSG: Axis4, slew stopped
11:34:57.007 -> MSG: Axis4, autoSlew start fwd@ 100.00um/s, accel 50.000um/s/s
11:34:57.127 -> MSG: Axis4, slew stopping
11:34:57.247 -> MSG: Axis4, slew stopped
11:35:05.767 -> MSG: Focuser1, goto target coordinate set (0.00um)
11:35:05.767 -> MSG: Focuser1, starting goto
11:35:05.767 -> MSG: Axis4, autoGoto start 500.00um/s, accel 250.000um/s/s
11:35:05.767 -> MSG: Axis4, slew stopped
11:35:05.927 -> MSG: Axis4, autoSlew start rev@ 100.00um/s, accel 50.000um/s/s
11:35:05.967 -> MSG: Axis4, motion error reverse limit
11:35:05.967 -> MSG: Axis4, motionError
11:35:05.967 -> MSG: Axis4, slew aborting
11:35:05.967 -> MSG: Axis4, slew aborted


Re: TMC2208 for focuser / rotator in R32 CNCv3

George Cushing
 

A pin floats when it is not being pulled HIGH OR LOW. 

Goto:
  • Choice of Stepper driver:
  • Axis3/4 (Focusers and/or Rotator):
The TMC2208 is a successor to the TMC2100 mentioned there and the setup is the same. Note, you have to set a jumper to stop the EN pin from floating.


Re: TMC2208 for focuser / rotator in R32 CNCv3

George Cushing
 

These are a Sanyo design. Sanyo is now part of ON Semi, which probably has more profitable use for Sanyo's fabs. They got down to a couple bucks before they got hard to find. So what was On-Semi getting for them $0.25-0.50? Anything on the market now is probably old inventory. The chip industry has the auto makers over a barrel at present after years of being treated like a commodity producers. I think they like that.


Re: CGE

George Cushing
 

Well, a bipolar stepper is the same the world around. Four conductors making up two pairs. You can ID the pairs by finding those that are connected to each other.
image.png
Your controller has two DE-9 female connectors. The FS-2 seems to be designed to support 1.8A max draw. They should have 4 output pins each. I'd pull them out of the panel and see which pins are connected to the circuit inside. An O-scope or DMM with a frequency function should be able to give you some hint to the pins of each output channel.

Now you have 16 possible connections, 2 of which should drive your motors. 

image.png

Wonder how much OnStep technology is inside the $10 Chinese enclosure. Feel free to contact me off group if needed.


Re: AltAzm Coordinates in SWS

Alain K
 

Thanks Howard.

Everything is OK.


Re: TMC2208 for focuser / rotator in R32 CNCv3

GuitsBoy
 

Yeah, I do see them on ebay, but theyre going for $6 each, plus a few bucks shipping.  So for instance if I wanted to buy a lot of 10 pcs LV8729, its $65 or so compared to the $28 it used to cost.   I can still find 10 pcs 2208 or 2209 for under $30, so the LV8729s are looking less attractive these days.    I realize this is nickle and dime stuff, and not a huge added cost.  I'm only speaking in relative terms.

Thanks again guys


On 7/7/2022 9:17 AM, Chad Gray wrote:

I have been finding LV8729 on Ebay from china, but yes they are getting hard to find.

On Thu, Jul 7, 2022 at 8:54 AM GuitsBoy <guitsboy@...> wrote:

I've not seen any problems using the straight jumper, even on setups that don't seem to require it.   But I may heed your advice and use the pulldown resistor just because it feels like the safe thing to do.

Of course, I always apply the VMOT power before 5V USB.   I accomplished this by using a USB hub with a power switch for each jack.  Leaving the switch in the off position for the R32 prohibited 5v power from being applied, yet still passed the USB signal.   However more recently I've taken to using a serial over bluetooth connection, so power only comes from VMOT/12v now.

I do agree that the LV8729s are dead simple and were fairly cheap, however they are becoming very difficult to find lately.  Aliexpress has dried up, and the few sellers who still have them are charging double or triple what they normally go for.  I have a couple left in inventory, but I'd rather keep them as backups and find other drivers.

Thank you again for your help


On 7/6/2022 7:28 PM, Howard Dutton wrote:
On Wed, Jul 6, 2022 at 04:24 PM, Howard Dutton wrote:
I don't expect there is a danger of damaging anything
...due to this.  On the other hand the VIO/VMOT power sequence needs to be honored.

Which is one of the reasons I recommend LV8729's for the CNC3 as they don't need that hassle.


Re: Teensy 4.1 and MaxPCB

Drew 🔭📷🚴‍♂️
 

The GamePad works the same as it  does on the SHC. Pushing  the button issues a focuser move command, after 5 seconds it issues a "move fast" command. I  haven't tested it in a while. The code was tested working and has not been changed. I will test it to see if there is something new going on. What version of SWS are you using? Do you have a SHC?


Re: TMC2208 for focuser / rotator in R32 CNCv3

Chad Gray
 

I have been finding LV8729 on Ebay from china, but yes they are getting hard to find.


On Thu, Jul 7, 2022 at 8:54 AM GuitsBoy <guitsboy@...> wrote:

I've not seen any problems using the straight jumper, even on setups that don't seem to require it.   But I may heed your advice and use the pulldown resistor just because it feels like the safe thing to do.

Of course, I always apply the VMOT power before 5V USB.   I accomplished this by using a USB hub with a power switch for each jack.  Leaving the switch in the off position for the R32 prohibited 5v power from being applied, yet still passed the USB signal.   However more recently I've taken to using a serial over bluetooth connection, so power only comes from VMOT/12v now.

I do agree that the LV8729s are dead simple and were fairly cheap, however they are becoming very difficult to find lately.  Aliexpress has dried up, and the few sellers who still have them are charging double or triple what they normally go for.  I have a couple left in inventory, but I'd rather keep them as backups and find other drivers.

Thank you again for your help


On 7/6/2022 7:28 PM, Howard Dutton wrote:
On Wed, Jul 6, 2022 at 04:24 PM, Howard Dutton wrote:
I don't expect there is a danger of damaging anything
...due to this.  On the other hand the VIO/VMOT power sequence needs to be honored.

Which is one of the reasons I recommend LV8729's for the CNC3 as they don't need that hassle.


Re: TMC2208 for focuser / rotator in R32 CNCv3

Howard Dutton
 

IDK maybe its just me but seems like lots of LV8729 options on eBay.  Not super cheap and not as nice as TMC2209's though.

Cost of everything has gone up so not surprised.


Re: TMC2208 for focuser / rotator in R32 CNCv3

GuitsBoy
 

I've not seen any problems using the straight jumper, even on setups that don't seem to require it.   But I may heed your advice and use the pulldown resistor just because it feels like the safe thing to do.

Of course, I always apply the VMOT power before 5V USB.   I accomplished this by using a USB hub with a power switch for each jack.  Leaving the switch in the off position for the R32 prohibited 5v power from being applied, yet still passed the USB signal.   However more recently I've taken to using a serial over bluetooth connection, so power only comes from VMOT/12v now.

I do agree that the LV8729s are dead simple and were fairly cheap, however they are becoming very difficult to find lately.  Aliexpress has dried up, and the few sellers who still have them are charging double or triple what they normally go for.  I have a couple left in inventory, but I'd rather keep them as backups and find other drivers.

Thank you again for your help


On 7/6/2022 7:28 PM, Howard Dutton wrote:

On Wed, Jul 6, 2022 at 04:24 PM, Howard Dutton wrote:
I don't expect there is a danger of damaging anything
...due to this.  On the other hand the VIO/VMOT power sequence needs to be honored.

Which is one of the reasons I recommend LV8729's for the CNC3 as they don't need that hassle.


Re: Teensy 4.1 and MaxPCB

Howard Dutton
 

On Thu, Jul 7, 2022 at 01:32 AM, <milcha001@...> wrote:
Focuser works with Android app, also with SWS, but with gamepad both buttons move the focuser only in the same direction (and sometimes, randomly in opposite). What am I doing wrong?
If the Android App and SWS work properly it's a very good bet the issue has to do with the Gamepad.

I don't directly support the Gamepad, that's Drew's creation.

2901 - 2920 of 47839