Skip to the content
2 layers24 × 27.3 mmFrameworkExpansion, the printed circuit board in 3D

FrameworkExpansion

Spooky-Manufacturing/QRNG86

Quantum Random Number Generator

Size
24 × 27.3 mm
Copper layers
2
Thickness
0.8 mm
Parts
26
Nets
44
Pads
139
Tracks, vias
254, 24
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
11 Oct 2019
Updated
28 Apr 2022

Overview

FrameworkExpansion is an open-source printed circuit board by Spooky-Manufacturing, from the Spooky-Manufacturing/QRNG repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 24 × 27.3 mm with 26 parts on 44 nets, routed with 254 tracks and 24 vias.

It is built around the AP2112K-3.3. Its parts include 12 capacitors, 4 resistors, 2 ICs, 1 diode and 1 transistor. It belongs with the STM32 boards of this library.

Main components

1

README

README.md

QRNG

Quantum Random Number Generator

exploded v1

Motivation

The QRNGv1 (Now QRNG_BASIC) was originally a proof of concept for quantum technology applications, specifically in this case for the generation of entropy which has a broad range of uses from generating graphics to encryption keys.

How It Works

The device uses a polarizing beam splitter to split a laser pulse into two beams with a 50/50 probability of a photon in the beam traveling either path. The photons actually travel as a wave, meaning they both pass through and are reflected by the beam splitter. This creates what's known as the superposition of light where the light remains in both paths able to interfere with itself until it is measured and collapses out of superposition.

qrng schematic

The equivalent quantum logic gate would be the Hadamard gate, in QASM code:

qasm
creg c0[1];
h q[1];
measure q[1] -> c0;

Hardware Requirements

  • Arduino Uno (or similar)
  • Breadboard
  • 2x Photoresistors
  • 1x 50/50 Polarizing beam splitter
  • 1x Laser Diode

Software Requirements

  • Arduino IDE (for programming the Arduino)

Firmare

Firmware can be found in the respective design folders labelled according to version. The schematics as well are labelled with the version of firmware which supports them.

How To Use

Currently the QRNG arduino operates via the Arduino Serial Monitor, you can issue single letter commands to it. We plan to add support for the device with our Qubit Controller in the near future.

Available Commands

  • v : Version, returns the current firmware verison
  • t : Test command, should return 'Success!' on the monitor
  • e : Enables extraneous information
  • r : Returns a random bit generated by the RNG
  • h : Produces a hadamard operation on the qubit, returning the measured angle of the qubit

Parts

26
QtyValueFootprintReferences
7100nFCapacitor_SMD:C_0402_1005MetricC7, C8, C9, C10, C11, C12, C13
4TestPointTestPoint:TestPoint_Pad_1.5x1.5mmTP1, TP2, TP3, TP4
210uFCapacitor_SMD:C_0805_2012MetricC1, C2
2C_SmallCapacitor_SMD:C_0402_1005MetricC3, C4
2R_PHOTOOptoDevice:R_LDR_5.2x5.2mm_P3.5mm_HorizontalR3, R4
110kResistor_SMD:R_0402_1005MetricR2
14.7uFCapacitor_SMD:C_0402_1005MetricC6
15.1kResistor_SMD:R_0603_1608MetricR1
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U1
1Crystal_GND24Oscillator:Oscillator_SMD_ECS_2520MV-xxx-xx-4Pin_2.5x2.0mmY1
1LEDLED_SMD:LED_0402_1005MetricD1
1Q_NPN_BCEPackage_TO_SOT_SMD:SOT-23Q1
1STM32F411CEUxPackage_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mmU2
1USB_C_Plug_USB2.0Expansion_Card:USB_C_Plug_Molex_105444P1

More from Spooky-Manufacturing/QRNG

1
  • 2 layers44 × 20.5 mmQrng, the printed circuit board in 3D

    Qrng

    Spooky-Manufacturing/QRNG

    Quantum Random Number Generator

    29 parts86GPL-3.0

Similar boards

  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    Microcontroller

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    34 parts1.1kCC-BY-4.0
  • 2 layers53.2 × 24.8 mmPicoLink, the printed circuit board in 3D

    PicoLink

    ErichStyger/mcuoneclipse

    McuOnEclipse projects and examples

    46 parts765
  • 2 layers36 × 20 mmCombined, the printed circuit board in 3D

    Combined

    adamb314/ServoProject

    Getting the most out of your hobby servo

    24 parts545
  • 2 layers25 × 25 mmSmallEncoder, the printed circuit board in 3D

    SmallEncoder

    DDeGonge/OS-ARM

    This arm is not industrial and it will not be fast, but that is not my goal. But it will hopefully be a very nice looking arm fully capable of 6dof motion, cheap enough to keep it accessable but capable enough to…

    17 parts498MIT
  • 4 layers70 × 72 mmSPINC AA Charger, the printed circuit board in 3D

    SPINC AA Charger

    CoretechR/SPINC

    DIY Automatic Battery Charger Using RP2040

    101 parts467GPL-3.0
  • 4 layers60.8 × 61.3 mmOS3M Mouse, the printed circuit board in 3D

    OS3M Mouse

    spoter368/os3m-hardware

    All the hardware needed to build your own OS3M Mouse!

    51 parts399
  • 4 layers74 × 104 mmBeepy, the printed circuit board in 3D

    Beepy

    sqfmi/beepy-hardware

    Beepy Hardware

    160 parts348MIT

Questions

How big is the FrameworkExpansion PCB?

It measures 24 × 27.3 mm and has 2 copper layers, 0.8 mm thick.

What parts does the FrameworkExpansion use?

26 parts, built around the AP2112K-3.3. 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.

Where can I download the FrameworkExpansion KiCad files?

From the Spooky-Manufacturing/QRNG repository on GitHub, at the commit this page was made from: the board is FrameworkExpansion/FrameworkExpansion.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the FrameworkExpansion design in my own project?

Its repository publishes it under the GPL-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).