HackerHotel2019Badge

From Badge team
Jump to navigation Jump to search

Badge project for HackerHotel 2019 15 – 17 Feb 2019

https://pad.ijhack.nl/p/hackerhotel2019

HackerHotel badge.png

Hardware

HH BadgeTeam.jpg

https://github.com/HackerHotel/PCB

Software

On the badge

The badge firmware provides a launcher, an installer, and a set of pre-installed eggs. Users can install more eggs by running the installer from the launcher menu.

Developers can easily create their own MicroPython eggs, for which there is a MicroPython badge API reference.

For beginners, we've produced a tutorial in which we take you through the creation of a Hello World egg.

Publishing apps can be done on the hatchery at https://badge.team, or directly to the badge itself via USB if you are not ready to share your code with the world. We have a step-by-step guide to USB deployment for first-time developers which should allow you to get your app working on your badge.

Firmware

The firmware for this badge can be found at https://github.com/badgeteam/ESP32-Firmware .

The HackerHotel2019 badge will run on our combined firmware.

This makes LTS a lot easier because updates for one badge will usually be applied to the firmware of other badges too.

Biggest changes

Debugging

Audio

If the sound is weird, please first check the software tweaks.

But you might want to do a hardware mod too.

I forgot to OTA and there is no wifi setup app

Easiest solution: Setup a hotspot SSID Hackerhotel-insecure

Nicer solution:

Connect via USB serial, press enter to get to the REPL shell.

import badge,appglue

badge.nvs_set_str("badge", "wifi.ssid", "YourSSID")
badge.nvs_set_str("badge", "wifi.password", "YourP4ssW0rd")

appglue.start_ota()