Can the Arduino Uno recieve input from like a keyboard and once a key is pressed displays a counter for how many times it was pressed?
Yes. Select a keyboard and a display and it's almost done
You can also display information in the serial monitor to start with.
But what sort of keyboard are you intending to use? A simple keypad with say 16 keys or a full PC type keyboard?
For detecting “hits” though, there may be better sensors / input devices depending on what you are doing.
bencreer:
Can the Arduino Uno recieve input from like a keyboard and once a key is pressed displays a counter for how many times it was pressed?
Well, maybe, but untested. Make code that detects carriage return or line feed characters coming in the serial port and count each time these are received. Print the count number to the serial monitor. In the serial monitor turn on the add carriage return/line feed to what is sent. Then if you are lucky, every time you just hit the enter key the characters will be sent and you will get a count back from the UNO.
6v6gt i was going to use a cherry MX blue mechincal keyboard switch
Ok. A single switch like https://www.hyperxgaming.com/us/keyboards/switches
Counting is simple. You may have to add some debouncing in the program to prevent a single key press being counted multiple times. You may also want some method of resetting the counter without switching off the entire system. This could be by detecting a long button press (say 2 seconds).
6v6gt what sort of display works with it?
An LCD1602 with an I2C backpack is what I would suggest. It is cheap and easy to use. Get the right voltage model for your arduino (3.3volt or 5 volt) Example: