Difference between revisions of "HackerHotel2019Badge"
Line 13: | Line 13: | ||
==[[HackerHotel2019Badge/Software|Software]]== | ==[[HackerHotel2019Badge/Software|Software]]== | ||
− | https://github.com/badgeteam/ESP32-Firmware | + | === 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 [[MicroPython|a MicroPython badge API reference]]. | ||
+ | |||
+ | 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 [[Simple_Egg_Deployment|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. | The HackerHotel2019 badge will run on our combined firmware. | ||
Line 19: | Line 29: | ||
This makes [[LTS]] a lot easier because updates for one badge will usually be applied to the firmware of other badges too. | This makes [[LTS]] a lot easier because updates for one badge will usually be applied to the firmware of other badges too. | ||
− | ===Biggest changes=== | + | ====Biggest changes==== |
* 2+ years of [[HackerHotel2019Badge/MicroPython|MicroPython]] changes. | * 2+ years of [[HackerHotel2019Badge/MicroPython|MicroPython]] changes. |
Revision as of 12:47, 26 February 2019
Badge project for HackerHotel 2019 15 – 17 Feb 2019
https://pad.ijhack.nl/p/hackerhotel2019
Contents
Hardware
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.
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
- 2+ years of MicroPython changes.
- Audio support.
- IR support with many codecs.
- Serial menu's via
screen /dev/ttyUSB0 115200
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()