Reply To: Shield with Tuner question

Home Forums Hardware AutoSense Shield Shield with Tuner question Reply To: Shield with Tuner question

Profile photo of -Jeff-

Okay.. my cable issue aside.

when the DUE boots in the loop for the USB, I assume it is looking to see if it is master or slave, depending on the connected USB port right?

What if (assuming a DIO pin is available) you set a pin as input, if High, then Android is host, if Low then Due is host, while still requiring the cables connection as they are, so if the line is low, which is checked on power up only ( or reset button pushed) it ‘sets’ the mode, then the USB confirms it.

I have to imagine the code is complex to determine which USB to use, I have also seen where the USB says the arduino is connected but there is no Data (not Tuner connection and Temp sensors aren’t working) which made me think, what if it was in the loop for USB and stuck there.. that would explain a good USB connection and no response



  • This reply was modified 4 years, 1 month ago by Profile photo of -Jeff- -Jeff-.