Hey all,

I want to make a project that uses the Mouse Library. I have seen the following in the official documentation "These core libraries allow the 32u4 and SAMD based boards (Leonardo, Esplora, Zero, Due and MKR Family) to appear as a native Mouse and/or Keyboard to a connected computer". I also see that the arduino micro is based on some 32u4 board. Would the micro work? And what boards will you please recommend i use? Thank you.
2 Replies
pseud0
pseud0•2w ago
Depends on how complex the code for the rest of the project is and what circuits you still need to connect to your microcontroller. The ATMega32u4 has the smallest amount of Flash and RAM (32K and 2.5K), so it can't fit ultra complex projects in it, and it's also 5V logic based, so it's good if your other circuitry you want to connect to is also 5V based instead of e.g. 3.3V based. The information above is wrong in reagrds to the Arduino Leonardo, it's also ATMega32U4. It's a bigger version of the Arduino Micro. The SAMD boards (Arduino Due, Arduion Zero, ..) are more modern chips, bigger flash and RAM, 3.3V based. An Arduino Zero with its ATSAMD21G18 has 256KB flash and 32KB RAM.
daultimateboss
daultimatebossOP•2w ago
Thank you for the response !! I doubt the code should be much as i only plan to have one sensor connected to the board. I will look into using one of the ATMega32u4 boards then as cost is my biggest factor 🙂 Thank you once again

Did you find this page helpful?