Difference between revisions of "HackerHotel2019Badge"
(10 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
==[[HackerHotel2019Badge/Hardware|Hardware]]== | ==[[HackerHotel2019Badge/Hardware|Hardware]]== | ||
− | + | [[File:HH BadgeTeam.jpg|thumb]] | |
*[[HackerHotel2019Badge/Gettingstarted|Getting Started!]] | *[[HackerHotel2019Badge/Gettingstarted|Getting Started!]] | ||
*[[HackerHotel2019Badge/Soldering|Solder All The Things]] | *[[HackerHotel2019Badge/Soldering|Solder All The Things]] | ||
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]]. | ||
+ | |||
+ | For beginners, we've produced [[Tutorials/Your_First_Egg_(for_uGFX_badges)|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 [[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 31: | ||
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. | ||
− | * [[HackerHotel2019Badge/audio| | + | * [[HackerHotel2019Badge/audio|Audio support]]. |
* [[HackerHotel2019Badge/IR|IR]] support with many [[HackerHotel2019Badge/IR#Codecs|codecs]]. | * [[HackerHotel2019Badge/IR|IR]] support with many [[HackerHotel2019Badge/IR#Codecs|codecs]]. | ||
+ | * Serial menu's via <code>screen /dev/ttyUSB0 115200</code> | ||
+ | |||
+ | == Debugging == | ||
+ | |||
+ | == Audio == | ||
+ | |||
+ | If the sound is weird, please first check the [[HackerHotel2019Badge/audio#Mixer_ctl|software tweaks]]. | ||
+ | |||
+ | But you might want to do a [[HackerHotel2019Badge/Hardware#Audiojack_reversed|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. | ||
+ | |||
+ | <nowiki>import badge,appglue | ||
+ | |||
+ | badge.nvs_set_str("badge", "wifi.ssid", "YourSSID") | ||
+ | badge.nvs_set_str("badge", "wifi.password", "YourP4ssW0rd") | ||
+ | |||
+ | appglue.start_ota()</nowiki> |
Latest revision as of 16:21, 1 March 2019
Badge project for HackerHotel 2019 15 – 17 Feb 2019
https://pad.ijhack.nl/p/hackerhotel2019
Contents
Hardware[edit]
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]
- 2+ years of MicroPython changes.
- Audio support.
- IR support with many codecs.
- Serial menu's via
screen /dev/ttyUSB0 115200
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()