User Tools

Site Tools


wio:wiopico-io16can-en

French VersionDeutsche VersionEnglish Version

WIOpico 16 I/O CAN

Introduction

The WIO-Pico-CAN version uses CAN for communication instead of WiFi, and offers an USB interface for communicating with the host computer.
Also a WLAN service is possible but in a wired environment all communications should be wired.
It is also possible to use the CANService as global CAN interface for more flexibility.
So with the coming of this board WIO stands for both Wireless and Wired I/O.

The CAN communication uses the RCAN protocol to be able to efficiently use every byte in the extended CAN packet.


Compatibility

Pico

A separate build is provided for the Pico without a WiFi shield.
The Pico must be setup by the Maintenance Tab.
Firmware update is only possible over USB.

CBUS

RCAN uses a CAN bus speed of 125k and can be integrated in a CBUS environment.
The CAN Interface must be able to process extended CAN packets, and the RCAN protocol must also be enabled.

MBUS

MBUS uses a CAN bus speed of 250k and can be integrated in a Märklin compatible environment.
With this protocol active the WIO-Pico-CAN can only be used as interface between CAN and Rocrail.


Setup


CAN

Option Maintenance Required Remark
I/O CAN I/O YES Process I/O over CAN.
USB-Bridge CAN USB Optional 250kb USB interface.
RCAN CAN RCAN YES WIO-Pico-CAN only evaluate the RCAN protocol.
Pico CAN Pico CAN YES Needed for the pin to PCB mapping.

Maintenance

The CAN options can also be set on the Maintenance Tab:
wiocanmaintenance-en.jpg

Rocrail

See: CANBUS
Protocol: RCAN or RCAN+CBUS if the CAN bus is mixed.

DTR

Under Windows the DTR signal is not set as expected, so set the DTR option to "high".


Pin mappings

All pin mappings are the same as WIOpicoW except for:

NeoPixel

NeoPixel will capture GP20, Servo 4, on the first LED command.
Servo 4 will be disabled until the next boot.

Serial UART

Serial communication is mapped, if needed, on GP8(TX) and GP9(RX). (J1-3(TX) and J1-4(RX).)
Used for:

  • ID-12LA
  • RailCom reader

DCC

Connector GP Usage
J2-5 2 DCC1
J2-6 3 DCC2
J2-7 28 PT bridge enable
J2-8 22 Main curren (analog)
J2-9 6 PT acknowledge (analog)
J2-10 7 Main bridge enable


Update

The WIO firmware cannot be updated over CAN.

PicoW

Temporary WiFi credentials can be set on the Update Tab. The WIO-Pico-CAN will make a WiFi connection and will be visible on the Query Tab.(Refresh)
Select the WIO-Pico-CAN and upload the WIO binary on the Update Tab as usual.
After the update the WIO-Pico-CAN will reboot without the temporary WiFi credentials.

Pico

An update is only possible over USB.


Files


LEDScript, IOScript and AMP files can be transferred over CAN on the File Tab.
The WiFi credentials on the Update Tab can also be used for accessing files by browser.


Hardware

PCB

Enclosure

wio/wiopico-io16can-en.txt · Last modified: 2024/08/19 15:39 by rjversluis