Adafruit trinket serial
![adafruit trinket serial adafruit trinket serial](https://cdn-learn.adafruit.com/assets/assets/000/018/931/medium800/adafruit_products_digpion.jpg)
Flash the sketch to it and the heartbeat LED should start pulsing. I used one of the $4 Adafruit ZIF sockets for convenience.īoard Target is the Adafruit Trinket (FTDI), Port is the FTDI cable port, Programmer is USBTinyISP. The SPI pins 10, 11, 12, 13 connect exactly the same between the Trinket and the SPI pins on the target AVR you want to program. 8: Programming - In communication with the slave 6: Error - Lights up if something goes wrong (use red if that makes sense) 5: Heartbeat - shows the programmer is running
![adafruit trinket serial adafruit trinket serial](https://cdn-shop.adafruit.com/970x728/2010-03.jpg)
So, the setup is almost identical to the UNO board, but since the pinouts on the trinket (pro in my case) are not quite the same, you simply need to take a copy of the original Arduino ISP sketch, save to a ‘Trinket ISP’ and make the following modifications: // Put an LED (with resistor) on the following pins:
#ADAFRUIT TRINKET SERIAL SERIAL#
If you think about it, it doesn’t matter that the Trinket doesn’t have a built-in USB interface - it does have FTDI serial … and from the perspective of the 328P, it can’t tell the difference if the data arriving on the IO pins the Arduino ISP sketch uses is from that or the 32U4 USB interface chip provided on the UNO et al … You absolutely CAN setup the trinket as a simple and effective ISP! I use it to flash a handful of my other AVR’s (Tiny13, 24, 45, Mega48/88/168’s etc). I know this has been a few months, so not sure if this will benefit the original posters, but for those stumbling onto this topic via search / google etc.