Hello forum,
Working on a circuit that will
fade eight 5 mm LEDs ove an eight second
interval.
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Fade

The breadboard worked well the functioned
as designed. That is, it fades from full brightness
to off and back to full brightness
over an eight second frequency.
A PCB was drafted and manufactured.
But the board does not work. Spent
hours troubleshooting the board
with no luck.

So it was decided to build a new
board and test every component and connection
as the PCB is built.
The microntroller was installed
and tested. A simple sketch to send
output from pin 5 on the ATiny85 was
written for testing and is attached
herewith below.
A test between the ATtiny85 pin 5
(sketch pin 0) and R0 csues the
multimeter the multimeter to
oscillate between 0 amd 4.6 volts
at the one second interval spec'd
by the delay in the sketch.
When a test is done between
R0 and B1 the meter reads zero volts
and does not go up to 4.6 volts
and back down to zero as the circuit
does on the microcontroller side
of the resistor.
It was expected that the voltage
would drop a little, say one half
to three-quarters of a volt to
around 4.0 volts because of a
voltage drop caused by the resistor.
But did not expect zero volts.
Perhaps the LEDs have to be installed
for the current to be drawn thru the
resistor for the voltage to register.
Thanks.
Allen Pitts
Working on a circuit that will
fade eight 5 mm LEDs ove an eight second
interval.
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Fade

The breadboard worked well the functioned
as designed. That is, it fades from full brightness
to off and back to full brightness
over an eight second frequency.
A PCB was drafted and manufactured.
But the board does not work. Spent
hours troubleshooting the board
with no luck.

So it was decided to build a new
board and test every component and connection
as the PCB is built.
The microntroller was installed
and tested. A simple sketch to send
output from pin 5 on the ATiny85 was
written for testing and is attached
herewith below.
A test between the ATtiny85 pin 5
(sketch pin 0) and R0 csues the
multimeter the multimeter to
oscillate between 0 amd 4.6 volts
at the one second interval spec'd
by the delay in the sketch.
When a test is done between
R0 and B1 the meter reads zero volts
and does not go up to 4.6 volts
and back down to zero as the circuit
does on the microcontroller side
of the resistor.
It was expected that the voltage
would drop a little, say one half
to three-quarters of a volt to
around 4.0 volts because of a
voltage drop caused by the resistor.
But did not expect zero volts.
Perhaps the LEDs have to be installed
for the current to be drawn thru the
resistor for the voltage to register.
Thanks.
Allen Pitts
Attachments
-
2.1 KB Views: 1

