Mouse Rotary Encoder aka Scroll Wheel With Arduino To Control LED Brightness 🔆

Опубликовано: 11 Июль 2026
на канале: Hackhobby Lab
13,259
180

Read More 👇




Assalam o Aliykum!
Today my this video is about that how to use mouse scroll wheel or rotary encoder with arduino.I had two such encoders recovered from old mouse and I wanted to use them but couldn't find a proper way.After lot of struggle I found a code online telling that how to use mouse wheel as rotatory encoder with arduino.Then I added some thing more like controlling brightness of LED and I came up with much better results.I am happy to share such informative tutorial.Stay Safe Stay Blessed!
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code used in video :) sorry I actually lost the original code used in this video but here it is another working sketch.

https://drive.google.com/file/d/1_Muc...

------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks for watching my video!

Stay Creative!
Allah Hafiz!
Smile:)






Mouse rotatory encoder (scroll wheel) with Arduino to control LED || #artoftech