ATMEGA32U4 vs AT90USB1286
Posted: 11 Nov 2018, 19:36
Forgive my ignorance on this and the rambling, I'm still trying to learn and wrap my head around designing a keyboard from the ground up.
Has anyone done a keyboard PCB using the AT90USB1286 ? I have no idea what the AU-ND and MU-ND designations mean and have no idea which one would be better suited for keyboard PCB use. The Teensy 2++ uses the AT90USB1286 MU, for reference, so I'm guessing the MU-ND is the better option.
My confusion stems from going over the open source GH80-3000, which uses the ATMega32u4-AU and has support for 117 keys. Trying to create a standard 101 - 104 key PCB using the ATMega32u4-AU and it just doesn't seem like there are enough pins on that chip to support 6 rows, 21 columns and status LEDs. I'm probably just not understanding how this all works yet, hence this post.
It's my understanding that each row and each column needs it's own unique pin on the chip. The ATMega32u4-AU has 26 pins available for use, which is not enough for 6 rows, 21 columns and status LEDs as I currently understand. The AT90USB1286 MU has 48 available pins, which would be more than enough. Unless I'm just not understanding how the wiring matrix works with the controller, which is quite possible.
Just trying to create a left handed keyboard, as it just makes more sense to me as a die hard Numpad user. Obviously I'm in way over my head and am trying to learn how people know what controller to chose and ohh you need some decoupling capacitors here, sprinkle some resistors for the LEDS over there, wire it like this etc...
Sorry to ramble but that's where I'm at right now. Sitting in KiCad looking at the board matrix, counting rows and columns. Looking at the Firmware builder and the ATMega32u4-AU data sheets, not finding pins on the chip that Firmware builder says to use. Those pins are on the Teensy 2++ but not the ATMega32u4-AU itself. Which makes no sense to me why the firmware builder would say to use pins E0 - E7 when selecting the ATMega32u4 as the controller when the only pins on that controller are E2 and E6 ?
Sure I could just design the board around a Teensy 2++ as a plug in module but that really defeats the purpose of understanding how the controller is used and why. Understanding the how and why is the goal here, hopefully there is some guidance out there or specific links to follow for me to learn.
This whole thing really has me rethinking the project and just manually wiring it...
Has anyone done a keyboard PCB using the AT90USB1286 ? I have no idea what the AU-ND and MU-ND designations mean and have no idea which one would be better suited for keyboard PCB use. The Teensy 2++ uses the AT90USB1286 MU, for reference, so I'm guessing the MU-ND is the better option.
My confusion stems from going over the open source GH80-3000, which uses the ATMega32u4-AU and has support for 117 keys. Trying to create a standard 101 - 104 key PCB using the ATMega32u4-AU and it just doesn't seem like there are enough pins on that chip to support 6 rows, 21 columns and status LEDs. I'm probably just not understanding how this all works yet, hence this post.
It's my understanding that each row and each column needs it's own unique pin on the chip. The ATMega32u4-AU has 26 pins available for use, which is not enough for 6 rows, 21 columns and status LEDs as I currently understand. The AT90USB1286 MU has 48 available pins, which would be more than enough. Unless I'm just not understanding how the wiring matrix works with the controller, which is quite possible.
Just trying to create a left handed keyboard, as it just makes more sense to me as a die hard Numpad user. Obviously I'm in way over my head and am trying to learn how people know what controller to chose and ohh you need some decoupling capacitors here, sprinkle some resistors for the LEDS over there, wire it like this etc...
Sorry to ramble but that's where I'm at right now. Sitting in KiCad looking at the board matrix, counting rows and columns. Looking at the Firmware builder and the ATMega32u4-AU data sheets, not finding pins on the chip that Firmware builder says to use. Those pins are on the Teensy 2++ but not the ATMega32u4-AU itself. Which makes no sense to me why the firmware builder would say to use pins E0 - E7 when selecting the ATMega32u4 as the controller when the only pins on that controller are E2 and E6 ?
Sure I could just design the board around a Teensy 2++ as a plug in module but that really defeats the purpose of understanding how the controller is used and why. Understanding the how and why is the goal here, hopefully there is some guidance out there or specific links to follow for me to learn.
This whole thing really has me rethinking the project and just manually wiring it...