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
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 😑.
adafruit_hid is an external library you can get from the library bundle: go to circuitpython dot org slash libraries . For general info about libraries, go to the Adafruit Learn Guide entitled "Welcome to CircuitPython", and check out the "CircuitPython Libraries" page.
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/
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.
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.
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
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 :)
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
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.
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.
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).
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??
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.
hey man my mouse.move=(y=400) doesnt work for me it shows the cursor in the middle bottom of my screen, i tried changing it to100, 300, 500 and even 1000 but it still keeps on the bottom. do u know any way how i can fix this problem? Btw great video!!
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
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
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?
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. :/
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
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
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.
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.
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?
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.
I predict that your video will launch many creative HID projects around the world! Great job!
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
@@NovaspiritTech I’m teaching myself python right now, I would love to see that series!
@@NovaspiritTech I look forward to that. I'm ordering my Pico right now.
Bring it back
Got 2 on order. Can not wait to try this out.
So inspiring. I love your work man. This is what I'll code today
How's it going?
using pico someone with disablities can easily create their hid device with watching your video as a starting point.
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 😑.
i am experiencing some import problems: ImportError: no module named 'adafruit_hid' i tried with beta1 and beta2 version
adafruit_hid is an external library you can get from the library bundle: go to circuitpython dot org slash libraries .
For general info about libraries, go to the Adafruit Learn Guide entitled "Welcome to CircuitPython", and check out the "CircuitPython Libraries" page.
This is covered in the video starting around 3:20.
First!
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/
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.
why don't you enter the pico in storage mode? is it possible?
I have this error:
ValueError: incompatible .mpy file
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.
That's a great idea
Pi pico as password manager
Pi pico as 2FA
Unfortunately, Pico hasn't wireless interfaces or second USB
@@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
what is HID means?
human interface device i.e. mouse / keyboard / gamepad
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
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.
Next video: how I get ban from *** game
LOL
Good thing he chose a game nobody in the world cares about ❤
The funny thing is that you can just long press the red button and that is actually intended to work like that
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 :)
Haha your so clever 😂
you could have just set it to never update your status inactivity and disable your computer from sleeping :P
@@purzifal except when these things are controlled by your corporate IT department 🤫
Fridays video will be for mouse juggler with source code
I'm going to teach my kid how to use the Pico using this video :) Thank you dude
Hi! Is there a way to do what you did, but with Micropython?
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
Great example Don! I love your tutorials.
Nice video, I know what i'll be trying later today!
Great Video. Will you be going into HID keyboard or game pad?
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.
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.
I know this video is two years old but maybe you'll see this. Any reason the pico would work fine on a pixel but be all janky on a Galaxy?
Am wondering how does the mouse know where to click
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).
Hey Dude, Why don't you create an autotyper using this raspberry pi pico
Will this work with iPhone ios 13 or ios 14? iOS 13 and 14 allow usb mouse to be connected to iphone - i think.
Great video! Now I can make a tinder auto swiper 🤣
hahahhahaah
lmao
lmao! 🤣😂😆
Would you consider making a video tutorial on how to type and click send in chat? thanks in advance
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?
I will buy raspberry pi pico because this video. Thanks
Great video 😀 liked the detailed explanation of the code 😀
I can't wait for you to go to Cape Canaveral and launch a SpaceX with a Pico from your car.
Can we use pyautogui in pico please tell me ❤️❤️🙏🙏❤️❤️
This looks cool!!
This is amazing but the mouse on the phone keeps popping up at the bottom of the screen
i am the only one crashed the pc using the auto cliker. how do i stop this thing.
is it possible to create something similar just for a ps4 controller ?
Surely programming the Pico to swipe right on Tinder would be a popular little project? 😂
😂
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??
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.
Micropython still does not support usb_hid natively. Not that I see from the release versions, you might want to check the nightly
Is there any way to read a number on screen than click n stop
Thanks for sharing, this is freaking cool.
"pythong"
hey man my mouse.move=(y=400) doesnt work for me it shows the cursor in the middle bottom of my screen, i tried changing it to100, 300, 500 and even 1000 but it still keeps on the bottom. do u know any way how i can fix this problem? Btw great video!!
There is no = between mouse.move(y=400)
@@NovaspiritTech oh this works!! thank u so much for the incredibly fast reply.
u got a new subcriber keep the good work up!!
samsung s20 android 11, won't let me change the mouse cursor location.
not x not y.
anny known sollutions?
mouse.move(50, -20)
found it :)
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
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
i cant edit folders of rpi pico why?
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
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?
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. :/
Did you try it with a normal bluetooth mouse first?
@@cowrevenge Didn't need to as the tapper worked with other apps. So it worked, just not in Pokemon Go.
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.
Exactly what I was looking to do (Just a different game :) )
How would you add a rheostat to adjust the speed of clicking?
Can you make a ruby programing video of keyboard mouse hid on the arduino uno. Thats alot to ask for
Subscribed
really spend time of yo life doing this ? bruh... nahh bruh... that time of your life never gonna back
Teaching computers how to press their own mouse buttons. Skynet thanks you for your contribution towards the Singularity! ;-)
Now I am gonna include RPi_Pico in my HackerGear! I see that it is easy to program it for HID attacks!
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
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
Just like diamond cuts diamond, programming beats programming, Super!
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?
I followed your guide, seem that the pico dosen't load the adafruit hid module, what can I have done wrong ?
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.
Can you use it with an iPhone?
Tiktok "like"/dubbeltap "
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
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.
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?
what is the command for specifically the right ALT key?
Will it work for a computer?
P i c o
I s
N o t
A n
I t e m
S t o p
This is so stupid. I love it
Does this works on IOS too ?
What was the cable you used to connect the pico to your phone? Was that an OTG cable?
Great video! Does anyone know how to stop the pico mounting a drive when using CircuitPython to create an auto clicker?
Great job on this!
Challenge: Make the Pi Pico just show as USB HID Mouse - workplaces can detect otherwise
found a solution yet?
@@nakulshah5963 no but a usb mouse jiggler could work
I'm seeing this clicking away in click farms. Crazy.
This looks great ! Thanks ! Can u make a video about the programmable I/O in raspberry pi pico
Next time we'll build our autofiring blowgun...
hey bro would it be possible, you make a xinput with this?
Hey thanks for the video Don its making me want to grab a pico an give somethings a try!
Thanks for this example. I just started in Micros after normal raspis and this helps.
Just hold down the button
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?
Loved seeing this video and look forward to more little projects with the pico like this!
me tooo!! any thoughts on what i should do next?
@@gamertron0882 yes but you will need a lightning cable to usb for connection
@@NovaspiritTech yes I know now but thank you!
Can u do the same with an arduino? or there is some limitation?
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.
for home assistant, i would recommend using esp8266 instead since it has wifi. but yes for the PiKVM switching board switch.
can the machine api be added back with this version?
what's the name of the opening music?\
y u no use for loop?
GREAT VIDEO !!! couldyou just increase font size or decrease video resolution so there is less empty space. Thanks Don
next time i will increase the DPI to 200%
Just what Runescape needed.
More bots.
How about auto scroll with auto clicker?
Yes, you can use mouse.move(scroll=1) or -1 to scroll up or down
Really enjoyed watching this video, you explained it really well, thanks
thanks, i use this tutorial "gold rush " game
Watching these mouse movements gives me anxiety
Rpi Pico qr code reader projects is possible ?
Moar... MOAAAAAAAR!