Step 2ATtiny2313 - Blink the LEDs
The Dragon Rider 500 has sockets for several different sized AVR microcontrollers. These include: 8, 20, 28, and 40 pin sockets. Depending on which socket you use, jumpers on the Dragon Rider board must be set differently.
Jumper Settings
Set the jumpers on the Dragon Rider so that the shunts connect the following pins. (pin4 is the center pin for J22-J-24)
Pins:
J5 - 23
J6 - 23
J7 - 12
J16 - 23
J22 - 41
J23 - 41
J24 - 41
This is a basic setup that allows for ISP (In System Programming).
Blinky Blinky
Programming does no good unless you have something to program. I have written a very short code example to blink the Dragon Rider's LED's one at a time.
Use a ribbon cable to connect the LED header (J29) to the PortB header (J2).
Programming
I've included the C file as well as a makefile and the hex file. Like I mentioned in the intro, I cannot cover the software side of programming in the Instructable. Program like you would for the AVR Dragon, as the Dragon Rider doesn't alter the software side of things at all.| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|















































