Electronics

BadUSB USB Virtual Keyboard Development Board ATMEGA32U4 Beetle Compatible

AED 45.95

1

Description

The "Beetle" Compatible Board, a streamlined version of Arduino Leonardo, offers robust capabilities at a lower cost, catering to DIY projects, workshops, education, and more. Powered by an Atmel AtMega32u4 clocked at 16MHz, it features ample interfaces including digital pins, analog pins, and PWM channels. Micro USB compatibility enhances ease of use, making it an ideal solution for budget-conscious students and makers. Additionally, it can be utilized for creating virtual keyboards or addressing security vulnerabilities like BadUSB.

 

Features:

  • Compact Design: The "Beetle" Compatible Board boasts a minimalized form factor, making it suitable for portable and space-constrained projects.
  • Arduino Leonardo Compatibility: Despite its size, it offers strong capabilities similar to Arduino Leonardo, ensuring compatibility with a wide range of Arduino sketches and libraries.
  • Cost-Effective Solution: Aimed at addressing low-cost controller challenges, it provides an affordable option for DIY projects, workshops, E-Textiles, and educational purposes.
  • Atmel AtMega32u4 Microcontroller: Powered by an AtMega32u4 microcontroller clocked at 16 MHz, it delivers reliable performance for various applications.
  • Abundant Interfaces: With 10 digital pins, 5 analog pins, and 4 PWM channels, it offers versatile connectivity options for interfacing with sensors, actuators, and communication modules.
  • Micro USB Compatibility: Featuring Micro USB compatibility, it simplifies programming and testing processes, enhancing user convenience.
  • Flexible Applications: Beyond traditional controller functions, it supports advanced features such as mouse and keyboard emulation, catering to diverse project requirements.
  • Key Chain or Wallet Compatibility: Its compact size allows for easy attachment to a key chain or storage in a wallet, ensuring accessibility wherever you go.
  • Security Application Potential: Capable of being used for security-related applications like creating virtual keyboards or addressing vulnerabilities such as BadUSB.

 

Specifications:

  • Microcontroller: ATmega32u4
  • Clock Speed: 16 MHz
  • Operating Voltage: 5V DC
  • Digital I/O Pins: 10
  • PWM Channels: 4
  • Analog Input Channels: 5
  • UART: 1
  • I2C: 1
  • Micro USB: 1
  • Power Ports: 2
  • Flash Memory: 32 KB (4KB used by bootloader)
  • SRAM: 2.5 KB
  • EEPROM: 1 KB

 

Pinout:

 

How the Board Works:

  • The board functions as a versatile microcontroller platform, offering various digital and analog I/O options for connecting sensors, actuators, and communication modules. It operates at 5V DC and can be programmed using the Arduino IDE.

 

 

Code:

This simple board is small enough to be attached to a key chain, kept in a wallet, etc. In this video, I show how to make a sketch that turns this Arduino-compatible device into a keyboard. This isn't just any old keyboard, but a keyboard that types predefined things when plugged in. Just like a Rubber Ducky or other BadUSB devices. Example code I put together super quickly, to demonstrate the key features of the Keyboard. h library:

Key codes are available in this header file. The library where this belongs comes with the Arduino IDE:

to see the Keyboard.h Click Here

 

#include "Keyboard. h"
void setup() {
 Keyboard.begin();
 delay(1000);
 Keyboard.press(KEY_LEFT_GUI);
 Keyboard.press('r');
 delay(10);
 Keyboard.releaseAll();
 delay(200);
 Keyboard.print("notepad");
 Keyboard.press(KEY_RETURN);
 delay(10);
 Keyboard.releaseAll();
 delay(500);
 Keyboard.print("This message will self destruct in 5 seconds!");
 delay(5000);
 Keyboard.press(KEY_LEFT_CTRL);
 Keyboard.press('a');
 delay(10);
 Keyboard.releaseAll();
 Keyboard.press(KEY_DELETE);
 delay(10);
 Keyboard.releaseAll();
 Keyboard.press(KEY_LEFT_ALT);
 Keyboard.press(KEY_F4);
 delay(10);
 Keyboard.releaseAll();
 Keyboard.end();
}
void loop() {
 // put your main code here, to run repeatedly:
}

 

Package Includes:

  • 1 x "Beetle" Compatible Board
  • 1 x Pin Headers