
Uncut Gem bkup
QuantumVillage/UncutGem
A prototype Full Stack fully Open Source NV Center Diamond Magnetometer

A prototype Full Stack fully Open Source NV Center Diamond Magnetometer
Uncut Gem is an open-source printed circuit board by QuantumVillage, from the QuantumVillage/UncutGem repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 82.1 × 82.1 mm with 207 parts on 101 nets, routed with 722 tracks and 204 vias.
It is built around the ESP32-WROOM-32E, GALI-84 and TL082, with the ADF4351BCP, LM1117MP-3.3 and ESD9B5.0ST5G among its other parts. Its parts include 46 capacitors, 29 resistors, 9 diodes, 7 ICs and 6 connectors. It belongs with the ESP32 boards of this library.
This folder contains the entire KiCad project for the diamond sensor, with full electronics. The Git History contains previous versions, including the version first presented at BSides London in Dec 2024!
The schematic may be found here.
Here are two renders of the first version of the board:


Here is a bill of materials for the various parts and connections on the board:
| Reference | Part Value | Qty |
|---|---|---|
| 5V_SUPP1 | Conn_02x03 | 1 |
| C1 | 104 | 1 |
| C2 | 33 | 1 |
| C3,C4,C5,C6,C7,C8 | 100nF | 6 |
| C9,C10 | 10uF | 2 |
| J2 | OLED Screen Interface | 1 |
| OScope1 | OScope | 1 |
| PHOTODIODE1 | Conn_01x03_Socket | 1 |
| R1,R2,R3 | 1k | 3 |
| R4 | 1M | 1 |
| R5 | 47k | 1 |
| SIGGEN1 | Conn_02x05 | 1 |
| U1 | DOIT-ESP32-DEVKIT-V1 | 1 |
| U2 | TL082 | 1 |
NB - Here are some notes about this design:
There are several additional parts that are needed for this pariticular version, detailed below.
The specific board used is this part on AliExpress. The key part is to expose the SPI pins (DAT, CLK, CE) as well as the power/ground and LE (Load Enable) pin.
Specifically this part on Aliexpress. This just requires power and ground, which are routed to the 5V power and ground connector.
We used a module we acquired off Amazon UK (no longer available), but in reality any laser module may be used, as long as it uses provides the following:
We use one that is 2x rows of 19 pins with the pin-out described in the schematic. You can use 15-pin boards, but you'll have to add wires for power and ground manually.
These are standard OLED boards using SH110X-based screens driven by I2C (not SPI). BEWARE - many of the screens swap VDD and GND. This design uses a board with pins in order (as you look at the screen): VDD/GND/SCK/SDA
If your screen has GND/VDD/SCK/SDA, then you need to do some work on the PCB to fix it, or acquire a different screen.
The ballpark costs are as follows (in GBP):
| Item | Number | Cost |
|---|---|---|
| Battery pack | 1 | Free to £5 |
| OpAmp + electronics | 1 | up to £5 |
| Laser Module | 1 | ~£5-15 |
| ADF4350/1 MW Generator | 1 | £15-25 |
| MW Gain (40dB) + BNC | 1 | £10 |
| PCB (unit from run) | 1 | ~£5 |
| OLED Screen | 1 | £5 |
| ESP32 board | 1 | ~£10 |
| NV Center Diamond | 1 | ~£10 |
| Epoxy and Cu Wire | 1 ea. | £10-15 |
| TOTAL | ~£115 |
| Qty | Value | Footprint | References |
|---|---|---|---|
| 15 | 100nF | Capacitor_SMD:C_0603_1608Metric | C2, C3, C5, C8, C11, C13, C15, C17, C22, C26, C37, C38, C40, C41, C42 |
| 10 | 100pF | Capacitor_SMD:C_0603_1608Metric | C1, C4, C6, C9, C10, C12, C14, C16, C20, C21 |
| 9 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R4, R18, R20, R22, R23, R27, R28, R29 |
| 6 | 1nF | Capacitor_SMD:C_0603_1608Metric | C18, C19, C27, C28, C29, C31 |
| 4 | , , , | ||
| 4 | 50 | Resistor_SMD:R_0603_1608Metric | R6, R7, R9, R10 |
| 4 | LOGO | LOGO | G***, G***, G***, G*** |
| 3 | 100nF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C32, C33, C35 |
| 3 | 1k | Resistor_SMD:R_0603_1608Metric | R8, R25, R26 |
| 3 | 1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R13, R14, R16 |
| 3 | 22uF | Capacitor_SMD:C_0603_1608Metric | C36, C43, C44 |
| 3 | ESD9B5.0ST5G | Diode_SMD:ST_QFN-2L_1.6x1.0mm | D1, D5, D6 |
| 3 | Q_NPN_BEC-S8050 or sim | Package_TO_SOT_SMD:SOT-23-3 | Q4, Q5, Q6 |
| 2 | 100 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R2 |
| 2 | 10nF | Capacitor_SMD:C_0603_1608Metric | C7, C30 |
| 2 | 1uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C45, C46 |
| 2 | 470nH | Inductor_SMD:L_0603_1608Metric | L1, L2 |
| 2 | D_Small | Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D2, D3 |
| 2 | GALI-84 | Package_TO_SOT_SMD:SOT-89-3 | U2, U3 |
| 2 | LED | Diode_SMD:D_0603_1608Metric | LED1, PWR1 |
| 2 | SW_Push | Button_Switch_SMD:SW_Push_1P1T_XKB_TS-1187A | BOOT1, EN1 |
| 1 | 0 | Resistor_SMD:R_0603_1608Metric | R24 |
| 1 | 1.2nF | Capacitor_SMD:C_0603_1608Metric | C24 |
| 1 | 10MHZ | Oscillator:Oscillator_SMD_EuroQuartz_XO91-4Pin_7.0x5.0mm | X1 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R15 |
| 1 | 2.7nF | Capacitor_SMD:C_0603_1608Metric | C25 |
| 1 | 2k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R21 |
| 1 | 33pF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C34 |
| 1 | 360 | Resistor_SMD:R_0603_1608Metric | R12 |
| 1 | 39nF | Capacitor_SMD:C_0603_1608Metric | C23 |
| 1 | 4.7k | Resistor_SMD:R_0603_1608Metric | R5 |
| 1 | 4.7uF | Capacitor_SMD:C_0603_1608Metric | C39 |
| 1 | 47k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R17 |
| 1 | 5k1 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R19 |
| 1 | 680 | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | ADC_SIGNAL | Connector_Coaxial:SMA_Molex_73251-2200_Horizontal | J6 |
| 1 | ADF4351 | Package_CSP:LFCSP-32-1EP_5x5mm_P0.5mm_EP3.25x3.25mm | U1 |
| 1 | BPW34 | OptoDevice:Osram_DIL2_4.3x4.65mm_P5.08mm | D4 |
| 1 | CP2102N-Axx-xQFN28 | Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mm | U8 |
| 1 | Conn_01x03_Socket | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | PD1 |
| 1 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | 5V_SUPP1 |
| 1 | D_Zener_Small | Diode_SMD:D_SOD-123F | D8 |
| 1 | ESP32-WROOM-32E | RF_Module:ESP32-WROOM-32E | U7 |
| 1 | LM1117MP-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U6 |
| 1 | LOCK | Diode_SMD:D_0603_1608Metric | LOCK |
| 1 | MUX_OUT | TestPoint:TestPoint_THTPad_D2.5mm_Drill1.2mm | MUX_OUT |
| 1 | OLED Screen Interface | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | OLED1 |
| 1 | RFIN_Coax_Sml | Connector_Coaxial:SMA_Molex_73251-2120_EdgeMount_Horizontal | J1 |
| 1 | RFOUT_A+ | Connector_Coaxial:SMA_Molex_73251-2120_EdgeMount_Horizontal | J2 |
| 1 | RFOUT_A- | Connector_Coaxial:SMA_Molex_73251-2120_EdgeMount_Horizontal | J3 |
| 1 | RFOUT_DIAMOND | Connector_Coaxial:SMA_Molex_73251-2120_EdgeMount_Horizontal | J4 |
| 1 | SPI Interface | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | SPI1 |
| 1 | TL082 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 1 | TestPoint_Probe | TestPoint:TestPoint_THTPad_D2.5mm_Drill1.2mm | TP1 |
| 1 | USB_C_Plug_USB2.0 | Connector_USB:USB_C_Receptacle_HCTL_HC-TYPE-C-16P-01A | P1 |
The 120 most common of 207 parts.

QuantumVillage/UncutGem
A prototype Full Stack fully Open Source NV Center Diamond Magnetometer

QuantumVillage/UncutGem
A prototype Full Stack fully Open Source NV Center Diamond Magnetometer



Jjbinstock/RF-Clock-Generator
A dual channel, tunable RF clock generator PCB project



PA0MHE/Wavelab-24G-Addon-module
Can be used as addon module for the Wavelab 23X1008XP module, which was available during the 2021-2022 timeframe on www.ebay.pl seller:bisonelectronics-sp2jyr The module converts the first-IF 2364MHz to 432MHz (or…

EObianom/ADF4351
This repository is for ADF4351 registory calculation and hardware design.

JQIamo/ESB_Signal_Generator
Modulation signal generator for electronic sideband locking with a Pound-Drever-Hall cavity
It measures 82.1 × 82.1 mm and has 2 copper layers, 1.6 mm thick.
207 parts, built around the ESP32-WROOM-32E, GALI-84, TL082 and ADF4351BCP. 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 QuantumVillage/UncutGem repository on GitHub, at the commit this page was made from: the board is hardware/PCB/Uncut Gem.kicad_pcb and its schematic hardware/PCB/DiamondGeezer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the AGPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).