Skip to the content
2 layers165.1 × 76.2 mmPicoslidertoy proto1, the printed circuit board in 3D

Picoslidertoy proto1

sinitsinmike/picoslidertoy2

It also includes a cutout for a reverse-mounted SSD1306 I2C OLED display. The Raspberry Pi Pico SMD mounts to the back of the board to provide a clean look for the touch surface.

Size
165.1 × 76.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
50
Nets
36
Pads
135
Tracks, vias
348, 26
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
10 Oct 2024
Updated
10 Oct 2024

Overview

Picoslidertoy proto1 is an open-source printed circuit board by sinitsinmike, from the sinitsinmike/picoslidertoy2 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 165.1 × 76.2 mm with 50 parts on 36 nets, routed with 348 tracks and 26 vias.

It is built around the HS96L03W2C03. Its parts include 26 resistors, 9 switches and 1 IC. It belongs with the RP2040 boards of this library.

Main components

1

README

README.md

picoslidertoy

I sell on Tindie

Table of contents

What is it?

picoslidertoy is a touch-sensitive control surface that uses 24 GPIO pins of the Raspberry Pi Pico to provide:

  • three linear sliders
  • two rotary sliders
  • nine buttons
  • all capacitive touch

It also includes a cutout for a reverse-mounted SSD1306 I2C OLED display. The Raspberry Pi Pico SMD mounts to the back of the board to provide a clean look for the touch surface. The entire PCB is 165 mm x 76 mm (6.5" x 3.0").

The picoslidertoy can be a USB MIDI control surface, a USB Macropad keyboard with "analog" controls, or even a USB gamepad. It can be programmed in CircuitPython and touchio or Arduino with my TouchyTouch library. Several example firmware apps are provided.

Variants

There are two versions of the picoslidertoy available:

  • black PCB -- production version with proper alignment of the cutout for standard 0.96" I2C OLED, comes with all SMD resistors soldered down Note: the silkscreen on the back has a typo, saying 0.91" I2C OLED.

  • green PCB -- prototype version with no components soldered down and where the I2C OLED display cutout is a little off. Still usable, or mount the display on the face.

There is also a nice minimal 3d-printable enclosure available in the github repo (and visible in the photos above). You really want a case for capacitive touch projects like this to reduce spurious readings.

Parts needed

In addition to the picoslidertoy PCB, you will need:

  • Raspberry Pi Pico

    • Must be w/ castellated pads & w/o headers, (like this)
    • For USB-C, consider this USB-C 16 MB Pico clone
    • (NOTE: NOT the Pico2, since its RP2350 chip has a hardware error)
  • I2C OLED display SSD1306

    • 0.96" 128 x 64 pixels, in white
    • Pins must be in GND,VCC,SCL,SDA order
    • Prefer the 27.5 mm wide displays over the 25 mm wide ones (one example)
  • (If you have a green proto one, you will also need 24 x 1M 0603 resistors and 2 x 10k 0603 resistors)

  • 3d printed case or M2.5 standoffs/screws or some other feet

