{"product_id":"mag-3172-pololu-usb-avr-programmer-v2-1","title":"Pololu USB AVR Programmer v2.1","description":"\u003cp\u003eThis in-system programmer can be used to program AVR microcontrollers and AVR-based controller boards, such as our A-Star 328PB Micro, Orangutan robot controllers, and the 3pi robot. The programmer emulates an STK500 on a virtual serial port, making it compatible with standard AVR programming software, and it supports devices running at either 3.3 V or 5 V. The programmer also features a TTL-level serial port, enabling general-purpose serial communication for debugging or programming microcontrollers with a serial bootloader. An ISP cable and a 1×6 double-sided male header are included with this fully-assembled programmer.\u003c\/p\u003e\n\n\u003cbr\u003e\u003ch3\u003e Overview \u003c\/h3\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 300px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7117.1200.jpg?64a74185a24d43bd92b02346ec068956\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id pololu usb avr programmer v2 connected to an a-star prime sv for programming. data-picture-id=\"0J7117\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7117.300.jpg?64a74185a24d43bd92b02346ec068956\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003e The Pololu USB AVR Programmer v2 (bottom) connected to an A-Star 32U4 Prime SV for programming.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n \u003cp\u003eThe Pololu USB AVR Programmer v2.1 is a compact, low-cost in-system programmer (ISP) for AVR microcontrollers from Atmel (now a part of Microchip). The programmer provides an interface for transferring a compiled AVR program from your computer to the target AVR's non-volatile memory, allowing it to run the program. It is a good solution for programming AVR-based controllers like our \u003ca href=\"https:\/\/www.pololu.com\/category\/239\/a-star-328pb-micro\"\u003eA-Star 328PB Micro\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/category\/187\/orangutan-robot-controllers\"\u003eOrangutan robot controllers\u003c\/a\u003e . It can also be used to update, replace, or remove the bootloader on some \u003ca href=\"https:\/\/www.pololu.com\/category\/125\/arduino-compatible\"\u003eArduino boards\u003c\/a\u003e including the Uno, Leonardo, and Mega, and also on our Arduino-compatible \u003ca href=\"https:\/\/www.pololu.com\/category\/149\/a-star-programmable-controllers\"\u003eA-Star controllers\u003c\/a\u003e . This programmer is designed to work well with both 3.3 V and 5 V devices, and it can even be configured to provide power to the target device in low-power systems.\u003c\/p\u003e\n\n \u003cp\u003eThe programmer connects to your computer's USB port via a standard \u003ca href=\"https:\/\/www.pololu.com\/product\/2072\"\u003eUSB A to Micro-B cable\u003c\/a\u003e (not included) and communicates with your programming software, such as Microchip Studio, AVRDUDE, or the Arduino IDE, through a virtual COM port using the STK500 protocol . The programmer connects to your target device via an included \u003ca href=\"https:\/\/www.pololu.com\/product\/972\"\u003e6-pin ISP programming cable\u003c\/a\u003e (the older, 10-pin ISP connections are not directly supported, but it's easy to create or purchase a 6-pin-to-10-pin ISP adapter) . The programmer also acts as a USB-to-TTL serial adapter, providing a TTL-level serial port that can be used to communicate with other serial devices from your computer. It ships fully assembled with connectors soldered in as shown.\u003c\/p\u003e\n\n \u003cp\u003eThe Pololu USB AVR Programmer v2.1 is a drop-in replacement for the older \u003ca href=\"https:\/\/www.pololu.com\/product\/3170\"\u003ePololu USB AVR Programmer v2\u003c\/a\u003e with several hardware improvements that are described in the “Comparison to previous AVR programmers” section below.\u003c\/p\u003e\n\n\u003cp class=\"note\"\u003e This product requires a \u003ca href=\"https:\/\/www.pololu.com\/product\/2072\"\u003eUSB A to Micro-B cable\u003c\/a\u003e to connect to a computer.\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8587.1200.jpg?e615d6556d0a7b9485cc4a783f1ede69\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id usb avr programmer v2.1 labeled top view. data-picture-id=\"0J8587\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8587.300.jpg?e615d6556d0a7b9485cc4a783f1ede69\"\u003e\u003c\/a\u003e \u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8583.1200.jpg?11f0339a3db0e89ead272c4016270764\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id usb avr programmer v2.1 bottom view with dimensions. data-picture-id=\"0J8583\" data-picture-longest_side=\"1652\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8583.300.jpg?11f0339a3db0e89ead272c4016270764\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003ch3\u003e Features and specifications\u003c\/h3\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Connects to a computer through USB via a \u003ca href=\"https:\/\/www.pololu.com\/product\/2072\"\u003eUSB A to Micro-B cable\u003c\/a\u003e (not included)\u003c\/li\u003e\n\n\u003cli\u003e Emulates an STK500 programmer through virtual COM port interface\u003c\/li\u003e\n\n\u003cli\u003e Works with standard AVR programming software, including Microchip Studio, AVRDUDE, and the Arduino IDE\u003c\/li\u003e\n\n\t \u003cli\u003eConfiguration software available for Windows, Mac OS\u003c\/li\u003e\n\n\u003cli\u003e Supports both 3.3 V and 5 V devices; can automatically switch operating voltage based on detected target VCC\u003c\/li\u003e\n\n\u003cli\u003e Can optionally power the target at 3.3 V or 5 V in low-power systems\u003c\/li\u003e\n\n\u003cli\u003e USB-to-TTL serial adapter functionality for general-purpose serial communication\u003c\/li\u003e\n\n\u003cli\u003e Provides a 100 kHz clock output, which can be useful for reviving misconfigured AVRs\u003c\/li\u003e\n\n\u003cli\u003e All I\/O pins are protected with 470 Ω resistors\u003c\/li\u003e\n\n\u003cli\u003e\n\n \u003ca href=\"https:\/\/www.pololu.com\/product\/972\"\u003e6-pin ISP cable\u003c\/a\u003e and a 1×6 \u003ca href=\"https:\/\/www.pololu.com\/product\/1065\"\u003edouble-sided male header\u003c\/a\u003e included\u003c\/li\u003e\n\n\u003cli\u003e Comprehensive \u003ca href=\"https:\/\/www.pololu.com\/docs\/0J67\"\u003euser's guide\u003c\/a\u003e\n\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch3\u003e Supported AVR microcontrollers\u003c\/h3\u003e\n\n \u003cp\u003eThe programmer should work with all AVRs that can be programmed with the AVR ISP (in-system programming) interface, which is also known as in-circuit serial programming (ICSP), serial programming, or serial downloading, but it has not been tested with all devices. We expect it to work with most AVRs in the megaAVR (ATmega) family, and it works with some members of the tinyAVR (ATtiny) family, but it does\u003cins\u003e note\u003c\/ins\u003e support the Tiny Programming Interface (TPI), and it does\u003cins\u003e note\u003c\/ins\u003e work with the XMEGA family or with 32-bit AVRs. The programmer features upgradeable firmware, allowing updates for future devices.\u003c\/p\u003e\n\n\u003cp\u003e The programmer is designed for use with AVR microcontrollers running at either 3.3 V or 5 V. By default, the programmer expects the target to be self-powered, but it can be configured to deliver power to the target device in low-power systems.\u003c\/p\u003e\n\n\u003ch3\u003e Supported operating systems\u003c\/h3\u003e\n\n \u003cp\u003eWe support using the Pololu USB AVR Programmer v2.1 and its configuration software on desktop versions of Windows (7, 8, 10, and 11), Linux, and macOS 10.11 or later. Older versions of Windows are not supported. \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 250px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7118.1200.jpg?9b8e69703646ca39c798cbbe1055caf0\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id pololu usb avr programmer v2 connected to an adafruit pro trinket for programming. data-picture-id=\"0J7118\" data-picture-longest_side=\"1793\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7118.250.jpg?9b8e69703646ca39c798cbbe1055caf0\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 250px\"\u003e\u003cp\u003e The Pololu USB AVR Programmer v2 (top) connected to an Adafruit Pro Trinket for programming.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch2\u003e Bonus feature: TTL-level serial port\u003c\/h2\u003e\n\n \u003cp\u003eThis programmer doubles as a USB-to-serial adapter. The programmer installs as \u003cstrong\u003etwo\u003c\/strong\u003e virtual COM ports: one for communicating with programming software and one for general-purpose serial communications. This means that you can seamlessly switch between programming an AVR and debugging it through the TTL serial port without having to open and close your terminal program. In addition to the serial transmit ( \u003cstrong\u003eTX\u003c\/strong\u003e ) and receive ( \u003cstrong\u003eRX\u003c\/strong\u003e ) lines, the programmer lets you use \u003cstrong\u003eA\u003c\/strong\u003e and \u003cstrong\u003eB\u003c\/strong\u003e as serial handshaking lines that can be configured using our software.\u003c\/p\u003e\n\n \u003cp\u003eThe six pins on the serial header (GND, A, VCC, TX, RX, and B) are arranged to be similar to the pinout of commonly-available FTDI USB-to-serial cables and breakout boards. In the default configuration, pin B is used as the DTR output (and pin A is an unused input), which allows you to plug the programmer directly into a variety of Arduino-compatible boards (including our \u003ca href=\"https:\/\/www.pololu.com\/category\/239\/a-star-328pb-micro\"\u003eA-Star 328PB Micro\u003c\/a\u003e ) and use it to upload programs to the board via a serial bootloader.\u003c\/p\u003e\n\n\u003cdiv class=\"clear\"\u003e\u003c\/div\u003e\n\n\u003ch2\u003e Included accessories\u003c\/h2\u003e\n\n \u003cp\u003eThe Pololu USB AVR Programmer v2.1 ships fully assembled with ISP and serial connectors soldered in, and it includes the accessories shown in the picture below. The \u003ca href=\"https:\/\/www.pololu.com\/product\/972\"\u003e6-pin ISP cable\u003c\/a\u003e can be used to program AVRs. The 1×6 \u003ca href=\"https:\/\/www.pololu.com\/product\/1065\"\u003edouble-sided male header\u003c\/a\u003e can be plugged into the serial header to effectively reverse its gender (making it possible to connect that header to a \u003ca href=\"https:\/\/www.pololu.com\/category\/28\/solderless-breadboards\"\u003ebreadboard\u003c\/a\u003e or female \u003ca href=\"https:\/\/www.pololu.com\/category\/65\/premium-jumper-wires\"\u003ejumper wires\u003c\/a\u003e ). \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 400px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7110.1200.jpg?761369531ef4e6422775aa38735c5dd7\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id usb avr programmer v2 or v2.1 with included hardware. data-picture-id=\"0J7110\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7110.400.jpg?761369531ef4e6422775aa38735c5dd7\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 400px\"\u003e\u003cp\u003e Pololu USB AVR Programmer v2 or v2.1 with included hardware. \u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 300px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7114.1200.jpg?0e1fea25eed1e122b4dd7a8864e52d8e\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id left to right: the original orangutan usb programmer pololu avr and v2 looks almost same as v2.1 data-picture-id=\"0J7114\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7114.300.jpg?0e1fea25eed1e122b4dd7a8864e52d8e\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e \u003cp\u003eFrom left to right: the original Orangutan USB Programmer, the Pololu USB AVR Programmer, and the Pololu USB AVR Programmer v2 (which looks almost the same as v2.1).\u003c\/p\u003e\n\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch2\u003e Comparison to previous AVR programmers\u003c\/h2\u003e\n\n\u003cp\u003e The Pololu USB AVR Programmer v2.1 (product #1372) is a drop-in replacement for our older \u003ca href=\"https:\/\/www.pololu.com\/product\/3170\"\u003ePololu USB AVR Programmer v2\u003c\/a\u003e (product #3170) with three hardware improvements:\u003c\/p\u003e\n\n\u003cul\u003e\n\n\t \u003cli\u003eThe optional VCC output feature of the v2 programmer (which allows you to power your AVR target from the programmer) was not designed to power loads with more than a few microfarads of capacitance. The v2.1 programmer has better VCC output circuity, so it can power higher-capacity boards that would have caused the v2 programmer to continually experience brown-out resets. While there is still a limit to how much capacitance it can handle, we expect the v2.1 VCC output feature to work with most small AVR target boards that have less than about 33 µF of capacitance on VCC, and we have tested it with the \u003ca href=\"https:\/\/www.pololu.com\/category\/239\/a-star-328pb-micro\"\u003eA-Star 328PB Micro\u003c\/a\u003e .\u003c\/li\u003e\n\n\t \u003cli\u003ePlugging a v2 programmer into a \u003ca href=\"https:\/\/www.pololu.com\/product\/975\"\u003e3pi robot\u003c\/a\u003e could cause one of the motors to briefly run at full speed because the programmer's circuitry for measuring VCC could inadvertently pull up one of the 3pi's programming pins (which doubles as a motor driver input) before the GND connection was established. The v2.1 programmer has improved circuitry for measuring VCC which limits the duty cycle of this effect to about 0.2%, so the motor won't move (but it might make a 25 Hz clicking sound).\u003c\/li\u003e\n\n\u003cli\u003e The v2 programmer would typically brown-out if a 5 V signal was applied to its \u003cspan style=\"text-decoration:overline;\"\u003eRST\u003c\/span\u003e pin while it was operating at 3.3 V. The v2.1 programmer does not have this problem.\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003cp\u003e Compared to the original \u003ca href=\"https:\/\/www.pololu.com\/product\/1300\"\u003ePololu USB AVR Programmer\u003c\/a\u003e (product #1300), the Pololu USB AVR Programmer v2.1 features a number of improvements:\u003c\/p\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Support for devices operating at 3.3 V (in addition to 5 V)\u003c\/li\u003e\n\n\t \u003cli\u003eVCC pin can be configured to provide 3.3 V or 5 V power to target in low-power systems\u003c\/li\u003e\n\n\u003cli\u003e Protection resistors on all I\/O lines\u003c\/li\u003e\n\n\u003cli\u003e More accurate emulation of the ISP frequencies provided by the STK500; you can use the user interfaces of Microchip Studio and AVRDUDE to set your ISP frequency more easily\u003c\/li\u003e\n\n\u003cli\u003e Usability enhancements for serial interface, such as a more standard pin arrangement (similar to FTDI) and a pre-populated female header\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003cp\u003e This v2.1 programmer does not include a USB cable, and it does not have the SLO-scope bonus feature. In addition to these changes, many other details are different between the v2.1 programmer and the original; please be sure to refer to the \u003ca href=\"https:\/\/www.pololu.com\/docs\/0J67\"\u003euser's guide\u003c\/a\u003e for the v2.x programmers to familiarize yourself with this programmer.\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"Default Title","offer_id":47334471270745,"sku":"343172","price":21.89,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0j8584.1200.jpg?v=1699303173","url":"https:\/\/xernuqvalzi.pro\/en\/products\/mag-3172-pololu-usb-avr-programmer-v2-1","provider":"Robot Italy","version":"1.0","type":"link"}