I made a DIY gaming mouse because Logitech's mice keep BREAKING

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • Completely open source! With special zero-latency debouncing code that keeps the switches from glitching out. Mouse code, models, pcb design, and build guide:
    github.com/wareya/DIY-Gaming-...
    SROM ripping code (Arudino IDE, arduino-pico board type):
    gist.github.com/wareya/0dc349...
    3d printing skill highly recommended!
    Here's an excellent, very well-researched video about the electrical reasons why double clicking problems are so much more common than they used to be:
    • Failing switch problem...
    Music used:
    "Speedier Than Photons" by Joth opengameart.org/content/speed...
    "Enchanted Tiki 86" by cynicmusic opengameart.org/content/encha...
    "Gone Fishin'" by Memoraphile @ You're Perfect Studio opengameart.org/content/gone-...
    "Rewind" by Pro Sensory opengameart.org/content/rewind
    "Chill Lofi R" by omfgdude opengameart.org/content/chill...
    "Next to You" by Joth opengameart.org/content/next-...
    "It Takes A Hero" by Zane Little Music opengameart.org/content/it-ta...
  • Hry

Komentáře • 556

  • @alex0147852369
    @alex0147852369 Před měsícem +285

    Now this is youtubing

  • @coatduck
    @coatduck Před měsícem +128

    I've started designing a mouse 2-3 times and every time I've given up after realizing there's no good source of mouse sensors. The world of DIY keyboards is so well trodden, but the first step to building your own mouse is always to buy a mouse and take it apart. I hope if we keep making our own, someone will catch on and start making sensors available to order, so we can finally have highly repairable, easily accessible, open source mice.

    • @jacobhargiss3839
      @jacobhargiss3839 Před měsícem +7

      A modern mouse sensor is essentially just a low resolution camera. You can build your own sensor, but you'll need more advanced hardware to process the image like a rasberry pi zero.

    • @leadedsolder
      @leadedsolder Před měsícem +4

      LCSC says they carry the sensor in this video, but it's a "preorder" and stock is at zero.

    • @jhsevs
      @jhsevs Před měsícem +3

      There are cheap optical mice that have decent sensors though. Microsoft basic optical, for example. Or cm storm alcor, but that one isn’t made anymore.

    • @chaosordeal294
      @chaosordeal294 Před měsícem

      I don't know that starting with a mouse is a bad notion. All the parts are there, all stiffly pre-mounted and working in harmony. That's not a bad kicking off point for a project. The issue is the driver, but I imagine there are open source templates that get you a long way.

    • @MrGamelover23
      @MrGamelover23 Před 8 dny

      Maybe the Raspberry Pi Foundation could start making their own mice sensors. Or Pine64.

  • @scottramsay3671
    @scottramsay3671 Před měsícem +134

    Nothing says "relatable content" like those bodge resistors.

    • @Kalvinjj
      @Kalvinjj Před měsícem +8

      We all been through that eh?
      The funniest is seeing obvious bodges like that in commercially released products. It happens to anyone!

    • @Null_Experis
      @Null_Experis Před 29 dny +1

      @@Kalvinjj my favorite motherboard is the IBM Alaris Cougar, the world's fastest 386 motherboard (probably).
      It comes factory-standard with a big ugly yellow bodge wire on the top, proudly displayed next to the IBM sticker.

  • @felipefmavelar
    @felipefmavelar Před měsícem +26

    why don't youtube recommend this kind of video more often

    • @JohnDir-xw3hf
      @JohnDir-xw3hf Před měsícem +4

      Because most people are dumb and won't watch it🥸

    • @MrGamelover23
      @MrGamelover23 Před 8 dny

      Because most people aren't watching nerdy stuff like this.

  • @pecan4434
    @pecan4434 Před měsícem +50

    really impressed at how well this turned out

  • @crossscar-dev
    @crossscar-dev Před měsícem +110

    youtubes hidden gems

  • @haruhikami7766
    @haruhikami7766 Před měsícem +45

    this is seriously so impressive, woah! awesome job!!! (great job with the editing in the video too)

    • @wareya
      @wareya  Před měsícem +10

      Thanks! I learned davinci resolve just to edit this!

  • @1kreature
    @1kreature Před měsícem +16

    Here's an idea: Add features NO OTHER MOUSE HAS!
    Frame capture is a feature the mouse sensor designers thought was useful but all mouse manufacturers have said "meh" about.
    What it does allow is dust detection! Having a look at sensor image now and then and determining if some pixels are obscured and do not change with movement would allow driver to notify user to clean sensor! I'd love for my G602 to do that...

    • @rasz
      @rasz Před měsícem +1

      There was a mouse with integrated scanner. Cathode Ray Dude [CRD] covered it in [Why would you scan things with a... mouse?], it was a total flop

    • @1kreature
      @1kreature Před měsícem +2

      @@rasz I know. That is a silly use-case. Now with camera phones it is even worse.
      But, the image-array readout of sensors can be used by drivers to do much clever stuff.
      For example I designed a filament tracker for 3d printers that uses the readout function to determine the diameter of the filament for automatic calibration of volumetric flow instead of just linear feed. This was possible with a single sensor thanks to this readout function.

  • @urnoob5528
    @urnoob5528 Před měsícem +13

    Decoupling capacitors are like seasonings
    Just gotta sprinkle them on every circuits u make

  • @monkeysfromvenus
    @monkeysfromvenus Před měsícem +50

    I design pcb schematics and layouts for a job. We do have fab houses in the US, they just cost 10x more, not 2x more :)
    Also, you may want to consider doing the assembly yourself next time with a stencil if you don't want to wait the extra few days for each prototype board. I didn't have a reflow oven when I started out so I just used an NTC heating thermistor sandwiched into an aluminum plate that I bought for like 4 bucks.
    Nice job though, good for you for being brave enough to dive into pcb design starting with an entire custom microcontroller- that is some intimidating stuff!

    • @wareya
      @wareya  Před měsícem +16

      My main worry with the local fab houses is turnaround time, and how many of them operate on a quote-only basis, or only on orders of several dozen or hundred boards or more. All very fair problems for a fab house to have, of course, but these chinese companies are offering such a faster and more accessible service for prototyping that it feels like they're eating the lunch, dinner, and midnight snacks, too, of the local ones.
      The PCBA JLCPCB orders cost more than it might sound from the general knowledge of them being cheap; being cheap is mostly just for the PCB itself, and assembly has a decent upcharge. It's still nowhere near as expensive as local fabs, but instead of being like, 10~15 dollars (after tax+shipping) for five boards, it was like 45~50.
      Thanks! I probably wouldn't have been able to do it if they didn't document the Pico's hardware design so well.

    • @forivall
      @forivall Před měsícem +2

      Oh yeah, that custom PCB stuff impressed me too; I'm a software dev working on similar things, but I'm just going to bodge together existing hardware. Huge props to @wareya on learning that PCB design stuff!

    • @Kalvinjj
      @Kalvinjj Před měsícem +1

      Same with Brazil, we do got some pretty high quality PCB manufacturers and assembly services, they just cost an arm and a leg. It's the same price to order from China with express shipping and pay the horrid Brazil taxes (think paying once for the service, and again the same amount OR MORE to the government), compared to buying here.

    • @Kalvinjj
      @Kalvinjj Před měsícem +3

      @@wareya It's impressive how the Chinese decided to cater to a market that looked like nobody else cared about. You shouldn't need to wait a few days for a specialist to tell you "Costs more than you would ever dare paying", if the pricing system is an objective evaluation to begin with for low quantities. The quick site quotes of these services are really handy, of course for weirder stuff you'll only get it through personal quote but they do provide what few care about trying.

    • @monkeysfromvenus
      @monkeysfromvenus Před měsícem +2

      @@Kalvinjj I totally agree, and on top of that, those companies have been pretty quickly expanding their capabilities into everything from sheet metal to CNC to even designing board housings, metal 3d printing, and crimping+wiring cable assemblies for you. It's like a dream come true for people who love electronics projects
      Also those import taxes suck! I'm glad the US government subsidizes all the shipping from China for me even though I know it's bad for our economy lol

  • @AoChile
    @AoChile Před měsícem +102

    surprised at the quality of the video and project, good work

  • @Alice_Fumo
    @Alice_Fumo Před měsícem +14

    I have the most cursed keyboard which led me to make some debounce algorithms of my own. The reason I didn't do zero-latency is because it wouldn't be resistant to noise. Instead I chose to have a stabilization period (2ms) and a following lockout period where additional state changes would be ignored, but the first one still registered if it didn't already happen.
    A different algorithm was to count the states during the debounce time and choose that which occurred more frequently.
    Then.. only changing the state if a different state was present for at least 75% of the debounce time
    What felt like overkill was measuring the raw data of key presses over a time to know how long each one takes specifically to stabilize in value and doing a statistics-based approach based on the individual keys variance.
    I can't express enough how cursed this keyboard is for me to even consider having to go that far.. and it's still not working :(
    Anyhow, this is an awesome project. The future of anything is open source.

    • @wareya
      @wareya  Před měsícem +4

      In theory you can do zero-latency for keyboard switches while still resisting noise, but only for the down-click. The up-click will always have added latency.
      Sounds like you're trying to get a dynamic debouncing algorithm working. I hope you can figure it out!

  • @hamcha
    @hamcha Před měsícem +6

    When you did the "the sponsor of this.. haha joking" I was impressed to find out you're a small creator, this editing/quality is insane! Hope *the algorithm* (dun dun duuun) blesses you again! I'm gonna try to stick!

  • @huntdusk
    @huntdusk Před měsícem +10

    the problem isn't the logitech, but Asus holding the patent for hotswappable mouse switches

    • @HyeL
      @HyeL Před měsícem +11

      The problem is that you can patent obvious things like make a part changeable. It's not an invention.

    • @TheBreadbocks
      @TheBreadbocks Před měsícem +3

      The problem is logitech because they're using garbage switches that go bad stupidly fast

    • @amigator7789
      @amigator7789 Před 29 dny

      I don't know about Asus' patent, but I know about switches in new mices on the market which are a) hotswappable, b) they are optical, so the bouncing on the contacts is no problem anymore... Almost all new Razer mices have them (and some other brands).

  • @jlnrdeep
    @jlnrdeep Před měsícem +23

    Impressive project, it's such a shame an open source an ready available mouse optical sensor doesn't exist.

    • @oliverer3
      @oliverer3 Před měsícem +3

      Currently there wouldn't be much point I'm afraid, they're integrated circuits so no one would be able to manufacture them outside of chip fabs.

  • @ABSTRACTMEDIAHIGHDEFINITION
    @ABSTRACTMEDIAHIGHDEFINITION Před měsícem +7

    There is a similar sort of project I came up with right after this video. Taking a G305 and turning it into a Bluetooth mouse with better firmware and custom PCB to get rid of the AA Battery and replace it for a Li-Po battery and USB c recharge circuit.

  • @DOORZ2012
    @DOORZ2012 Před měsícem +13

    Great work man! I had OSHPark make me a custom PCB for an RCA Volume Knob build I was doing and they're so rad.

  • @LynXHimself
    @LynXHimself Před měsícem +17

    This is a sick project! I would love to see more content like this.
    Subscribed.

    • @wareya
      @wareya  Před měsícem +3

      Thanks for the sub!

  • @Valeriy7D0
    @Valeriy7D0 Před měsícem +13

    impressive work! Also, I really like the rhythm and speed of narration.

  • @sonicSnap
    @sonicSnap Před měsícem +1

    this video rocked!!! wish it was a little longer though, i had to rewatch some parts because of how fast you were talking, and i would love to hear some more specific details on the process of actually making it

  • @shugi-rk3id
    @shugi-rk3id Před měsícem +2

    absolutly awesome video!
    i really liked the editing and the explenation.
    it was very clear, while i still have no idea whats going on (like a nile red video)
    keep up the good work!

  • @koekje00005
    @koekje00005 Před měsícem +3

    I watched this + the video you linked, I had never thought about mice before since I haven't had them fail, but now I feel an immense amount of respect for you for all the work you did, congrats!!!

  • @muhammadazeem1346
    @muhammadazeem1346 Před měsícem +5

    I dont know how but these few days youtube has been serving me with videos from small creators and i am supper happy

  • @bricoschmoo1897
    @bricoschmoo1897 Před měsícem +2

    Hi, amazing video! I love how you explain the bouncing and chatter problems. Extremely clear, on point and no bullcrap.
    About desoldering with an hot air station, that sure is optimal, but you can get away with a soldering iron, using flux and a larger tip that has more thermal inertia.
    That redesign of the pico layout to fit your project is amazing. It's truly the genius kind of mad stuff.
    You earned a new sub, and hope you get many, many more !

  • @racso5745
    @racso5745 Před měsícem +2

    Thank you for taking the time to make this video and sharing the project.

  • @gamesonastick
    @gamesonastick Před měsícem +1

    4:15 Great intuition actually. That's how a lot of bumper buttons in controllers work or even triggers in light guns are similar.

  • @awoolensleevelet
    @awoolensleevelet Před 29 dny +2

    My favourite kind of channel
    Old touhou tf2 oot clips speaks to my soul

  • @Guishan_Lingyou
    @Guishan_Lingyou Před měsícem +2

    This looks like an amazing project. Thank you for sharing it!

  • @artemyevtushenko8722
    @artemyevtushenko8722 Před měsícem +3

    This is chaotic and delightful. But seriously, can you compliment this with a blog? I’m too dum to keep up with this video lol

    • @wareya
      @wareya  Před měsícem +1

      I considered it, but it would basically just be the closed caption breakout. You can open it up with the "show transcript" button, I think. It's not divided into paragraphs like it should be, though.

    • @artemyevtushenko8722
      @artemyevtushenko8722 Před měsícem +1

      @@wareya I read this blog or watched a video a while back where the youtuber uploaded the transcript to GPT or whatever and had it create timestamp + chapters titles for the video. Brilliant! Probably could restructure the transcript to a written version too? ¯\_(ツ)_/¯ anyway, great stuff as always

  • @FruchtcocktailUndCo
    @FruchtcocktailUndCo Před měsícem +2

    OMG YES! I was waiting for someone to do this. I could also have done it myself, but you know, getting up, pulling through even when road blocks occur... I applaude your engineering!

  •  Před měsícem +8

    Very sick. The side buttons seem like an obvious point of potential failure. I assume they're easy to replace?

    • @wareya
      @wareya  Před měsícem +4

      Yeah, if they break, you can print new ones and slide them on, or print a bunch of spares ahead of time and use them. Just gotta unscrew the PCB and pull the broken ones off.

  • @RobertPendell
    @RobertPendell Před měsícem +4

    I have a G305 and recently replaced it because the mouse wheel kept experiencing "bounce back" where it would actually scroll in reverse of the direction I was operating the wheel.

    • @wareya
      @wareya  Před měsícem +1

      I wish I had a fix for that one, but AFAIK, for how scroll wheels work, it's kind of inevitable that it'll start to happen after long enough. There isn't anything you can do like the smart debouncing I do here. Just gotta hope the company didn't cheap out, and that you've got one that'll last.

    • @deamooz9810
      @deamooz9810 Před měsícem +1

      All mice I’ve had get this issue sooner or later. My 5yo G305 still works perfectly but I did have to disassemble and clean it at one point, because LMB had stopped working properly and the scroll wheel was acting up too

    • @RobertPendell
      @RobertPendell Před měsícem +2

      @@deamooz9810 Yea. It might have been able to work again if I cleaned it but I did that once and it only helped for so long. I never had any other mice do that but I think this is the first one I stuck to for a really long time.

    • @rasz
      @rasz Před měsícem +1

      @@wareya you can use optical scroll sensor like in the good old days, those Never bounce and never die.

    • @wareya
      @wareya  Před měsícem

      @@rasz They eventually fill up with gunk and start having one or two of their notches fail to scroll properly, because the part the light passes through is fully open to the air, unfortunately. Cleaning them and keeping them working for a long time is simpler than the mechanical/electrical ones, but they're not without their downsides.

  • @notnullbit
    @notnullbit Před měsícem +1

    fantastic video! thanks for also sharing the source! such a sick project

  • @Tampsey
    @Tampsey Před měsícem +1

    I WAS WAITING FOR THIS, I love you man. especially that its open source unlike some other projects.

  • @Markfps
    @Markfps Před měsícem +3

    Dude, great work, great video and amazingly documented, insta-sub on my side.
    The neat thing about it is that it can easily be upgraded to add a mini fan to cool the hand, LEDs...

  • @deadadam666
    @deadadam666 Před měsícem +4

    nice work , ive been looking for a mouse based project !

  • @GalacticYuna
    @GalacticYuna Před měsícem +2

    This is an awesome project! Ive watched a few videos of people custom designing mouses and i would love to do this if or when i get a printer!

  • @wwklnd
    @wwklnd Před měsícem +2

    This was a super interesting video, great job! I'm currently putting together a very custom hand wired split ergo keyboard I designed for my hands specifically, and recently my mouse got slightly damaged, so I'm very tempted to try my hand at something like this lol.

  • @__KursK__
    @__KursK__ Před měsícem +1

    This are the type of Videos I wanna see. Im impressed at the outcome. Definetly something I have to do sooner or later

  • @savejeff15
    @savejeff15 Před měsícem +1

    Very cool. I thought about doing the same thing and dropped the project when finding out they don't sell the sensor and I didn't want to buy a mouse just the destroy the sensor while resoldering.
    Also I like how you can see you improvement from basic self soldered board to custom PCB. Great progress in personal skills

  • @hytho
    @hytho Před měsícem +3

    Ive been looking for a pcb for years thank you so much for this video

  • @ToThinkorNot
    @ToThinkorNot Před měsícem +15

    dont tell him that all mechanical switches eventually double click no matter if they are under volted like on the logi boards :3

    • @wareya
      @wareya  Před měsícem +15

      That's what the timed state latch is for! Even if they double click for like, a hundred milliseconds, you can still filter it out without adding any latency, as long as you've got a solution for chatter.

  • @theunfrailhale
    @theunfrailhale Před měsícem +1

    Absolutely amazing. Going to try and replicate this and drop some improvements in the mix. Thanks for all the upfront work and for making it open source, and I'll try to help push it along...

  • @NoxiousPluK
    @NoxiousPluK Před měsícem +2

    Amazing project, sharing this far and wide.

  • @samicrossfusionxben-dhiab5441
    @samicrossfusionxben-dhiab5441 Před měsícem +1

    you are actually making me get into this stuff... i might try my hand at making PCBs as i always wanted to try making one. hell when this mouse breaks i might just attempt this project.

  • @Scrogan
    @Scrogan Před měsícem +3

    Based. An SPDT switch with NC and NO tied to V+ and GND respectively, with COM tied to a voltage divider feeding a Schmitt trigger, is a really reliable way to get debouncing done with no latency. A capacitor also works, but is probably worse for the switch.
    Instead of hot air, you could use a desoldering iron, they’re generally better for THTs. I just got a cheap one that’s a hollow soldering iron with a manual solder sucker built in, it works great but may struggle at ground planes.
    Surely with all those dead Logitech mice you’ve got some to salvage the sensors out of, no? Also the G Pro (replacement for the G303 IIRC) is meant to have long lasting switches.

    • @wareya
      @wareya  Před měsícem +1

      The ground plane is the main problem, yeah. Depending on the mouse it can dissipate heat faster than the soldering iron is capable of safely supplying it (without melting the plastic of the IC package).
      My g203s use a Mercury sensor, which is poorly documented and a lot less common than the 3360. I would've preferred using it if it wasn't for that.

    • @1pcfred
      @1pcfred Před měsícem +1

      If all you want is that sensor off the board you can just use snips and chop it out. You can cut right through PCB. The best board salvage method is the wet dip though. You just hold the board over a pool of molten solder and pluck out whatever you want. I have a 5 pound solder pot I use for parts salvage.

  • @WildRon
    @WildRon Před 27 dny +1

    Found your video on my feed today right after yesterday my G102 got this bounce problem 0:58 on one of the keys. Bought it in 2019, after 6 year it decided to only had that problem yesterday. The fact that this is open source tempted me to do this project but it'd be much, much, more expensive than buying new one here in my country, especially making the custom PCB and 3D printing. (damn cool video btw)

  • @kairu_b
    @kairu_b Před měsícem +2

    High quality video! Great work

  • @typewriterplants
    @typewriterplants Před měsícem +3

    Hope you make more stuff like this. I made my own headphones, and now I'm starting to wonder if I ought to make a mouse too.

  • @sigwaldi
    @sigwaldi Před měsícem +1

    Man, I was actually thinking of making mouse with pmw3360 myself last weeks and this video just popped out, great job!
    As for PCB prototyping, making own PCB's is definetly fastest and cheapest way if you'd want to make more projects, the only downside is that it requires more time. When you have all the stuff needed to make PCBs then making them basically costs nothing and you can get your PCB done the same day you finished the design. With photo-positive method 0.4mm trace is easily achievable and 0.2mm is also possible with some practice. I think you could get everything needed for 50-100$ depending on where you live (not including laser printer).
    Looking forward for next projects!

  • @Saplingbat
    @Saplingbat Před 28 dny +1

    I had a G502 that worked extremely well for years after buying it used from a friend. When it finally died, I went to go replace it with a new G502. Every single part of it just felt so much cheaper. I'm still using that one, so it's lasted quite a while at least. But every so often it's just like "man this thing feels so cheap".

  • @jakke9719
    @jakke9719 Před měsícem +2

    Very cool oomfie! Great video too.

  • @t0biascze644
    @t0biascze644 Před měsícem +2

    3:37 this feels personal
    4:34 you could use the "bare" ESP32 S2 module instead of devkit which is large

  • @dromeosaur1031
    @dromeosaur1031 Před měsícem +1

    Thanks for the info about ESP 32 usb support issue!

  • @shamancredible8632
    @shamancredible8632 Před měsícem +1

    3:30 gotta protect those corporate copyrights

  • @benebene9525
    @benebene9525 Před měsícem +2

    I believe the breakout boards probably have a bit of a chicken and egg problem, once demand is high enough they will likely be available much cheaper on aliexpress, ebay etc.

  • @gilmadeira5733
    @gilmadeira5733 Před měsícem +3

    So awesome, keep the good work

  • @Karavusk
    @Karavusk Před měsícem +3

    Because of the curves on top you should print the final version with 0.1mm layer height and maybe even think about a 0.25mm nozzle. That will drastically reduce the stair stepping effect you get at the top. Also you can use a pi pico to run the printer with klipper instead of the default firmware and add an accelerometer to increase print speed and quality.

    • @carlc.4714
      @carlc.4714 Před měsícem +2

      How about non planar printing? 🤔

    • @Karavusk
      @Karavusk Před měsícem

      @@carlc.4714 would give you a better finish but it is still not that easy to do. It is way easier to just print with 0.05mm layer and a 0.25mm nozzle and wait for an eternity if you really need the quality.

  • @jonyngvesyland5461
    @jonyngvesyland5461 Před měsícem +2

    Woah, buddy! Well done and medium rare all the way, bro!
    Congrats!!

  • @human_shaped
    @human_shaped Před 28 dny +2

    You need to chill out on mashing your switches.
    Update: I'm glad your mash your switches so bad. This is cool.

  • @HeyMaruniko
    @HeyMaruniko Před měsícem +1

    "my mouse keeps double clicking! so i made my own mouse!"
    >*proceed to using same crappy problematic switch like Omron China.*
    meanwhile you can just replace the crappy switch with something better on your aftermarket mouse.

  • @colinwatt9387
    @colinwatt9387 Před 28 dny +1

    I can attest to logitechs lack of quality control; I have 2 g203's - in one the middle mouse button barely works, on the other the buttons all stopped working.
    -
    Update:
    It turns out the buttons hadn't stopped working, the thumb buttons were now left and right click; the PC I was using the mouse on had somehow corruped the Logitech G Hub software and reinstalling it fixed the problem. But, if I try and use the mouse on a PC without the G Hub installed, it's the thumb buttons again.

  • @Saplingbat
    @Saplingbat Před 28 dny +1

    Like more and more as companies just keep cutting costs it seems like the only way to get quality products is to just make them yourself, or find someone who's equally as fed up as you are who's already done it

  • @Staphylokocke
    @Staphylokocke Před 29 dny +1

    Yo, for unsoldering components from donor hardware:
    I found that you can mix in some fresh lead-containing solder to get the existing solder to flow.
    Then you can use some desoldering mesh to get rid of the excess.
    Really great presentation on that video btw. :)

  • @Monolize
    @Monolize Před měsícem +1

    would really love to try it out someday. lovely content too.

  • @Gersberms
    @Gersberms Před měsícem +3

    Super impressive! Shitty buttons has been a huge problem for a long time now. I wonder if soldering a capacitor across the traces would cause a current spike when you close the switch, and if that would wet the contacts. I've been using the Razer RC30 with optical switches and that part of the mouse has been great.

    • @wareya
      @wareya  Před měsícem

      I think that's one of the ways people generally work around this, yeah!

    • @re4796
      @re4796 Před měsícem

      Calling the Basilisk an "RC30" is crazy

  • @justicesportsman6020
    @justicesportsman6020 Před 27 dny +1

    Gaming mouse manufacturers do care that their switches keep failing. It’s what keeps mice sales up

  • @nailsonlandim
    @nailsonlandim Před měsícem +3

    Nice video. Your DIY can be handy for people that needs a custom mouse for disability or RSI.

  • @QsPracticalNonsense
    @QsPracticalNonsense Před měsícem +4

    Well deserved like, quality video my dude 👍

  • @LoboRundas
    @LoboRundas Před měsícem +2

    I also use a G203 and I also had to send it back for.repairs like, twice in the first year!! They make mouses with twigs and putty now apparently!!
    I am NOT capable of doing this, but it's good to know the tech is out there, great job!!

  • @EXP_Jenova
    @EXP_Jenova Před měsícem +1

    Ironically, Logitech is the only company that feels like they make sturdy mice to me. Every Razer/Corsair mouse I’ve had has had problems after ~6 months, meanwhile both Logitech mice I’ve had have lasted over 2 years with 0 issues.

  • @emilp6041
    @emilp6041 Před měsícem +1

    If your solder beads up, like where you soldered your replacement resistors, it means the components to be soldered aren't hot enough. You need to continue heating the place with your iron and wait until the solder nicely flows over everything.

    • @wareya
      @wareya  Před měsícem +2

      I'm bodging through-hole components onto tiny (0603) surface-mount pads and intentionally applying way too much solder so that thermal expansion/contraction is less likely to make them crack off. Having a round shape is normal in that case.

  • @Babakinha
    @Babakinha Před měsícem +2

    i would make a joke about mouse eating cheese and cheese in your spaghetti code but nothing has clicked yet
    awesome vid tho, its awesome that u made it open sauce >:3

  • @alixcozmo
    @alixcozmo Před měsícem +3

    cool stuff! i use cad in school and this is really interesting

  • @parski
    @parski Před měsícem +1

    Salvaging the sensor sucks but I love the rest of this. Good job!

  • @kepler_45
    @kepler_45 Před měsícem +2

    Nice to se you got the pinecill too

  • @CoruscationsOfIneptitude
    @CoruscationsOfIneptitude Před měsícem +1

    Great stuff!
    Thanks.

  • @olie304
    @olie304 Před měsícem +2

    Great work. Have you measured the response time?

  • @boroborable
    @boroborable Před měsícem +2

    after searching the market 3-4 few years back, I found out that only steelseries that uses its own switches while all the others use types of the omrons. it still works, never failed yet, while omrons die after 2 to 6 months for me, or could be really electrical or static fault on my part. you might want to give a shot, if you want a mouse with brand :)
    btw you killed it.

  • @neoqueto
    @neoqueto Před 28 dny +1

    Mouser not carrying mouse sensors gotta be the peak of irony

  • @YandiBanyu
    @YandiBanyu Před měsícem +2

    Hey, congrats! You discovered compliant mechanism!🎉

  • @Dr-Dissection
    @Dr-Dissection Před měsícem +3

    damn this should have more views, interesting project. Good luck

  • @Its_SuzieBun
    @Its_SuzieBun Před měsícem +1

    I'm so happy CZcams recommended me this video!! It's so clear, we'll layed out and you're a genuinely funny person!! Incredible video.
    I've been wanting to build my do gaming mouse for lefties but all the documentation was bad and I had so many problems even starting this!! Also I'm a complete newbie for anything electronics related so there's that to lol.
    So I do have a question though, because I'm a lefty, the pcb design is for right handed nice. How easy for a newbie in electronics would it be to turn your preexisting pcb design to be a lefty version so I can have the thumb buttons on the opposite side for my left hand?

    • @wareya
      @wareya  Před měsícem

      It would be pretty difficult... Most of the trace routing would have to be redone from scratch. Can't just turn the board over, because the sensor's pins would all be in the wrong place. I might eventually make a lefty version myself, but if I do, it'll be several months or maybe a couple years out, since my project backlog is so big. Maybe I could redesign it so that the side switch mounts are duplicated, so there's a single PCB version for both hands?

  • @rhoharane
    @rhoharane Před měsícem +1

    Logitech either really doesn't care that their switches fail after a year or two, or they care that they do so they can keep selling mice.
    But what's stopping you from turning around and buying a mouse with optical switches from another brand... or building your own, as it turns out.

  • @The9thMonth
    @The9thMonth Před 29 dny +1

    Then there's me, who learned soldering just to solder new switches for M1 and M2 for my G502 Hero.
    I used Japanese-made Omron switches specifically. Avoid the Chinese ones (regardless of brand), because the copper gets tarnished way too fast, usually within a year. You can clean/polish them if you are dextrous enough, though. That's what I did a couple times until I realised it would be far better to pick up a new skill and just solve the issue for good in one try.
    Needless to say, it worked flawlessly. The connectors are gigantic, anyway, so even a newbie can desolder them and replace them easily. I even bought a new and original outer shell for the mouse on Aliexpress (since no local sellers regardless of where I looked) and I basically own a brand-new mouse now.
    PS: Funny enough, I wonder why the M4, M5 and so on never had issues. Maybe it's less usage. Maybe it's different switch structure (or material?). Makes me curious, though. I only ever had issues with M1 and M2 switches.

  • @julianbinder2371
    @julianbinder2371 Před měsícem +3

    omg thank you for the work, I'll definitely use this when I build my own mouse
    I really wish it was possible to just buy the sensor somewhere

    • @monkeysfromvenus
      @monkeysfromvenus Před měsícem +2

      there are listings for it on aliexpress and alibaba for like $1

    • @wareya
      @wareya  Před měsícem +3

      Make sure you don't get scammed: some of them don't include the lens!

  • @Gounesh
    @Gounesh Před měsícem +2

    This is so freaking cool and on point.

  • @ArcanePath360
    @ArcanePath360 Před měsícem +1

    "Fine. I'll do it myself"
    This is my thinking these days after my 8 year old GTX35 mouse died and you can't buy them anymore. The latest mice are so bad in design and quality. Buttons are in stupid places and the plastic coatings are dirt magnets. I bought a new one and modded the buttons to make them more tactile so my thumb could feel the which button was what. Why they made it so 5 buttons feel like one long button is beyond me. Do they not do product testing anymore? The GTX35 was perfect. Yet nothing exists with that button layout now.

  • @aspinx
    @aspinx Před měsícem +1

    Cool. Will it be enough pins on RP2040-Zero module?
    Also, do you think it's possible to make a wireless variant, using ESP32's built-in BLE support? Or it won't work because of the power draw?

    • @wareya
      @wareya  Před měsícem

      A wireless ESP32 version would probably work (even if the USB version didn't work because of the sleep but) but I'm scared of making hardware with batteries in it :(

    • @aspinx
      @aspinx Před měsícem

      @@wareya Yeah a rechargeble li-po pack would be better, but the question is how much power the whole thing draws and how often it needs to be recharged?

  • @forivall
    @forivall Před měsícem +3

    Ive been looking to make my own ergo mouse, so I'll probably use your code and such when i get to that. Its not happening anytime soon though lol, ive got a much bigger project to do before i get back to it. I did buy those pmw3360 breakout boards for some trackball builds im working on though (which is the project coming up first)

  •  Před měsícem +1

    I had to test the desoldering on an old mouse just out of curiosity. I had no issues with my soldering iron set to 480°C, then adding a tiny bit of new solder and removing it all with solder wick.

    • @wareya
      @wareya  Před měsícem

      It depends a lot on the specific mouse you're desoldering from! If the ground plane dissipates heat too easily, then the ground pin will have a really hard time coming unsoldered, and might deform the IC casing around itself. 480C is definitely hot enough for this to happen if you leave the iron on the ground pin for too long.

  • @tek_lynx4225
    @tek_lynx4225 Před měsícem +1

    Mice and most trackballs have enough room for full size microswitches of the type you find in an US Happ style arcade machine (cherry dx-44's) that would not fail for decades. Yet most if not all mice use the tiny mini-switches that have a much higher failure rate on purpose so you'll end up getting a new mouse faster and making them more money.

  • @dapperwounded
    @dapperwounded Před 28 dny +1

    The g502 hero I’ve had for a while now. Never had any problems with any of my buttons. But I love diy tech.

  •  Před měsícem +1

    very cool!
    how did you find the documentation for the sensor?

    • @wareya
      @wareya  Před měsícem +2

      Pixart used to link to detailed documentation on their site, but at some point in the last few years the links disappeared :/

  • @knghtbrd
    @knghtbrd Před měsícem +1

    Seriously hope this project leads to a DIY mouse industry!

  • @juanquireyes6703
    @juanquireyes6703 Před měsícem +2

    I won't take this Logitech slander. My 502 never failed me.

    • @1pcfred
      @1pcfred Před měsícem

      G502 master race!

  • @John-jc3ty
    @John-jc3ty Před měsícem +2

    so how did you improve the switches? if those keep breaking whats the point of this mouse?

    • @wareya
      @wareya  Před měsícem

      The debouncing algorithm I describe in the second section lets me filter out chatter and bouncing without adding any latency, so I can tune it as aggressively as I have to. Almost all commercial mice can't use this algorithm because they're not set up for it internally, so they have to choose between reliability and latency.

  • @alec1575
    @alec1575 Před měsícem +1

    Really inspiring. I have been thinking about doing some custom work myself, and I'm gonna take a more serious look into it now. I really like my Logitech g502, but the macro buttons are a little annoying since they need software running to work. Would def like to fix that. Anyway, thx for the cool vid

    • @1pcfred
      @1pcfred Před měsícem

      Which buttons are the macro buttons? The ones on the side? My OS just calls them button 8 and button 9

    • @alec1575
      @alec1575 Před 29 dny

      @@1pcfred Well, all of the 11 buttons can be remapped with their software, but you need to run their software for it to work since the save to on board memory option just doesnt work. By "macro buttons" I just meant any of the re-programmable buttons.

    • @1pcfred
      @1pcfred Před 29 dny

      @@alec1575 mapping buttons and keys is nothing I've ever gotten into myself. But I think it's possible to do? I don't run Windows myself. I just looked it up in a search engine and found a program that claims it can do it. I'd grab it and try it out but I can't think of why I'd want to remap any keys or buttons. I like what they all do by default. In a browser for instance the side buttons go forward and backwards in web pages. Which I think is OK and I've even used it occasionally. When I reboot my PC I always have to run this mouse utility to set the DPI. Otherwise it starts up cold at the highest DPI. There's probably a way I can make it not do that. But I don't reboot so much it's really an issue for me. I don't remember my Razer mouse doing that. It had some ridiculously high DPI too.

  • @848
    @848 Před měsícem +2

    I’m surprised you don’t mention scroll wheel; the last like 5 mice I’ve had, the scroll wheel was always the first to start failing, often only days after getting the mouse.

    • @wareya
      @wareya  Před měsícem

      The scroll wheel is one of the pieces where you just have to hope that they don't cheap out, unfortunately. The way they work internally doesn't give enough information to do anything clever like I did here, though there *are* wrong ways of reading them that are prone to glitching than others.

  • @Willow1w
    @Willow1w Před měsícem +3

    I am fairly certain you can desolder that sensor with a soldering iron and a wick pretty easily? Anyway glad to hear I am not the one disappointed with Logitech mice! With these mice replacing the switches becomes a yearly tradition

    • @wareya
      @wareya  Před měsícem +1

      It depends on how much the ground plane dissipates heat from the soldering iron; for the mouse I was desoldering from, there was too much dissipation, and the solder on the ground pin refused to melt at temperatures low enough to not damage the sensor's IC.

    • @Willow1w
      @Willow1w Před měsícem +1

      @@wareya Next time try with a larger tip, chisel or beveled. Smear solder paste over the wick, it should soak all the tin and leave you with a clean pad 😊

    • @wareya
      @wareya  Před měsícem

      @@Willow1w I've got a proper temperature-controlled weller soldering iron with chisel tips, multiple desoldering pumps, desoldering wick, rosin-core leaded solder, and separate flux just in case! I know how to desolder things. The clip in the video is just a dramatic reenactment.
      The sides edges of needle-point soldering tips work just as well at heat transfer as the points of chisel tips. If you look closely at the clip in the video, you'll see that that's the part I'm using.

    • @Willow1w
      @Willow1w Před měsícem +1

      @@wareya Impressive setup! Over the years I removed lots of much larger components with this basic technique, IGBTs, power mosfets, transformers, heatsinks, all without trouble... But if it caused you issues I hope you can find an alternate solution!

    • @wareya
      @wareya  Před měsícem

      @@Willow1w Yeah, for most components I haven't had any real issues with the iron + desoldering pump and/or wick + leaded solder and extra flux just in case setup. It's just for some reason removing the 3360 from the mouse I chose to desolder it from ended up being super hard! Shelling out a couple dozen dollars for a hot air rework station was the first alternative that worked safely.