Register / Login  |  Desktop view  |  Jump to bottom of page

Built using tcMenu / embedCONTROL » AVTokyo 2022 badge

Author: diysciborg
17/11/2022 09:49:11
AVTokyo (https://www.avtokyo.org/avtokyo2022) is a security conference that occurs after CodeBlue (https://codeblue.jp/2022/).
While CodeBlue is a serious pan pacific security conference, AVTokyo is more casual, with the motto "no drink, no hack"

Several years back, I started the tradition with AVT of tech badges, after seeing all the global event badges on the likes of HackADay and getting jealous smilie
That first badge was just an arudino based POV sign which read "AVTokyo" and a binary counting game.
Since then, many others have made AVT badges.
Then Covid hit.
Finally, this year, AVT had their first in person event since 2020. So I offered to make a new badge.
I had grand ambitions, and, with the support of my company, managed to execute on most of them.

TFT_eSPI, tcMenu and taskManagerIO really made it happen.

Here are the results:https://github.com/epremeaux/AVTokyo_2022_Badge

The display is 1.69 inch IPS 240x280 pixel repurposed from smart watches and available on aliexpress for about $5.
Theres also a 5 way directional switch (joystick plus press select), two game buttons (A and B), temperature/humidity sensor and accelerometer.
It runs on ESP32 8MB (as delivered, we only use about 20% of code space, so BUCKETLOADS of space for more games and tools).

The main "activity" of the badge is to post MQTT messages to our server over the venue wifi (server is not remote). We received temperature, humidity, and battery voltage from 200 devices for 6 hours. We handled half a million messages.

I had done battery testing, and even without power saving modes, a good quality 18650 battery lasted over 8 hours. Even so, we made sure the design had integrated USB charging.

So, the menu system allowed the user to
- reconfigure their wifi and MQTT settings after the event for their own services
- change backlight settings
- save their name or handle or twitter name.. whatever
- operate as in "name badge mode" to show the above
- play two games. One was a 50 question quiz. The other is a clone of Snake.
- perform WIFI and Bluetooth scans
- plot all sensor data, including accelerometer

In addition to the badges and the mqtt server (and associated plot pages), I also built 3 ESPs as hidden access points for a "bug hunt". The players could use the badge wifi scan tool to locate the hidden ap. Once found, they could scan a QR code using smart-phone which took them to a guest book page they could sign. It was fun to see all the various script attack attempts roll in. smilie



Author: davetcc
20/11/2022 13:17:06
Thanks for taking the time to write it up, it's always really good to see how the libraries are used in the wild. Great project.




Register / Login  |  Desktop view  |  Jump to top of page