Skip to the content
2 layers91.4 × 61 mmUsbcounter, the printed circuit board in 3D

Open-source USB frequency counter

Size
91.4 × 61 mm
Copper layers
2
Thickness
1.6 mm
Parts
50
Nets
63
Pads
183
Tracks, vias
370, 50
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
26 Jul 2019
Updated
21 Oct 2023

Overview

Usbcounter is an open-source printed circuit board by swharden, from the swharden/USB-Counter repository on GitHub, published under the MIT licence. It is a 2-layer board of 91.4 × 61 mm with 50 parts on 63 nets, routed with 370 tracks and 50 vias.

It is built around the FT231XS-R, 74LVC1G14Z and NCP1117ST, with the UJ2-MIBH-G-SMT-TR among its other parts. Its parts include 12 resistors, 9 capacitors, 7 diodes, 5 ICs and 4 connectors.

Main components

4

README

README.md

USB Counter

This project contains the design files and notes for a USB counter. By populating one of two input paths with components this device can serve as a sensitive frequency counter (with a small-signal amplifier front-end) or a pulse counter (with a simple 50 ohm load at the front-end). Measured frequency is sent to the computer over USB, but can also be displayed on an optional 7-segment display module.

LED Display

In addition to serial output, this counter can optionally interface a SPI-driven 7-segment display (based on a MAX7219). These display modules are about $4 on Amazon and allow this counter to be used without a computer. Note that the LED display and USB output can both be used at the same time.

USB (Serial) Output

When plugged in to a USB port the counter looks like a serial device. It continuously transmits the count (at 115200 baud) at an update rate which can be customized (commonly 1Hz, 10Hz, and 100Hz.) The output is two numbers: time (in seconds) and the count between the last update and this one. In this example it is measuring a radio frequency signal near 10.139977 MHz

Precision Frequency Measurement

One advantage of this counter is that it is never reset. Its core is a 32-bit counter, and every gate cycle transmits the current count to the computer over USB. Because every input cycle is measured high precision measurements of frequency over long periods of time are possible. For example, 1000 repeated measurements with a 1Hz gate allows frequency measurement to a precision of 0.01 Hz.

Internal or External Gating

The microcontroller is capable of generating gate cycles in software. Precision is limited to that of the TCXO used to clock the microcontroller (2.5 PPM). For higher-precision gating a resistor may be lifted and an external gate applied (e.g., 1PPS GPS signal).

Design and Build Notes

About

This project was created by Harden Technologies, LLC. To inquire about the development special features or customized versions of this hardware or software, contact the author at SWHarden@gmail.com.

Parts

50
QtyValueFootprintReferences
7.1uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C3, C6, C7, C8, C9
610kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7, R8, R9, R10, R11, R12
4MountingHoleMountingHole:MountingHole_4.3mm_M4_PadH1, H2, H3, H4
2100kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R6
227RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3, R4
2DLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD1, D2
11kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
11nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC5
11uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4
150RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
174LV8154Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmU4
174LVC1G14Package_TO_SOT_SMD:SOT-23-5U2
1AVR64DD32 TQFP32Package_QFP:TQFP-32_7x7mm_P0.8mmU5
1CKOUTTestPoint:TestPoint_Pad_D2.0mmTP4
1COUNTLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD3
1COUNTTestPoint:TestPoint_Pad_D2.0mmTP2
1DCJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1DISPLAYConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4
1FT231XSPackage_SO:SSOP-20_3.9x8.7mm_P0.635mmU3
1FerriteBeadInductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolderFB1
1GATETestPoint:TestPoint_Pad_D2.0mmTP3
1GATEJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP2
1NCP1117Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1PROGConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1PWRLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD4
1RF_INConnector_Coaxial:SMA_Amphenol_901-144_VerticalJ2
1RF_INTestPoint:TestPoint_Pad_D2.0mmTP1
1RXLEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD5
1STATUSLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD7
1SW_PushButton_Switch_SMD:SW_SPST_TL3342SW1
1TCXOOscillator:Oscillator_SMD_SeikoEpson_SG8002CE-4Pin_3.2x2.5mmX1
1TXLEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD6
1UJ2-MIBH-G-SMT-TRLibrary Loader:UJ2MIBHGSMTTRJ1

