Voltage drops when load connected to ld1117a
The capacitor at the output is NOT optional. It is required for stability on most LDO regulators, including the semi-LDO LM1117. 

However the roughly one diode drop 0.7V output suggests you may have connected the load in reverse and possibly damaged it in the process.