
Power stage rev8
oresat/oresat-adcs-hardware
Controller PCB for OreSat reaction wheels, magnetorquers, IMU, and magnetometers

Swimmie-Textie
Unkey is an open-source printed circuit board by natecermak, from the natecermak/unkey repository on GitHub. It is a 4-layer board of 67 × 140.3 mm with 139 parts on 161 nets, routed with 1,109 tracks and 197 vias.
It is built around the PDSE1-S3-D24-M, TLV9062IDR-MS and ADA4098-1BUJZ-RL7, with the AH1912-W, SN74LV165ARGYR and CPC1002N among its other parts. Its parts include 74 ICs, 31 capacitors, 19 resistors, 11 connectors and 3 diodes. It belongs with the NXP (LPC, Kinetis, i.MX RT) boards of this library.
Divers often need to communicate with one another or with a dive boat, but typically can only communicate when in visual range of each other. A simple means to communicate with a bandwidth of text messaging (~40 wpm) over distances of several hundred meters could potentially save lives when if other divers or the dive boat can be made aware of and respond to unexpected conditions/situations.
Acoustic communication is basically the only feasible scheme underwater, and hence has been the standard for underwater communication since at least the early 1900s. Electromagnetic signals penetrate very poorly underwater, so convential means of communication (cellular communication, radio/walkie-talkies, bluetooth, wifi) are not feasible. Optical signaling is sometimes feasible (e.g. with flashlights), but relies on line of sight and good water clarity, and has limited range due to scattering and absorption underwater. However, if one has ever heard dolphins or whales underwater, they can attest to the immense distances these signals can travel, greatly exceeding the distance one can see underwater.
Underwater environments (a) add a lot of noise and (b) distort signals due to reflections.
Here, we use a FM/AM/OFDM scheme to send bits.
To get around difficulties with mechanical keys, we chose to use magnetic sensors and a magnet-bearing stylus. Underwater, mechanical keys have several failure modes:
Users typically prefer some tactile feedback when they hit a key, and this system doesn't naturally provide that. As such, we experimented with adding a soft (low coercivity) magnetic material (1-2mm mild steel ball bearings) above the Hall-effect sensor, to provide a small pull-in magnetic force when the stylus is brought close to the key. This provides tacticle sensation to the user that they have actually touched a key. It's essential that this material is magnetizable so that it attracts the stylus, but also that it cannot develop a permanent magnetic moment. If it were to develop a permanent magnetic moment, it would turn the Hall-effect sensor on all the time and the key would be stuck "on".
Keyboard layout: ---------- Default, no modifier ------- 1 2 3 4 5 6 7 8 9 0 q w e r t y u i o p a s d f g h j k l DEL CAP z x c v b n m ? BCK SYM SPACESPACESPACESP , . RET (plus 6 arrow keys, SEND)
---------- SYM modifier --------------- ! @ # $ % ^ & * ( ) ` ~ - _ = + : ; ' " [ ] { } | \ / < > DEL CAP z x c v b n m ? BCK SYM SPACESPACESPACESP , . RET
key count is: row 1: 10 keys row 2: 10 keys row 3: 10 keys row 4: 10 keys row 5: 5 keys off-grid: 6 arrow keys, 1 SEND key Total: 52 keys
Non-character keys: 6 arrow keys, SEND, BCK, DEL, CAP, SYM
Future work could use open-drain hall-effect sensors in a grid to give more precise hit-boxes (e.g. a 2x2 grid of AH1925-HK4-7, wired in parallel, for each key). However, this would be significantly more expensive, as it would require roughly 4x as many switches.
We use a Teensy 4.1 microcontroller due to ease of development. Essential features this microcontroller provides are:
We use a rechargeable lithium ion battery, which provides a nominal 3.7V input.
We use a 45mm x 45mm x 1.4mm square piezo plate from Steminc (SMPL45W45T14111) as a transducer. This piezo is spec'd as having a capacitance of 5.4nF +- 20%. It's made from material SM111, which has a piezo d33 constant of 320e-12 C/N.
We made some measurements of the impedance at various frequencies: - Frequency Real Imaginary (Capacitance, Q) - 0.1 kHz: 570 - 103.5k imag (15.3nF, Q=182) - 1.0 kHz: 45 - 10.42k imag (15.3nF, Q=236) - 10.0 kHz: 2.9 - 1.03k imag (15.4nF, Q=356) - 40.0 kHz: 2.25 - 63 imag (63.0nF, Q=28) -100.0 kHz: -0.09 - 132 imag (12nF, Q=1350)
Overall, this seems pretty discrepant with their claim of 5.4nF. Given two parallel plates of this size, separated by 1.4mm, and a dielectric constant of 1400 (also from the SM111 materials page), the calculated capacitance should be 17.9nF, closer to our measured value than their spec.
We also purchased several other transducers to try out, but have not yet used/characterized ther others:
We use a charge amplifier circuit with a configurable gain.
We use Goertzel filters to extract amplitude and phase at a fixed set of frequencies.
TBD.
TBD.
v1.2 PCB changes:
v1.3 pcb
firmware/
├── platformio.ini
├── include/ # All header files
│ ├── battery.h
│ ├── chat_logic.h
│ ├── comm.h
│ ├── config.h # Shared constants, types, UI/chat/layout settings
│ ├── display.h
│ ├── goertzel.h
│ ├── hardware_config.h # Pin assignments and hardware setup
│ └── keyboard.h
├── src/ # Main firmware source code
│ ├── battery.cpp
│ ├── chat_logic.cpp # Message buffer, scrolling, state management
│ ├── comm.cpp # Encode/decode bits, tx/rx state
│ ├── display.cpp # Drawing chat, keyboard, cursor
│ ├── goertzel.cpp # Frequency detection (demodulation)
│ ├── keyboard.cpp # Polling, key states, modifiers, stylus interaction
│ └── main.cpp # Entry point: setup(), loop(), high-level orchestration
├── test/ # Unit test suites (organized by feature and file)
│ ├── receiving/
│ │ ├── test_adc_buffer_full_interrupt/
│ │ │ └── adc_buffer_full_interrupt.cpp
│ │ ├── test_decode_single_bit_from_adc_window/| Qty | Value | Footprint | References |
|---|---|---|---|
| 51 | AH1912-W | Package_TO_SOT_SMD:SC-59 | U1, U2, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23 +35 |
| 16 | 0.1u | Capacitor_SMD:C_0402_1005Metric | C1, C2, C3, C4, C5, C6, C7, C10, C11, C20, C22, C23, C24, C26, C27, C31 |
| 8 | Conn_01x02_Pin | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J1, J4, J7, J8, J11, J12, J13, J14 |
| 7 | 2.2u | Capacitor_SMD:C_0402_1005Metric | C8, C9, C21, C25, C28, C29, C32 |
| 7 | SN74LV165ARGYR | Package_DFN_QFN:Texas_RGY_R-PVQFN-N16_EP2.05x2.55mm | U53, U54, U55, U56, U57, U58, U59 |
| 6 | 1k | Resistor_SMD:R_0402_1005Metric | R2, R3, R9, R81, R82, R84 |
| 4 | AH1921-W-7 | Package_TO_SOT_SMD:SC-59 | U45, U68, U69, U70 |
| 3 | 10k | Resistor_SMD:R_0402_1005Metric | R11, R68, TH1 |
| 3 | LED | LED_SMD:LED_0603_1608Metric | D65, D66, D67 |
| 2 | 100 | Resistor_SMD:R_0402_1005Metric | R1, R79 |
| 2 | 100k | Resistor_SMD:R_0402_1005Metric | R76, R78 |
| 2 | 500 | Resistor_SMD:R_0402_1005Metric | R6, R80 |
| 2 | CPC1002N | Package_SO:SOP-4_3.8x4.1mm_P2.54mm | U71, U73 |
| 2 | Conn_01x05_Pin | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J2, J3 |
| 2 | TLV9062xD | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U62, U65 |
| 1 | 0 | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | 100M | Resistor_SMD:R_0402_1005Metric | R5 |
| 1 | 100p | Capacitor_SMD:C_0402_1005Metric | C17 |
| 1 | 10n | Capacitor_SMD:C_0402_1005Metric | C13 |
| 1 | 10p | Capacitor_SMD:C_0402_1005Metric | C19 |
| 1 | 18k | Resistor_SMD:R_0402_1005Metric | R10 |
| 1 | 1n | Capacitor_SMD:C_0402_1005Metric | C15 |
| 1 | 2342-05-000 | unkey-footprints:2342-05-000 | U61 |
| 1 | 2k | Resistor_SMD:R_0402_1005Metric | R83 |
| 1 | 3.3n | Capacitor_SMD:C_0402_1005Metric | C14 |
| 1 | 330p | Capacitor_SMD:C_0402_1005Metric | C16 |
| 1 | 33n | Capacitor_SMD:C_0402_1005Metric | C12 |
| 1 | 33p | Capacitor_SMD:C_0402_1005Metric | C18 |
| 1 | ADA4098 | Package_TO_SOT_SMD:SOT-23-6 | U67 |
| 1 | ADG728 | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U63 |
| 1 | Conn_01x40_Pin | Connector_FFC-FPC:Hirose_FH12-40S-0.5SH_1x40-1MP_P0.50mm_Horizontal | J6 |
| 1 | MCP48CVD21 | Package_DFN_QFN:DFN-10-1EP_3x3mm_P0.5mm_EP1.55x2.48mm | U64 |
| 1 | MCP73833 | Package_DFN_QFN:DFN-10-1EP_3x3mm_P0.5mm_EP1.58x2.35mm | U80 |
| 1 | MYRBP500080B21RE | unkey-footprints:MYRBP500080B21RE | U60 |
| 1 | PDSE1-S3-D24-M | unkey-footprints:CONV_PDSE1-S3-D24-M | PS1 |
| 1 | Teensy4.0 | unkey-footprints:Teensy40 | U76 |
| 1 | XC6210B332MR | Package_TO_SOT_SMD:SOT-23-5 | U66 |

oresat/oresat-adcs-hardware
Controller PCB for OreSat reaction wheels, magnetorquers, IMU, and magnetometers

EOSCogniton/ELIZ-2022
Le Git Artemiz de l'EPSA. Contient le Catia, ainsi que la documentation en cours et quelques modèles.


kbob/MinimumViableSynth
A virtual analog synthesizer with lots of knobs and buttons.

jhagmar/keynjector
There are several bad solutions to managing passwords securely, e.g.,

igg-iot/BBD9000
Automated Biodiesel Dispensing Kiosk and Coop Management Software - A Free Software and Hardware Project


unl-rocketry/flight-computer
An experimental flight controller/altimeter board family developed by UNL Aerospace Rocketry
It measures 67 × 140.3 mm and has 4 copper layers, 1.6 mm thick.
139 parts, built around the PDSE1-S3-D24-M, TLV9062IDR-MS, ADA4098-1BUJZ-RL7 and AH1912-W. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the natecermak/unkey repository on GitHub, at the commit this page was made from: the board is pcb/unkey.kicad_pcb and its schematic pcb/keyboard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask natecermak before reusing the design.