Go Down

Topic: LilyGo BadUSB - ATMEGA32U4 - Info & Pinouts (Read 230 times) previous topic - next topic


Mar 24, 2019, 03:02 pm Last Edit: Mar 24, 2019, 04:47 pm by Nico_TheDecoder
Here is some info about LilyGo BadUSB and you are welcome to add more info about the subject.

After I bought some pieces of LilyGo BadUSB, my first thought was that the board should also be used for anything other than keyboard emulation and evil things.

But first, just a little info about keyboard emulation for non-US:
Finding a library for the Arduino IDE for my Keyboard Layout was a bit difficult, but found "Keyboard_DE" and it works: https://github.com/BesoBerlin/Arduino-German-Keyboard

I've tried searching the web for pinouts, schematic and similar.
But ended up separating one of my own LilyGo BadUSB board, and here are some pictures

Found out that it is an ISP connector that is inside and a red LED.

And here are the pinouts:

Pins in Arduino IDE (board is Leonardo):
SCK = 15
MOSI = 16
MISO = 14
LED = 13

Here near the screwdriver we have an LED.

Another picture of PCB

I have also tried playing a bit with SoftwareSerial and works fine with pins 14, 15, 16 (MISO, SCK, MOSI)

Board Specs:
Microcontroller: ATmega32u4
Clock Speed: 16 MHz
Operating Voltage: 5V DC
Digital I / O Pins: 4 (Onboard LED = 13, MISO = 14, SCK = 15, MOSI = 16)
Micro USB: 1
Flash Memory: 32KB, but 4KB used by bootloader (Caterina-Leonardo)
SRAM: 2.5 KB

Link for pictures in high resolution:

Stay safe and stay legal guys/girls!!

Go Up