-
-
Notifications
You must be signed in to change notification settings - Fork 588
Encoder
Note
This section is mostly talking about H2
Encoder for H2/H2+ uses a 30-step EC11 encoder with push button and shaft length of 12.5mm.
A short press of the push button turns on the PortaPack; a long press or two short presses turns off the PortaPack. If no click is felt when the knob is pressed, there may be insufficient clearance between the knob and the case, in which case some padding may be added inside the knob shaft.
A malfunctioning rotary encoder may sometimes work better if the knob is pressed slightly to the left when rotating. Make sure that the Portapack is running firmware version 1.7.1. or later, which improves handling of glitchy switch contacts. Encoder dial sensitivity can also be modified in Settings.
Depending on the shaft of your encoder, you can use diverse knobs:
- Unscrew the screws and SMA connector rings.
- Pull apart the case and carefully separate the PortaPack from the HackRF by gently pulling upwards to disconnect the pins.
- Disconnect the speaker and battery.
The encoder is mounted in a way that makes it difficult to desolder due to pin placement. If you are having trouble with this, try the following technique:
- Use a pair of tin snips to cut the encoder’s leads and remove the encoder.
- Apply flux to the solder pads.
- Carefully heat each pad with a soldering iron, one by one, to remove the clipped leads. This approach reduces strain on the pads and lowers the risk of tearing up the traces.
Warning
The upper-most pin is close to the screen, take care not to scorch it with your soldering iron.
The replacement rotary encoder will likely have long leads designed for through-hole mounting. However, the PortaPack uses surface mounting for this component, so the leads will need to be trimmed down. Here’s how to do it:
Note
Correct lead length is important to avoid clearance issues when reassembling the case.
- Trim the Leads: Shorten the encoder leads so that they are approximately flush with the body of the encoder. This will ensure that the encoder sits stably and doesn’t increase the height of the assembly.
- After trimming, solder the encoder on the PCB, taking care to align it correctly before soldering.
- After soldering each pin, do a visual inspection to ensure there is good electrical contact.
Once the new encoder is in place, follow the disassembly steps in reverse to reassemble your PortaPack.
Note
The wiki is incomplete. Please add content and collaborate.
Important
- This is a public wiki. Everything is visible to everyone. Don't use it for personal notes.
- Avoid linking to external tutorials/articles; they may become outdated or contain false information.
How to collaborate
How to ask questions correctly
- First steps
- Usage cautions
- Intended use and Legality
- Features
- PortaPack Versions (which one to buy)
- HackRF Versions
- Firmware update procedure
- Description of the hardware
- User interface
- Powering the PortaPack
-
Troubleshooting
- Won't boot
- Config Menu
- Firmware upgrade
- Diagnose firmware update in Windows
- Receive Quality Issues
- No TX/RX
- TX Carrier Only
- H2+ speaker modifications
- Dead Coin Cell Battery
- Factory Defaults
- SD card not recognized by PC with the SD-card over USB selected
- DFU overlay
- Full reset
- SolveBoard
- How to Format SDCard
- Applications
-
Compilation of the firmware
- Compile on WSL with ninja
- How to compile on Windows faster with WSL 2
- Using Docker and Kitematic
- Docker command-line reference
- Using Buddyworks and other CI platforms
- Notes for Buddy.Works (and other CI platforms)
- Using ARM on Debian host
- All in one script for ARM on Debian host
- Compile on Arch based distro (exclude Asahi)
- Dev build versions
- Notes About ccache
- Create a custom map
- Code formatting
- PR process
- Description of the Structure
- Software Dev Guides
- Tools
- Research
- UI Screenshots
- Maintaining
- Creating a prod/stable release (Maintainers only)
- Maintaining rules
- Development States Notes