Skip to the content
4 layers110.6 × 52.5 mmSineWaveGenerator, the printed circuit board in 3D

Source files for the OpenNerve implantable pulse generator (IPG), including firmware and hardware for Gen1 and Gen2 PCBAs as well as enclosure CAD and documentation.

Size
110.6 × 52.5 mm
Copper layers
4
Thickness
1.6 mm
Parts
101
Nets
62
Pads
282
Tracks, vias
500, 53
Pours
9
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
19 Jan 2025
Updated
19 Oct 2026

Overview

SineWaveGenerator is an open-source printed circuit board by CARSSCenter, from the CARSSCenter/OpenNerve-Implantable-Pulse-Generator repository on GitHub, published under the CC-BY-4.0 licence. It is a 4-layer board of 110.6 × 52.5 mm with 101 parts on 62 nets, routed with 500 tracks and 53 vias.

It is built around the OPA2188AID, TLV172IDCK and TPS63002DRCT, with the BAT54 among its other parts. Its parts include 36 capacitors, 27 resistors, 11 ICs, 10 connectors and 5 diodes.

Main components

4

README

README.md

OpenNerve-Implantable-Pulse-Generator

Source files for the OpenNerve implantable pulse generator (IPG), charger, and user interface software

Overview

image

The OpenNerve IPG is designed to enable researchers to develop novel therapies in the neuromodulation and bioelectronic medicine spaces. It is currently being used by a number of groups for acute and chronic preclinical studies, with plan to transition to clinical studies when ready.The IPG is capable of providing current-based bipolar electrical stimulation, measuring biosignals using multiple analog front ends (AFEs), and connecting with third-party sensors via an in-body I2C network. It communicates with a user controller over Bluetooth Low Energy (BLE) and can be easily configured to be rechargeable over inductive link. All source files are released under the CC-BY 4.0 open source copyright license, which requires attribution but allows their use for closed-source and commercial applications.

Electronics

Two versions of the printed circuit board inside OpenNerve have been designed and manufactured. The Gen1 PCBA has eight pseudo-independent monopolar stimulation channels (configurable as four bipolar channels), two differential biosignal amplifiers for recording ECG, EMG, or eCAPS, and an I2C port for connection to an accelerometer or other in-body digital sensors. The Gen2 PCBA has two fully independent bipolar stimulation channels capable of square wave stimulation up to 1200 Hz or low frequency sine wave stimulation, four configurable analog front ends, and an I2C port. See below for electrical specifications for the Gen2 IPG (square wave stimulation and analog front-ends).

image dev-board

Firmware

OpenNerve contains two microcontrollers: an nRF52810 which controlls BLE communication (referred to as "BLE"), and an STM32 which controls most other functions (referred to as "MCU"). BLE firmware is the same for both Gen1 and Gen2 PCBAs and can be found here. Instructions for programming a new board can be found in the BLE Flashing Guide under Docs. MCU firmware is different for Gen1 and Gen2 IPGs; the source code and hex files for each board's MCU firmware can be found in their respective folders, and instructions for compiling and flashing can be found at MCU Flashing Guide.

Software

A Windows application has been written in VSCode to control OpenNerve's functions and download/save measurements. The source code for this app can be found in the OpenNerve Windows App repo. To communicate with OpenNerve using this app requires an encryption private key. To get the key used for the open-source builds of MCU2 firmware please reach out to carss@usc.edu. There are also instructions included here on how to create your own encryption keys and firmware build.

An Android app is also under development for communication and control with OpenNerve. Prototype code for this app can be found here.

Wireless charger

The OpenNerve IPG can be charged inductively using the OpenNerve Charger.

Contributors

The OpenNerve IPG has been designed and manufactured in partnership with a number of contributors from the academic and private sectors, all of whom are committed to open source neurotech and lowering the barrier to developing new therapies. See below for a list of contributing organizations (last updated 22/01/2026).

  • Biomedical Microsystems Lab, University of Southern California - lead the larger CARSS center, set up and maintains open source resources, performs integration testing, software development, and preclinical studies
  • Med-Ally LLC - designed the hermetic enclosure for OpenNerve, and provides final assembly services for chronic studies
  • Medipace Inc - Manages electronics and firmware development, performs software development
  • Focus Uy - Designed the printed circuit board for OpenNerve IPG and charger
  • CoForce Ltd. - Peformed firmware development for OpenNerve
  • Veronica Rosado. - Developed Sine Wave Generator tool for OpenNerve
  • Julian Lee - Worked on sine wave generator

Funding for OpenNerve has been provided by the US National Institutes of Health's SPARC program # 1U41NS129514 as well as by the US National Science Foundation's POSE Phase 1 program # 2449357.

Disclaimer

The contents of this repository are subject to revision. No representation or warranty, express or implied, is provided in relation to the accuracy, correctness, completeness, or reliability of the information, opinions, or conclusions expressed in this repository.

The contents of this repository (the “Materials”) are experimental in nature and should be used with prudence and appropriate caution. Any use is voluntary and at your own risk.

