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 (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