Pages: [1]   Go Down
Author Topic: ard. uno output pins problem, 5 to 9, 10 is ok.  (Read 7329 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

leds with 100 ohm resistor, working with the 3-light project from adafruit,  the led on pin 10 works ok, full brilliance.
the leds on pins 8 and 9 half-light. i found no ac component on pin 10, but around a half-volt on 8 and 9 when "lit".
the program compiles and works ok except for the partial brilliance.
pin 10 is at 4.5+ vdc. at the arduino side of the resistor..(correct.)
pins 8 and 9 only go to 1.55 vdc at their resistors.
i swapped the pin numbers in the arduino to 6 and 7 and reloaded, same symptom.
and, of course, i swapped the led, to see that they are all ok on the pin 10 location.
i must be missing some setup on those pins, or what?
sam
Logged

United States (Texas)
Offline Offline
God Member
*****
Karma: 3
Posts: 525
Arduino socks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

can we see your code?
Logged

Washington
Offline Offline
God Member
*****
Karma: 38
Posts: 790
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you setting the pins to OUTPUT?
Logged

Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes, the code works and is correct.
i'm new at this forum and not yet familiar with including the attachment.  i thiink  i know. now, looking at the bottom of the page.
i will recheck the code, it is from the suggested code in the adafruit project.  it also verifies and loads ok.
i'm on a different PC now.
more later, thanks, sam
Logged

Red Sea, Saudi Arabia
Offline Offline
God Member
*****
Karma: 12
Posts: 579
..On The Red Sea
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Zammy, maybe totally simplify this to try to find what's really happening...

GO back to Blink example.  Onboard LED blinks OK?? 

Then change only that 13 to some other pins. Also try #14 to 19 (The "analog" pins which can also be outputs)..

I've tested quite a few Arduinos with my Test Shield, and have not seen any one pin more that a small amount different...

Let us know...
Logged

Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

Red Sea, Saudi Arabia
Offline Offline
God Member
*****
Karma: 12
Posts: 579
..On The Red Sea
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

(SIG) Solid state rectifiers are the only REAL rectifiers.

Hey, Smeezekitty, you gotta problem with 8008's??  Bet you never even been Blue in the face... :-)

http://www.radiomuseum.org/tubes/tube_8008.html
« Last Edit: February 05, 2011, 06:49:18 am by Terry King » Logged

Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

Washington
Offline Offline
God Member
*****
Karma: 38
Posts: 790
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

(SIG) Solid state rectifiers are the only REAL rectifiers.

Hey, Smeezekitty, you gotta problem with 8008's??  Bet you never even been Blue in the face... :-)

http://www.radiomuseum.org/tubes/tube_8008.html
Yes, Actually.
For various reasons.
Such as wasted power, generated heat and reliability problems.
Quote
Filament     Vf 5 Volts / If: 6.75 Ampere
Yeah....
« Last Edit: February 05, 2011, 01:49:19 pm by smeezekitty » Logged

Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

Red Sea, Saudi Arabia
Offline Offline
God Member
*****
Karma: 12
Posts: 579
..On The Red Sea
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Smeezekitty, Not to take this TOO far OT (How could we BE farther??) , What is the background to your unusual Sig??

Agree with ALL your reasons; About 1964 I built a string of RCA Silicon Diodes with parallel R and C to replace a pair of 8008's in an RCA 1Kw broadcast transmitter.  After too many cold-morning trips to fix circuit-breaker dropout on 8008 arc-back.

... now we return you to you previously scheduled program...
Logged

Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

Washington
Offline Offline
God Member
*****
Karma: 38
Posts: 790
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
What is the background to your unusual Sig??
What part of it?
Logged

Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks, terry king.   good thought to try to use the local led.
will try it asap.
sam
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

found the PROGRAM problem!  mea culpa.
i had a comma and space between pinMode and (yellowPin, HIGH)
these things are just a bit sensitive to syntax, eh?
(blush!, started working in computers in 1959 at philco)  smiley-red
thanks, all.
sam
Logged

Pages: [1]   Go Up
Jump to: