How to use HID on arduino Mega2560

June 29, 2024, 18:36

nerf0

So basically im doing a school project and im doing a button box, for that i bought the arduino mega because it has more ports. I searched for a while to see like how would i do it, so basically only the arduino leonardo and the mini can use HID so when you connect the arduino to your pc it will recognize it as a keyboard or a gamepad. But the mega doesn't have HID so i saw on reddit a lot of guys using an app called Flip to change the firmware of the atmega16u2 chip so it works as an HID device. But im running into some problems, i already have the hex file but when i try to open a connection usb on the app it says that some .dll are missing and i installed the dll that was missing but i had the some problem still. Then i saw someone again on reddit saying that you need to put the arduino on DFU mode so the app can access the firmware, ive done that too but i think that my aduino is not going into DFU mode. when i try to put my arduino in DFU mode it shows like this on device manager i linked 2 photos the one called "1" is how i should show and the one called "image" is how it shows even after i put it on DFU mode.

nerf0

sorry ive just noticed that the images dont have names haha. so the one that says atmel usb devices is how it should show on device manager

oops.se

Some dll is missing, you need to be specific! Check out https://www.youtube.com/watch?v=Nvfmg-M5Gc8