Where to connect shield in USB power supply for Arduino? I'm making a 5 volt portable regulated power supply (using LM7805 regulator IC) for Arduino UNO. I'm planning to use a USB connector as its output socket, this way I can just plug it into the Arduino to power it.

My problem is where do I connect the USB sockets's shield? (Not an Arduino shield - I am talking about the USB cable's shield).



As far as I know it should be connected to the ground if it is a host device - can we consider the power supply as a host device?
If the supply for the Shield is 5V, then you can use one of the 5V lines on the Arduino to power the Shield, plus a common ground of course.