View Single Post
  #11   Spotlight this post!  
Unread 09-08-2013, 12:29
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,624
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Arduino + Ethernet Shield Help

Quote:
Originally Posted by jwallace15 View Post
All of them work when shorted to ground (did a continuity test just to double check). Except relay 1. But it isn't that big of a deal, I probably won't even need to use it. There's only about 4 things I want to control, my Dad just got the one with 8 relays just in case.

Now, should I just eliminate the 10K ohm resistors?
Here's what you should have:

>Vcc should be connected to a 5V power supply (not the Arduino power).
>Gnd should be connected to the same 5V power supply system ground and the Arduino ground.
>IN2-8 should be connected to whatever Arduino digital I/O you wish...directly.
>IN1 on your board is damaged do not connect it anywhere.
>You Arduino power input can be connected to the USB port for power or the relay board power supply (not the relay board but the same power source it gets power from), your choice.

Since the relay turns on when the digital I/O is driven to ground you probably want to reverse your code so 'On' is low and 'Off' is high.