-I also checked datasheet of 78M05 and saw the recommended operating conditions which is min 7V input voltage for 78M05 and thought about using 78m33 which has 5.3 min input voltage because i get input voltage from usb so it supposes to supply 5V. But as i said i thought it would be fine because it is orginal schematic of arduino nano. But as i understand i must change it thank you ! Also that regulator circuit has no filter capacitor. In datasheet there is Simplified Schematic and there are two capacitors for input to ground and output to ground. You think Do i also need to use them?
The difference is that the nano is a 5V board, so it runs straight off of the 5V provided by the USB connection. If you want to use the onboard 5V voltage regulator (via the Vin pin) you need at least 7V as well.
This board seems to run @3.3V, so you'll need a LDO (Low DropOut) voltage regulator like the 1117 3.3v to go from 5V to 3.3V.
Are you aware that running an ATmega328P @3.3V/16MHz is outside its specifications? It's basically an over-clock. In normal temperature conditions, this won't be too much of an issue, but if you want to create a professional or commercial board, you have to take it into account.
You definitely need capacitors for your LDO. Reason 1 is stability, your regulator may be very unstable without it, check it in the 1117's datasheet, not just any capacitor will do, there are certain capacity and minimum ESR (Equivalent Series Resistance) requirements. The second reason is to filter out ripple from the power supply, and to prevent noise by the chip itself (especially by the ESP, since its RF circuitry creates a lot of noise). Use this larger capacitor together with a smaller one, as mentioned before, and don't use signal traces for your power connections.
Okay sorry for misunderstanding. That's sad but i couldnt find any cheap solid state relay working with 5v activating voltage. It would be great if you know one ?
That's strange, most SSRs use an optocoupler with some kind of current limiting built-in for the LED, allowing voltages from 3~4V up to 40V.
Edit: I'm sorry, I thought you had the ATmega running off of the same 3.3V supply as the ESP.