I am newbie to the MCU world. I am a programmer in general but never had chance to play/work with microcontrollers but I was always interested in (deep inside my brain :) ) them.
As I am getting older, I got more free time (haha), so now I would like to play with MCUs a bit. I am mainly interested in projects where the MCU is connected with the PC, where the PC does something via the MCU (blinking LEDs, etc..) or the MCU sends back something to the PC (like the keyboards / controllers...)
So I created a small learning project for myself, I would like to build a start lamp for my rFactor2 simulator game :) Ideally this thing is connected via USB to the PC.
This is what I did already:
- I bought an Arduino Micro, played with their IDE, solved my project... But thats not for me, I don't know what is happening :), so I want to go a bit deeper if possible
- so I bought an ATmega1284P plus an Atmel-ICE and successfully build (avr-gcc) and flash (avrdude) my first program using my Linux
I really enjoyed this, so I would go this way :)
So my questions are:
What are my possibilities if I want to connect my PC with the MCU ? Lets say I want to send characters as well in the future (showing them up in a display or control a 7 segment display etc..).
Is the USB the only way to do this ? Is that the right way forward ?
Lets say that USB will work for me:
Do I need to buy an MCU with built in USB right? Or can I buy an additional chip doing the USB part of the job ? I read about a CH... chip somewhere which does the USB part in Arduino.
Or should I buy a version which has USB support as well, like ATmega32U4 or AT90USB.... ?
If I buy them, do I still need to program the USB layer ? Or will it "just work" ? This is where LUFA comes into the picture ?
Could you guys drive me a bit ? I am a bit confused :)