

First, open the LEDControlinterruptscreenascii.cpp code in Arduino.ide. To run the program, you must first have the SSD1306Ascii library installed on Arduino.
- Size
- 68.6 × 53.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 23
- Nets
- 48
- Pads
- 90
- Tracks, vias
- 138, 8
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 21 Mar 2025
- Updated
- 14 May 2025
Overview
Shield is an open-source printed circuit board by Julie-Mauguit, from the Julie-Mauguit/CSL-light-hardware repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 68.6 × 53.3 mm with 23 parts on 48 nets, routed with 138 tracks and 8 vias.
It is built around the BS170. Its parts include 13 connectors, 2 resistors, 2 transistors and 2 switches.
Main components
1README
README.mdCSL-light-hardware
I. Objectives
LED module operating modes with a pcb plate
MODE 1 - Sequence of pulses
The user can define on the computer the frequency and amplitude of a sequence of pulses.
MODE 2 - Analog control
The user can send an analog signal to control the LED. The analog signal can be designed using eg. a signal generator.
MODE 3 - Manual control
The user can set the LED level using a potentiometer.
II. Usage
I. Access mode
- To access Mode 1: set interruptor to 1 ("serial" shows up on the screen) and switch the flip to PWM.
- To access Mode 2: set interruptor to 1 ("serial" shows up on the screen) and switch the flip to analog.
- To access Mode 3: set interruptor to 0 ("manual" shows up on the screen).
II. Connection
- Insert the LED jacks into the corresponding holes
- Insert the generator jacks into the corresponding holes
- Insert the jacks to feed the analog signals into the corresponding input holes
[blocked]
III. Using the LEDControl_interrupt_screen_ascii code
First, open the LEDControl_interrupt_screen_ascii.cpp code in Arduino.ide. To run the program, you must first have the SSD1306Ascii library installed on Arduino.
Test the control command:
- type: #d[3,0,0,1,0,2,0,255]:xxxx.
It is a command to generate on and off output on pin 3 or 6. The pin stays on for 1 seconds with a period of 2 seconds, at intensity 255. It is later on embeded in a Pyton code for clarity. You should see a character sequence appear. - Then type #b[100,0]:xxxx to start the experiment. You should see the LEDs blink (frequency 0.5Hz).
- To stop the blinking, type #e:xxxx
III. Manufacture
I. Kicad
A. Complete electronic circuit
Complete Circuit on Kicad :
[blocked]
LED 1 and 2 :
[blocked]
PWM Control :
[blocked]
Analog Control :
[blocked]
Serial or Manual Mode :
[blocked]
B. Component roles
- Top connectors (J5, J7, J6, J8, J10) : These are screw terminal blocks used to connect LEDs, power, or other peripherals.
- Relays (RECOM1, RECOM2, etc.) : Their role is to adjust the LED light output to prevent damage. They therefore act as power regulators.
- MOSFETs (BS170) : These are used to invert the signal. In fact, the RECOM inverts the input signal, it is inverted a first time before it processes it, in order to obtain the initially desired signal at the output. This can be useful if the LEDs require active low control (they light up when the signal is LOW).
- Potentiometers (RV1, RV2) : These allow for a manual mode to adjust LED intensity via an analog input.
- Double Switch (SW_DPDT_x2) : Two switches are used to select between analog or PWM control for each LED.
- A Switch On-Off (Jumper_2_Open) : It allows switching between Serial and Manual modes.
C. Impression
It lasts about 30 minutes.
[blocked]
II. Welding
A. Shield Arduino
First, you need to solder the branches of the Arduino.
B. Components that you solder directly onto the PCB board
- Resistors
- MOSFET transistors
- RECOM
- Terminal blocks
- Vias
C. Components that you don't solder directly onto the PCB board
- The 2 potentiometers
- The OLED screen
- The 2 switches
- The on-off switch
After welding
[blocked]
D. Jack sockets
You have to solder cables with the female jack sockets.
[blocked]
For the black and red cables of the male jack, you must solder them to the generator, LED, and signal cables. Before soldering, prepare some heat-shrink tubing to prevent loose connections.
E. List of components
On GOTRRONIC :
-
RECOM : (x2)
- Web link: https://www.gotronic.fr/art-convertisseur-r-78e3-3-0-5-29589.htm
- Code : 14977
- Price : 4,6€
-
Switch On-Off: (x1)
- Web link : https://www.gotronic.fr/art-inter-secteur-unipolaire-47432.htm
- Code : 07059
- Price : 0.90€
-
OLED Screen : (x1)
- Web link : https://www.gotronic.fr/art-module-afficheur-oled-0-96-tf052-28511.htm
- Code : 36038
- Price : 9,5€
-
Potentiometers : (x2)
- Web link : https://www.gotronic.fr/art-potentiometre-logarithmique-10k-937-3000.htm
- Code : 04519
- Price : 2,60€
-
Double switch : (x2)
- Web link : https://www.gotronic.fr/art-inverseur-bipolaire-8012b-4181.htm
- Code : 07014
- Price : 2,80€
-
Resistors 820 ohms : (x2)
- Web link : https://www.gotronic.fr/art-resistance-carbone-1w-820-8486-2748.htm
- Code : 04235
- Price : 0,10€
-
2.5mm pitch terminal block : (x6)
- Web link : https://www.gotronic.fr/art-bornier-sc02-2-54-15468.htm
- Code : 48930
- Price : 0.80€
-
3.5 mm male jack : (x6)
- Web link : https://www.gotronic.fr/art-cordon-jack-vers-fils-denudes-sterf-37803.htm
- Code : 48239
- Price : 0,95€
-
3.5mm female socket : (x6)
- Web link : https://www.gotronic.fr/art-embase-femelle-cg203-4814.htm
- Code : 08461
- Price : 0,50€
-
Transistor MOSFET BS170 : (x2)
- Web link : https://www.gotronic.fr/art-transistor-bs170-1569.htm
- Code : 02440
- Price : 0.30€
-
Uno Arduino : (x1)
- Web link : https://www.gotronic.fr/art-arduino-uno-a000066-12420.htm
- Code : 25950
- Price : 23.90€
-
9-pin Arduino connector : (x3)
- Web link : https://www.gotronic.fr/art-connecteur-fh1x9-35491.htm
- Code : 49007
- Price : 0.80€
-
14-pin Arduino connector : (x1)
- Web link : https://www.gotronic.fr/art-connecteur-fh1x14-35646.htm
- Code : 49011
- Price : 1€
-
LED : (x2)
- Web link: https://www.gotronic.fr/art-led-5-mm-led5bt-21009.htm
- Code : 03039
- Price : 0.30€
III. Assembly
A. Box printing
Printing the box takes approximately 1 hour and 20 minutes. Printing the box lid takes approximately 30 minutes. Printing the small panel with the instructions takes approximately 13 minutes.
B. Plastic inserts
You will need to make three 3.7mm diameter, 3mm deep plastic inserts with 6mm long M3 screws to secure the Arduino to the enclosure lid. Then, make 3mm diameter, 3mm deep plastic inserts with 8mm long M3 screws to close the enclosure.
C. Finalization
Screw the components into the box in this order:
- Female jack sockets
- OLED display with 10mm long M2 screws and nuts
- The two switches
- The on-off switch
- The two potentiometers
After assembly
[blocked]
[blocked]
IV. Code
Code Arduino/LEDControl_interrupt_screen_ascii
The code has been adapted to suit the circuit. In this configuration, pins 3 and 6 are used for PWM inputs, while pins A0 and A1 are used for analog inputs.
License
Copyright (C) 2025
Author(s): Julie Maugit - Polytech Sorbonne Thierry Legou - CNRS/Aix-Marseille Université Peter Hanappe - Sony Computer Science Laboratories Paris Aliénor Lahlou - Sony Computer Science Laboratories Paris
You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
This work was supported by the European Innovation Council Pathfinder Open DREAM (grant no. 101046451)
Parts
23| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | Screw_Terminal_01x02 | Connector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_Vertical | J5, J6, J7, J8, J9, J10 |
| 2 | BS170 | Package_TO_SOT_THT:TO-92_Inline | Q1, Q2 |
| 2 | RCD-24 | Converter_DCDC:Converter_DCDC_RECOM_RCD-24_THT | RECOM1, RECOM2 |
| 2 | SW_DPDT_x2 | Lib_indus:SW_CK_JS202011CQN_DPDT_Straight | SW1, SW2 |
| 2 | Screw_Terminal_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J12, J13 |
| 1 | 8200 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical | R1 |
| 1 | Analog | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J3 |
| 1 | Digital/PWM | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | J4 |
| 1 | Digital/PWM | Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_Vertical | J2 |
| 1 | Jumper_2_Open | Lib_indus:SW_DIP_SPSTx01_Slide_9.78x4.72mm_W7.62mm_P2.54mm_modif | JP1 |
| 1 | MountingHole_3.2mm | Arduino_MountingHole:MountingHole_3.2mm | MH1 |
| 1 | Power | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | J1 |
| 1 | R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical | R2 |
| 1 | Screw_Terminal_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J11 |
Similar boards
- 2 layers21.1 × 26.9 mm

