Hey,
I have a question about how to properly wire up the MKRWIFI1010 when also using an external power supply. I need the external power supply because I connect two strong (but 5V) servos to the arduino.
The MKRWIFI1010 is put in a "ARDUINO MKR CONNECTOR CARRIER" [1], and a single IR sensor is plugged into the D0 pin [2].
The external power supply is 5V, which I feed directly into GND & VCC for the servos. Servo signals are connected to pin 1 & 2 of the MKRWIFI1010.
GND of the external power supply is connected to the GND pin of the MKRWIFI1010, always.
When doing testing via USB that's it, and it all works fine. In particular wifi works.
When I disconnect USB to let it work by itself, I connect the 5V to the VIN of the MKRWIFI1010 (not the carrier board, didn't think that would matter). I do not connect the external 5V to VIN while connected to USB because otherwise the wifi doesn't work, but I honestly can't say I understand that. That is my first question, is this expected?
The second thing is that when I disconnect from USB and put the 5V on VIN, it seems to hang during setup, waiting for the wifi to come up (I loop until connected). Since that seems similar to the other issue above, I'm guessing I'm just plainly doing the external power supply wrong, somehow.
I was trying to find an easy answer but failed so far, sorry I'm sure I'm searching using the wrong terms or something. Basically, could somebody tell me how to properly wire up that external power, optimally including so it works with or without usb connected? Or am I messing up something else?
Thank you!
[1] https://store.arduino.cc/usa/arduino-mkr-connector-carrier
[2] https://store.arduino.cc/usa/grove-infrared-reflective-sensor-v1-2