...
We can use the control signals from a serial port similarly (reset=rts sck=dtr mosi=txd miso=cts). The serial port outputs +-12V, so we need a few zener diodes to transform this to 0V/5V[1]:
Schematic:
My version:
(bigger images attached)
...
It is possible to use dasa with a USB-to-serial converter, but the performance is very slow[12]. It is possible to use dapa with a USB-to-parallel converter, but the performance will be equally slow. In addition, I've heard the claim that some USB-to-parallel converters are meant solely to drive printers, and do not implement full parallel port functionality, and so would not work.
...
- The simplest one consists of an ATTiny2313 chip and a few passives. Very nice design. I have not used this.
- A more complex one uses a USB-to-serial converter chip. I have not used this one either. This one has two advantages over the simple one above (which probably do not make up for the added complexity):
- The hardware design is similar to the Mini, so with this guy's firmware, it may be possible to use one Mini board to program another
- It implements the full STK500 spec, so it is possible to do things like timer calibations
- In addition, Atmel makes the AVRATAVRIPSMKII programming cable, available from Digikey. It's fairly inexpensive (~$30), and works well. It uses a 6-pin header (Atmel's standard) instead of the 5 pin header we use (standard on hobbyist boards)[23]. The 6th pin takes VCC, which we need to run from the main header. I've used this to program the Mini. I just ran 5 hookup wires from the plug on the MKII to the header on the Mini, and so that I wouldn't forget the configuration, I put hot glue around the wires. The sixth wire goes to the VCC pin on the Mini:
Footnotes
1.
Anchor | ||||
---|---|---|---|---|
|
2.
Anchor | ||||
---|---|---|---|---|
|
23.
Anchor | ||||
---|---|---|---|---|
|