Arduino nano and uno voltage output = 0v

i was using arduino uno to program attiny85, it worked firstly then i got this error

Sketch uses 1426 bytes (17%) of program storage space. Maximum is 8192 bytes.
Global variables use 21 bytes (4%) of dynamic memory, leaving 491 bytes for local variables. Maximum is 512 bytes.
"C:\Users\Dyaa\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\Dyaa\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.3.3/avrdude.conf" -v -pattiny85 -cstk500v1 -PCOM6 -b19200 "-Uflash:w:C:\Users\Dyaa\AppData\Local\Temp\arduino\sketches\DDFF2AF34CA83FC3A5F3C2309CEA83C5/sketch_nov19a.ino.hex:i"

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\Dyaa\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.3.3/avrdude.conf"

         Using Port                    : COM6
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
         Setting bit clk period        : 5.0
         AVR Part                      : ATtiny85
         Chip Erase delay              : 400000 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : possible i/o
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    12     4    0 no        512    4      0  4000  4500 0xff 0xff
           flash         65    12    32    0 yes      8192   64    128 30000 30000 0xff 0xff
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          2    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 Version 1.x firmware
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0xffffff (retrying)

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0xffffff (retrying)

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0xffffff
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.

Failed programming: uploading error: exit status 1

i thought the problem is from the attiny85 or the uno so i ordered a new arduino nano and new attiny85 and same error,

i measured the voltage between the 5v pin and gnd = 0v, the voltage from gnd to any other digital pin = 0v (same output voltage in both board 0) is it normal?! if normal why i get this error while programming the attiny

note i can upload any sketch to any board without and problem

This is often caused by a wiring problem.

What exactly did you measure?

the voltage between vcc and gnd of the attiny
and the voltage between 5v pin of arduino and gnd
they are 0

i double checked the wire it is right 100%

If you disconnect the external circuit from the Nano, so that it's by itself - What then?

If the Arduino had no power, you would not see anything at all on serial monitor, you would not be able to open serial monitor.

So the Arduino must have power and perhaps your multimeter is faulty.

Do you know how to use a multimeter?

Can you show is the wiring please.

Iam sure my multimeter is working

5V - PIN 8
GND - PIN 4
D10 - PIN 1
D11 - PIN 5
D12 - PIN6
D13 - PIN 7

capacitor 10uf between gnd and reset of arduino
capacitor0.1uf between vcc and gnd of attiny

Solder.
Just sticking header pins in the holes is highly unreliable.

1 Like

I solder it and now i can see 5v but still same

error

i changed the ide version, restart the computer and still get this stupid error with both uno and nano!!!!!!!!
i lost my mind what is the hell!!!!!!!!!

I'm afraid that soldering job is nowhere near good enough.

Adafruit had a good tutorial on Making a good solder joint. It would be worth your while to review it and use the techniques that are shown there. It will make your life much, much easier.

1 Like

iam not going to waste my time soldering some pin greatly while the are already solder good enough to work
thank you

is not the nano cable is the micro usb charging cable?

this cable already upload the arduino spi sketch, and can upload any other sketch

And …. Don’t forget on some prototyping boards the supply rails are not continuous along their length

Maybe you should collect stamps or something.

Why this error happened to uno as well, should i solder something!

It is not going to be a data-only USB cable, there would be no connection with the Nano if that were the case, and likely the computer would not even recognize any device plugged in the USB port.

Have you individually tested the jumper wires? Those have been known to break inside the insulation where the end pieces are crimped on.

I would go back to using the UNO to completely eliminate the possibility of a problem with the soldering. If you want to keep using the Nano, I would check the connections by measuring the resistance between the pins of the attiny85 and the ICSP connector on the Nano, that will have everything except the line to pin 10, and let you know if the solder connection and wiring is good.

Hi,
Sorry but those solder joints are nowhere good enough, most of them aren't even connecting the pin to the PCB.

Spent some time with your soldering iron and let the solder melt over the joints.

What solder and soldering iron do you have?

Well the results are plainly showing that they probably aren't good enough to work.

Thanks.. Tom.. :grinning: :+1: :coffee: :australia: