Mostly a straight up copy of SHA2017Badge with added IR and I2S Audio.
940nm IR transceiver
I2S PCM5102A DAC
Resistor in the way of flashing
We connected our IR receiver to GPIO12 and added a pullup. That caused an issue because by default that pin is a setting for the EEProm voltage selector. During the Hh2019sweatshop we removed the pullups. We hope to set the pullup in software, but are not sure it will work. In the meantime we also found that you can burn a few fuses so that from now on it just works! Use commands below ONLY with WROVER-B modules!
./espefuse.py --port /dev/ttyUSB0 --baud 115200 burn_efuse XPD_SDIO_FORCE 1 ./espefuse.py --port /dev/ttyUSB0 --baud 115200 burn_efuse XPD_SDIO_REG 1 ./espefuse.py --port /dev/ttyUSB0 --baud 115200 burn_efuse XPD_SDIO_TIEH 1
We made another booboo: the audiojack has some reversed pads. (we accidentaly rotated the footprint)
So Left and GND are reversed. This results in a weird sound on headphones. We fixed it partially in software for passive headphones. For active headphones and amplifiers a hardware mod is required, reversing the two pins.