Тёмный

#343 Remote control of PC and Smartphones with DIY HID devices (incl. Rubber Ducky / Bad USB) 

Подписаться
Просмотров 119 тыс.
% 4 860

Human interfaces to computers are essential. This video will focus on our hands inputting data. And a Microcontroller replacing hands for automatic data logging. I will show you five very different projects, and maybe you find a project idea for this summer.
You will have plenty of time because I decided, after five years and 343 videos, to reduce their frequency to “every second Sunday” for July and August.
I am a proud Patreon of GreatScott!, Electroboom, Electronoobs, EEVblog, and others
Links:
Jog Wheel: s.click.aliexpress.com/e/_d7RLvJE or bit.ly/3f0Zsp0 or amzn.to/2VJmJEo
Arduino Pro Micro: s.click.aliexpress.com/e/_dXD6aI8 or bit.ly/2ZzEvel or B07FXCTVQP or B07P8Y3TS8
"Rubber Ducky": s.click.aliexpress.com/e/_dZT0oJA or bit.ly/3gxc1ZD
Microscope: s.click.aliexpress.com/e/_dXtDOHq and s.click.aliexpress.com/e/_dZpEeUM
Code snippets: github.com/SensorsIot/HID-examples
ESP32 BLE Keyboard Library: github.com/T-vK/ESP32-BLE-Keyboard
Overthruster: github.com/RedLectroid/OverThruster
"Inspiration" video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-47TUqyfH6N4.html
The links above usually are affiliate links which support the channel (no additional cost for you).
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
My Patreon Page: www.patreon.com/AndreasSpiess
Discord: discord.gg/JfgDSa8
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
My Amazon.com shop: www.amazon.com/shop/andreasspiess
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For Amazon.de: amzn.to/2r0ZCYI
For Amazon UK: amzn.to/2mxBaJf
For ebay.com: ebay.to/2DuYXBp
profile.php?id=100013947273409
spiessa
www.instructables.com/member/Andreas%20Spiess/
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases

Наука

Опубликовано:

 

