Author Topic: What can I do with this?  (Read 1720 times)

0 Members and 1 Guest are viewing this topic.

Offline Hantsu Trash

  • Thread Starter
  • Posts: 2
  • Location: United States
What can I do with this?
« on: Fri, 12 August 2016, 18:59:03 »
Completely noew here, sorry if wrong thread.
I have 3 ATMEGA48PA-MU (https://www.arrow.com/en/products/atmega48pa-mu/atmel) and I have no knowledge of microchips and electronics. They just fell into my hands. What could I do with them or are they basically garbage?

Offline Findecanor

  • Posts: 5042
  • Location: Koriko
Re: What can I do with this?
« Reply #1 on: Fri, 12 August 2016, 20:40:05 »
Most projects around here are using other microcontrollers in the same product line from AVR - but those usually have dedicated USB hardware built-in and often with more program memory.
There is freely available program code for doing USB anyway on AVR 8-bit microcontrollers without USB hardware, but I don't think that you would be able to squeeze that and anything useful into the ATMEGA38PA's because it has only 4KB of program memory. A program (called "firmware" on microcontrollers) for controlling a keyboard could be 4KB large without the extra USB code or any special features.
It could theoretically be used as a "slave" unit in a keyboard with multiple parts, where a more capable microcontroller in another part would do most of the work.

The microcontroller will also need support circuitry for producing a clock signal, etc. and you would need some dedicated hardware for programming the chip.
You would not need crazy skills in electronics or anything, but it would not be as easy as with any of the ready-made controller boards with USB that are used in most keyboard projects. You might need to do some programming though.

In conclusion, I would not use the word "garbage", but I don't see them being useful.
« Last Edit: Fri, 12 August 2016, 20:47:52 by Findecanor »
🍉

Offline Hantsu Trash

  • Thread Starter
  • Posts: 2
  • Location: United States
Re: What can I do with this?
« Reply #2 on: Sat, 13 August 2016, 13:02:27 »
Thank you for the detailed reply :)

Offline tufty

  • Posts: 347
  • Location: French Alps
Re: What can I do with this?
« Reply #3 on: Sun, 14 August 2016, 07:13:19 »
It could do PS/2, though.  And, as we all know, PS/2 is better.