User Tools

Site Tools


arduino:wio-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
arduino:wio-en [2019/11/10 14:01] – [Attention] rjversluisarduino:wio-en [2019/11/15 14:37] – [Servos] rjversluis
Line 1: Line 1:
-====== W I O - Throttle - 32 I/O - LEDs - Servos - RFID - OLED - DCC ======+[[:arduino:wio-fr|{{ icons:fr.png|French Version}}]][[:arduino:wio-de|{{ icons:de.png|Deutsche Version}}]][[:arduino:wio-en|{{ icons:uk.png|English Version}}]] 
 +====== WIO - Throttle - 32 I/O - LEDs - Servos - RFID - Displays - DCC ======
 [[:english|{{ :hardware.png}}]][[:english|{{ :rocrail-logo-35.png}}]] [[:english|{{ :hardware.png}}]][[:english|{{ :rocrail-logo-35.png}}]]
 [[:english|Content]] -> [[:hardware-en#arduino|Arduino]] [[:english|Content]] -> [[:hardware-en#arduino|Arduino]]
   * **[[:arduino:wio-en|WIO Firmware]]** | [[:arduino:wio-setup-en|WIO Setup]]   * **[[:arduino:wio-en|WIO Firmware]]** | [[:arduino:wio-setup-en|WIO Setup]]
  \\  \\
-{{ :arduino:rici-proto.png?0x300}}{{ :arduino:wio-01-pcb.jpg?0x300}}+{{ :arduino:rici-proto.png?0x400}}{{  :arduino:wio_01_v2._pict3.jpg?250}}
 ^  W o r k - I n - P r o g r e s s  ^ ^  W o r k - I n - P r o g r e s s  ^
  
Line 12: Line 13:
 It can be used as: It can be used as:
   * Wireless Throttle   * Wireless Throttle
-or as wireless I/O with one of the following four options+or as wireless I/O with: 
-  * 32 I/O  +  * 32 I2C I/O [[:hardware-en#extension_units|GCA compatible]]  
-  * 2 Displays+  * 2 Displays SSD1306 
 +and one of the following four options:
     - LED control WS2812     - LED control WS2812
     - 4 Servos     - 4 Servos
Line 25: Line 27:
  \\  \\
 =====Attention===== =====Attention=====
 +{{ :arduino:wifi-analyse.jpg?300|Exhibition used WiFi channels...}}
   - The Rocrail server must run on a PC which dus __not__ automatically suspend or sleep in case of no user activity. Check the energy setting to prevent communication loss.   - The Rocrail server must run on a PC which dus __not__ automatically suspend or sleep in case of no user activity. Check the energy setting to prevent communication loss.
-  - The used WiFi Router/Accesspoint should be state of the art; Only use maintained hardware.+  - __The used WiFi Router should be state of the art; Only use maintained hardware.__
   - Make sure the SSID is not visible to prevent extra public traffic.   - Make sure the SSID is not visible to prevent extra public traffic.
  
Line 113: Line 116:
 display=22 display=22
 dccsc=0 dccsc=0
 +railcom=0
 +maxpower=0
 RSSI=-53 RSSI=-53
 MCP23017 status: 0x20=OK 0x21=OK MCP23017 status: 0x20=OK 0x21=OK
Line 135: Line 140:
 *display=<geometry1><geometry2> 0=96x16 1=128x32 2=128x64 *display=<geometry1><geometry2> 0=96x16 1=128x32 2=128x64
 *dccsc=<short circuit detection> 0=off 1=on *dccsc=<short circuit detection> 0=off 1=on
 +*railcom=<use RX for detection> 0=off 1=on
 +*maxpower=<set max. WiFi power> 0=off 1=on (Needs a reboot)
 </code> </code>
  
Line 157: Line 164:
 | *pulse=<value> | Output pulse length in 100ms units. | 5 | | *pulse=<value> | Output pulse length in 100ms units. | 5 |
 | *display=<value> | Default display geometry: 0=96x16 1=128x32 2=128x64 | 00 | | *display=<value> | Default display geometry: 0=96x16 1=128x32 2=128x64 | 00 |
 +| *dccsc=<value> | Short circuit detection in case the booster reports it. | 0 |
 +| *railcom=<value> | Try to read RailCom data with the RX pin; The monitor is not available in this mode. | 0 |
 +| *maxpower=<value> | Set the WiFi output power to the maximum of 20.5 dBm. | 0 |
 **Note:**  Replace <value> to meet the local WiFi environment and setup.\\ **Note:**  Replace <value> to meet the local WiFi environment and setup.\\
  
Line 255: Line 265:
   * Up to 255 units in the same WiFi network. (Depending on the IP configuration and availability.)   * Up to 255 units in the same WiFi network. (Depending on the IP configuration and availability.)
   * An alarm will be generated if 'a live' messages are no longer come in.   * An alarm will be generated if 'a live' messages are no longer come in.
-  * Output/Switch commands are acknowledged after they have been processed.+  * Output/Switch commands are acknowledged after they have been processed. (Blink outputs are not acknowledged.)
   * Input events must be acknowledged within 100ms. After this timeout a resend will occur. (Max. 5 retries.)   * Input events must be acknowledged within 100ms. After this timeout a resend will occur. (Max. 5 retries.)
  
Line 264: Line 274:
 | Interface ID | "WIO" | | Interface ID | "WIO" |
 | Bus | ID | | Bus | ID |
-| Address | I2C or I/O Port |+| Address | I2C Port |
 | Address | LED Port | | Address | LED Port |
 | Address | Servo Port | | Address | Servo Port |
Line 273: Line 283:
   * Sensors   * Sensors
  
 +====Blink====
 +The output blink and delay options can be used to blink an I2C port.\\
 +If the delay is zero the default pulse length will be used.\\
  \\  \\
 ====LEDs==== ====LEDs====
 +{{ :arduino:ws2812.jpg?200}}{{ :arduino:ws2811-chip.jpg?200}}
 The addressing is the same as normal outputs.\\ The addressing is the same as normal outputs.\\
  
Line 296: Line 310:
  \\  \\
 ====Servos==== ====Servos====
 +{{ :arduino:servo.jpg?200}}{{ :arduino:servo-pwm.png?200}}
 The addressing is the same as normal outputs.\\ The addressing is the same as normal outputs.\\
 ^ Control ^ Output ^ Switch ^ Range ^ ^ Control ^ Output ^ Switch ^ Range ^
arduino/wio-en.txt · Last modified: 2024/04/18 11:53 by rjversluis