

Usbcounter
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
4FT231XS-R
SSOP-20-150mil-40℃~+85℃ 125uA 5V 8.4mA USB 2.0 USB to UART SSOP-20-150mil USB Converters ROHSFTDIUSB Converters74LVC1G14Z
SOT-553-40℃~+125℃ 1 1.2V~3.33V 1.65V~5.5V 200uA 32mA 32mA 6.5ns@5V,50pF 74LVC 750mV~2.35V Power shutdown protection、Noise suppression function Push-pull Schmitt trigger SOT-553 Inverters ROHSDiodes IncorporatedInvertersNCP1117ST
1.0 A Low-Dropout Fixed RegulatoronsemiUncategorisedUJ2-MIBH-G-SMT-TR
SMD-30℃~+85℃ 1 500mA、1.8A 5P 5V Black Female Micro-B Surface Mount,Vertical USB 2.0 SMD USB Connectors ROHSCUIUSB Connectors
README
README.mdUSB 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
- Revision 1.0 - schematics and PCB design - first tested 2019-07-26
- Revision 1.1 - schematics and PCB design - first tested 2019-08-03
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | .1u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2, C3, C6, C7, C8, C9 |
| 6 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7, R8, R9, R10, R11, R12 |
| 4 | MountingHole | MountingHole:MountingHole_4.3mm_M4_Pad | H1, H2, H3, H4 |
| 2 | 100k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5, R6 |
| 2 | 27R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3, R4 |
| 2 | D | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1, D2 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2 |
| 1 | 1n | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5 |
| 1 | 1u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4 |
| 1 | 50R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1 |
| 1 | 74LV8154 | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U4 |
| 1 | 74LVC1G14 | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | AVR64DD32 TQFP32 | Package_QFP:TQFP-32_7x7mm_P0.8mm | U5 |
| 1 | CKOUT | TestPoint:TestPoint_Pad_D2.0mm | TP4 |
| 1 | COUNT | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D3 |
| 1 | COUNT | TestPoint:TestPoint_Pad_D2.0mm | TP2 |
| 1 | DC | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP1 |
| 1 | DISPLAY | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J4 |
| 1 | FT231XS | Package_SO:SSOP-20_3.9x8.7mm_P0.635mm | U3 |
| 1 | FerriteBead | Inductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolder | FB1 |
| 1 | GATE | TestPoint:TestPoint_Pad_D2.0mm | TP3 |
| 1 | GATE | Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP2 |
| 1 | NCP1117 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | PROG | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J3 |
| 1 | PWR | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D4 |
| 1 | RF_IN | Connector_Coaxial:SMA_Amphenol_901-144_Vertical | J2 |
| 1 | RF_IN | TestPoint:TestPoint_Pad_D2.0mm | TP1 |
| 1 | RXLED | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D5 |
| 1 | STATUS | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D7 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_TL3342 | SW1 |
| 1 | TCXO | Oscillator:Oscillator_SMD_SeikoEpson_SG8002CE-4Pin_3.2x2.5mm | X1 |
| 1 | TXLED | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D6 |
| 1 | UJ2-MIBH-G-SMT-TR | Library Loader:UJ2MIBHGSMTTR | J1 |
More from swharden/USB-Counter
5- 2 layers86.4 × 61 mm

- 2 layers88.9 × 59.7 mm

- 2 layers91.4 × 60.9 mm

- 2 layers60.6 × 40 mm

- 2 layers56 × 40 mm

Similar boards
- 2 layers35 × 100 mm

- 2 layers20.5 × 15.1 mm

- 2 layers50.9 × 17.8 mm

- 4 layers52.7 × 47.6 mm

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 mm

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 mm

- 2 layers67.4 × 54.3 mm

- 2 layers66 × 26 mm

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).