Pages: [1]   Go Down
Author Topic: Arduino USB host shield pin 3 not working  (Read 1259 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Hello everyone,

I recently bought the arduino usb host shield. I wired up some circuits to test out what i can do with it using a 360 controller. What i found out after playing around with it and some research was that i cant use I/O pins 10- 13. The problem is that PWM pin 3 is not responding to the arduino programs i write using it.

I dont know what the problem is....

So i decided to reconnect every pin with jumper wires until i find out when pin 3 would turn off.  I wired up an LED with a HIGH written to pin 3 and started connecting everything from the shield to the arduino. Pin 3 only turned off when i connected the reset ISCP pin from the shield to the arduino.

That seems to be what the problem is, I don't know what to do now....

Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 615
Posts: 49388
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I recently bought the arduino usb host shield.
Which one?

Quote
What i found out after playing around with it and some research was that i cant use I/O pins 10- 13.
Because the USB Host shield is an SPI device.

Quote
The problem is that PWM pin 3 is not responding to the arduino programs i write using it.
Perhaps because the timer that is involved has been hijacked for another purpose.

Quote
I don't know what to do now
Perhaps you could give some consideration to posting your code.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
The shield is this one: http://www.amazon.com/gp/aw/d/B00CPYSX1M?cache=1390772369&pi=AC_SX110_SY165_QL70#ref=mp_s_a_1_14

The code I used:

Const int LED = 3;

Void setup(){
pinMode(LED, OUTPUT);
}

Void loop(){
digitalWrite(LED, HIGH);
}
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 615
Posts: 49388
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The code I used:
No, it isn't. That code won't even compile.

For all the details provided about that shield, I hope you got your money's worth. That site is useless. I can only hope that their products aren't.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Umm, why won't it compile....

If it's because of case sensitive, then that is dealt with in the IDE, I just wrote the progress format
« Last Edit: January 27, 2014, 03:46:52 pm by GreatStoneDragon » Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 615
Posts: 49388
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
If it's because of case sensitive, then that is dealt with in the IDE
No, it isn't.

Quote
I just wrote the progress format
The what?
Logged

Pages: [1]   Go Up
Jump to: