I see now most of the micro pins are floating, does it consume current?
Possibly. Floating pins should be avoided. To be specific: floating
input pins. Since a µC's unused GPIO pins typically are inputs this rule applies. However, many µCs have default so called weak pull-ups (or weak pull-downs) on their pins to avoid specifically this issue. You'll have to check the datasheet of your µC to make sure this is the case here. In that case, the current caused by the floating inputs is usually negligible.
Are you referring to 10uF
Yes, notably the one at the output. Although the datasheet of the AMS1117 doesn't explicitly state the requirement for a low ESR capacitor. A tantalum capacitor is used in the datasheet.
I need to know how to check this, I have to google it.
Stray capacitance is the capacitance resultimng from the construction. Any wires or PCB traces or planes the are parallel for a significant length create a capacitance between the two of them. Tis is typically in the pF range and hard to measure without sensitive equipment. If yu avoid long paralle traces, wires or planes, this should not be an issue here. But if you have long wires, the resulting capacitances and inductances can cause all kinds of undesired effects like e.g. oscillations.
The PSU is 5V/1A, but if goes to CC mode the voltage is less but the current goes to little high value like 1.2A. Is it the correct PSU?
Please advise.
Next to impossible to give detailed advice without knowing the load's current requirements. If your load current is less than 1 A the PSU you have should be sufficient. If your load current is higher than 1 A the PSU is insufficient. But without knowing your load we cannot judge whether 1 A is a meaningful limit or not.