Cowboys vs Dinosaurs Badge

Cowboys vs Dinosaurs Badge Documentation

Download as .zip Download as .tar.gz View on GitHub

Hero Image

Cowboys vs Dinosaurs Badge

Welcome to the Cowboys vs Dinosaurs Badge website.

This badge was designed for the 3000 Society conference in May 2024. It will also be made available at the DEFCON 32 conference in Aug 2024.

On this page you will find all the details about this badge including an operations guide, an assembly guide (for those building the badge from a kit), and a detailed review of the art and cicuit design and pcb design.

@alt_bier - My Contact Info


Touch Image

Details

The badge theme was based on the 3000 Society conference theme of “Cowboys vs Dinosaurs”. Since this is a gaming conference I thought it was apppropriate to have them facing off at a card game with a playing card background.

This badge includes an ESP32 Wemos Lolin32 development board, six neopixel addressable LEDs, six traditional one color LEDs, and five capacitive touch areas, all powered by a LIPO battery.

Since the ESP Dev board has an embedded battery charge circuit the schematic for the badge is fairly simple. The PCB layout and tracing was a challenge due to all the solder mask voids and capacitive touch areas.

Schematic PCB

Kit Assembly

Assembly Instructions for the Cowboys vs Dinosaurs Badge kit can be found here: Cowboys vs Dinosaurs Badge Assembly Instructions

An assembly video can be found here: Cowboys vs Dinosaurs Badge Assembly Video

Badge_Kit

Badge Operations

Here are the basics for operating the badge.

Power Switch and Battery Charging

This badge uses an ESP32 Development board with a USB-C connector that is connected to and powered by a LIPO rechargeable battery.

The power switch on the badge is a direct cutoff to the LIPO battery. So the switch must be in the ON position in order to charge the battery from the dev board.

The switch is in the OFF position when it is closer to the battery.

Power Switch Image

To charge the battery follow these steps:

Touching Cowboys - Flush Game

Pressing the word “Cowboys” will light up the two cowboys faces for a few seconds before returning to the default LED mode. Cowboys Image

Holding a long press of 20 seconds on the word “Cowboys” will enter the Flush game mode. This is a simple game that will light the five LEDs in the table area with different colors each time you press “Cowboys” and it will keep them all lit if all five LEDs have matching colors indicating you got a flush and won. This LED mode can be disabled by long pressing “Cowboys” again or by power cycling the badge. Flush Image

Touching Dinosaurs - Reaction Game

Pressing the word “Dinosaurs” will light up the two dinosaurs faces for a few seconds before returning to the default LED mode. Dinosaurs Image

Holding a long press of 20 seconds on the word “Dinosaurs” will enter the Reaction Time game mode. This is a simple game that turn on each of the four card LEDs one at a time before turning them off again. Pressing “Dinosaurs” will stop the LEDS in thier current positions for a few seconds. The goal of the game is to try to stop it with all four LEDs lit. This LED mode can be disabled by long pressing “Dinosaurs” again or by power cycling the badge. Reaction Image

Touching 3000

Pressing the word “3000” will flash the center lights briefly in a boop effect. This was added in code revision 2 so if this does nothing then you are running an older code version.

Touching Society - Adventure Game

Pressing and holding the word “Society” for a long press of 20 seconds you will enter the Adventure game. This will light the status LED red and then spin up a wireless access point with the name “cvd-badge-" and a web server on 192.168.1.31 Connect to the access point which is open and does not require a password, then browse http://192.168.1.31 to start the adventure. This is a simple choose your own adventure game. This was added in code revision 2 so if this does nothing then you are running an older code version.