User Tools

Site Tools


users:dagnall53:description

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
users:dagnall53:description [2019/05/06 12:12]
dagnall53
users:dagnall53:description [2019/10/07 19:35] (current)
dagnall53
Line 9: Line 9:
 WiRocS is the name for a very inexpensive way to control your RocRail railway. It is not intended to replace more professional equipment, but it does provide a simple, inexpensive,​ Wireless, solution for small railways. WiRocS is the name for a very inexpensive way to control your RocRail railway. It is not intended to replace more professional equipment, but it does provide a simple, inexpensive,​ Wireless, solution for small railways.
 WiRocS is actually '​just'​ some code that runs on ESP8266 (and ESP32) computers. These are readily available, and have massive capability. A single ESP8266 forms a single "​WiRocS"​ Node and forms part of a standard RocNet Protocol Network. WiRocS is actually '​just'​ some code that runs on ESP8266 (and ESP32) computers. These are readily available, and have massive capability. A single ESP8266 forms a single "​WiRocS"​ Node and forms part of a standard RocNet Protocol Network.
-Each Node can have 8 fully programmable I/O (input/​output/​PWM/​Servo),​ see also [[users:​dagnall53:​esp32differences|ESP32 setup]]. ​It can produce sounds from an internal sound file system, and can have a OLED display that is RocDisplay Compatible. ​ See [[users:​dagnall53:​oled|OLED display information]] ​+Each ESP8266 ​Node can have 8 fully programmable I/O (input/​output/​PWM/​Servo), ​(see also [[users:​dagnall53:​esp32differences|ESP32 setup]] ​for more I/O with an ESP32) 
 + 
 +WiRocs Nodes can produce ​two simultaneous sampled ​sounds from an internal sound file system, and can even have a OLED display that is RocDisplay Compatible. ​ See [[users:​dagnall53:​oled|OLED display information]] ​
  
   * [[:​users:​Dagnall53:​Hardware|Hardware]] ​   * [[:​users:​Dagnall53:​Hardware|Hardware]] ​
Line 26: Line 28:
  
 {{:​users:​dagnall53:​rocnetmqtt1.jpg?​400 |}}The WiRocS code expects to work in a network where Rocrail is running and has a "​ROCNET controller"​ using MQTT.(set Sub-Library to "​MQTT"​). {{:​users:​dagnall53:​rocnetmqtt1.jpg?​400 |}}The WiRocS code expects to work in a network where Rocrail is running and has a "​ROCNET controller"​ using MQTT.(set Sub-Library to "​MQTT"​).
-A MQTT broker, such as Mosquitto must be running somewhere ​on the on the network. (It can run on either the same PC as Rocrail or a different PC).+A MQTT broker, such as Mosquitto must be running somewhere on the network. (It can run on either the same PC as Rocrail or a different PC).
 Rocrail needs to know the IP address of this MQTT broker, and this should be set in the Rocrail Rocnet Controller "​Address"​ options with Port set to 1883 if using Mosquitto. (see illustration,​ where I use 192.168.0.11 for my Broker). Rocrail needs to know the IP address of this MQTT broker, and this should be set in the Rocrail Rocnet Controller "​Address"​ options with Port set to 1883 if using Mosquitto. (see illustration,​ where I use 192.168.0.11 for my Broker).
  
Line 55: Line 57:
 {{:​users:​dagnall53:​wirocs_esp8266.jpg?​200 |}}{{:​users:​dagnall53:​wirocs_esp32.jpg?​200 |}}\\ {{:​users:​dagnall53:​wirocs_esp8266.jpg?​200 |}}{{:​users:​dagnall53:​wirocs_esp32.jpg?​200 |}}\\
  
- +If you are not using the OLED, you have 8 I/O. Each I/O can be set by Rocrail as an input or output, using the "PI02 Port Setup"​. ​
-PROVIDED that the Pin is not being used for an OLED display, Motor drive, Loco Front or Rear Light or other pre-defined function such as Loco Motor PWM driveeach I/O can be set by Rocrail as an input or output, using the "PI02 Port Setup"​. ​+
 This allows blinking, and inversion. ​ This allows blinking, and inversion. ​
 +
 +If you are using the OLED display,you still have 6 I/O for Motor drive, Loco Front or Rear Light or any other pre-defined functiona such as Loco Motor PWM drive, ESP32 users have a full 16 I/O! 
  
 ---- ----
users/dagnall53/description.1557137541.txt.gz · Last modified: 2019/05/06 12:12 by dagnall53