Difference between revisions of "HackerHotel2019Badge/Hardware"

From Badge team
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
===Resistor in the way of flashing===
 
===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 we could burn a few fuses so that from now on it just works!
 
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 we could burn a few fuses so that from now on it just works!
 +
 +
<nowiki>./espefuse.py --port /dev/ttyUSB0 --baud 115200 set_flash_voltage 3.3V</nowiki>
 +
We have done this for you already, so only do this if you have similar issues with a different product.
  
 
===Audiojack reversed===
 
===Audiojack reversed===
Line 27: Line 30:
 
|-
 
|-
 
|}
 
|}
 +
 +
TODO: soldering pictures!
  
 
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.

Latest revision as of 16:22, 21 February 2019

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

IR[edit]

940nm IR transceiver

Audio[edit]

I2S PCM5102A DAC

Errata[edit]

Resistor in the way of flashing[edit]

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 we could burn a few fuses so that from now on it just works!

./espefuse.py --port /dev/ttyUSB0 --baud 115200 set_flash_voltage 3.3V

We have done this for you already, so only do this if you have similar issues with a different product.

Audiojack reversed[edit]

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

TODO: soldering pictures!

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.