User Tools

Site Tools


wio:wiopico-io16-en

French VersionDeutsche VersionEnglish Version

WIOpico 16 I/O

Introduction

picow.jpg wiopico-01.jpg

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


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:

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+
GP11 IN2 DIR+
GP12 IN3 ENABLE+
GP13 IN4 -
GP28 CAL CAL Hall/Reed calibrate sensor (Battery check will be disabled.)


Mobile

Pin Mobile Remark
GP10 ENA H-Bridge enable
GP11 IN1 H-Bridge input 1
GP12 IN2 H-Bridge input 2
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 Pin Remark
1 GP10…GP17 Optional 10k pull-up resistors.
2 GP18…GP22, GP26, GP27 and GP3 idem


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 Optional because the internal pull-up seems to be adequate.
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
RS485 GP0 and GP1, GP28 for enable Remove JP1 VCC and GND

Files

Notes

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


Documentation

wio/wiopico-io16-en.txt · Last modified: 2023/01/23 14:54 by rjversluis