No video

Turn your ESP8266 into a USB Keyboard and Mouse - Easy Tutorial

  Рет қаралды 26,992

Maker's Fun Duck

Maker's Fun Duck

Күн бұрын

In this video, I will show you how to turn your ESP8266 microcontroller into a keyboard and mouse. This is a great project for those who want to control their computer remotely or automate their computer tasks. We will walk you through the process step-by-step, from setting up the the toolchain to programming the ESP8266 to emulate keyboard and mouse functions.
We will provide you with all the code you need, and you don't need any additional hardware other than an ESP8266 board and only one resistor. So, whether you're a beginner or an experienced maker, you'll be able to follow along and create your own ESP8266 keyboard and mouse in no time!
So, sit back, grab your ESP8266, and let's get started!
Executable docker image to easily compile and flash for the ESP32 and ESP8266 :
github.com/T-v...
Link for the project files:
github.com/cnl...
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 - Intro & summary
0:27 - Investigation
0:48 - Soldering, and things to be careful of
2:47- Setting up the toolchain, compiling and flashing the firmware
5:08 - Connecting it to a PC and testing

Пікірлер: 42
@makersfunduck
@makersfunduck Жыл бұрын
Hello all, A correction: the AMS1117 regulator that I used in the has the wrong pinout. The carrier board uses 1-Gnd 2-Vin 3-Vout whereas the AMS1117 is 1-Gnd 2-Vout 3-Vin. If you connect AMS1117, you might get unpredictable results. Instead you should use something like HT7333. Thanks for noticing @Dean Cording.
@DonaldDuvall
@DonaldDuvall Жыл бұрын
Thank you for the video. It and the code helped me realize how I could use one of these for a project I am making for my boys. I have been pulling my hair out, trying to find a USB HID interface chip, with my program running on an arduino or esp(32 or 8266) controlling the TFT Display vis SPI. All I want to do is send keystrokes to the USB port, depending on clicks in my little device. Basically a fancy Macro Keyboard with a touch screen :) I now realize I can do this all on the 8622, with some clever code and proper power management. Please keep on making videos, they are appreciated.
@makersfunduck
@makersfunduck Жыл бұрын
Glad you liked it 🙂 enjoy
@lifeai1889
@lifeai1889 8 ай бұрын
you should use esp32s2
@TheTruthfly
@TheTruthfly Жыл бұрын
very usefull, thanks
@makersfunduck
@makersfunduck Жыл бұрын
You're welcome!
@jonatanrek8109
@jonatanrek8109 8 ай бұрын
Hello, Is possible to create Arduino library from this project for mor easier use ? where you at start define just pins to use and then you can use it similarly to Arduino HID library ? Thank you in advance for answers :)
@destiny_02
@destiny_02 5 ай бұрын
How are you flashing the board without a USB to Serial converter (like ch340) ?
@makersfunduck
@makersfunduck 5 ай бұрын
for the first install, I indeed used an USB to serial converter.
@Malwarekid
@Malwarekid 4 ай бұрын
I really liked your tutorial
@ReynoldStudio
@ReynoldStudio 13 күн бұрын
很不错的视频,我订阅了你。能否唤醒睡眠中的电脑?(It's a great video. I subscribed to you。 Can I wake a sleeping computer?)
@lifeai1889
@lifeai1889 8 ай бұрын
can this be done on the original esp32? esp32s2 and have native usb support but i want to make a keyboard that support both usb mode and bluetooth mode and original esp32 is perfect if it can support bitbanged usb also can you make a libary for use with arduino ide since im more familiar with it
@michaegi4717
@michaegi4717 7 ай бұрын
I did try to do this by combining Adafruit_TinyUSB and BleKeyboardMouse ... but I run out of memory as both are really big libraries.
@Gopichand-gd8mr
@Gopichand-gd8mr Жыл бұрын
If you make a video on how to customise espusb project , and use it in your custom project . It will be will be helpful for us As i am working on a similar project but with custom funcnality
@makersfunduck
@makersfunduck Жыл бұрын
what kind of project are you working on? I shared the code, and installing the toolchain in the video. with a basic C knowledge, it shouldnt be that hard to modify it.
@Gopichand-gd8mr
@Gopichand-gd8mr Жыл бұрын
@@makersfunduck I am new esp8266 programing, i am trying to understand flow of data in espusb project and till now I couldn't find the function which receive data from websocket, which will later be used to control mouse pointer and keyboard, if you reply,it will definitely help me
@YeetTheAn3On
@YeetTheAn3On 5 ай бұрын
Thanks for the video, but how do i use Custom commands? edit: also how do i press windows key over the web interface
@sundae6610
@sundae6610 7 ай бұрын
does it support usb full speed satndard?
@kevinchristianalienza9184
@kevinchristianalienza9184 2 ай бұрын
Can i use esp32s2 ?
@Dewal4
@Dewal4 11 ай бұрын
Is there a way to control Keyboard output USB from microcontroller by itself? Like add some buttons and send message through USB? Without WIFI, phone etc.
@makersfunduck
@makersfunduck 11 ай бұрын
This sketch does not do that. but MAX3421E usb host chip can work. you can find clones easily.
@Dewal4
@Dewal4 11 ай бұрын
@@makersfunduck If it can type from web server, it should can also type from added buttons. I think it can be done. For now I'm using raspberry pico, cheap and can also act like keyboard USB HID
@mhtalha4315
@mhtalha4315 6 ай бұрын
does it support waking up a PC from sleep mode?
@makersfunduck
@makersfunduck 6 ай бұрын
well, it act as a keyboard, and if you want you can program it like a mouse jiggler, so.. yes it is possible.
@tek9ine130
@tek9ine130 Жыл бұрын
can you please elaborate the steps required if i used the esp8266 module? (i mean the development board)
@makersfunduck
@makersfunduck Жыл бұрын
Do you mean the node mcu?
@makersfunduck
@makersfunduck Жыл бұрын
basically if you have the complete module you dont need anything except an usb cable.
@nssp8991
@nssp8991 Жыл бұрын
​@@makersfunduckdo you have discord or anything that I can contact you ? I have the same question about nodemcu
@makersfunduck
@makersfunduck Жыл бұрын
@@nssp8991 What is your question?
@nssp8991
@nssp8991 Жыл бұрын
@@makersfunduck Can I turn my Nodemcu esp8266 into a usb mouse? and can you make a video doing it using a windows os
@JuanCarlos-yz6pu
@JuanCarlos-yz6pu Жыл бұрын
Buen dia, espero que estes bien . cual seria el diagrama para que funcione en esp32? si me podrias ayudar con eso porfavor
@makersfunduck
@makersfunduck Жыл бұрын
you can look up this diagram: github.com/cnlohr/espusb/blob/master/basic-schematic.png
@icnivad9762
@icnivad9762 7 ай бұрын
Can i use esp32
@makersfunduck
@makersfunduck 7 ай бұрын
Well, technically you can. But you need to modify the code to esp32.
@kevinchristianalienza9184
@kevinchristianalienza9184 2 ай бұрын
​@@makersfunduckcan you help modify it to use it in esp32s2.thanks 😅
@jjjjulian
@jjjjulian Жыл бұрын
wifi keyboard x)
@makersfunduck
@makersfunduck Жыл бұрын
Lol. It can be definetaly be called like that
@DeanCording
@DeanCording Жыл бұрын
The 1824 regulator you are using has the wrong pinout for that carrier board. The board is actually very badly designed for use with a regulator as it uses an uncommon pad layout and doesn't have room for any filtering caps.
@makersfunduck
@makersfunduck Жыл бұрын
Thanks for your remakr. I did not used a 1824 regulator. I have used an ams1117 regulator (3.3 V) so it matches the pinout of this breakout board. However I agree, a filtering cap can improve the design of this breakout board. For this demonstration though, it is not causing any troulble, since the USB port on my PC provides enough power.
@DeanCording
@DeanCording Жыл бұрын
@@makersfunduck Nope, the AMS1117 regulator has the wrong pinout. The carrier board uses 1-Gnd 2-Vin 3-Vout whereas the AMS1117 is 1-Gnd 2-Vout 3-Vin.
@makersfunduck
@makersfunduck Жыл бұрын
@@DeanCording Thank you for the correction. I pinned your message.
USB клавиатура и мышка на обычной Arduino Nano! EasyHID ч.1
8:03
Заметки Ардуинщика
Рет қаралды 162 М.
V-USB on an ATmega328! - V-USB and HID Explained
14:08
Sine Lab
Рет қаралды 47 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 158 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 49 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 48 МЛН
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 13 МЛН
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 547 М.
How To Turn An Arduino Into A USB Keyboard Or Mouse! | ATMega32U4
7:20
Simple Electronics
Рет қаралды 102 М.
ESP32 - USB Keyboard
3:32
FBELLSAN - Informatica
Рет қаралды 2,7 М.
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 765 М.
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Рет қаралды 1 МЛН
ESP USB: Espressif’s Wireless Communication Solution
6:01
Espressif Systems
Рет қаралды 97 М.
WiFi Duck - Wireless Bad USB w/ ESP8266 + ATmega32u4
3:21
spacehuhn
Рет қаралды 124 М.
Wifi Controlled USB Mouse and Keyboard (ESP8285)
6:45
CNLohr
Рет қаралды 112 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 158 МЛН