Skip to the content
2 layers68.6 × 53.3 mmArduino Shield V2, the printed circuit board in 3D

Arduino Shield V2

akawaiga/InTENS

Senior Project Design

Size
68.6 × 53.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
39
Pads
82
Tracks, vias
78, 13
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
5 Feb 2024
Updated
16 Apr 2026

Overview

Arduino Shield V2 is an open-source printed circuit board by akawaiga, from the akawaiga/InTENS repository on GitHub. It is a 2-layer board of 68.6 × 53.3 mm with 24 parts on 39 nets, routed with 78 tracks and 13 vias.

It is built around the MCP4921-E/P. Its parts include 8 connectors, 5 capacitors, 5 resistors and 2 ICs. It belongs with the microcontroller boards boards of this library.

Main components

1

README

README.md

InTENS project

Overview

The InTENS is a high-frequency and high-intensity nerve stimulation treatment for pain management. This project builds on prior research from Boston Univesity's EDF and Bridge BUilders program, guided by a physician, and is supplemented by phantom model testing and a new electrode design.

Features

  • single-channel system for compactness
  • delivers sine waves instead of commercial TENS pulse for user comfort
  • capable of delivering frequecnies up of atleast 1kHz
  • capable of delivering high-intensity waves of up to 140 Vpp

Changes required to the board before use:

  • Solder a wire between pins 1 and 6 of U1 (best done on the bottom side) This connects DAC reference to 5V
  • Solder a wire between J4 pin 3 and J2 pin 5
  • Solder a wire between J4 pin 4 and J2 pin 7 This connects the SPI data and clock to the right Arduino pins
  • addd a 100kohm resistor to R5 as 2mA is the reccommended ouptut current (for saftey)(ArduinoSheild PCB)
  • addd a 100kohm resistor to C4 and C6 to reduce load on DC DC conversrters so both can function at same time (Battery PCB)
  • heat sink reccommended on the 5V regulator (U1 on BatteryPCB)

User Interface

Installation of Arduino IDE and Packages

Setup

  • Start Arduino IDE and connect the InTens device to the laptop. Ensure the correct board and output port are selected within the IDE.
  • Ensure the DAC MCP library is downloaded from the GitHub repository
  • Set output baud rate to 11500
  • Upload the code to the Arduino and turn on both switches

Controlling Frequency and Amplitude

  • The initial frequency can be set using the freq variable.
  • The initial amplitude can be set using the desiredAmplitude variable.
  • The increment for the frequency can be set by changing the integer value in code line “freq+=10” and “freq-=10”.
  • The increment for the amplitude can be set by changing the integer value in code line “desiredAmplitude+=10” and “desiredAmplitude-=10”.
  • The frequency can be increased by entering “+” in the Arduino IDE.
  • The frequency can be decreased by entering “-” in the Arduino IDE.
  • The amplitude can be increased by entering “A” in the Arduino IDE.
  • The amplitude can be decreased by entering “a” in the Arduino IDE.

Note:

You can compound your increments by adding multiple inputs at once. For example: “+++++” or “AAAA”. Avoid combining inputs such as “AaA”.

The code currently does not support decimal point increments (float), please use integers such as “1” or “25”.

Conclusion

Though with 2 PCBs we have acheived the orginal goal of creating a TENS device capcable of creating a sine wave, >1kHz frequecny, and 140Vpp amplitude, we recommend the following updates to the next iteration of the device:

  • Shaft Encoder:incorporate a knob to manually control frequency and amplitude rather than through the IDE. This has been done in previous versions of the device (2021-22)
  • LCD Display:incorporate LCD display to show output frequency and amplitude and various parameter changes when changing parameters using the knob.
  • Float type increments: currently the code uses type int for the amplitude and frequency variables, update this to type float to allow decimal increments.
  • Safety: consult with electrical engineers to build in further safety features to ensure the device does not provide unwanted currents to the patient.
  • Finger Clamp: update the finger clamp design to include jaws (example a claw hair clip) so it can accommodate smaller patient anatomies.
  • Phantom Testing: continue developing a phantom model for the finger to demonstrate safety and efficacy.

