Adreas, have nice "holidays" in the coming two months. I am sure you will gather new ideas to surprise us, like you do every week. Many thanks for the way you always teach and inspire us!
Thank you for your nice words! Yes, I want to get a little more from summer. And I have to do more biking because I was set back because of my accident...
1 video every 2 weeks? Sunday is my favorite youtube day to look forward too.
On the bright side, now I have more time to study for my ham license.
I guess, every bad thing has a good thing :)
There was a great deal of that which reqires re-watching, probably a few times. Thanks for the inspiration.
Just like all the other videos, you are informative and straight to the point, no BS included! I love all of your videos Andreas! Thank you again!
The Pi zero with ALOA is a great bit of kit for HID
Great video, thank you for another education in tech.
Wow! This is another video that I will save for future reference. I'm also greatful for the additional information shared in the comments. I will check out the other boards with alternative solutions as well.
Exactly what I am working on right now with a 'rubber ducky' and nextion display for a zoom-conference keypad :-)
Thanks Andreas!
Great video as always. I just used a Joystick library on an Micro Pro to connect a Clutch Pedal that I am using in my Sim Racing, the pedal is also self made by using a potentiometer. The fact that you can connect almost any device either as a keyboard or a mouse or a joystick blew my mind at that moment.
This man deserves much more subscribers. Excellent and high quality content
As always, a very inspiring video. I have recently made an ESP32 based 20 key keypad to control my OBS stream. It was your ESP32 videos that pointed me into the right direction. Also, I appreciate your jog wheel project because I am wanting to add a jog wheel to the CNC controller I'd like to build. Thanks so much!
Seeing this working would be really interesting for me, since I use OBS for teaching purposes (avoiding post-production due to time limitations)
@@codigoBinario01 I used cherry keyboard switches for my build. I have a laser cutter and engraver which helped to make the key placement exact, but a 3D printer couild do the same. I only had to purchase the diodes, the keys, and the ESP32. It's a pretty easy soldering job. the software is dead simple to adapt to your needs. I used Brian Lough's UA-cam videos on making a keypad to guide me and adapted his software with just a few changes. My first major electronic project. His is dead simple and can use one of those flat blister 12 figure flat plastic keypads. The other route is to get a bluetooth USB number keypad. Then you can make it more easily wireless which is very handy to step away from streaming computer. You can also reprogram that keypad too. Right now I am trying to figure out how to use LiFePo batteries with this and get a rechanging circuit built in to mine.
I think I would add some debounce/ detect state change code to your USB microscope script instead of the delay so that it can only trigger when transitioning from low to high and not when held high. Great video, appreciated as always!
your videos are great Andreas thank you for all the hard work and time doing this!
Useful for anyone who might want to build a flight simulator setup (joystick, throttle, foot-pedals, switches) or setup for other simulators or games.
Again a very enriching video, it's not only quanitity it's also quality. Thanks !! I hope you will find another few hundreds interesting topics, maybe you will build a fusion reactor in your garage ?
Nice video. Have a nice holiday. This video is very useful for my DIY HMI Keypad project. Thanks,
..first time ive listened to one of your vids with my new headphones.. your voice makes them vibrate in the low end range! LOL
interesting project Andreas, i seen it a while back in a defcon talk
The topics are not new, but I wanted to put them a little together for reference...
Likes your channel, its content, your voice, your humor and what you do.
Why do I feel some frustration in this video?
How's it that everytime I think of doing something, you come up with the solution for the exact problem
Nice video, I'll be working on a jog wheel soon. I have been working with a nextion screen for my boat to control heating, lighting, displaying engine perameters, solar charging information and a few other things using a pic chip for extra ios and solid state relays which I'll replace with latching relays to consume less power. they are really interested displays with a decent amount of processing and ios.
The Nextions for sure are nice for such an application because you can make them also good looking...
Not that I have any certainty of that model, but it is sometimes possible to remove or bend the latches that stop the encoder from moving freely on #3. Then you might want to add more weight hidden in the wheel so it has more inertia.
Great video!
Thank you Andreas , have a nice summer too ! English auto generated subtitles do not work in current video . I get dutch .. auto generated instead ! There was no problem last Sunday .
I deleted Duch now. I do not know why it was there. Maybe because of my accent ;-)
Many thanks for the interesting video. I think that some of your tips gave me some ideas of my own. Maybe I can implement them in my own projects.
Andreas, I am using a Griffin Powermate as USB volume knob for years now - it is working perfectly! A bluetooth version is available as well.
I used a Teensy 3.2 to automate some repetitive mouse move once. Was a fun little project with a touch lcd so I could set the number of times it would run the loop. Was one of my first “useful” projects
Again nice Sunday morning entertainment ! So for the next coming weeks only one video every two weeks... I guess you're going on a holiday... enjoy it !
Btw, a very nice microscope camera ! Crisp clear picture ! Link ?
Enjoy your summer, too! This is the microscope: s.click.aliexpress.com/e/_dXtDOHq and s.click.aliexpress.com/e/_dZpEeUM
Cool projects, thank you Andreas. I don't remember how was the frequency of your videos, but I think 1vid weekly is a good frequency.
Your are expanding my time with your very helpful information, alot of thanks
I like command line/data piping more useful and robust compared to HID. e.g. commands can be sent to microscope directly. Or logging data by printing into a csv or tsv file.
Well deserved holidays, thank you.
My two cents:
- digispark is really good at this, also
- at least Android smartphones understand USB HID, not only Bluetooth ones
- a cool combo is using a proximity/gesture sensor instead of buttons/jogs with the MCU ...hope I'll be able to submit a pull request
Cool. I wait for your request. Digisparks were mentioned quite a few times. I do not own one...
I would recommend you to use USB HID Touch device emulation instead of mouse (if it is possible in the driver you use), as it operates on absolute positions instead of relative movements. Also note, that HID keyboard will still just send "key IDs", this it is effected by the active keyboard layout of your operating system.
For PCs this is a much better idea. However, this software runs on the camera and it probably only understands "mouse"
Amazing! You keep coming up with completely new projects. In this case the overlap with what I’m working on was great. I really appreciate you sharing this with us and coming up with fresh ideas for sensors and microcontrollers. Thank you!
For this channel thumb up is an understatement. Wonderful button is needed. Here you learn so much with fun.
You can have alot of fun with Arduino (like) boards as HID. I use the Teensy boards for this purpose. The support of this board is really good.
I build a custom "joystick" for flight simulations, including a rotary encoder for the set of the radio frequency in the sim.
Nice project. Many other viewers suggested to use a Teensy for that purpose.
Love the videos from the guy you used has example for bluetooth hid, he is very funny
Also note the AtTiny85 in the Adafruite-Trinket / Digispark projects as cheap programmable USB HID devices.
@@AndreasSpiess Also, USB bit-bang technique will only work on PCs with operating system. (E.g. does not work on your camera, and does not work inside PC BIOS.)
Idea for a rotary encoder: An old hard-disk from a laptop. GreatScott did a video about that...
It's getting tricky to source a suitable HDD - for a long time already they are cost-optimized, so the motor is a part of the chassis.
@@AndreasSpiess Here's the video from GreatScott: ua-cam.com/video/tjCJ3MlFt7g/v-deo.html
@@killymxi Remove the disks, cut away the part of the case that gets in the way, reassemble. Then connect the motor to a sensitive comparator circuit to use it as an encoder.
I wanted to suggest the same solution, but I was sure someone else already did it.
What if I want to create a HID device that does not "mimic" an existing mouse or keyboard? I want an analog input added to my computer, but I need it to be a unique device. Would I have to create some kind of custom drivers to make that possible?
thanks for all, what do you think of this; Contour Design Shuttle Express , kind regards
Don't know if someone mentioned it before, but the Digispark could be a alternative to the Rubber Ducky. It's also able to emulate keystrokes.
for the microscope project, a simple pyautogui script on the pc should give you a nifty control of the targetsoftware 😉
If you can take apart the rotary encoder, the detent is usually just a ball bearing. Remove it and the wheel will spin freely.
The Pro Micro looks Similiar to AtTiny85 8bit MCU which also supports some HID usage.
Just thinking about the jog wheel - what about using a simple rotary encoder in combination with a mechanical gear with a ratio of 1:100 (or similar). Cheap rotary encoder come with 20 or 24 impulses per full rotation ...
Good idea. That is maybe what is inside my jog wheel ;-) Maybe I have to open it once.
I used the digispark which has a attiny85, and can do usb hid for keyboard and mouse
I also like the Digispark, which is using an Attiny85 and hacking the USB to its limits and above. So most of the time it shold work ;-). You can get these from Aliexpress for about $1.50. You can also build it yourself, if you have some Attiny85 lying around.
7:55 Great Scott made a video how to use a hhd motor as a rotary encoder. He gots preety much the same issue.
i made a remote controller for my VLC and Netflix using a rubber docky, IR receptor, and a random remote i had laying around.
also create a few keyboard shortcuts i could fire from the remote while sitting on the other side of the room.
You can also send a tab + enter keys, should be easier
For the camera? I am not sure it understands keystrokes. The software runs in the camera.
Hey. For a encoder you can use a hard drive motor. If you have keyboard connected to the Android phone, when you press control alt delete the phone will rebiot
With the help of a Rotary encoder and an e-ink display, I am working on a wireless HID device similar to Microsoft Surface Dial.
My second project will be to make a wireless button for my cat which will play cat videos on Instagram on TV 😂😁
Thanks for the wonderful content. ✨✨✨✌
Stickin on windoof is the problem, but even there i think you can navigate by tab and hit by spacebar. On mac/linux i managed it to use a midi controller for all my purposes, editing pics in lightroom and photoshop. Now it’s connected to my raspi4 as controller for my lights (and some special commands...). Midi controllers comes in very different shapes and functions, work mostly as midi tunneled usb serial devices and they r very cheap. Behringer x-touch mini is my recommendation.
Wieder einmal ein Klasse Video in gewohnter Qualität von Dir :-) Könntest Du irgendwann auch mal etwas zu LCD Menüs mit dem Arduino machen? Würde mich sehr interessieren, wie da Deine herangehensweise ist.
Da müsste ich ein entsprechendes Projekt haben... Aber da gibt es schon viele Videos.
You can probably disassemble the jog wheel and remove the Ball bearing that “clicks” into a dimple to get smooth free spin movement.
@@AndreasSpiess You're welcome, I've seen a few different ways that make jog wheels click. Most can be modified to remove it. Hopefully, you get lucky and have an easy one to modify.
I've been looking for a potentiometer-type free-wheeling rotary encoder for a long time. While you can remove the detent spring from regular rotary encoders, they're still a little stiff. The only thing I can find is the mouse wheel sensor type, which would require a bit of mechanical work, probably a 3D printer.
@@AndreasSpiess I don't either. The data sheet had very little information aside from physical sizes. I did see it has Detents, so would have to be modded. Also, Mouser marked it as Obsolete, so probably not being made any more. I'll go with an optical interrupter encoder - easy to steal out of an old or cheap mouse.
Man, only if getting force feedback output or using v-usb with cheaper micros was as easy
I know of only one force feedback method... Open source steering wheel.
Will miss the frequency of your videos... but I am sure it is for good reason
Andreas, can you please share the link to the inspection camera at 3:48? Thanks in advance!
Well after looking at your website it seems that UA-cam comments are the best way to reach you. I merely want to thank you so much for all the great content you have been putting out here on your channel. Though I have been messing with computers since the early 1980's, I have always only been comfortable with software. Of course I can build computers from parts, etc. But having never had a proper electronics education, I have always had some trepidation when it came to discreet electronic components and other things that involved soldering irons, blue smoke, and (seeming) black magic. But recently I have discovered the world of NodeMCU devices and decided that I should buy a soldering iron because maybe it was time to play in the hardware hacking world. Shortly after learning how to make a fun LED-strip project with a NodeMCU, logic level converter, and buck-converter, I came upon your channel here on UA-cam. I find all your videos extremely informative and fun to watch,. And they give me inspiration for future project ideas. I really especially appreciate your videos on antennas, as I have found them fascinating. I have watched many of your videos now and enjoy them very much (including the summaries at the end, by the way -- I don't skip the endings). I just want you to know that you are appreciated. So thank, you, Andreas, for all your hard work, and your fantastic presentation.
Thank you for your nice words. We are never too old to learn something new. And these days, hardware is so cheap that nearly everybody can become a "Maker". And in combination with software and Wireless, the whole thing becomes really "fun".
New project suggestion: Adding Amp and BT connectivity to your favorite old school wired (non-powered) speakers.
@@AndreasSpiess wow! I have a pair of JBL Studio Monitors that are lonely and need repurposing in a BT world.
Get a hotas- hands on twisters and solder
Thanks for your great videos. Just a question: the github link returns 404 - is this an error on my side ?
The Good. the Bad and the Ugly 🤣👍 One of the best Westerns! Nice Holidays!
How about putting your laser cutter to work and make a hall effect based jog wheel?
I work with rather closed software that relies on very very slow mouse inputs, a few key combinations, and best yet command line for efficient inputs without (easily) misclicking on stuff. They won't lets us write macros on the computer for those commands as the software is security conscious. I want to build a macro keyboard for the most common commands to turn the dozens-of-times-per-day used commands that are 5-30 keystrokes into a single physical macro button.
Similar to the Rubber Ducky, there is also Bad USB, which can also come with WiFi, when an ESP8266 is added, aka WiFi Ducky.
Can you make video on how to set internal RTC of esp using Arduino ide. And accuracy of that RTC in normal condition.
Interesting video... Just wonder that changing(DIYing) bluetooth 3.0 device to 5.0 is possible or not.
Thank you very much for your again excellent video.
In this video I saw that you are using winSCP; I am not anymore.
A few weeks ago I was looking for a bottleneck in a transfer of larger files.
I noticed that the communication with SCP via winSCP is extremely slow. Still slow with SFTP via winSCP. SFTP via Filezilla met my expectations. Since you always allow ssh access to a device, SFTP works without additional installations.
I wish everyone a nice summer :-)
Thanks for the tip. I do not use it often and only for very short scripts. So I did nor recognize it.
Thank you. Nice video. But I missed a word about joysticks. And I still did not order some Micros and ESP32s to play with HID. I'm going to order some, and a XY joystick module. My previous box with 11 buttons, rotary encoder and a Leonardo is working great. Need to swap the Leo for a Micro and maybe try to make it wireless using an ESP32.
Have some well deserved holidays. See ya in two weeks!
As you know: Joysticks are very easy. Just connect them to analog pins.
Thank you!
For HID and usb MIDI, I use Teensy's boards, more power, cheaper and well documented, fully arduino IDE compatible. You should make a vid about these boards, they are my prefered boards this last years...
Their problem always was the worldwide availability of the price of shipment. But maybe it changed.
@@AndreasSpiess I order it at robotshop Europe, cheapest and low shipping price www.robotshop.com/de/en/teensy-lc-usb-microcontroller-development-board.html (I'm based in France, but they have many plateforms in europe, I'm sure you could get shipped in switzerland).
I have to look at a custom keyboard for Blender 3D and Resolve now... so many projects, so little time!
@@AndreasSpiess While I think on, I found a lovely smooth rotary encoder (no knob though). www.amazon.com/Signswise-Incremental-Encoder-Dc5-24v-Voltage/dp/B00UTIFCVA
Not exactly cheap but the motion is lovely and it spins freely without any detents. Should make a lovely jog dial for Resolve.
I really need to check and see how much of their API is open because that would be an amazing project for makers!
EDIT: and just like that, I find this...
diop.github.io/davinci-resolve-api/
Now all I need to do is see how those panels work and if we we need little displays in there!
If you simulate it pressing windows + print screen, you get a screenshot button, preferable as a foot pedal
@@AndreasSpiess forgot to tell that they automatically get sorted into a folder inside of your windows default 'picture' folder
I don't know why atmega32 is so expensive. Stm32f103 (blue pill) is far more cheap, powerful, and can emulate many usb devices even audio or storage.
@@AndreasSpiess Be aware of the fake chips (most of them right now) on bluepills. They have no serial boot loader installed, then you have to upload the software via stlink (at least one time for uploading maple bootloader. After this, you can upload via USB.
And be aware of stlink clones. Some of them has incorrect pin markings. If it does not work, check the correct pinout directly in the board.
@@anvz6 also the watchdog timer is disabled in some counterfeit chips.
@@anvz6 Can you tell us who sells real Bluepills ? I have never received fake chips but has only purchased ca 20 boards.
3 great exports form Switzerland: (ex-)cyclist Fabian Cancellara, electropop group Yello and ... (bi)weekly videos from Andreas :p Enjoy your holiday!
To be named in one line with Cancellara and Yello is a real honor for me. Thank you.
This is helpful. Do you know if the keyboard library works with a bbc micro:bit?
@@AndreasSpiess The BBC micro:bit is a small (4x5cm) board intended for educational use. Every 11 year old kid in Britain received one to use in class, starting in 2016 (over a million to date). Its based around the Nordic nRF51822 and includes bluetooth, native USB, and the thing that makes it interesting for my application, an accelerometer, two uncommitted buttons, and a 5x5 led matrix. It will even run off a pair of AA batteries, the kit includes a holder. And they are cheap, US$15, while the comparable arduino BLE nano lacks the light matrix and uncommitted buttons, for US$21.
(I am trying to build a simulator for a hand bell, that could be assembled from a cheap off the shelf board, without the need for any soldering. All it would require is attaching some kind of handle, and loading software to make the thing, greatly reducing the skills needed to build yourself some. Its intended to be used with simulation software that currently just detects key presses. So I need bluetooth keyboard to press the buttons, the accelerometer to detect when you swung the bell, and the buttons/lights so you can select the note the bell will play)
HID is a place where CircuitPython can be a lot of fun and save time in the developpement.
Take any M0 (or M4) CircuitPython board, even a Gemma or Trinked M0 and you are ready to inject USB key/mouse/media button.
If you want some BLE fun, you can use any nRF52840 board and do that too (and simultaneously USB and BLE HID). I would go for the ItsyBitsy family if size matter.
My usage has been to keep the computer/VDI connection alive while teleworking, jiggling the mouse in tiny circlar motion (octogonal move really) is enough to keep it alive but not disturbing for the user.
Checkout QMK repo for mechanical keyboards, I use them to flash my keyboards!
we should al enjoy the (beautiful) weather outside so no problem that there's not a weekly video in July and August!
That rubber ducky reminded me of a thing I made about 12 years ago... an attiny85 on a piece of stripboard that also was used as usb connector. And the only thing it did, was running a modified v-usb example to randomly press capslock. It was a single use item, because after successful use it destroyed and thrown out of the window by its victim. ;)
By the way, it is possible to make usb a little bit more secure by not allowing every device. There are tools like this: usbguard.github.io/
(On Debian and Debian based Linux Distributions it is just an "apt install usbguard" away)
@@AndreasSpiess I searched a bit and I found remains of it on an old archive disk! It was 10 years ago and not 12. And it was this thing: imakeprojects.com/Projects/haunted-usb-cable/
And the only modification to the code was that I limited it to Caps Lock because Keys like "space" were too dangerous. ("rm -rf /var/cache/something/*" could become "rm -rf / var/cache/something/*")).
And yes, it was fun for everyone but the poor victim. ;)
Just to make it clear, this is not my website and I just used their code and schematic.
What I found on my archive was the downloaded code and the modified version. I used this to find the above mentioned website.
And yes, their idea and presentation was very good (but the code was a bit too dangerous, space or enter keys can be bad when they meet a root shell).
I will create a REALLY BIG Ctrl+c ,Ctrl+v & stackoverflow button
Thank you Andress
This has become my favourite UA-cam channel. Every video is just gold.
I'm going to treasure them even more with the new rate, but I totally understand slowing down. It is insane how much effort is invested here.
Thanks for your work Andreas, enjoy the free time.
already is one of my favs!.. make sure to hit the bell icon and select ALL.. so you too can sit in the front row! :P
Glad you like them! You are right, some effort goes into the videos ...