
PSLab
fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io

Multiplexor de 6 potenciómetros para Raspberry Pi Pico.
Plexo v-0-rev a is an open-source printed circuit board by piruetasxyz, from the piruetasxyz/plexo repository on GitHub. It is a 2-layer board of 100 × 50 mm with 17 parts on 12 nets, routed with 107 tracks and 9 vias.
It is built around the 74HC4051. Its parts include 7 capacitors, 1 IC and 1 connector.
Multiplexor de 6 potenciómetros para Raspberry Pi Pico.
Usa un 74HC4051 (multiplexor analógico de 8 canales) para leer 6 potenciómetros con una sola entrada analógica (ADC) de la Pico y 3 pines digitales de selección.
| Referencia | Valor | Encapsulado | Notas |
|---|---|---|---|
| U1 | 74HC4051 | SOIC-16 | LCSC C9386 |
| RV1–RV6 | 10k lineal (B10K) | 9 mm vertical, tipo Alpha RV09 | Se sueldan a mano |
| C1–C6 | 100 nF X7R | 0805 | Filtro en cada potenciómetro, LCSC C49678 |
| C7 | 100 nF X7R | 0805 | Desacople de U1, LCSC C49678 |
| J3 | Conector hembra 1×6 | 2,54 mm | Ver conexiones |
J3 es un conector hembra de 6 pines, paso 2,54 mm.
| Pin | Señal | Pico (sugerido) |
|---|---|---|
| 1 | 3V3 | 3V3(OUT), pin 36 |
| 2 | salida (COM del multiplexor) | GP26 / ADC0, pin 31 |
| 3 | GND | AGND, pin 33 |
| 4 | S0 | GP2, pin 4 |
| 5 | S1 | GP3, pin 5 |
| 6 | S2 | GP4, pin 6 |
Conviene conectar la tierra de plexo al pin AGND de la Pico (pin 33) en vez de una GND digital: las lecturas salen con menos ruido.
No alimentes los potenciómetros desde ADC_VREF. En la Pico ese pin tiene una resistencia de 200 Ω en serie, y los 6 potenciómetros consumen unos 2 mA en total, lo que hace caer el voltaje unos 0,4 V.
| S2 | S1 | S0 | Canal | Lectura |
|---|---|---|---|---|
| 0 | 0 | 0 | A0 | potenciómetro 1 |
| 0 | 0 | 1 | A1 | potenciómetro 2 |
| 0 | 1 | 0 | A2 | potenciómetro 3 |
| 0 | 1 | 1 | A3 | potenciómetro 4 |
| 1 | 0 | 0 | A4 | potenciómetro 5 |
| 1 | 0 | 1 | A5 | potenciómetro 6 |
| 1 | 1 | 0 | A6 | GND (lee 0) |
| 1 | 1 | 1 | A7 | GND (lee 0) |
Los canales A6 y A7 están conectados a tierra. Sirven para revisar cuánto mide el "cero" del ADC.
from machine import ADC, Pin
import time
seleccion = [Pin(2, Pin.OUT), Pin(3, Pin.OUT), Pin(4, Pin.OUT)] # S0, S1, S2
salida = ADC(26)
def leer_potenciometro(canal):
for bit, pin in enumerate(seleccion):
pin.value((canal >> bit) & 1)
time.sleep_us(10) # tiempo para que se estabilice el multiplexor
salida.read_u16() # se descarta la primera lectura
return salida.read_u16()
while True:
valores = [leer_potenciometro(canal) for canal in range(6)]
print(valores)
time.sleep_ms(50)read_u16() entrega valores entre 0 y 65535.
65535 - valor.plexo-v-0-rev-a/: proyecto de KiCad (esquemático y PCB).| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 100n | Capacitor_SMD:C_0805_2012Metric | C1, C2, C3, C4, C5, C6, C7 |
| 6 | 10k | Potentiometer_THT:Potentiometer_Alpha_RD901F-40-00D_Single_Vertical | RV1, RV2, RV3, RV4, RV5, RV6 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2 |
| 1 | 74HC4051 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1 |
| 1 | Screw_Terminal_01x06 | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J3 |

fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io

eddyem/stm32samples
Code samples and ready projects based on bare-metal STM32




sporkus/le_capybara_keyboard
Capactive sensing (EC) pcb for Le Chiffre keyboard

ginjake/ec_helix_build
商用利用したい場合は twitter @sirojake にご相談ください please contact me for commercial use. ## developer ginjake

It measures 100 × 50 mm and has 2 copper layers, 1.6 mm thick.
17 parts, built around the 74HC4051. 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.
From the piruetasxyz/plexo repository on GitHub, at the commit this page was made from: the board is plexo-v-0-rev-a/plexo-v-0-rev-a.kicad_pcb and its schematic plexo-v-0-rev-a/plexo-v-0-rev-a.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask piruetasxyz before reusing the design.