HackerHotel2019Badge

From Badge team
Revision as of 16:21, 1 March 2019 by JennyList (talk | contribs) (Software)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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[edit]

HH BadgeTeam.jpg

https://github.com/HackerHotel/PCB

Software[edit]

On the badge[edit]

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[edit]

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[edit]

Debugging[edit]

Audio[edit]

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[edit]

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()