- 2 layers94.6 × 46.1 mm

- 2 layers97.1 × 97 mm

- 2 layers121 × 68 mm

Freeds sanchez
pablozg/freeds
Derivador de energía solar excedente creado por Pablo Zerón, Diseño PCB por Amcalo, Tester original por Aeizoon, Wiki por Zoilo Mora
42 parts108 - 2 layers167.6 × 97.5 mm

AS3397 proto DIP
PhysicsDptAngers/polyUAnalog
Open source, analog and polyphonic synthesizer
142 parts88MIT - 2 layers70 × 55 mm

- 2 layers

T41-Main+RF board V012
DRWJSCHMIDT/T41
This is the repository for the officially released V10, V11, and V12 versions of the T41 Software Defined Transceiver hardware and kits.
255 parts66 - 2 layers71.1 × 24.1 mm

Dactyl manuform gimbal
sffubs/dactyl_manuform_gimbal
Instrutions and designs for building the dactyl-manuform-gimbal keyboard
20 parts57
Questions
How big is the Shield PCB?
It measures 68.6 × 53.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Shield use?
23 parts, built around the BS170. 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 Shield KiCad files?
From the Julie-Mauguit/CSL-light-hardware repository on GitHub, at the commit this page was made from: the board is Kicad pcb/shield.kicad_pcb and its schematic Kicad pcb/shield.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Shield design in my own project?
Its repository publishes it under the GPL-3.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).