Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/beboxos/circuitpython into …
Browse files Browse the repository at this point in the history
…main
  • Loading branch information
beboxos committed Sep 24, 2021
2 parents fe00eb2 + 9e2a022 commit 8ff75c2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Seeed XIAO/UartToHID/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<h1> UART to HID </h1>

1. What is for ?

this little code is to use a seeed xiao as HID proxy. For example an ESP32 can't have HID function. with UART to HID you can manage keyboard stroke thru command sended over UART.
language command is simple because it's the well known [Hak5 Rubber ducky language](https://docs.hak5.org/hc/en-us/articles/360010555153-Ducky-Script-the-USB-Rubber-Ducky-language).

i added a little trick that let you use XIAO as classic autonomous USB rubber ducky like. At boot le script start by running all commands in boot.txt (in [this example](https://github.com/beboxos/circuitpython/blob/main/Seeed%20XIAO/UartToHID/boot.txt) at start wait 1 second then press GUI aka windows key then wait 1 second and press again GUI key) once code is finished it start waiting commands on UART.

i fixed speed to classic 9600 bauds.

by default i fixed keyboard layout to FR azerty keyboard edit first line to layout = us for us keyboard

Warning : use libs from this repository because i have modified them to fit in xiao and added some feature in it.

i build and hardware with grove plug to be compatible with M5stack devices

![img](images/20210923_221442.jpg)

then here is an example of code on m5stack core 2 UIFLOW

![img2](images/20210923_221620.jpg)

![code](images/m5.png)

0 comments on commit 8ff75c2

Please sign in to comment.