Soldering components

  • Pico -- the Pico is soldered down surface-mount style, using its castellated pads. This video soldering a Pico on picotouch is how I do it for this board too. It's technically surface-mount soldering, but the pads are bigger than most through-hole pads and easy to solder to. Note that Pico clones that don't have castellated pads like the real Pico will not work. (Youtube video with Pico SMD soldering tips)

  • OLED Display -- the display can either be mounted on the front (especially easy if your display's pins come pre-soldered) or from the back (my preference). If mounting from the back, you first need to desolder the 4-pin header on the display and mount a new 4-pin header "reverse" so that pins stick up from the front of the display. The main header body is still on the back of the display. (The video below hopefully makes this clearer). When soldering, do one pin first and check alignment, then solder the rest of the pins. Finish up by trimming the excess header pins. (Youtube video with picoslidertoy soldering tips)

Firmware installation / Installing apps

CircuitPython apps

These are the apps currently available

  • hwtest -- a simple on/off test of the touch sensors, no display needed. Use serial REPL to see results

  • hwtest display -- like hwtest but also outputs simple feedback via the display

  • midi_sliders -- MIDI controller where the sliders emit CCs and the buttons send NoteOn/NoteOffs

If you've never used a Pico or CircuitPython, there are several ways to put code on it. The two main ways I'll present here are:

  • Ready-to-go UF2 file in "Releases"
  • Installing by hand: CircuitPython, code.py, libraries

Ready-to-go UF2 file

Steps to install a UF2 file:

  • Download a ready-to-go UF2 file from the Releases section section
  • Hold the BOOTSEL button on the picoslidertoy's Pico while plugging it into your computer
  • Copy the UF2 file to the "RPI-RP2" Pico bootloader drive
  • Wait for a bit, then app is running!

In general, I'll try to make UF2 files available in the Releases section for the different apps.

Installing by hand

Steps to install by hand:

  • Download this repo, either with a git clone or clicking on "Code / Download ZIP"

  • Download the latest CircuitPython UF2 for Pico at https://circuitpython.org/board/raspberry_pi_pico/

  • Install the CircuitPython UF2 (like in the above UF2 steps)

  • Wait for CircuitPython to come up and present a CIRCUITPY drive

  • Copy the files of the picoslidertoy app in question to CIRCUITPY:

    e.g. for midi_sliders, copy code.py, slider_display.py, touchslider.py to CIRCUITPY

    text
    cp circuitpython/midi_sliders/* /Volumes/CIRCUITPY  # (if macos)
  • Install CircuitPython libraries onto Pico

    If you have Python on your computer you can do:

    text
    pip3 install circup
    circup install adafruit_midi adafruit_displayio_ssd1306

    Otherwise, download the CircuitPython Libraries Bundle and copy over the adafruit_midi and adafruit_displayio_ssd1306 libraries to the CIRCUITPY/lib folder on the Pico.

Why?

I wanted a way to experiment with linear and rotary touch sliders. I made some touchwheels to give away for Hackaday Supercon 2023 and they were popular. I wanted a larger playground for experimenting with these controls.

What makes it special?

The 24 capacitive touch sensors are read directly by the Pico, either via CircuitPython's touchio library or the TouchyTouch Arduino library. No external touch chip needed. I think that's really cool! Getting an "analog" value out of the three touch sensors that make up a linear or rotary touch slider is fairly simple but there are some tricks I'm developing to make the values stable.

picoslidertoy is also completely open source with schematic files in KiCad and software in CircuitPython and Arduino.

Press links

Parts

50
QtyValueFootprintReferences
241MResistor_SMD:R_0603_1608MetricR1, R2, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 +8
9Capacitive ButtonSparkFun-Switch:Pad-CapacitiveTouchSW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9
4MountingHoleMountingHole:MountingHole_2.1mmH5, H6, H7, H8
3~todbot_eagle2023:TOUCHSLIDER3_8x40BFADER1, FADER2, FADER3
210kResistor_SMD:R_0603_1608MetricR25, R26
2MountingHoleMountingHole:MountingHole_2.7mm_M2.5H3, H4
2MountingHoleMountingHole:MountingHole_2.7mm_M2.5_ISO14580H1, H2
2~todbot_eagle2023:TOUCHROTARY1BTOUCHROTARY1, TOUCHROTARY2
1HS96L03W2C03todbot_stuff:OLED-TH_under_L27.8-W27.2-P2.54_C9900033791DISP1
1Picotodbot_RPI_Pico:RPi_Pico_SMDU1

More from sinitsinmike/picoslidertoy2

1
  • 2 layers165.1 × 76.2 mmPicoslidertoy displayholes, the printed circuit board in 3D

    Picoslidertoy displayholes

    sinitsinmike/picoslidertoy2

    It also includes a cutout for a reverse-mounted SSD1306 I2C OLED display. The Raspberry Pi Pico SMD mounts to the back of the board to provide a clean look for the touch surface.

    46 partsGPL-3.0

Similar boards

  • 4 layers51 × 77 mmBODAQS A8 board v1 0, the printed circuit board in 3D

    BODAQS A8 board v1 0

    benconnor1972/BODAQS

    Bicycle Open Data Acquisition System

    120 parts9
  • 2 layers42 × 98.1 mmPendant, the printed circuit board in 3D

    Pendant

    esplo/cue2keys_resources

    Docs and other resources for Cue2Keys

    69 parts5MIT
  • 2 layers108 × 65 mmPcb moonratII, the printed circuit board in 3D

    Pcb moonratII

    PubInv/moonrat

    Moonrat: A second-generation portable incubator

    37 parts5AGPL-3.0
  • 2 layers56.8 × 66.2 mmTamagotchi, the printed circuit board in 3D

    Tamagotchi

    TaniWanKenobi/tamagotchi

    A custom PCB-based Tamagotchi virtual pet built with the XIAO-ESP32-C6!

    14 parts5
  • 2 layers60 × 90 mmCinder, the printed circuit board in 3D

    Cinder

    CircuitGuy943/CinderV2-Filament-Dryer

    (🚧) A filament dryer to precede my old one made inside a wooden box that never worked properly and didn't heat anything. Features to be estabilished

    40 parts4GPL-3.0
  • 4 layers56 × 28 mmBx tacho, the printed circuit board in 3D

    Bx tacho

    dazchi/bx-tacho

    Open DIY Beyblade X launcher RPM meter: ESP32-C3 with IR sensors and an OLED, Bluetooth (Battle Pass protocol), and a browser app for shot data and firmware updates. KiCad hardware, ESP-IDF firmware, 3D-printed case.

    51 parts3GPL-3.0
  • 2 layers180 × 110 mmPicotouch grid, the printed circuit board in 3D

    Picotouch grid

    todbot/picotouch_grid

    170 parts2GPL-3.0

Questions

How big is the Picoslidertoy proto1 PCB?

It measures 165.1 × 76.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Picoslidertoy proto1 use?

50 parts, built around the HS96L03W2C03. 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 Picoslidertoy proto1 KiCad files?

From the sinitsinmike/picoslidertoy2 repository on GitHub, at the commit this page was made from: the board is schematics/picoslidertoy_proto1/picoslidertoy_proto1.kicad_pcb and its schematic schematics/picoslidertoy/picoslidertoy.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Picoslidertoy proto1 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).