Rng
mitsake·rng-pcb·hardware/rng-pcb.kicad_pcb
About the Rng PCB
Rng is an open source Microchip SAM PCB design by mitsake, published on GitHub under the CC-BY-SA-4.0 license. It is a board measuring 54.6 × 72 mm, with 30 components from 16 distinct parts.
Its main chip is the ATSAMD21E18A, from the Microchip SAM family. Other key parts include the AP2112K-3.3 and ST662A. By type, the board carries 10 capacitors, 6 connectors, 6 resistors, 3 ICs, 3 transistors and 1 switch.
It belongs with the displays & leds designs in this gallery.
From the project
A hardware random number generator that uses avalanche noise. Based on the Trinket M0.
This is my contribution to the Boldport Club's community run Board Swap Project, a hardware random number generator that uses avalanche noise to make patterns and roll dice. Apart from being part of the community project, my other motivations were interest in randomness and the processes that can be used to generate it, along with the idea of using PCBs to build an enclosure.

Main components on the Rng
Rng bill of materials (BOM)
30 components, 16 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | AP2112K-3.3 | TSOT-23-5 | U1 |
| 1 | ST662A | SOIC-8_3.9x4.9mm_Pitch1.27mm | U2 |
| 1 | ATSAMD21E18A | TQFP-32_7x7mm_Pitch0.8mm | U3 |
| 3 | MMBT3904T MMBT3904 | SOT-416 | Q1, Q2, Q3 |
| 1 | WM1398 USB_B_Micro | Molex-476420001 | J1 |
| 1 | OLED | PinHeader_1x04_P2.54mm_Vertical | J2 |
| 4 | Conn_01x01_Male | TH_Pad | J3, J4, J5, J6 |
| 1 | 732-10144-1 SW_Push | Wurth-434331013822 | SW1 |
| 1 | VAL** | mouse-bite-2mm-slot | mouse-bite-2mm-slot |
| 2 | 1276-6769-1 10u | C_0603 | C1, C7 |
| 2 | 1276-1112-1 0.22u | C_0603 | C2, C3 |
| 4 | 1276-1005-1 0.1u | C_0603 | C4, C5, C8, C10 |
| 2 | 1276-6524-1 1u | C_0603 | C6, C9 |
| 4 | 4k7 | R_0603 | R1, R2, R3, R5 |
| 1 | 1M | R_0603 | R4 |
| 1 | 1k5 | R_0603 | R6 |
Rng design files
The KiCad project lives in the mitsake/rng-pcb repository on GitHub; these links point at the commit this page was built from.
Rng: common questions
What microcontroller does the Rng use?
The Rng is built around the ATSAMD21E18A, from the Microchip SAM family.
How big is the Rng PCB?
The Rng measures 54.6 × 72 mm and is 1.6 mm thick.
How many components are on the Rng?
30 components, from 16 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Rng design files?
From the mitsake/rng-pcb repository on GitHub, which has the KiCad layout and the BOM; the links under Design files point to each one.
Can I use the Rng design in my own project?
Yes, under the terms of its CC-BY-SA-4.0 license, which mitsake chose for the repository.
Can I test firmware for the Rng without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug Microchip SAM firmware against it before you order a PCB.
Similar boards
Microchip SAM
Microcontroller Expansion Card
FrameworkComputer
26 × 30 mm24 parts2LCC-BY-4.01.1kMicrochip SAM
Taco Raven
VoronDesign
120 × 113 mm349 parts4LGPL-3.01.1kMicrochip SAM
Fpgaboy
Wren6991
50 × 50 mm89 parts4LNo license511Microchip SAM
OpenDropV4
GaudiLabs
124 × 115.4 mm118 parts2LGPL-3.0487Microchip SAM
ModulAdapter universal
GaudiLabs
100 × 69.5 mm45 parts2LGPL-3.0487Microchip SAM
Kira
kiibohd
366.9 × 114.3 mm400 partsCERN-OHL-1.2416