How to Connect a Mouse to an Arduino?

Опубликовано: 30 Апрель 2026
на канале: Doctor Volt
11,484
439

This video shows how to connect a PS/2 mouse or a PS/2 compatible USB mouse to an Arduino UNO or Nano. It also introduces an easy to use mouse library.
You can build it on breadboard or better a PCB from PCBWay: https://www.pcbway.com/?from=Doctor%2...

PS/2 Mouse library and example on Github: https://github.com/michalin/ardumouse

Consider supporting this channel and get updates about ongoing projects and ad-free preview videos!
Become a Patron:   / docvolt  
Or make a single donation per Paypal: https://www.paypal.com/paypalme/docvolt

00:00 - Intro
00:56 - The PS/2 Protocol
01:23 - Arduino USART configuration
01:49 - How to check if mouse is suitable
02:02 - PS/2 Mouse protocol
04:17 - PCBWay
04:52 - Arduino Mouse library

#electronic
#electronicscreators
#arduino