Date   

Re: No Wifi on MiniPCB v2 #wemos

YviundAlex@...
 

On Tue, Apr 27, 2021 at 08:59 AM, Howard Dutton wrote:
On Tue, Apr 27, 2021 at 08:55 AM, <YviundAlex@...> wrote:
The buck converter in the WEMOS needs 4.3V to bring the neccessary 3.3V for the main chip
I've read they are LDO, 100 to 300 mV... so > 3.6V.
Howard, according to my dtasheet these are ME6211 and tey are quoted with 4.3V neccessary
https://datasheet.lcsc.com/szlcsc/Nanjing-Micro-One-Elec-ME6211C33M5G-N_C82942.pdf


Re: Stepper Motor doesn't do anything...

Burton
 

Okay. So I set all those values for axis1 and axis2, and using the serial monitor commands, I can do commands that return 1 or 0 and get 1, so it doesn't seem to be failing there. Though, I still don't get movement when I try :Mw# or :Ms#


Re: Stepper Motor doesn't do anything...

Drew 🔭📷🚴‍♂️
 

My motors are 1.68A not 1.2 (was thinking of my old ones). So the settings I gave you should work fine.


Re: Stepper Motor doesn't do anything...

Burton
 

On Tue, Apr 27, 2021 at 10:06 AM, Howard Dutton wrote:
On Tue, Apr 27, 2021 at 09:06 AM, Howard Dutton wrote:
though you should specify IRUN to match your motors.
That is, about 50% of the motor rated current to start.
So on the motor datasheet it says 1.68 amps. should I try 800 for the value since it says in (mA.) in Config.h?


Re: Stepper Motor doesn't do anything...

Drew 🔭📷🚴‍♂️
 

Several things in config.h. Most importantly you are using the TMC5160's but you do not have any current going to them. No wonder they don't move. Here are the settings I use for mine (1.2A motors)

#define AXIS1_DRIVER_MODEL            TMC5160_QUIET //    OFF, (See above.) Stepper driver model.                                      <-Often
#define AXIS1_DRIVER_MICROSTEPS       64 //    OFF, n. Microstep mode when tracking.                                        <-Often
#define AXIS1_DRIVER_MICROSTEPS_GOTO  16 //    OFF, n. Microstep mode used during gotos.                                     Option
#define AXIS1_DRIVER_IHOLD            400 //    OFF, n, (mA.) Current during standstill. OFF uses IRUN/2.0                    Option
#define AXIS1_DRIVER_IRUN             900 //    OFF, n, (mA.) Current during tracking, appropriate for stepper/driver/etc.    Option
#define AXIS1_DRIVER_IGOTO            700 //    OFF, n, (mA.) Current during slews. OFF uses same as IRUN.                    Option

You also have:

#define AXIS1_STEPS_PER_WORMROT   1280000

Seem very high, set it to 0 initially

There are other questionable settings but this should get you started..


Re: No Wifi on MiniPCB v2 #wemos

Sam
 

On Tue, Apr 27, 2021 at 08:55 AM, <YviundAlex@...> wrote:
The buck converter in the WEMOS needs 4.3V to bring the neccessary 3.3V for the main chip....the natural voltage drop at the diode could bring up the problem....It could be that the small resistance between the pins and the socket makes the difference....can you resolder all (espcially the power pins) of the WEMOS? 

THANK YOU VERY MUCH ALEX for helping me go through the process of troubleshooting. Nearly 24 hrs... of continued trouble shooting. The problem could be a bad socket. When I press down the Wemos on the PCB IT WORKS.

I'll follow your instruction to desolder and resolder the headers. The diode wasn't the problem at all. By passed or not, I still needed to press down on the Wemos.

A fellow on r/ESP8266 mentioned that 4.3v was enough voltage to power the entire thing so that wasn't the issue.


Re: Stepper Motor doesn't do anything...

Howard Dutton
 

On Tue, Apr 27, 2021 at 09:06 AM, Howard Dutton wrote:
though you should specify IRUN to match your motors.
That is, about 50% of the motor rated current to start.


Re: Stepper Motor doesn't do anything...

Howard Dutton
 

On Tue, Apr 27, 2021 at 08:32 AM, Burton wrote:
There's that. All the MaxESP3 board seems to do is start beeping and flashing when I tell it to track from the OnStep app
Seems ok and should work as-is, though you should specify IRUN to match your motors.


Re: No Wifi on MiniPCB v2 #wemos

Sam
 

Nope. I measure both the solder joint of the female header on the MiniPCB as well as the socket itself of the female header where the male pins of the Wemos connects to. All while plugged in.


Re: Stepper Motor doesn't do anything...

adraasch
 

Burton,

You asked for a command reference for OnStep.

The command reference for OnStep is here:
https://onstep.groups.io/g/main/wiki/23755

But these should help you in determining if your issue is with your board, or the software driving the board.

:GVP#

(Should return On-Step# )
(You may have to send this twice, the first time around.)

:R4#
(Set current slew rate to 4), which should be 4x sidereal  Valid values are 1-9.
Try slower values 1-4 at first while figuring things out...  Slew rate 1 may move so slowly that the stepper motor barely moves, so it is hard to see motion...

:Me#
(slew scope East at current slew rate)

:Q#
(stop scope (all axes))

:Mw#
(slew scope West at current slew rate)

:Q#
(Stop scope (all axes))

:Ms#
(slew scope South at current slew rate)

:Q#
(Stop scope (all axes))


:Mn#
(slew scope North at current slew rate)

:Q#
(Stop scope (all axes))

Hope this helps,

Arlen

On Tue, Apr 27, 2021 at 11:32 AM Burton <burton.rasmussen000@...> wrote:
There's that. All the MaxESP3 board seems to do is start beeping and flashing when I tell it to track from the OnStep app


Re: No Wifi on MiniPCB v2 #wemos

Howard Dutton
 

On Tue, Apr 27, 2021 at 08:55 AM, <YviundAlex@...> wrote:
The buck converter in the WEMOS needs 4.3V to bring the neccessary 3.3V for the main chip
I've read they are LDO, 100 to 300 mV... so > 3.6V.


Re: No Wifi on MiniPCB v2 #wemos

Howard Dutton
 

On Tue, Apr 27, 2021 at 08:49 AM, Sam wrote:
Yes, I was measuring it at the sockets themselves as well
On the WeMos's pin header solder joint while plugged in?


Re: No Wifi on MiniPCB v2 #wemos

YviundAlex@...
 

The buck converter in the WEMOS needs 4.3V to bring the neccessary 3.3V for the main chip....the natural voltage drop at the diode could bring up the problem....It could be that the small resistance between the pins and the socket makes the difference....can you resolder all (espcially the power pins) of the WEMOS? 


Re: No Wifi on MiniPCB v2 #wemos

Sam
 

On Tue, Apr 27, 2021 at 08:40 AM, Howard Dutton wrote:
On Tue, Apr 27, 2021 at 08:04 AM, Sam wrote:
oh, so you mean the diode on the MiniPCB? I thought you were talking about a diode on the Wemos, give me a moment.
Not sure if this was done, but you should confirm that 5V and Gnd are actually arriving on the WeMos D1 Mini from the MiniPCB2.  I've seen pin/socket headers fail so if measuring on the underside of the MiniPCB2 that is not a 100% guarantee it's getting there.  As always be careful to not short anything doing the measurement.

Yes, I was measuring it at the sockets themselves as well. As mentioned earlier, plugging the Wemos in, out and in again while the power is running on the board seems to work. Only problem now is why? I mean, I wouldn't want to unscrew the case, do the procedure, every time I have to power up Onstep.

I have a second board ready to be used with only the power plug missing. I'll use that tomorrow to make sure the PCB and headers aren't the issue.


Re: No Wifi on MiniPCB v2 #wemos

Howard Dutton
 

On Tue, Apr 27, 2021 at 08:04 AM, Sam wrote:
oh, so you mean the diode on the MiniPCB? I thought you were talking about a diode on the Wemos, give me a moment.
Not sure if this was done, but you should confirm that 5V and Gnd are actually arriving on the WeMos D1 Mini from the MiniPCB2.  I've seen pin/socket headers fail so if measuring on the underside of the MiniPCB2 that is not a 100% guarantee it's getting there.  As always be careful to not short anything doing the measurement.


Re: No Wifi on MiniPCB v2 #wemos

Sam
 

On Tue, Apr 27, 2021 at 08:27 AM, Sam wrote:
On Tue, Apr 27, 2021 at 08:00 AM, <YviundAlex@...> wrote:
To short the diode, just connect the two legs of the diode with a wire, temprarily by solder. please do not power the WEMOS via USB while plugged in and while the diode is shortend.
yes, the 5V against the capacity gnd
I just bypassed the D5 diode on the MiniPCB with a wire (no soldering). It didn't light up at first but... when I removed it (while power on the PCB was still flowing) and put it back, IT LIGHTED UP.

Now what to do with the diode? Isn't the diode important?

I take it back. I removed the bypass BUT I did the same thing I did before.

1. Plugged the MiniPCB into power.
2.Placed the Wemos while power is still on.
3.No light.
4. Removed the Wemos, while power is still on.
5. Placed the Wemos back, while power is still on,

AND IT STILL WORKED. The diode ISN'T the problem.


Re: Stepper Motor doesn't do anything...

Burton
 

There's that. All the MaxESP3 board seems to do is start beeping and flashing when I tell it to track from the OnStep app


Re: No Wifi on MiniPCB v2 #wemos

Sam
 

On Tue, Apr 27, 2021 at 08:00 AM, <YviundAlex@...> wrote:
To short the diode, just connect the two legs of the diode with a wire, temprarily by solder. please do not power the WEMOS via USB while plugged in and while the diode is shortend.
yes, the 5V against the capacity gnd
I just bypassed the D5 diode on the MiniPCB with a wire (no soldering). It didn't light up at first but... when I removed it (while power on the PCB was still flowing) and put it back, IT LIGHTED UP.

Now what to do with the diode? Isn't the diode important?


Re: Stepper Motor doesn't do anything...

Howard Dutton
 

On Tue, Apr 27, 2021 at 07:55 AM, Burton wrote:
is there a command I can do from the serial monitor to see if maybe the OnStep app is the problem?
Seems unlikely.

Lets see the Config.h file.


Re: No Wifi on MiniPCB v2 #wemos

Sam
 

oh, so you mean the diode on the MiniPCB? I thought you were talking about a diode on the Wemos, give me a moment.

6141 - 6160 of 38760