Difference between revisions of "HackerHotel2019Badge/Hardware"

From Badge team
Jump to navigation Jump to search
Line 33: Line 33:
 
|}
 
|}
  
So Left and GND are reversed. This results in a weird sound on headphones. We [[HackerHotel2019Badge/audio#mixer_ctl|fixed it partially in software]] for passive headphones. For active headphones and amplifiers a hardware mod is required, reversing the two pins.
+
So Left and GND are reversed. This results in a weird sound on headphones. We [[HackerHotel2019Badge/audio#Mixer_ctl|fixed it partially in software]] for passive headphones. For active headphones and amplifiers a hardware mod is required, reversing the two pins.

Revision as of 14:36, 11 February 2019

Mostly a straight up copy of SHA2017Badge with added IR and I2S Audio.

IR

940nm IR transceiver

Audio

I2S PCM5102A DAC

Errata

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

Audiojack reversed

We made another booboo: the audiojack has some reversed pads. (we accidentaly rotated the footprint)

PCM5102 3.5mm Jack
Right Right
Left GND
GND Left

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.