Raspberry Pi Pico - USB HID Auto Clicker with Circuit Python

Поділитися
Вставка
  • Опубліковано 27 сер 2024

КОМЕНТАРІ • 194

  • @JohnPMiller
    @JohnPMiller 3 роки тому +60

    I predict that your video will launch many creative HID projects around the world! Great job!

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому +11

      i hope so! this was a simple enough project to explain and show you what it can really do. i'm really testing the waters and plan on bringing back my "code with me" series

    • @davidshields4624
      @davidshields4624 3 роки тому +4

      @@NovaspiritTech I’m teaching myself python right now, I would love to see that series!

    • @ninline2000
      @ninline2000 3 роки тому +3

      @@NovaspiritTech I look forward to that. I'm ordering my Pico right now.

    • @tytrvd
      @tytrvd 3 роки тому +3

      Bring it back

    • @joshsamuelson1793
      @joshsamuelson1793 3 роки тому +3

      Got 2 on order. Can not wait to try this out.

  • @konadesu
    @konadesu 3 роки тому +2

    Thanks for this video, friend came to me with a HID project and couldn't find anything for the Pico without using C. Now I can actually start work.

  • @alexbezdicek
    @alexbezdicek 3 роки тому +2

    Hey! Battery researcher here, the charging speed change is because the charging is not at a constant wattage, it can start really quickly if you want it to and in 15 min of the 100kw you'll get more kwh but it will halt the power to save the batteries health

  • @auto117666
    @auto117666 3 роки тому +6

    I have had a Teensy HID for years but never thought about using it on android games. Heck you could do all sorts of crazy things with this and screen grabbing using something like the HDMI input module. You *could* automate farming on android video games like Clash of Clans like that.

    • @podell111
      @podell111 2 роки тому

      That's a great idea

  • @grimnecksnapper3789
    @grimnecksnapper3789 3 роки тому +16

    So inspiring. I love your work man. This is what I'll code today

  • @vodzurk
    @vodzurk 3 роки тому +6

    Don't run the code at the 6:30 mark... there's no delay . When you plug it back in, you'll have a nightmare trying to stop your pico from left-clicking.
    Tip: Resetting Flash Memory link at the bottom of the Pico page to nuke your pico if you end up in this state:
    www.raspberrypi.org/documentation/pico/getting-started/

    • @lohriialo
      @lohriialo 3 роки тому

      Very true, I bricked my Pico after following this example. Couldn't get out of the mouse click so I tried to reset my Pico by running GND and RUN as the doc says and now my Pico is not longer detected or BOOTSEL does nothing, doesn't attach as USB device anymore.

    • @robots_id9112
      @robots_id9112 2 роки тому

      why don't you enter the pico in storage mode? is it possible?

  • @MagicPlants
    @MagicPlants 3 роки тому +2

    I'm going to teach my kid how to use the Pico using this video :) Thank you dude

  • @ukrainer95
    @ukrainer95 3 роки тому +3

    Great example Don! I love your tutorials.

  • @harshmirdhwal
    @harshmirdhwal 3 роки тому

    Just like diamond cuts diamond, programming beats programming, Super!

  • @ikorbln
    @ikorbln 3 роки тому

    Thanks for this example. I just started in Micros after normal raspis and this helps.

  • @denniseagles
    @denniseagles 3 роки тому +2

    Nice !! Thanks, just modded this to move mouse back & forth .... so I never go 'inactive' on Skype for Business ... regardless if i'm "working" or not :)

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому

      Haha your so clever 😂

    • @purzifal
      @purzifal 3 роки тому

      you could have just set it to never update your status inactivity and disable your computer from sleeping :P

    • @denniseagles
      @denniseagles 3 роки тому

      @@purzifal except when these things are controlled by your corporate IT department 🤫

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому

      Fridays video will be for mouse juggler with source code

  • @idiedlastmonth
    @idiedlastmonth 3 роки тому +1

    I absolutely loved this! Thank you! More of this kind, please.

  • @CharlesMans0m
    @CharlesMans0m 3 роки тому

    I am loving your raspberry pi pico videos!

  • @mattgeek49
    @mattgeek49 3 роки тому +2

    The funny thing is that you can just long press the red button and that is actually intended to work like that

  • @RPICoder
    @RPICoder 3 роки тому +2

    Great video 😀 liked the detailed explanation of the code 😀

  • @mikes333
    @mikes333 3 роки тому

    Teaching computers how to press their own mouse buttons. Skynet thanks you for your contribution towards the Singularity! ;-)

  • @dougdevine
    @dougdevine 3 роки тому +1

    Loved seeing this video and look forward to more little projects with the pico like this!

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому

      me tooo!! any thoughts on what i should do next?

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому +1

      @@gamertron0882 yes but you will need a lightning cable to usb for connection

    • @gamertron0882
      @gamertron0882 3 роки тому

      @@NovaspiritTech yes I know now but thank you!

  • @tylerpeppy1450
    @tylerpeppy1450 3 роки тому +2

    Nice video, I know what i'll be trying later today!

  • @michaelrupert1065
    @michaelrupert1065 2 роки тому

    I can't wait for you to go to Cape Canaveral and launch a SpaceX with a Pico from your car.

  • @tytrvd
    @tytrvd 3 роки тому

    Dude you bring some of the best videos

  • @seanmcdonald656
    @seanmcdonald656 3 роки тому +2

    Great Video. Will you be going into HID keyboard or game pad?

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому +4

      I can, the implementation to keyboard and gamepad is very similar to the mouse, i've been testing the waters with these pico videos too see the interest of a coding series.

  • @rshnthms
    @rshnthms 3 роки тому +2

    Pi pico as password manager
    Pi pico as 2FA

    • @Spy17wolf
      @Spy17wolf 3 роки тому

      Unfortunately, Pico hasn't wireless interfaces or second USB

    • @gamertron0882
      @gamertron0882 3 роки тому

      @@Spy17wolf easy fix, put it on a bread board with a bunch of other components and if your willing to put in the time you could

  • @elmaaa997
    @elmaaa997 3 роки тому

    using pico someone with disablities can easily create their hid device with watching your video as a starting point.

  • @Pathfindersdomain
    @Pathfindersdomain Рік тому

    I have a quick challenge for you. I have a Raspberry Pi Zero and Pico W, both of which I am trying to setup as a HID KB. I wish to set them up to enter the FW pwd on a Mac Mini (server in a rack) after a reboot, I wish to remote to the Pi and run a remote script that enter the FW pwd so the machine can continue to the desktop, both are not detected at boot.

  • @snappyie
    @snappyie 3 роки тому +3

    Great video! Now I can make a tinder auto swiper 🤣

  • @FrankGraffagnino
    @FrankGraffagnino 3 роки тому

    maybe get that Pico talking with Home Assistant? Or maybe have it connecting to a PiKVM instance and switching inputs on the physical KVM and collecting regular screenshots of each machine.

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому

      for home assistant, i would recommend using esp8266 instead since it has wifi. but yes for the PiKVM switching board switch.

  • @mytechnotalent
    @mytechnotalent 3 роки тому +1

    Great job on this!

  • @reyanshkhobragade5822
    @reyanshkhobragade5822 3 роки тому +4

    This looks cool!!

  • @bern047
    @bern047 3 роки тому

    Really enjoyed watching this video, you explained it really well, thanks

  • @bvesunsun2324
    @bvesunsun2324 3 роки тому +1

    I will buy raspberry pi pico because this video. Thanks

  • @DanielStinebaugh
    @DanielStinebaugh 2 роки тому

    Exactly what I was looking to do (Just a different game :) )
    How would you add a rheostat to adjust the speed of clicking?

  • @TotalMK
    @TotalMK 3 роки тому

    Fantastic video, I adapted this to work with Pokemon GO (I wanted it to do the raid tapping for me with an on/off switch) I successfully made it, but alas Pokemon Go seems to block use of external HID Devices, the pointer sits middle of screen not at y=400 and does not click/tap, just thought I would put this here for anyone who had the same idea. Shame they block it. :/

    • @cowrevenge
      @cowrevenge 2 роки тому

      Did you try it with a normal bluetooth mouse first?

    • @TotalMK
      @TotalMK 2 роки тому

      @@cowrevenge Didn't need to as the tapper worked with other apps. So it worked, just not in Pokemon Go.

  • @bobescooters9301
    @bobescooters9301 3 роки тому

    i have a flight yoke system and all the mod upgrades show a different module to use to smooth out the dead spot and to give it more sensitivity, rpi pi pico was $4 about 10 times cheaper and has way more power but i only need it to run 2 potentiometers as a USB HID, I kind of get the circuit python would need to have import hid & import digital io but what other libraries and what would the code to have the values read so pc can then be configured in the joystick setup.i know it has way more power and seems like a waste to run 2 pots, so maybe later i can learn more and add some instruments and more buttons etc to create a more realistic cockpit dash

  • @dayworkhard
    @dayworkhard 3 роки тому +1

    Thanks for sharing, this is freaking cool.

  • @DirtMcGirt49
    @DirtMcGirt49 3 роки тому

    Thx for the video. I'm trying to do something similar but need fhe ability to swipe. Trying to make an auto clicker to grab gig jobs.

  • @souhaiellouati9342
    @souhaiellouati9342 3 роки тому

    This looks great ! Thanks ! Can u make a video about the programmable I/O in raspberry pi pico

  • @purzifal
    @purzifal 3 роки тому

    click -= 1 use is better than click = click -1 when it comes to micro controllers, the less characters you type the more you can program

  • @eugeneware3296
    @eugeneware3296 3 роки тому +1

    Surely programming the Pico to swipe right on Tinder would be a popular little project? 😂

  • @pav8369
    @pav8369 3 роки тому

    Great video, as always!

  • @1983Chriso
    @1983Chriso 3 роки тому

    Hey thanks for the video Don its making me want to grab a pico an give somethings a try!

  • @-indeed8285
    @-indeed8285 3 роки тому +2

    what is HID means?

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому +4

      human interface device i.e. mouse / keyboard / gamepad

  • @anv200
    @anv200 3 роки тому

    This is great! Thank you for you videos. For a project I'm working on I need the mouse to click on a specific point in the screen (for a known screen size). Can you use this library to en to enter an absolute position?

  • @andresfrr100
    @andresfrr100 3 роки тому +2

    Hi! Is there a way to do what you did, but with Micropython?

  • @Joffrey373
    @Joffrey373 3 роки тому

    This is seriously awesome.

  • @kolex-x1801
    @kolex-x1801 3 роки тому

    Wow very nice work man ❤️❤️

  • @liuesstuo9413
    @liuesstuo9413 3 роки тому +1

    That was actually fun to watch

  • @causprax
    @causprax Рік тому

    Is there any way to read a number on screen than click n stop

  • @CarlosSilva-cj7eq
    @CarlosSilva-cj7eq 2 роки тому

    Great project! Thanks!

  • @larrymelone5456
    @larrymelone5456 3 роки тому

    Make sure to use
    adafruit-circuitpython-raspberry_pi_pico-en_US-6.2.0-beta.1.uf2
    Thonny seems not to be working with newer versions of it

  • @alzalame
    @alzalame 3 роки тому

    Genius video, good inspiration.

  • @jhill4874
    @jhill4874 3 роки тому

    This gives me an idea on how to use the Pico as a keyboard controller. I want to take the keyboard from a defunct laptop and make a usb keyboard out of it.

  • @Ilikeridin
    @Ilikeridin 3 роки тому

    Great video, thank you.
    I programmed on a Linux laptop and plugging it into Windows, it all worked. Plugging it back into Linux, the Pico can not talk to Thonny and throws out errors. Is this due to different OS

  • @frankn5216
    @frankn5216 3 роки тому

    Hey, I looking for a way to press various size buttons most small "these are external button" through Bluetooth preferably do to my level of injury I cannot use my hands. restricted HID or voice, any ideas?

  • @lolslim690
    @lolslim690 2 роки тому

    Great video, I am curious why the while loop was used over range() loop?

  • @cowrevenge
    @cowrevenge 2 роки тому

    I set up a Raspberry Pi 4 with raspian and it shows as a HID joystick in my PC. What's the best way to send python scripts to it?

  • @wqesa9820
    @wqesa9820 Рік тому

    hello, I want to ask if circuitpython can detect the size of the screen, so I could be more easy to determine the position of the mouse?

  • @mrush336
    @mrush336 2 роки тому

    What was the cable you used to connect the pico to your phone? Was that an OTG cable?

  • @YuanDong
    @YuanDong 2 роки тому

    Great Video. Thank you a lot.

  • @temidirehamzaht8169
    @temidirehamzaht8169 3 роки тому +1

    Am wondering how does the mouse know where to click

    • @dieofthebeholder
      @dieofthebeholder 3 роки тому +1

      The pointer for the mouse spawned in the middle of the Android's screen; in the code, Don added a move statement to move that pointer along the Y axis (X being horizontal, Y being vertical) by +400 pixels. To go down the screen or to the right is a positive value, to go up or left is a negative. I imagine Don experimented a bit to find the correct value (in this case 400).

  • @Jim-sq9mq
    @Jim-sq9mq Рік тому

    Will this work with iPhone ios 13 or ios 14? iOS 13 and 14 allow usb mouse to be connected to iphone - i think.

  • @Mario-dm1tn
    @Mario-dm1tn Місяць тому +1

    I have this error:
    ValueError: incompatible .mpy file

  • @sampsi
    @sampsi 3 роки тому

    thanks, i use this tutorial "gold rush " game

  • @lohriialo
    @lohriialo 3 роки тому

    WARNING : This is a cool video to watch, very dangerous to code sample to run on your pico. I bricked my Pico after following this example. Couldn't get out of the mouse click loop as the time delay is too short to stop the program, so I tried to reset my Pico by running GND and RUN(followed official doc) and now my Pico is not longer detected as USB mode or BOOTSEL does nothing, doesn't attach as USB device anymore

  • @Arek_R.
    @Arek_R. 3 роки тому +1

    I was going to say that it's stupid to use such powerful uC for such a primitive task that arduino pro micro can do, but then I remembered that original pro micro from sparkfun costs like $20 and pico costs $4

  • @ericj.1038
    @ericj.1038 2 роки тому

    what is the command for specifically the right ALT key?

  • @abymohanan9403
    @abymohanan9403 3 роки тому

    Thank you so much for this video

  • @julienbietlot3401
    @julienbietlot3401 3 роки тому

    GREAT VIDEO !!! couldyou just increase font size or decrease video resolution so there is less empty space. Thanks Don

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому +1

      next time i will increase the DPI to 200%

  • @abc7297
    @abc7297 3 роки тому

    is it possible to create something similar just for a ps4 controller ?

  • @handleneeds.3.ormorecharacters
    @handleneeds.3.ormorecharacters 3 роки тому

    Is there any IDE like thonny that you can run on an android phone to code for, and then push to, the pico?

  • @manudiduch
    @manudiduch 2 роки тому

    Do you know how to use the current time of the host? For example, if Pico is connected to a smartphone, the pico pi uses the exact time of that smartphone.

  • @whysocringe2018
    @whysocringe2018 3 роки тому

    Now I am gonna include RPi_Pico in my HackerGear! I see that it is easy to program it for HID attacks!

  • @joshsamuelson1793
    @joshsamuelson1793 3 роки тому

    Can think of soo many games to use this on.

  • @tharunv1885
    @tharunv1885 3 роки тому

    Awesome videos sir
    Can i make opencv stuff using rppico like grabbing images from smartphone through usb and doing image processing on that image and making actions like clicking

  • @Ade.M
    @Ade.M 3 роки тому

    Great video! Does anyone know how to stop the pico mounting a drive when using CircuitPython to create an auto clicker?

  • @heineolsen7546
    @heineolsen7546 3 роки тому

    I followed your guide, seem that the pico dosen't load the adafruit hid module, what can I have done wrong ?

  • @gozukipl
    @gozukipl 3 роки тому

    I like your videos - so inspiring! Already subscribed. But I have a question for you. I started with Raspi and looking to make a project with an external screen [already got one]. I'm interested to make something similar to LaMetric but simple, display time, subscriber counts, social media followers, and all of that as a carousel. Do you have some tips for that or could you point me into some ready project for that? Or maybe you have something like that in mind and ready as video tutorial :) Thanks!

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому

      Depends on the screen, I have plans on doing a tutorial for ssd1306 screens

    • @gozukipl
      @gozukipl 3 роки тому

      @@NovaspiritTech those are extremely tiny ;(
      I should say more. I’ve been thinking about normal lcd touch screen. There is one from raspi but also plenty of them available on AliExpress. I’ve got one with 1024x620 resolution. Problem is if there is some ready library that could help with that but couldn’t find active project. Other idea is displaying in a web stats but not that nice option and too much stuff in background that doesn’t need to be there. But simple timer, YT, TW, Insta stats display that is perfect option or even something more. I thought if you now something about active project/repository with even similar way to stats dashboard or similar to one you did for hardware dashboard [for pc].

  • @KeithDowling88
    @KeithDowling88 3 роки тому

    great project man

  • @duke605
    @duke605 Рік тому

    This is so stupid. I love it

  • @shafayettasin4270
    @shafayettasin4270 3 роки тому

    love your tutorial.

  • @mikeyz8775
    @mikeyz8775 2 роки тому

    Can you make a ruby programing video of keyboard mouse hid on the arduino uno. Thats alot to ask for

  • @matthijsaveskamp4357
    @matthijsaveskamp4357 3 роки тому

    samsung s20 android 11, won't let me change the mouse cursor location.
    not x not y.
    anny known sollutions?

  • @BigMoneyFantastic1738
    @BigMoneyFantastic1738 3 роки тому

    Will it work for a computer?

  • @danielhemp387
    @danielhemp387 3 роки тому

    Is there any way you could make something like a streamdeck with the pimoroni buttons and their display?

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому

      yup, that is my original idea i had for this on my first look pico video. still a work in progress but it's getting there

  • @ChasLarge
    @ChasLarge 3 роки тому

    Hi. Tried installing CircuitPython 6.2.0 for the Pico as you direct, it installs but then I just get a folder appear with 2 folders (.fvseventsd) (lib) and our files listed. Cannot connect to Thonny from the Pico. Cannot seem to find a DL link for the Beta 1 version you used. Nuked the memory and could connect, tried reinstalling circuitpython and the same problem.
    Any suggestions??

  • @beratbaki1681
    @beratbaki1681 3 роки тому

    Can I use adafruits hid library with micropython. I really appriciate if somebody answers because I would like to connect a mfrc522 and its class wrote for micropython I really like to use the sensors library with the usb_hid library.

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому

      Micropython still does not support usb_hid natively. Not that I see from the release versions, you might want to check the nightly

  • @cheze_bun
    @cheze_bun Рік тому

    Can you use it with an iPhone?

  • @mikroelektro
    @mikroelektro 3 роки тому

    What is your os and desktop environment.
    Do you have any customization?

    • @NovaspiritTech
      @NovaspiritTech  3 роки тому

      I made a video of the entire desktop setup I'm using. On my page

  • @juangassa
    @juangassa 3 роки тому

    Can u do the same with an arduino? or there is some limitation?

  • @MrSephkeene
    @MrSephkeene 3 роки тому

    Dang, look at all those Silos!

  • @1andDONEson
    @1andDONEson 3 роки тому

    Nice work...

  • @yashwanthnizampatnam
    @yashwanthnizampatnam 2 місяці тому

    Hey Dude, Why don't you create an autotyper using this raspberry pi pico

  • @deathcometh61
    @deathcometh61 3 роки тому +1

    I will say I hate you. I had to go out and get a pico now. I was like I'll wait for a cool project. Cool project. Go online and ordered 1. Thanks man 😑.

  • @lukebedrosian8397
    @lukebedrosian8397 2 роки тому

    This is amazing but the mouse on the phone keeps popping up at the bottom of the screen

  • @1N4007.
    @1N4007. 3 роки тому

    Hi, nice video. I tried to do it but there is warning, "Could not sync device's clock" can you please help me to solve it?

  • @DracoMhuuh
    @DracoMhuuh 3 роки тому

    y u no use for loop?

  • @ghahn9577
    @ghahn9577 3 роки тому

    can the machine api be added back with this version?

  • @javierkuylen7817
    @javierkuylen7817 3 роки тому

    i cant edit folders of rpi pico why?

  • @peterboy209
    @peterboy209 3 роки тому

    Next time we'll build our autofiring blowgun...

  • @fvgoya
    @fvgoya 3 роки тому

    More videos like this one!!!!

  • @sarkar2012
    @sarkar2012 Рік тому

    Can we use pyautogui in pico please tell me ❤️❤️🙏🙏❤️❤️