

BatteryPCB
Senior Project Design
- Size
- 68.6 × 53.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 22
- Nets
- 13
- Pads
- 86
- Tracks, vias
- 62, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 5 Feb 2024
- Updated
- 16 Apr 2026
Overview
BatteryPCB 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 22 parts on 13 nets, routed with 62 tracks and 0 vias.
It is built around the R05-100B, LF50CV and 64WR5KLF. Its parts include 6 capacitors, 4 connectors, 3 ICs and 2 switches.
Main components
3R05-100B
DIP,31.8x20.3mmIsolated Power ModulesRECOM PowerLF50CV
TO-220-40℃~+125℃@(Tj) 1 16V 350mV@(200mA)、700mV@(500mA) 500mA 500uA 50uV 5V 76dB@(120Hz) Fixed Over Current Protection、Over Temperature Protection、Enable Positive TO-220 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSSTMicroelectronicsVoltage Regulators - Linear, Low Drop Out (LDO) Regulators64WR5KLF
插件Potentiometers & Variable ResistorsTT Electronics
README
README.mdInTENS 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
- IDE download - https://www.arduino.cc/en/software
- Pathway to DAC MCP Package - https://github.com/akawaiga/InTENS/tree/main/Arduino
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
22| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole_3.2mm | Arduino_MountingHole:MountingHole_3.2mm | MH1, MH2, MH3, MH4 |
| 3 | Conn_01x01 | Connector_Pin:Pin_D1.0mm_L10.0mm | J1, J2, J3 |
| 2 | 4700pF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C4, C6 |
| 2 | 47μF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C3, C5 |
| 2 | 64WR5KLF | 64WR5KLF:RES3_64W_TTE | RV1, RV2 |
| 2 | ANT11TFHQE | 100SP1T1B4M2QE:100SP1T1_EWI | SW1, SW2 |
| 2 | R05-100B | Package_DIP:DIP-24_W15.24mm | U2, U3 |
| 1 | 0.1μF | Capacitor_THT:C_Rect_L4.6mm_W2.0mm_P2.50mm_MKS02_FKP02 | C2 |
| 1 | 0.33μF | Capacitor_THT:C_Rect_L4.6mm_W2.0mm_P2.50mm_MKS02_FKP02 | C1 |
| 1 | Battery | 0039296028:CON_39296028 | BT1 |
| 1 | Conn_01x01_Socket | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J4 |
| 1 | LF50CV | LF50CV:LF50CV | U1 |
More from akawaiga/InTENS
3- 4 layers143 × 73 mm

- 2 layers68.6 × 53.3 mm

- 2 layers68.6 × 53.3 mm

Similar boards
- 2 layers158.8 × 159.8 mm

- 2 layers35.5 × 50 mm

- 2 layers35.6 × 52.1 mm

- 2 layers158 × 11 mm

Daylight Matchstick
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
22 parts1.1kGPL-3.0 - 2 layers57 × 65 mm

Rgb to hdmi
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
22 parts1kGPL-3.0 - 2 layers81 × 57.2 mm

RP2040-Macropad
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
22 parts915 - 2 layers54.6 × 70.9 mm

BeagleLogic Cape
abhishek-kakkar/BeagleLogic
A Software Suite that implements a logic analyzer with the PRU on the BeagleBone / BeagleBone Black.
22 parts479GPL-3.0 - 2 layers66.4 × 24.5 mm

Connecting piece
Chrismettal/flipper-zero-backpacks
Backpack-style addon boards for the Flipper Zero!
22 parts456
Questions
How big is the BatteryPCB PCB?
It measures 68.6 × 53.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the BatteryPCB use?
22 parts, built around the R05-100B, LF50CV and 64WR5KLF. 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 BatteryPCB KiCad files?
From the akawaiga/InTENS repository on GitHub, at the commit this page was made from: the board is BatteryPCB/BatteryPCB.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 BatteryPCB design in my own project?
Its repository states no licence, so its author keeps all rights: ask akawaiga before reusing the design.