Programming an ATTINY13A with Arduino Mega 2560

Hello Y'all,

I've been trying to program my Attiny13A with an arduino Mega 2560 without success. I know there are a bunch of guides out there describing how to program the Attiny; The problem is that I do not have an arduino UNO (as referred in the tutorials), but the MEGA2560.

I have uploaded the "ArduinoISP" sketch to the my Arduino Mega, connected the 10uf cap between reset and GND and I've tried hundreds of times with the example "Blinking LED" without success :frowning: (I've changed the pin13 that comes as default on the sketch by pin 4 of the Attiny13A).

"The The Arduino Mega has a hardware SPI interface on pins 50 - 53 that can be used to program other microcontrollers."

So I'm connecting: (As shown in the picture)
MEGA2560 --->ATTINY13A

MISO pin 50 -->Pin 6
MOSI pin 51 -->pin 5
SCK Pin 52 --> pin 7
SS pin 53 -->pin 1

What am I doing wrong? Please help me!!
Thanks in advance :slight_smile:

pins on MEGA2560.JPG

(deleted)

"So I'm connecting: (As shown in the picture)
MEGA2560 --->ATTINY13A"

MISO pin 50 -->Pin 6
MOSI pin 51 -->pin 5
SCK Pin 52 --> pin 7
Replace: SS pin 53 -->pin 1
With: pin 10 -->pin 1

kprims:
"So I'm connecting: (As shown in the picture)
MEGA2560 --->ATTINY13A"

MISO pin 50 -->Pin 6
MOSI pin 51 -->pin 5
SCK Pin 52 --> pin 7
Replace: SS pin 53 -->pin 1
With: pin 10 -->pin 1

Thanks a lot! IT DID WORK! You nailed it :slight_smile: