MCU
The microcontroller used in the Hackbat Badge is the ESP32-C3 from Espressif. The format used is the WROOM. This microcontroller features a RISC-V single-core processor, WIFI at 2.4GHz IEEE 802.11b/g/n-compliant, Bluetooth LE 5.0, and a bunch of peripherals like SPI, I2C, UART...
This microcontroller can be programmed using either the Arduino IDE or the official ESP-IDF.
LED
LED are a must in any badge. The Hackbat Badge has 4 smart LEDs, the WS2812. This LED hs a controller integrated so you can choos the color using a serial protocol. The best of these LED is that you can conenct many of them in series, and send different commands to each one.
POWER SUPPLY
The board can be powered either the USB port or from the battery connector. In the last version of the board, a diode will protect the USB connection of the battery voltage. In addition, a power switch is added to the battery connection so, when the USB is not connected, this switch will turn on/off the badge.
If you received this board at DEFCON, the diode D9 is not connected correctly, so you need to disconnect the battery before connecting the USB. In the version of the board available in the repository, this mistake has been fixed.
LAYOUT
The layout of the board is designed to looks like an old GAMEBOY, havning 6 push-buttons, and the OLED display. The microcontroller is located in the bottom part of the board, like the USB connector. The backside of the Badge is reserved for a case with three AA cells.
Get Yours
The HackBat Badge is open-source, so you can use the output files to manufacture your own in JLCPCB. You just need to compress the production_files
directory, and upload it to JLCPCB.
Remember to change the Surface Finish to LeadFree HASL to make your board ROHS compliant. Also, the original board uses a Black PCB color, so if you want to keep your Hackbat like the original, you can select this color to be sure that the silkscreen is seen correctly.
Then you have to add the PCB Assembly service and upload the centroid file, and the BOM.
In a few days, you will receive your board at home.