Kalan's Blog

Kalan 頭像照片,在淡水拍攝,淺藍背景

四零二曜日電子報上線啦!訂閱訂起來

Software Engineer / Taiwanese / Life in Fukuoka
This blog supports RSS feed (all content), you can click RSS icon or setup through third-party service. If there are special styles such as code syntax in the technical article, it is still recommended to browse to the original website for the best experience.

Current Theme light

我會把一些不成文的筆記或是最近的生活雜感放在短筆記,如果有興趣的話可以來看看唷!

Please notice that currenly most of posts are translated by AI automatically and might contain lots of confusion. I'll gradually translate the post ASAP

Investigation on USB Applications with AVR

To use AVR for USB, the key point is whether the chip itself has built-in USB support. The currently available options for chips are 1:

  • ATmega8U2
  • AT90USB82
  • ATmega16U2
  • AT90USB162
  • ATmega32U2
  • ATmega16U4
  • ATmega32U4
  • AT90USB646
  • AT90USB647
  • AT90USB1286
  • AT90USB1287

Currently, only ATmega32u4 is still being sold. However, due to semiconductor supply shortages, it is probably not available for purchase without special channels.

Image

It will only be shipped on 11/23 next year, that's the reality. Semiconductor shortages are gradually affecting the upstream supply, and one day it will silently sweep through our daily lives. On the other hand, it's a miracle that big companies like Apple can still release new phones and computers steadily.

Among Arduino boards, the only one that uses ATmega32u4 is probably the Pro Micro. However, it seems that the original manufacturer no longer sells it, and it's mostly boards made by other manufacturers, with varying quality.

Currently, I am using Aideepen (Amazon link, no affiliation even if you buy it). It requires soldering the pins by yourself, and you need to use the old bootloader in the Arduino IDE to burn it. There is also a small probability of encountering errors, but since it is sold at such a low price, I just make do with it.

Another option is to decisively abandon AVR and directly use STM32 or the newly released Raspberry Pi Pico with RP2040.

Footnotes

  1. https://www.avrfreaks.net/forum/atmega-devices-usb-capabilities

Prev

Raspberry Pi Pico PIO Exploration

Next

Blue Period and my Weakness

If you found this article helpful, please consider buy me a drink ☕️ It'll make my ordinary day shine✨

Buy me a coffee