Тёмный

I Made a PS/2 Mouse work on Arduino 

Electromechanical Productions
Подписаться 910
Просмотров 3,3 тыс.
50% 1

Code for PS/2 Mouse:
github.com/Eme...

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@mrdouble
@mrdouble 2 месяца назад
Nice explanation of the ps/2 protocol. Exactly what I was looking for
@pauls7544
@pauls7544 2 года назад
Thanks for this, it works great for me and is going into a telecope eq mount where the RA and DEC positions will be displayed on two faint red led readouts in degrees and minutes. I couldn't get any of the other PS/2 libraries out there to work for me. It is a pity the routine doesn't display the mouse wheel position (as I could do with the third rot input for fine tuning). I looked into it and it seems that the scroll wheel sends a fourth byte? I tried modifying the code to read another byte but that just led to chaos! I need to read up more on this. I'll probably find another ball mouse somewhere and use it on different pins. Never knew mice were this smart, that they send the amount of movement since the last request. Very handy and a great vid, it has really helped me with my ongoing project.
@sjair6526
@sjair6526 7 месяцев назад
Pretty cool to see. Nice job!
@DanShepherd72
@DanShepherd72 7 месяцев назад
Thanks cool, thanks for that. The only comment I have is can’t you just take the 9th bit to set an upper byte to 0xFF if it’s set and 0x00 if it’s not? Then you have a 16 bit signed int that you can sum up without changing the sign as it’s already negative or positive?
@Woodrina
@Woodrina Год назад
thank you very much i love you
@kleinenboese395
@kleinenboese395 2 месяца назад
Very good. Just a question: does it work if you plug a USB Mouse using a USB to PS/2 small adapter?
@electromechanicalproductio1317
@electromechanicalproductio1317 2 месяца назад
@@kleinenboese395 yes as long as the mouse is compatible with the adapter
@lefmis4238
@lefmis4238 Месяц назад
this is so cool! I tried the procedure and used the code provided, but when I plug in the arduino and restart it, I don't get anything on the serial monitor. is anyone else having the same issue?
@iofirm7454
@iofirm7454 Год назад
amazing
Далее
I built my own computer. by hand.
13:03
Просмотров 1,2 млн
Fun with Transistors
24:33
Просмотров 264 тыс.
🛑 ты за кого?
00:11
Просмотров 114 тыс.
How does a USB keyboard work?
34:15
Просмотров 3,2 млн
So how does a PS/2 keyboard interface work?
33:07
Просмотров 488 тыс.
Cheap USB Host Microcontroller [CH559, ESP32, HID]
5:40
How to Make Pictures in C (bitmap images)
24:37
Просмотров 3,9 тыс.
How to Connect a Mouse to an Arduino?
6:31
Просмотров 7 тыс.
Using a computer mouse as linear sensor
11:01
Просмотров 94 тыс.
How to convert a Mouse PS2 TO  USB PORT
13:51
Просмотров 214 тыс.