Hacker News new | ask | show | jobs
by rkagerer 2426 days ago
You can also do a USB client on a $1.50 AVR chip: https://www.obdev.at/products/vusb/index.html

Source: Compiled and connected a mouse/keyboard firmware running on an ATtiny861a using internal RC oscillator.

2 comments

Why would you do that though when there are a gazillion Cortex-M chips available that support hardware USB? Fast USB and you don't have to use AVR.

Hell, Atmel even sells Cortex-M chips with High Speed USB-2 support (reasonably hard to find; most are only Full Speed).

Tool Familiarity?

I've been doing embedded systems large and small for decades but before this year, never put anything with an ARM into production.

AVRs are still my go to for most things because I know them well and have all the tooling ready to go.

Full ATmega32U4 board is 2.50 and doesn't need any hacks to work.
Could you provide a link to that $2.50 price?
Aliexpress. Amazon. eBay.
Hmm, quick Amazon search I'm seeing $5-6, more if you're outside USA. https://www.amazon.com/s?k=ATmega32U4
It varies and you can't always find the same price. The last price I paid for Nanos on Amazon was 5 for $17. Aliexpress is cheaper than that (that's where they're usually under $3), but I can't always wait that long.

My bad: forgot we were talking 32U4. Here's a link for $2.70: https://www.aliexpress.com/item/32846843498.html?src=google&...

Thanks!