HWA
Bare metal programming with style
|
This is an Arduino clone board with a MEGA328P-AU microcontroller and a 16 MHz crystal.
The serial communication uses 1 wire for RX/TX. The board RX pin is connected to the RXD pin of the serial adapter and a 1k resistor is connected between the RXD and TXD pins. Alternately, RX can be tied to VCC through a 1k resistor and a Schottky diode connected between TXD (anode) and RXD (cathode).
BOARD -> RXD : RXD <- Serial Adapter : TXD RST : DTR GND : GND VCC : VCC
USBASP -> 1 MOSI 11 <- BOARD 2 VCC VCC 4 GND GND 5 RST RST 7 SCK 13 9 MISO 12