USBasp/USBisp module for the LGT8F328P and AVR boards.
I created a small module to be able to program both LGT8F328P and AVR based Arduino boards without the hassle of a bunch of jumper wires, caps on RST, Linux permissions for the USB devices etc. It is basically a proMINI32 with a shield on top that has connectors to plug in a CP2102 UART board as well as targets such as the Nano32, proMINI32, AVR Nano and the AVR proMINI. Actually most any AVR board could be programmed - it features an Arduino ISP connector but may need jumpers due to the mechanical layout..
This README is intended to serve as an Operation Manual for the LGTisp module.
The basic hardware consists of a proMINI32 with female headers installed to accept this module as a sheild. The sheild fits atop the proMINI32. Here are a couple of lousy photo which may or may not help in visualizing the programmer. ( rev 0 boards picture )
Bare Bones with CP2102
plug in a CP2102 board and either a LGT board or an AVR board.. Setup the Arduino IDE for the target board as follows:
pay attention to the variant - the SSOP-20 has the serial I/O on different pins. Set the Arduino as ISP option to "Default(64)". select the AVR ISP programmer.
setup the IDE as usual for your board - select the Arduino as ISP programmer.
**Click on Sketch -> Upload Using Programmer ** and watch the light show...
here are some more lousy pictures... (not worth 1000 words but maybe 40-50...) NOTE: the AVR proMINI installs with only 1 row on pins inserted - the row with D12 and D13, VCC and GND etc. It is OFFSET by 1 pin on either end.
Nano32 AVR Nano
- Blue LED - HeartBeat - this LED flashes constantly when the LGTasp is running.
- Green LED - UpLoading - this LED lights while the sketch is being uploaded.
- Red LED - ERROR - this LED will light and stay lit if an error ocurred - it may also flicker as each buffer of data is uploaded.
- Yellow LED - This LED lights when a LGT board is properly connected.. stays off for an AVR board.. If no board is connected it flashes continously. If both a LGT and an AVR board are connected the Yellow and Red LEDs flashes continously.