User Tools

Site Tools


arduino:wioctrl-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
Last revisionBoth sides next revision
arduino:wioctrl-en [2020/02/16 08:32] rjversluisarduino:wioctrl-en [2023/01/08 08:31] – [Invert Rotary] rjversluis
Line 1: Line 1:
 +[[:english|{{ :hardware.png}}]][[:english|{{ :rocrail-logo-35.png}}]]
 [[:arduino:wioctrl-fr|{{ icons:fr.png|French Version}}]][[:arduino:wioctrl-de|{{ icons:de.png|Deutsche Version}}]][[:arduino:wioctrl-en|{{ icons:uk.png|English Version}}]] [[:arduino:wioctrl-fr|{{ icons:fr.png|French Version}}]][[:arduino:wioctrl-de|{{ icons:de.png|Deutsche Version}}]][[:arduino:wioctrl-en|{{ icons:uk.png|English Version}}]]
 ====== WIO Control ====== ====== WIO Control ======
-[[:english|{{ :hardware.png}}]][[:english|{{ :rocrail-logo-35.png}}]] +[[:wio:overview-en|{{ :wio:wiologo.png}}]] 
-[[:english|Content]] -> [[:hardware-en#arduino|Arduino]] +**[[:wio:overview-en|WIO Overview]]** 
-  * [[:arduino:wio-overview-en|WIO Overview]] [[:arduino:wio-setup-en|WIO Setup]] | **[[:arduino:wioctrl-en|WIO Control]]** | [[:arduino:amp-en|User Bitmaps]] | [[:arduino:wio-en|WIO Firmware]] | [[:arduino:wio-cam-en|WIO CAM]]+  * [[:arduino:wio-setup-en|WIO Setup]] | **[[:arduino:wioctrl-en|WIO Control]]** | [[:arduino:amp-en|User Bitmaps]] | [[:arduino:wio-en|WIO Firmware]] | [[:arduino:wio-cam-en|WIO CAM]] | [[:wio:wio-ledscript-en|LEDScript]]
  \\  \\
  
-|  Work In Progress  | 
-The WIO Control is based on **ESP32 Dev Module** and **LOLIN D32** boards.\\ 
  
- \\ 
 =====Display===== =====Display=====
 {{ :arduino:wioctrl-display.jpg?400}}{{ :arduino:wiocontrol-lolind32.jpg?200}} {{ :arduino:wioctrl-display.jpg?400}}{{ :arduino:wiocontrol-lolind32.jpg?200}}
Line 16: Line 14:
   * Locomotive selection   * Locomotive selection
   * Function selection   * Function selection
-  * Locomotive __**[[:rocrailini-automode-en#mode_events|Automatic Mode]]**__+  * Locomotive __**[[:rocrailini-automode-en#mode_events|Automatic Mode]]**__ (Shown in the server connection icon.)
  
  \\  \\
 =====Programming===== =====Programming=====
-====ESP32 Dev Module==== 
  
-__The **Boot** button must be pressed to be able to flash this module over USB.__\\ 
-This button is located right beneath the display.\\ 
-{{:arduino:esp32devmodule.jpg?300}}\\ 
- 
-The following error will show up in the Arduino IDE if this button is not pressed: 
-<code> 
-Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____ 
-  
-A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header 
-</code> 
- 
- \\ 
 =====Pinout===== =====Pinout=====
- +^  LOLIN D32  ^ 
-^  ESP32 Dev Module  ^  LOLIN D32  ^ +| {{:arduino:lolin-d32.jpg?0x400}} |\\
-| {{:arduino:esp32devmodule-pinout.jpg?0x400}} | {{:arduino:lolin-d32.jpg?0x400}} |\\+
  
  
Line 48: Line 32:
 |  26 |  26 | Rotary V+ | Browse loco list down / Select function right | - | - | |  26 |  26 | Rotary V+ | Browse loco list down / Select function right | - | - |
 |  25 |  25 | Rotary V- | Browse loco list up / Select function left | - | - | |  25 |  25 | Rotary V- | Browse loco list up / Select function left | - | - |
-|  36 |  34 | Rotary direction | Take over the selected loco from the list / Flip selected function | - | - |+|  34 |  34 | Rotary direction | Take over the selected loco from the list / Flip selected function | - | - |
 |  27 |  27 | F0 | - | Alter between loco 1 and 2 | Power off | Power on | |  27 |  27 | F0 | - | Alter between loco 1 and 2 | Power off | Power on |
 |  32 |  32 | F1 | - | F9  | F5 | F13 | |  32 |  32 | F1 | - | F9  | F5 | F13 |
Line 54: Line 38:
 |   0 |   0 | F3 | - | F11 | F7 | F15 | |   0 |   0 | F3 | - | F11 | F7 | F15 |
 |  14 |  14 | F4 | - | F12 | F8 | F16 | |  14 |  14 | F4 | - | F12 | F8 | F16 |
-|  13 |  12 | Shift | - | - | Function selection mode | - |+|  12 |  12 | Shift | - | - | Function selection mode | - |
 |  16 |   5 | LED | - | - | - | - | |  16 |   5 | LED | - | - | - | - |
 |  35 |  35 | Battery (ADC) | - | - | - | |  35 |  35 | Battery (ADC) | - | - | - |
- 21 |  21 | SDA (Display) | - | - | - | - | +  5 |  21 | SDA (Display) | - | - | - | - | 
- 22 |  22 | SCL (Display) | - | - | - | - |+  4 |  22 | SCL (Display) | - | - | - | - |
 **Note:** //Do not use a hardware pull-up resistor on GPIO12 because this will block uploading firmware by USB.//\\ **Note:** //Do not use a hardware pull-up resistor on GPIO12 because this will block uploading firmware by USB.//\\
 ====ESP32 Dev Module==== ====ESP32 Dev Module====
Line 69: Line 53:
 The following pins can not be used: The following pins can not be used:
   * GPIO06 - GPIO11 (Are in use by the Flash interface.)   * GPIO06 - GPIO11 (Are in use by the Flash interface.)
-  * GPIO12 can only be used as output. If the pin is pulled up at boot time, the ESP32 won't boot/flash. 
  
  \\  \\
Line 95: Line 78:
  
  \\  \\
-=====Hardware===== +
-A fitting case could be: +
-  * [[https://www.conrad.de/de/p/tru-components-tc-6094-sw203-hand-gehaeuse-135-x-44-x-24-abs-schwarz-1-st-1588566.html|TRU COMPONENTS TC-6094 SW203]]+
 ====Schematic and PCB==== ====Schematic and PCB====
- WIP  |+  * [[:gca-wioctrl-en|GCA WIO-Control]]
  
 +
 +
 + \\
 +=====Invert Rotary=====
 +In case the rotary is inverted the CAM Option **Rotate 180°** can be used to correct this.\\
 +//Available as from version 724.//\\
  
arduino/wioctrl-en.txt · Last modified: 2023/08/17 07:38 by rjversluis