Most wall warts don't regulate good with little or no load but the real reason you can have problems with
the AMS1117 5.0 is the wall wart it's output to high even 12 volt is too high for some of them.
I never use any over 9 volt and haven't had any problems.
If it's going to be 12 volt on the input I use a lm7805
the AMS1117 5.0 is the wall wart it's output to high even 12 volt is too high for some of them.
I never use any over 9 volt and haven't had any problems.
If it's going to be 12 volt on the input I use a lm7805