nano as usb keyboard

hello for my project i would like to use a nano as a basic keyboard outputting as a USB keyboard into a raspberry pi,

Ive got about 7 keys punches that i want the nano to send to the pi via usb

is this possible and how hard would it be?

thank you

how hard would it be?

Quite hard. You should use a Leonardo or a Micro and then it will be dead easy.

thank you Grumpy Mike i was hoping to keep this project as cheap as possible but i will have a look at the options you've suggested