Thatnk you thank you thank you.,
I have to run home for dinner. I will pick this up first thing.
If I plug in the desktop USB the 24v ports all go high, no micro reset, if I unplug it they go low again.
Does not happen with the laptop, so I can try a dumb power strip tomorrow to see if something funky is going on.
Both laptop and desktop USB fluid term does not work if I reset the esp32 with the pendant plugged in. I am okay with this. if you need fluid term, unplug your pendant. I will put a DMM on my computer USB tomorrow to try and sort the 24v getting pulled high issue.
I added a 1k resistor instead of the 5.6k and the signal is cleaner, but still has nearly 1V of noise.
I can have fluid term running and add the pendant in and it stays working. So just a boot/ rest thing. Not a dealbreaker, it would be nice to know the cause of.
Thatâs⌠Very weird. Iâd start by looking at the gate and the GPIO pin while this happens and see if you can figure out whatâs causing it. Is it all 4 ports? It looks like only GPIO_0 should have anything at all to do with that USB UART IC⌠Iâd also check the Enable pin and see if thatâs doing something weird, even just glitching low for a sec during that period. Very, very weird.
Thatâs also somewhat odd⌠And the 24V signal looks fine? How are you measuring that 1V of noise, just directly on the switched node? What does the gate look like when itâs doing that.
Just as a sanity check, can you see what the markings are on the FET and whether they line up with the part youâre expecting? Looks like it should be A2 followed by a couple of numbers and a letter.
The AO3402 looks like it should be fine at 3.3V⌠Max Vgs(th) is 1.5V vs 1V typical and the worst case on-resistance from the plots looks like it should be well under 100mR in that case which means it should be pulling all the way down to zero⌠That seems like there absolutely has to be something else to this. I guess as a sanity check you could replace the 1K gate drive resistor with a 100R one, just in case thereâs something stupid going on with gate impedance vs capacitances.
Aaaaaabsolutely you should figure that out, if possible. Unexpected behaviours like that can often seem innocuous but be caused by something far more serious underneath, or something thatâs on the knife-edge of working or not.
Regardless, none of this seems all that different to normal troubleshooting/final testing type stuff.
I messed up and need to move the 24V output caps a little bit. Jono found this before I even had the boards in hand, I missed it.
Seems my USB oddness has to do with my scope somehow, leaving that alone for now.
5V pwm is fine.
24v pwm is not available. (not worth pursuing until someone has a use case other than fan speed control)
The only issue I am seeing is fluid term reset with the pendant plugged in. I suspect it has to do with pin 12 after watching all the power rails. 12 is a boot sensitive pin, still testing.
pin 12 is high while the pendant is in use, a power cycle work fine because the timings are right. pin 12 does not go high until after the esp boots. If you do a mid run reset, pin 12 stays high. To the esp32 that looks like you are still holding the reset button.
So do we fix this electronically, or do I just swap the module socket around so we donât use pins 12 and 15?
The socket is currently 14-13-15-12, I can just reverse that so the first two pins are always available if the pendant is being used.
Does this even matter? unplug the pendant if you are using fluid term?
My thoughts. Leave it. If you use the module socket That is much harder to unplug, if you need fluid term and your module is messing up the reset then that is a larger bummer than unplugging the pendant. Where this falls short is the Airedale board. In that case, I assume it will do the same thing, you would need to power cycle if you are needing the terminal and the expansion board. Jim?
We have a case of using pins that we typically should not be using again.
How often in ânormal useâ are you using fluid term? I cant think of a single time I have ever used it other than to update firmware or diagnose issues. I say its fine like it is.
My experience with the Airedale and the 6x integrated board (which uses 25 for TX and 27 for RX) has been frustrating when it comes to power cycling or resetting and wifi functionality. It seems that the 6x board is on the edge of its 5V limits to power the expander and wifi at the same time. Wifi only works about 1 out of 8 power cycle attempts (and I havenât got around to adding a separate 5V supply for the Airedale).
Not really related to what youâre working on, but something to test if you end up with an Airedale to test with⌠and something to keep in mind thoughout your testing⌠make sure that the wifi works. While it will usually look like AP mode is working in the log, it might not actually be functional. STA mode connection failures are a dead give away, it seems, of a power starved wifi component.
I noticed as the CYD pendant boots the 5V rail sags 0.5V or so, it wiggles around for 5-10 seconds. 3.3 looked good while it was happening so I think the pendant is okay. I donât have an Airedale to test with but it sounds like it needs that external PS.
I made sure to try it a few times and mess with the interface while it happens. I can set up STA mode while I am inside and test again.
I am not sure the jp1 24v pwm works like I thought. I only messed with that part for a little bit. I spent most of the time trying to figure out what the heck was going on with the USB issue only to find out it is the scope in some way.
So I just tried the jp2 24vpwm with a fan and that did not work like you said. I assume the jp1 doesnât either. I was sure I actually had a pwm fan running for a long time, but I need to actually try it again.
A PWM fan or just a regular fan that you were throttling average voltage to using PWM?
Lots of 12V and 24V PWM fans out there that use 5V PWM signals. PWM fans are typically 4-pin⌠ground, +12/24V, tachometer, PWM signal. Regular non-PWM fans are typically 2 or 3 pin (depending on whether they have a tach).