The Materials are made available “as is” by USC (the University of Southern California and its trustees, directors, officers, employees, faculty, students, agents, affiliated organizations and their insurance carriers, if any), its collaborators Med-Ally LLC and Medipace Inc., and any other contributors to this repository (collectively, “Providers”). Providers expressly disclaim all warranties, express or implied, arising in connection with the Materials, or arising out of a course of performance, dealing, or trade usage, including, without limitation, any warranties of title, noninfringement, merchantability, or fitness for a particular purpose.

Any user of the Materials agrees to forever indemnify, defend, and hold harmless Providers from and against, and to waive any and all claims against Providers for any and all claims, suits, demands, liability, loss or damage whatsoever, including attorneys' fees, whether direct or consequential, on account of any loss, injury, death or damage to any person or (including without limitation all agents and employees of Providers and all property owned by, leased to or used by either Providers) or on account of any loss or damages to business or reputations or privacy of any persons, arising in whole or in part in any way from use of the Materials or in any way connected therewith or in any way related thereto.

The Materials, any related materials, and all intellectual property therein, are owned by Providers.

Parts

101
QtyValueFootprintReferences
1110kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2, R4, R12, R14, R18, R19, R20, R21, R26, R28
60.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC21, C29, C33, C34, C35, C36
50.1uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC12, C22, C26, C31, C32
5100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC11, C13, C17, C19, C25
5300pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC14, C16, C20, C24, C27
5TLV172IDCKPackage_TO_SOT_SMD:SOT-353_SC-70-5U4, U5, U13, U15, U16
4100kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8, R9, R10, R16
4BAT54Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2, D3, D5, D6
4TestPointTestPoint:TestPoint_Pad_D1.0mmTP1, TP2, TP3, TP4
310uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC18, C28, C30
2100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6, R7
22.2uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C7
2220nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C8
222nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4, C9
222uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C6
23.3nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC5, C10
25.1kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R11
2500Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR23, R24
2CCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder0.1uF1, 10uF1
2GNDConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ10, J12
2TLV9061xDBVPackage_TO_SOT_SMD:SOT-23-5U10, U14
1+5VConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ9
110nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC15
1127kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR15
11uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC23
12.2uHInductor_SMD:L_Coilcraft_LPS3010L1
1243kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR25
125.5kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR17
125kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR22
140kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
1540kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR13
1D_TVSDiode_SMD:D_SOD-323_HandSolderingD1
1FuseFuse:Fuse_0805_2012MetricF1
1OPA2188AIDOPA2188AID:SOIC127P599X175-8NU6
1OPA310xDBVPackage_TO_SOT_SMD:SOT-23-5U12
1Out_SinConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ11
1Q_NJFET_DGSJFET:TRANS_J201Q1
1R_PotentiometerPotentiometer_THT:BOURNS_POTRV2
1R_Potentiometer_Dual_SeparatePotentiometer_THT:DUALGANG_fixedRV1
1SCLKConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ4
1SDIConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ6
1SW_Rotary_2x6Rotary_Encoder:SW_CK1050SW1
1SYNCConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ5
1TPS63002DRCTJFET:VREG_V62_16624-01YEU2
1USB_C_Receptacle_USB2.0_14PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1VOUTConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ8
1V_dac_refConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ7
1~Package_SO:MSOP-10_3x3mm_P0.5mmU7

Similar boards

  • 2 layers180 × 130 mmCell test bench, the printed circuit board in 3D

    Cell test bench

    0hasant/Liion_Cell_Simulator

    Single-cell characterization bench for 18650 and 21700 Li-ion cells (DMEGC INR45E, generic 3.5 Ah 18650). Part of the Solaris final-year project.

    133 parts
  • 4 layers175.3 × 76.1 mmMyProject, the printed circuit board in 3D

    MyProject

    Hakman482/fpga-power-quality-monitor

    A complete hardware–FPGA–software prototype for real-time single-phase power-quality measurement, developed as an MSc Electronic & Electrical Engineering project.

    118 parts
  • 4 layersFanCTRL, the printed circuit board in 3D

    FanCTRL

    MuffinKing-jpeg/FanCTRL

    Controlled board for PC fans, with mux capabilities. WIP

    272 parts
  • 2 layers41.3 × 109.5 mmMulti vu eurorack, the printed circuit board in 3D

    Multi vu eurorack

    jjradler/multi-vu-eurorack

    Buffered multiple with an AVR-controlled VU meter and various available artistic panels.

    130 parts1CC0-1.0

Questions

How big is the SineWaveGenerator PCB?

It measures 110.6 × 52.5 mm and has 4 copper layers, 1.6 mm thick.

What parts does the SineWaveGenerator use?

101 parts, built around the OPA2188AID, TLV172IDCK, TPS63002DRCT and BAT54. 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 SineWaveGenerator KiCad files?

From the CARSSCenter/OpenNerve-Implantable-Pulse-Generator repository on GitHub, at the commit this page was made from: the board is Tools/SineWaveGenerator/PCB/SineWaveGenerator.kicad_pcb and its schematic Tools/SineWaveGenerator/PCB/SineWaveGenerator.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the SineWaveGenerator design in my own project?

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