Diagram is correct.
Probaly using shorter cables and 2 grounds will help. USB cable shouldnt be longer than 40cm from module to male usb plug if you are using bad quality cables.
And finally, as you can see on point 8.3 from datasheet, 2 capacitors are recommended. One on Vin and one on Vout. But i think it should work without them.
Probaly using shorter cables and 2 grounds will help. USB cable shouldnt be longer than 40cm from module to male usb plug if you are using bad quality cables.
And finally, as you can see on point 8.3 from datasheet, 2 capacitors are recommended. One on Vin and one on Vout. But i think it should work without them.