One of the issues I have run into today is that across five different datasheets for the (very) generic AMS1117, I have observed four different Absolute Maximum Ratings for the input voltage. They are 9v, 12v, 15v, and 30v. Other than the 9v, the others might be usable. Then I read about the problem with the generic Chinese AMS1117 crop, and that they mostly do not implement over-current graceful shutdown. While I'm still willing to use the xxx1117 style of chip, it will not be the AMS and/or it will come from a reputable distributor.