More from swharden/USB-Counter

5
  • 2 layers86.4 × 61 mmTalking counter, the printed circuit board in 3D

    Talking counter

    swharden/USB-Counter

    Open-source USB frequency counter

    60 parts25MIT
  • 2 layers88.9 × 59.7 mmTalking counter, the printed circuit board in 3D

    Talking counter

    swharden/USB-Counter

    Open-source USB frequency counter

    52 parts25MIT
  • 2 layers91.4 × 60.9 mmUsbcounter, the printed circuit board in 3D

    Usbcounter

    swharden/USB-Counter

    Open-source USB frequency counter

    49 parts25MIT
  • 2 layers60.6 × 40 mmATMega328-usb counter, the printed circuit board in 3D

    ATMega328-usb counter

    swharden/USB-Counter

    Open-source USB frequency counter

    39 parts25MIT
  • 2 layers56 × 40 mmATMega328-usb counter, the printed circuit board in 3D

    ATMega328-usb counter

    swharden/USB-Counter

    Open-source USB frequency counter

    36 parts25MIT

Similar boards

  • 2 layers35 × 100 mmESP12-Smart Remote, the printed circuit board in 3D

    ESP12-Smart Remote

    dipenarathod/ESP12-Smart-Remote

    ESP12 Smart Remote

    46 parts
  • 2 layers20.5 × 15.1 mmCP2102USB2UART, the printed circuit board in 3D

    CP2102USB2UART

    mpek29/CP2102USB2UART

    🔌 CP2102 USB to UART reverse-engineered

    13 parts
  • 2 layers50.9 × 17.8 mmUsbUartBridge, the printed circuit board in 3D

    UsbUartBridge

    mpek29/UsbUartBridge

    🔌 USB-to-UART bridge for embedded systems

    15 parts
  • 4 layers52.7 × 47.6 mmEsp8266 atmosphere sensor, the printed circuit board in 3D

    Esp8266 atmosphere sensor

    abzman/esp-IoT-boards

    R5v: 1.9K for the red LED, 3.9K for the blue LED

    62 parts9Unlicense
  • 2 layers100.1 × 63.1 mmFg99, the printed circuit board in 3D

    Fg99

    endlos99/finalgrom99

    A cartridge for the TI 99/4A that runs ROM and GROM images from an SD card

    34 parts96GPL-3.0
  • 2 layers61.8 × 18.5 mmCh224baseProdt, the printed circuit board in 3D

    Ch224baseProdt

    SdtElectronics/Biscuits

    Miscellaneous PCB Works

    44 parts13
  • 2 layers67.4 × 54.3 mmWiFiMaster, the printed circuit board in 3D

    WiFiMaster

    Phunkafizer/AllSerial

    An universal sophisticated USB-serial converter

    63 parts6MIT
  • 2 layers66 × 26 mmSTM32-udemy, the printed circuit board in 3D

    STM32-udemy

    facens-omegabotz/stm32-board

    KiCad Projet of PCB design for a development board for the STM32f446 MCU

    31 parts3Apache-2.0

Questions

How big is the Usbcounter PCB?

It measures 91.4 × 61 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Usbcounter use?

50 parts, built around the FT231XS-R, 74LVC1G14Z, NCP1117ST and UJ2-MIBH-G-SMT-TR. 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 Usbcounter KiCad files?

From the swharden/USB-Counter repository on GitHub, at the commit this page was made from: the board is builds/2.2/kicad/usbcounter.kicad_pcb and its schematic builds/2.1/usbcounter/usbcounter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Usbcounter design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).