Updated Internal speaker (markdown)

Erwin Ried 2020-08-02 20:18:49 +02:00
parent 56f975e5d5
commit 534f444aaa

@ -1,37 +1,36 @@
![HackRF Portapack speaker connector J1](https://media.discordapp.net/attachments/719669765253365763/723224990182277270/Captura_de_Pantalla_2020-06-18_a_las_14.17.35.png)
# Pinout
The pinout is quite simple.
A speaker has 2 wires, SPK+ and SPK-
Both versions have a similar layout for the pins you need to use. In the H1, the connector might not be populated and look like this:
At rest, a speaker floats on a magnetic field in the middle of it's range. When SPK+ is high the speaker moves forward. When SPK- is high the speaker moves backwards. The distance forward and backwards depends entirely on the voltage level.
[[img/hw_h1_speaker_pinout.png]]
On the H2, normally the connector and cable is included as seen here:
[[img/hw_h2_speaker_pinout.png]]
For both versions, you need a small speaker. Typically a laptop speaker will work, for example:
https://s.click.aliexpress.com/e/_dWBRFr2
Connect `SPK+` and `SPK-` to the speaker and use double sided tape to fix it to the PCB.
## Additional details
A speaker has two wires, `SPK+` and `SPK-`. While there is no sound, the speaker floats on a magnetic field in the middle of its range. When `SPK+` is high the speaker moves forward. When `SPK-` is high the speaker moves backwards. The distance forward and backwards depends entirely on the voltage level.
On the PortaPack, the speaker connector has 3 pins.
SPK+ is the pin nearest to the edge of the board
skip the middle
SPK- is towards the centre of the board
`SPK+` is the pin nearest to the edge of the board
`GND` is the connector in the middle, skip it
`SPK-` is towards the centre of the board
When you add the new speaker you may find that there is no audio. By default the speaker is disabled.
### H1 specific setup
On the H1, when you add the new speaker you may find that there is no audio. By default the speaker is disabled.
To enable the speaker:
Settings
UI Settings
Ensure Hide H1 Speaker option is disabled (a red X)
Click Save
1. Settings
2. UI Settings
3. Ensure Hide H1 Speaker option is disabled (a red **X**)
4. Click Save
Now a speaker icon will be present on the top line of the display.
If the icon has an X it is muted. You can click on it to unmute, it will turn green.
If the icon has an **X** it is muted. You can click on it to unmute, it will turn green.
Below wall of text is for search engines:
hackrf speaker
hackrf speaker mute
portapack speaker
portapack speaker mute
hackrf J1
portapack J1
hackrf pinout
portapack pinout
hackrf spk+ spk-
portapack spk+ spk-
hackrf sp+ sp-
portapack sp+ sp-