Parts

24
QtyValueFootprintReferences
4MountingHole_3.2mmArduino_MountingHole:MountingHole_3.2mmMH1, MH2, MH3, MH4
3Conn_01x01Connector_Pin:Pin_D1.0mm_L10.0mmJ5, J7, J8
20.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC3, C4
10.1 uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC5
110kΩResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR3
110pFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC2
116.2kΩResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1
116.9kΩResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR2
140kΩResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR5
1453kΩ Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR4
1470pFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1
1AnalogConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ3
1Conn_01x01_SocketConnector_Wuerth:Wuerth_WR-WTB_64800211622_1x02_P1.50mm_VerticalJ6
1Digital/PWMConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ4
1Digital/PWMConnector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ2
1LTC6090Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mmU2
1MCP4921MCP4921_Mouser:DIP781W56P254L950H533Q8NU1
1PowerConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ1

More from akawaiga/InTENS

3
  • 4 layers143 × 73 mmMctens, the printed circuit board in 3D

    Mctens

    akawaiga/InTENS

    Senior Project Design

    65 parts
  • 2 layers68.6 × 53.3 mmBatteryPCB, the printed circuit board in 3D

    BatteryPCB

    akawaiga/InTENS

    Senior Project Design

    22 parts

Similar boards

  • 2 layers149.3 × 104.5 mmSequencer, the printed circuit board in 3D

    Sequencer

    michd/modular-synth

    Building a hardware modular synthesizer, this is where I'll collect module schematics and hardware designs.

    132 parts20
  • 2 layers100 × 100 mmMCTheremin, the printed circuit board in 3D

    MCTheremin

    profdc9/MCTheremin

    Microcontroller based theremin using the STM32F103C8T6 bluepill board

    99 parts11
  • 2 layers163.6 × 33.2 mmCompactBeamspringP2, the printed circuit board in 3D

    CompactBeamspringP2

    purdeaandrei/CompactBeamSpring

    Compact Beamspring Controller, based on the TH Xwhatsit design

    68 parts8
  • 2 layers158.4 × 41.7 mmSMDModelF, the printed circuit board in 3D

    SMDModelF

    purdeaandrei/SMDModelFController

    Model F controller, supports F AT, F122, F Unsaver, and "Blue Switch" keyboards.

    45 parts6
  • 2 layers68.6 × 53.3 mmDac shield, the printed circuit board in 3D

    Dac shield

    visgence/dac_shield

    Power DAC Shield for Adruino

    34 parts5
  • 2 layers151 × 118 mmOBQAS, the printed circuit board in 3D

    OBQAS

    diminDDL/OBQAS

    Open Battery Quantification and Analysis System

    204 parts1MIT
  • 2 layers167.3 × 85.2 mmFinalCircuit, the printed circuit board in 3D

    FinalCircuit

    HarshitRaj3007/EDL2024

    Repository for our EDL project in year 2024. RRAM Characterization using FPGA.

    59 parts1
  • 2 layers205.7 × 109.9 mmCarteAdaptatrice, the printed circuit board in 3D

    CarteAdaptatrice

    IOGS-LEnsE-ressources/aberrations-gui

    You can Download or Clone this repository.

    48 parts1

Questions

How big is the Arduino Shield V2 PCB?

It measures 68.6 × 53.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Arduino Shield V2 use?

24 parts, built around the MCP4921-E/P. 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 Arduino Shield V2 KiCad files?

From the akawaiga/InTENS repository on GitHub, at the commit this page was made from: the board is Arduino_Shield_V2/PCB.kicad_pcb and its schematic Arduino_Shield_V2/PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Arduino Shield V2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask akawaiga before reusing the design.