User Tools

Site Tools


arduino:wio02-en

WIO-02

Introduction

The WIO-02 is almost the same as the WIO-01, but is based on the ESP32 (LOLIN D32) instead of the ESP8266 (LOLIN D1 mini).
It has a few extra features:

  1. CAN connection with Internal Controller and MCP2561.
  2. Buffered, P82B715, I2C connection compatible with the PiXX serie.
  3. Sound DAC connection.
  4. Up to 8 Servos.
  5. Able to act as CAN decoder.


CAN

The CAN can be used in combination with WiFi to make a bridge between CBUS/MBUS and Rocrail.
If the CAN_IO option is set in the USERCFG.h, WIO-02 will also process commands from CAN/CBUS an report on CAN/CBUS.

Addressing CBUS

Simple I/O, long event type, can be processed if the object has set the Bus value to the target WIO ID.
For controlling servos, LEDs and signal, the object must be set to none accessory, and all other parameters are the same as with WIO addressing.
See also: WIO Addressing

I2C

Additional RocNet PiXX units can be connected to extend I/O.

DAC

See: WIO Sound


D32 Pinout

Pin # WIO-02 usage
0 FastLED
1 USB TX
2 Servo 5
3 USB RX
4 CAN RX
5 Onboard LED
6 Not used
12 Servo 0
13 Servo6
14 SPI slave select 1
15 Servo 7
16 CAN TX
17 Servo 1
18 SPI SCK
19 SPI MISO
21 I2C SDA
22 I2C SCL
23 SPI MOSI
25 Sound
26 Servo 2
27 Servo 3
32 Servo 8
33 SPI slave select 2
34 Not used
36 Not used
39 Not used


arduino/wio02-en.txt · Last modified: 2020/06/16 19:25 by rjversluis