The low cost module biz largely driven by Chinese, and the variation of everything from layout (grounds especially),
bypassing (no high freq .1 uF ceramic in parallel with bulk caps), and user wiring star versus delta grounds versus chained
grounds, coupled with fast processors, inductance, a...
General recomendations :
On relay transient current (typical relay) :
As you can see relay current is basically inductive, so not particularly fast. And todays regulators
load transient response can manage that demand and stay in regulation, check the transient res-
ponse for the one you...
I assume you are not paralleling the 220/5V supply with the ASM1117 as show in schematic ?
A DSO is a terrific tool to look for transients on pins/supplies. One shot level trigger on supply pin,
set for ~ .7V above supply + edge, -V at cpu low V - trigger and see what you get.
When using DSO...
@beatlerat
Attached the mBlock project in case you want to look at it. Just download
mBlock, its free, and open it.
https://mblock.cc/pages/downloads
Regards, Dana.
I think this will work -
Coded with mBlock, it takes your block configs and values and converts to
Arduino code. I use this for one off simple stuff, otherwise do it in C.
Here is the code it produced :
// generated by mBlock5 for <your product>
// codes make you happy
#include <Arduino.h>...
Use the code tags and post code in that popup window.
Click on </> in the 3 vertical dot menu to get to the popup window.
It look like some of your code outside main loop....?
You also dont debounce your button press, should bounce it in, then out, then act on it.
If you want to detect...
The ESP32 is dual core, you can run main() on one, the server on the other if
you choose.
Take a look at TUNIOT to do the coding, example server :
https://www.youtube.com/playlist?list=PLfPtpZzK2Z_QO8snrdnRTTNtQvLw35Zfc
Regards, Dana.
This might help :
https://assets.new.siemens.com/siemens/assets/api/uuid:6ba7593d-d8d0-481c-b029-a5987c11366f/startingmotors-whitepaper.pdf
https://www.tmeic.com/sites/default/files/assets/files/library/Application%20Edge-v1i3-Starting%20Large%20Motors.pdf...
LDO Regulator, can get them as fixed output, 3V, 3.3V, use a TO220 type
package, simple tab heatsink on it. Read datasheet for bypass considerations,
eg. output capacitor type and size.
Regards, Dana.
Its odd, you ask for a CNC, then insist it not be CNC (Computer
Numerical Control), emphasis on no computer.
So minder and I have shown you low cost CNC, and you seem to have confirmed that in post #6,
is it safe to say NYET to CNC-less machine ?
I would advise you spend some time simulating your circuit. Including adding
power supply noise. Examine specs for Lora and Arduino power startup,
some processors not well design and have issues with the way power is
applied, like ramp rates, completing a ramp (no brownout creation), etc....
If...
How much power do you have to gate ? Seems like an integrated solution with
onboard power MOSFET must be out there. One of the advantages of integrated
button on/off circuits is glitch free, latching operation, and debounce of mechanical
switch so processor startup is clean, meets ramp rate, its...
What coil R do you measure with a DVM ?
The 2219 is rated for 600 mA, and has a sat V of 1V at .5A.
If you relay needed that much coil current the 2219 should have ~ 50 mA of
base drive which is totally beyond capability of 741 OpAmp which I limited
to a typical 25 mA short circuit current...
Are you trying to speak a phrase ?
Spend a little time posting a more thorough description of your project,
what triggers it, what it should do.
Abbreviations such as "mic" not understandable....is that microphone ?
Guess on my part but here is a talking voltmeter solution ...