both USB and 5v external power

I would use 10K.