Recently I bought the Arduino Uno Wifi Rev 2 and the official arduino USB host shield. From what I understood on the website and the internet this shield should not pose any problems with Uno serie boards. The Uno board has been working without any problems, but as soon as I combine the USB host shield with it, the whole device stops working.
Although both the power leds on the usb board and on the uno board are lit up, no communication with the device is possible anymore since the laptop stops seeing the plugged in usb which connects my laptop with the uno board. It even makes the typical disconnection sound. As soon as I take the usb host shield off the uno board, the uno board automatically reconnects to my laptop.
I have also tried to power the uno + shield combination with an external battery and see if it would still execute the sketch that was uploaded to the uno board before placing the usb host shield on it, but even this doesn't work. The sketch that i used was just a simple LED switch which worked normally when using only the uno board.
Is it possible that there is an compatibility issue between the arduino uno wifi rev 2 and the arduino usb host shield?
I've been using a Lenovo laptop with windows 10, and as for the arduino software I am using the latest IDE 1.8.8 with the necessary libraries.
I hope somebody can help me with this. Thank you in advance.
do you initialize the SPI slave select pins of all SPI devices before using one of them? you have NINA and the shield. the libraries will do it if you initialize them in the sketch.
do not connect or remove the shield while the board is powered
Thank you for your input and sorry for my late reply.
Unfortunately I have no experience with using a shield on the arduino, and any experience i have with the arduino itself is rather limited so i don't know that much about SPI.
But I'll look it up and keep on trying.
According to the customer support of arduino, the uno wifi and usb host shield are NOT compatible.
At the same time i posted this question on the forum I also sent a mail to the store support asking the same question and this is what they replied:
"The Arduino USB host shield is incompatible with the Arduino UNO Wifi. However if you still want to connect them, we recommend you to bend the VIN pin, RESET Pin(on the ICSP ) and don't connect them."
MRutger:
Just a small update for the people reading this:
According to the customer support of arduino, the uno wifi and usb host shield are NOT compatible.
At the same time i posted this question on the forum I also sent a mail to the store support asking the same question and this is what they replied:
"The Arduino USB host shield is incompatible with the Arduino UNO Wifi. However if you still want to connect them, we recommend you to bend the VIN pin, RESET Pin(on the ICSP ) and don't connect them."
MRutger:
After asking them in detail which pins to "bend" and such they just answered the following:
"Sorry for the inconvenience,
Please consider that the shield is not compatible with the Uno wifi rev2.
Have a nice day"
They didn't even reply on the questions i had about the pins.
because if there is an issue, bending the ICSP header pins will not help. the same connections are on the 'power' header.
try to set pin 10 as OUTPUT and HIGH as first in setup().
if it doesnt't help, you could try bend a little the pin 10 on shield so it doesn't connect to pin 10 on Uno and wire it with jumper to some other pin and set that pin HIGH as first in setup()