User Tools

Site Tools


wio:wiopico-io16-en

French VersionDeutsche VersionEnglish Version

WIOpico 16 I/O

Introduction

The Pico-W is pin compatible with the Pico. But features also a WiFi connection module.


GCA Extension Units

Not all GCA Extension Units are 3V3 compatible; Check the documentation.
If 5V I/O is needed: Check the WIO-01 and WIO-02.


Notes

Type

The IO16 and Control type are the only one available for the Pico-W.

Pinout

RP2040 Specific Board and Libraries

Boards manager URL:

https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

Compiling WIO for target Pico-W, RP2040, needs a few extra Arduino libraries:

  • RP2040_PWM
  • RPI_PICO_TimerInterrupt
  • LittleFS_Mbed_RP2040

SparkFun APDS9960 Library

Line 198 in the Arduino/libraries/SparkFun_APDS9960.h must be changed from NA_STATE into NO_STATE because it conflicts with the WiFi RP2040 library.
This Enum value ist not used in the Arduino/libraries/SparkFun_APDS9960.cpp. (implementation)


Install

  1. Keep the Pico button pressed at connecting to USB. (Important: The USB cable has to be a data cable, a charging-only cable doesn't work)
  2. The Pico will behave like a removable drive.
  3. Copy the WIO.ino.uf2 file on this drive.
  4. Ready.

Setup

The easiest way is to use the Maintenance Tab in the WIO Dialog.

OTA update

pico-ota-en.jpg Use the WIO.ino.bin file for the OTA upload on the update tab of the WIO Dialog.


Pins

I2C

I2C Pin Remark
SDA GP4 10k pull-up
SCL GP5 10k pull-up


Serial

UART0 Pin
TX GP0
RX GP1


NeoPixel

NeoPixel Pin
Data GP2 Disabled in case of Charlyplexing.


Battery

Battery Pin Remark
Voltage GP28 Disabled in case of stepper.
Resistors: (+)–[100k]–(aIN)–[33k]–(-)


Servo

Servo Pin Remark
1 GP6 270Ω protection resistor between GP and servo.
2 GP7 idem
3 GP8 idem
4 GP9 idem


Stepper

Pin 4-wire 3-wire Remark
GP10 IN1 CLK+ step, define as output
GP11 IN2 DIR+ define as output
GP12 IN3 ENABLE+ define as output
GP13 IN4 - define as output
GP28 CAL CAL Hall/Reed calibrate sensor (Battery check will be disabled.)


Mobile

Pin Mobile Remark
GP10 ENA H-Bridge enable (ENA)
GP11 IN1 H-Bridge input 1 (IN1)
GP12 IN2 H-Bridge input 2 (IN2)
GP13 Lights


Control

WIO Type Control.

Pin Throttle Remark
GP10 ROT1 Rotary connection 1
GP11 ROT2 Rotary connection 2
GP12 ROTSW Rotary switch
GP13 F0 Function button 0
GP14 F1 Function button 1
GP15 F2 Function button 2
GP16 F3 Function button 3
GP17 F4 Function button 4
GP18 SHIFT Function shift


DCC

ASCII���Screenshot

Pin Mobile Remark
GP20 DCC1 DCC signal
GP21 DCC2 Inverted DCC signal
GP22 PT H-Bridge PT enable
GP26 PT-ACK Pickup the acknowledge from the mobile decoder
GP27 Reserved For load(A) in future versions
GP3 Main H-Bridge Main enable


Charlyplexing

Example products: Multiplex signals by Viessmann

Signal settings

  • Control: Aspect numbers
  • Type Multiplex

See also Charlieplexing signal support.

Wire GP Remark
1 10 Main signal Adress 1, Distant signal Adress 101
2 11
3 12
4 13
1 14 Main signal Adress 5, Distant signal Adress 105
2 15
3 16
4 17
1 18 Main signal Adress 9, Distant signal Adress 109
2 19
3 20
4 21
1 22 Main signal Adress 13, Distant signal Adress 113
2 26
3 27
4 3

All I/O used must be defined as an output.

I/O

Bank 1
Port Nr. GP Remark
IO1 14 GP10 Optional 10k pull-up resistors to 3,3 V at all.
IO2 15 GP11
IO3 16 GP12
IO4 17 GP13
IO5 19 GP14
IO6 20 GP15
IO7 21 GP16
IO8 22 GP17
Bank 2
Port Nr. GP Remark
IO9 24 GP18 Optional 10k pull-up resistors to 3,3 V at all.
IO10 25 GP19
IO11 26 GP20
IO12 27 GP21
IO13 29 GP22
IO14 31 GP26
IO15 32 GP27
IO16 5 GP3


WIO-PicoW-01

GCA PCB for the WIOpico.

Connectors

Connector Pin(s) Remark 1 Remark 2
BAT1 - Power/Battery source R-78E-5
I/O1 GP10…GP17 10k resistor array for pull-up The internal pull-up is often not sufficient.
I/O2 GP18…GP22, GP26, GP27 and GP3 10k resistor array for pull-up idem
I2C1 GP4 and GP5 3k3 pull-up VCC and GND
TRX1 GP0 and GP1 UART VCC and GND
NP1 GP2 +5V and GND
Ser1…4 GP6…GP9 270 Ohm resister in between the data line +5V and GND
Hall1 GP28 10k pull-up JP1 selection Hall. +5V and GND
- GP28 Battery check: 100k/33k JP1 selection Battery

Files

Notes

  • +5V on servo, pixel, UART and I2C connectors only in case of external power supply.


Documentation

wio/wiopico-io16-en.txt · Last modified: 2024/04/01 16:35 by rjversluis