5 июл 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 494   
@JosepsGSX
@JosepsGSX 4 года назад
This has become my favourite RU-vid 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.
@WacKEDmaN
@WacKEDmaN 4 года назад
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
@AndreasSpiess
@AndreasSpiess 4 года назад
Glad you like them! You are right, some effort goes into the videos ...
@aatdeheer
@aatdeheer 4 года назад
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!
@AndreasSpiess
@AndreasSpiess 4 года назад
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...
@ronenbarakc.p.a8985
@ronenbarakc.p.a8985 4 года назад
@@AndreasSpiess 0
@impmeister1
@impmeister1 4 года назад
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 :)
@AndreasSpiess
@AndreasSpiess 4 года назад
I hope you will get your license soon!
@jamesgoacher1606
@jamesgoacher1606 4 года назад
There was a great deal of that which reqires re-watching, probably a few times. Thanks for the inspiration.
@AndreasSpiess
@AndreasSpiess 4 года назад
Glad you enjoyed it!
@tonysfun
@tonysfun 4 года назад
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!
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you! And have a nice summer!
@beardedlady6291
@beardedlady6291 4 года назад
The Pi zero with ALOA is a great bit of kit for HID Great video, thank you for another education in tech.
@AndreasSpiess
@AndreasSpiess 4 года назад
Good addition. Thank you!
@Taran72
@Taran72 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
Together we are strong!
@mdijkens
@mdijkens 4 года назад
Exactly what I am working on right now with a 'rubber ducky' and nextion display for a zoom-conference keypad :-) Thanks Andreas!
@AndreasSpiess
@AndreasSpiess 4 года назад
Cool project! You have to share it!
@bbogdanmircea
@bbogdanmircea 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
True. It is a simple and efficient solution to many problems.
@santorcuato
@santorcuato 4 года назад
Have a very good summer Andreas! & you all guys...
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you. You too!
@globalhell5046
@globalhell5046 4 года назад
This man deserves much more subscribers. Excellent and high quality content
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you. Working on it!
@MarionMakarewicz
@MarionMakarewicz 4 года назад
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!
@AndreasSpiess
@AndreasSpiess 4 года назад
You are welcome!
@codigoBinario01
@codigoBinario01 4 года назад
Seeing this working would be really interesting for me, since I use OBS for teaching purposes (avoiding post-production due to time limitations)
@MarionMakarewicz
@MarionMakarewicz 4 года назад
@@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 RU-vid 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.
@alessi4249
@alessi4249 4 года назад
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!
@AndreasSpiess
@AndreasSpiess 4 года назад
Good tip!
@thinkhelpservice
@thinkhelpservice 4 года назад
your videos are great Andreas thank you for all the hard work and time doing this!
@AndreasSpiess
@AndreasSpiess 4 года назад
My pleasure! Glad you like them.
@georgebizos944
@georgebizos944 4 года назад
Useful for anyone who might want to build a flight simulator setup (joystick, throttle, foot-pedals, switches) or setup for other simulators or games.
@AndreasSpiess
@AndreasSpiess 4 года назад
True. I even considered it as a project for the video...
@emmanuelr6698
@emmanuelr6698 4 года назад
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 ?
@AndreasSpiess
@AndreasSpiess 4 года назад
:-)) For my Harley. Would be cool.
@Innopeace
@Innopeace 4 года назад
Nice video. Have a nice holiday. This video is very useful for my DIY HMI Keypad project. Thanks,
@WacKEDmaN
@WacKEDmaN 4 года назад
..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
@AndreasSpiess
@AndreasSpiess 4 года назад
The topics are not new, but I wanted to put them a little together for reference...
@gaborungvari784
@gaborungvari784 4 года назад
interesting ideas, indeed! thanks Andreas and have a nice summer!
@AndreasSpiess
@AndreasSpiess 4 года назад
Thanks, you too!
@emilalmberg1096
@emilalmberg1096 4 года назад
Likes your channel, its content, your voice, your humor and what you do. Why do I feel some frustration in this video?
@AndreasSpiess
@AndreasSpiess 4 года назад
No idea ;-) Have a nice summer!
@SurajGrewal
@SurajGrewal 4 года назад
How's it that everytime I think of doing something, you come up with the solution for the exact problem
@Sailingon
@Sailingon 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
The Nextions for sure are nice for such an application because you can make them also good looking...
@pacolucas7512
@pacolucas7512 4 года назад
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!
@AndreasSpiess
@AndreasSpiess 4 года назад
Maybe I have to sacrifice one and open it...
@christosmoutevelis4896
@christosmoutevelis4896 4 года назад
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 .
@AndreasSpiess
@AndreasSpiess 4 года назад
I deleted Duch now. I do not know why it was there. Maybe because of my accent ;-)
@Opr69
@Opr69 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
Enjoy your projects! This was the goal of my video...
@jasen963
@jasen963 3 года назад
Love the channel my Swiss friend. Really good projects 👍🏻❤️
@AndreasSpiess
@AndreasSpiess 3 года назад
Thank you!
@AndreasWartmann
@AndreasWartmann 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
Thanks for the tip and for sharing your experience!
@daque1960
@daque1960 4 года назад
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
@AndreasSpiess
@AndreasSpiess 4 года назад
I can imagine it was useful!
@avejst
@avejst 4 года назад
Great projects Thanks for sharing 👍😀
@AndreasSpiess
@AndreasSpiess 4 года назад
You are welcome!
@PhG1961
@PhG1961 4 года назад
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 ?
@AndreasSpiess
@AndreasSpiess 4 года назад
Enjoy your summer, too! This is the microscope: s.click.aliexpress.com/e/_dXtDOHq and s.click.aliexpress.com/e/_dZpEeUM
@MartinPDanz
@MartinPDanz 4 года назад
Very I3 (interesting, inspiring, improving) and enjoy your vacation 🙏🏾
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you! Will do! I hope you also have time for holidays!
@ericon.7015
@ericon.7015 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
It is every Sunday 9am my time.
@electronic7979
@electronic7979 4 года назад
Very good project 👍
@AndreasSpiess
@AndreasSpiess 4 года назад
Many thanks
@mohamedmoustafa4332
@mohamedmoustafa4332 2 года назад
Your are expanding my time with your very helpful information, alot of thanks
@AndreasSpiess
@AndreasSpiess 2 года назад
You are welcome!
@YouGenom
@YouGenom 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
You are right if things are connected to a PC
@RickB3n
@RickB3n 4 года назад
Great Work! Very useful!
@AndreasSpiess
@AndreasSpiess 4 года назад
Glad you think so!
@lucapesce3335
@lucapesce3335 4 года назад
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
@AndreasSpiess
@AndreasSpiess 4 года назад
Cool. I wait for your request. Digisparks were mentioned quite a few times. I do not own one...
@sharedinventions
@sharedinventions 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
For PCs this is a much better idea. However, this software runs on the camera and it probably only understands "mouse"
@Electronzap
@Electronzap 4 года назад
Real helpful tutorial! Just subscribed!
@AndreasSpiess
@AndreasSpiess 4 года назад
Welcome aboard the channel!
@AJB2K3
@AJB2K3 4 года назад
A BM jog wheel clone, Thank you Andreas, this is just what I need for DR16
@AndreasSpiess
@AndreasSpiess 4 года назад
Glad you like it!
@petenztube
@petenztube 4 года назад
You deserve a break over the summer! :-)
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you!
@mr.anonymous298
@mr.anonymous298 8 месяцев назад
Thanks sir, for your great efforts You are really a great teacher.
@AndreasSpiess
@AndreasSpiess 8 месяцев назад
It's my pleasure
@mewintle
@mewintle 4 года назад
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!
@AndreasSpiess
@AndreasSpiess 4 года назад
Glad it helped you. This should be the purpose of my videos.
@user-cy3je1xd1c
@user-cy3je1xd1c 4 года назад
Amazing video! Thanks!
@AndreasSpiess
@AndreasSpiess 4 года назад
Glad you liked it!
@tubegor
@tubegor 4 года назад
For this channel thumb up is an understatement. Wonderful button is needed. Here you learn so much with fun.
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you for your nice words! I am proud to have such subscribers!
@michaegi4717
@michaegi4717 4 года назад
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.
@steameier8590
@steameier8590 4 года назад
Do you have instruction guides?
@AndreasSpiess
@AndreasSpiess 4 года назад
Nice project. Many other viewers suggested to use a Teensy for that purpose.
@cyrustakem7993
@cyrustakem7993 4 года назад
Love the videos from the guy you used has example for bluetooth hid, he is very funny
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you!
@sharedinventions
@sharedinventions 4 года назад
Also note the AtTiny85 in the Adafruite-Trinket / Digispark projects as cheap programmable USB HID devices.
@AndreasSpiess
@AndreasSpiess 4 года назад
True. I just do not have one...
@sharedinventions
@sharedinventions 4 года назад
@@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.)
@miltonfreeman8317
@miltonfreeman8317 4 года назад
Idea for a rotary encoder: An old hard-disk from a laptop. GreatScott did a video about that...
@AndreasSpiess
@AndreasSpiess 4 года назад
I got this tip a few times. I have to try it once. Thanks!
@killymxi
@killymxi 4 года назад
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.
@jincyquones
@jincyquones 4 года назад
@@AndreasSpiess Here's the video from GreatScott: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tjCJ3MlFt7g.html
@NiHaoMike64
@NiHaoMike64 4 года назад
@@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.
@photocromax
@photocromax 4 года назад
I wanted to suggest the same solution, but I was sure someone else already did it.
@GlennHamblin
@GlennHamblin 4 года назад
Excellent! Thanks Swiss accent guy!
@AndreasSpiess
@AndreasSpiess 4 года назад
You're welcome!
@abandonedcranium6592
@abandonedcranium6592 3 года назад
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?
@thesmartass57
@thesmartass57 4 года назад
thanks for all, what do you think of this; Contour Design Shuttle Express , kind regards
@AndreasSpiess
@AndreasSpiess 4 года назад
Nice product. Thank you for the link!
@lsual
@lsual 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
You are right. It was mentioned a few times.
@semtex2987
@semtex2987 4 года назад
for the microscope project, a simple pyautogui script on the pc should give you a nifty control of the targetsoftware 😉
@AndreasSpiess
@AndreasSpiess 4 года назад
It has no connection to a PC. Just HDMI for a monitor
@hopje01
@hopje01 4 года назад
Next step an Alexa, Siri, or hey google interface?
@UpcycleElectronics
@UpcycleElectronics 4 года назад
If you can take apart the rotary encoder, the detent is usually just a ball bearing. Remove it and the wheel will spin freely.
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you. I will try it!
@berndeckenfels
@berndeckenfels 4 года назад
The Pro Micro looks Similiar to AtTiny85 8bit MCU which also supports some HID usage.
@AndreasSpiess
@AndreasSpiess 4 года назад
True. Just more pins, memory, and power.
@jorgwende6314
@jorgwende6314 4 года назад
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 ...
@AndreasSpiess
@AndreasSpiess 4 года назад
Good idea. That is maybe what is inside my jog wheel ;-) Maybe I have to open it once.
@gacherumburu9958
@gacherumburu9958 4 года назад
Thanks for the info..👍
@AndreasSpiess
@AndreasSpiess 4 года назад
You are welcome!
@BerndFelsche
@BerndFelsche 4 года назад
Quality over quantity. Two videos a month is fine by me.
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you! I have to get a little more outside this summer...
@KirillStolyarov
@KirillStolyarov 4 года назад
Thank you for nice video
@AndreasSpiess
@AndreasSpiess 4 года назад
Always welcome
@hafkensite
@hafkensite 4 года назад
I used the digispark which has a attiny85, and can do usb hid for keyboard and mouse
@AndreasSpiess
@AndreasSpiess 4 года назад
Also a good choice. Maybe a little (too) limited for some projects.
@grafmar
@grafmar 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
You are right. I knew them, but never tried one.
@BastelPichi
@BastelPichi 4 года назад
7:55 Great Scott made a video how to use a hhd motor as a rotary encoder. He gots preety much the same issue.
@AndreasSpiess
@AndreasSpiess 4 года назад
Somebody posted a link. A great video!
@pandarojodronero2919
@pandarojodronero2919 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
Very cool!
@ThePortugueseHandyGuy
@ThePortugueseHandyGuy 4 года назад
You can also send a tab + enter keys, should be easier
@AndreasSpiess
@AndreasSpiess 4 года назад
For the camera? I am not sure it understands keystrokes. The software runs in the camera.
@TechnikZaba
@TechnikZaba 4 года назад
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
@AndreasSpiess
@AndreasSpiess 4 года назад
Thanks for the two tips!
@AjinkyaMahajan
@AjinkyaMahajan 4 года назад
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. ✨✨✨✌
@AndreasSpiess
@AndreasSpiess 4 года назад
She will love your project, I am sure!
@notofinterest
@notofinterest 4 года назад
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.
@obc9794
@obc9794 4 года назад
Very useful 👍👍
@AndreasSpiess
@AndreasSpiess 4 года назад
Thanks a lot
@Keksstar
@Keksstar 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
Da müsste ich ein entsprechendes Projekt haben... Aber da gibt es schon viele Videos.
@xero110
@xero110 4 года назад
You can probably disassemble the jog wheel and remove the Ball bearing that “clicks” into a dimple to get smooth free spin movement.
@AndreasSpiess
@AndreasSpiess 4 года назад
Thanks for the tip. I will have a look.
@xero110
@xero110 4 года назад
@@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.
@chrisw1462
@chrisw1462 4 года назад
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
@AndreasSpiess 4 года назад
Somebody suggested a SRGPHJ3200. I do not know if it is any good.
@chrisw1462
@chrisw1462 4 года назад
@@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.
@AndreasSpiess
@AndreasSpiess 4 года назад
I ordered one of those "obsolete" ones...
@SurajGrewal
@SurajGrewal 4 года назад
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.
@mrksaccount123
@mrksaccount123 4 года назад
Will miss the frequency of your videos... but I am sure it is for good reason
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you! It will change back in September.
@markusschmid4257
@markusschmid4257 4 года назад
Andreas, can you please share the link to the inspection camera at 3:48? Thanks in advance!
@AndreasSpiess
@AndreasSpiess 4 года назад
It should be there by now.
4 года назад
Well after looking at your website it seems that RU-vid 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 RU-vid. 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.
@AndreasSpiess
@AndreasSpiess 4 года назад
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".
@VARocketry
@VARocketry 4 года назад
New project suggestion: Adding Amp and BT connectivity to your favorite old school wired (non-powered) speakers.
@AndreasSpiess
@AndreasSpiess 4 года назад
I do not have such speakers :-(
@VARocketry
@VARocketry 4 года назад
@@AndreasSpiess wow! I have a pair of JBL Studio Monitors that are lonely and need repurposing in a BT world.
@Arek_R.
@Arek_R. 4 года назад
I play even your newest videos on 1.5x xD
@AndreasSpiess
@AndreasSpiess 4 года назад
So you must be a bright guy ;-)
@Arek_R.
@Arek_R. 4 года назад
@@AndreasSpiess I just can just listen faster.
@SurajGrewal
@SurajGrewal 4 года назад
Get a hotas- hands on twisters and solder
@jorgwende6314
@jorgwende6314 4 года назад
Thanks for your great videos. Just a question: the github link returns 404 - is this an error on my side ?
@AndreasSpiess
@AndreasSpiess 4 года назад
You are right. It was private. Now it is ok.
@haffolderhaus
@haffolderhaus 4 года назад
The Good. the Bad and the Ugly 🤣👍 One of the best Westerns! Nice Holidays!
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you!
@SurajGrewal
@SurajGrewal 4 года назад
How about putting your laser cutter to work and make a hall effect based jog wheel?
@AndreasSpiess
@AndreasSpiess 4 года назад
Possible. But I have no such laser :-(
@frollard
@frollard 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
That sounds like an excellent application!
@drmocm
@drmocm 4 года назад
Similar to the Rubber Ducky, there is also Bad USB, which can also come with WiFi, when an ESP8266 is added, aka WiFi Ducky.
@AndreasSpiess
@AndreasSpiess 4 года назад
Never heard about the WiFi version. Thanks!
@jenishthumar1904
@jenishthumar1904 4 года назад
Can you make video on how to set internal RTC of esp using Arduino ide. And accuracy of that RTC in normal condition.
@AndreasSpiess
@AndreasSpiess 4 года назад
I made videos about ntp time which includes the internal clock.
@hpmagi7391
@hpmagi7391 3 года назад
Interesting video... Just wonder that changing(DIYing) bluetooth 3.0 device to 5.0 is possible or not.
@AndreasSpiess
@AndreasSpiess 3 года назад
I do not think so.
@Joachim_S
@Joachim_S 4 года назад
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 :-)
@AndreasSpiess
@AndreasSpiess 4 года назад
Thanks for the tip. I do not use it often and only for very short scripts. So I did nor recognize it.
@fluffyblue4006
@fluffyblue4006 4 года назад
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!
@AndreasSpiess
@AndreasSpiess 4 года назад
As you know: Joysticks are very easy. Just connect them to analog pins. Thank you!
@gaeljaton
@gaeljaton 4 года назад
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...
@AndreasSpiess
@AndreasSpiess 4 года назад
Their problem always was the worldwide availability of the price of shipment. But maybe it changed.
@gaeljaton
@gaeljaton 4 года назад
@@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).
@AndreasSpiess
@AndreasSpiess 4 года назад
Thanks for the link!
@marcdraco2189
@marcdraco2189 3 года назад
I have to look at a custom keyboard for Blender 3D and Resolve now... so many projects, so little time!
@AndreasSpiess
@AndreasSpiess 3 года назад
True!
@marcdraco2189
@marcdraco2189 3 года назад
@@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!
@SurajGrewal
@SurajGrewal 4 года назад
If you simulate it pressing windows + print screen, you get a screenshot button, preferable as a foot pedal
@AndreasSpiess
@AndreasSpiess 4 года назад
Good idea. Especially for me as a RU-vidr. Thanks!
@SurajGrewal
@SurajGrewal 4 года назад
@@AndreasSpiess forgot to tell that they automatically get sorted into a folder inside of your windows default 'picture' folder
@anvz6
@anvz6 4 года назад
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
@AndreasSpiess 4 года назад
Maybe I will have a look at the bluepill in the near future...
@McTroyd
@McTroyd 4 года назад
@@Chris-rg6nm "Big Arduino" 🤣 I may have to steal that.
@anvz6
@anvz6 4 года назад
@@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.
@alfredopreciadomolina1576
@alfredopreciadomolina1576 4 года назад
@@anvz6 also the watchdog timer is disabled in some counterfeit chips.
@mannhansen9337
@mannhansen9337 4 года назад
@@anvz6 Can you tell us who sells real Bluepills ? I have never received fake chips but has only purchased ca 20 boards.
@sledgeHammerRulez
@sledgeHammerRulez 4 года назад
3 great exports form Switzerland: (ex-)cyclist Fabian Cancellara, electropop group Yello and ... (bi)weekly videos from Andreas :p Enjoy your holiday!
@AndreasSpiess
@AndreasSpiess 4 года назад
To be named in one line with Cancellara and Yello is a real honor for me. Thank you.
@rjnerd
@rjnerd 4 года назад
This is helpful. Do you know if the keyboard library works with a bbc micro:bit?
@AndreasSpiess
@AndreasSpiess 4 года назад
I fo not know the micro bit :-(
@rjnerd
@rjnerd 4 года назад
@@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)
@AndreasSpiess
@AndreasSpiess 4 года назад
Good luck with your project.
@DavidGlaude
@DavidGlaude 4 года назад
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.
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you for the tips. Micropython is on my list...
@SlykeThePhoxenix
@SlykeThePhoxenix 4 года назад
Checkout QMK repo for mechanical keyboards, I use them to flash my keyboards!
@AndreasSpiess
@AndreasSpiess 4 года назад
Interesting project. It was new to me. Thanks!
@rianderous8761
@rianderous8761 4 года назад
we should al enjoy the (beautiful) weather outside so no problem that there's not a weekly video in July and August!
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you! I enjoyed this "free" weekend...
@zvpunry1971
@zvpunry1971 4 года назад
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. ;)
@zvpunry1971
@zvpunry1971 4 года назад
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
@AndreasSpiess 4 года назад
Thanks for the link. And this was a funny project, I am sure...
@zvpunry1971
@zvpunry1971 4 года назад
​@@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. ;)
@AndreasSpiess
@AndreasSpiess 4 года назад
Very good idea and presentation! Maybe for Halloween ;-)
@zvpunry1971
@zvpunry1971 4 года назад
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).
@window.location
@window.location 4 года назад
I will create a REALLY BIG Ctrl+c ,Ctrl+v & stackoverflow button Thank you Andress
@AndreasSpiess
@AndreasSpiess 4 года назад
Sounds great!
@hellelujahh
@hellelujahh 4 года назад
PUSH IN CASE OF EMERGENCY 😁
@0dyss3us51
@0dyss3us51 4 года назад
Your cat is beautiful :) very interesting video
@AndreasSpiess
@AndreasSpiess 4 года назад
Thank you! I will tell her ;-)