User Tools

Site Tools


users:dagnall53:oled

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:oled [2019/02/14 13:12]
dagnall53
users:dagnall53:oled [2019/02/22 19:08] (current)
dagnall53 [RocDisplay Compatibility]
Line 1: Line 1:
 +Index
 +  * [[:​users:​Dagnall53:​Description|WiRocS Description]] ​
 +  * [[https://​github.com/​dagnall53/​WiRocS|Source Code]]
 +  * [[:​users:​Dagnall53:​OLED |Oled Usage]] ​
 +  * [[:​users:​Dagnall53:​Node_Setup|Node_Setup]] ​
 +  * [[:​users:​Dagnall53:​Hardware|Hardware]] ​
 +  * [[:​users:​Dagnall53:​Troubleshooting|Troubleshooting]] ​
 +
 +
 ====== OLED display ====== ====== OLED display ======
 The new WiRocS code has integrated OLED (I2C) capability that is partially compatible with the RocDisplay formattiing.\\ The new WiRocS code has integrated OLED (I2C) capability that is partially compatible with the RocDisplay formattiing.\\
-{{ :​users:​dagnall53:​img_2635.jpg?400 |}}+{{ :​users:​dagnall53:​img_2636.jpg?​400 |}} 
 + 
 +When the nodes start they scan the I2C bus to see if any OLED displays are present (Addresses 60 and 61)\\ 
 +IF the OLED is seen, the code then initiates the OLED and uses it to display status messages, RocRail Time, WiFi signal strength and Rocrail power status.\\ 
 + 
 +If there are no OLEDS present, the ESP8266 version of the code releases these two pins "​back"​ for general purpose I/O use.\\ 
 +The ESP32 version uses two separate pins to the general purpose I/O set.\\  
 +==== Information messages ==== 
 +The OLED will display messages to show how the node is progressing during boot. 
 +{{ :​users:​dagnall53:​img_2651.jpg?​400 |}} 
 +This can be helpful in diagnosing any issues. 
 + 
 +===== RocDisplay Compatibility ===== 
 + 
 +The code includes a very simplified text parser that can accept RocDisplay messages and display them as a station announcements. The example below uses one of Peter'​s RocDisplay test codes.  
 +The Parser cannot do flashing messages or bitmaps, but the effect is reasonably good. I plan that a separate page [[users:​dagnall53:​rocdisplaytop|Roc Display Lite]] will document how the parsing in this "Lite version"​ of the protocol works. 
 +{{ :​users:​dagnall53:​img_2658.jpg?400 |}}
  
-When the node starts they scan the I2C bus to see if any OLED displays are present (Addresses 60 and 61) . 
-IF the OLED is seen, the code then initiates the OLED and uses it to display status messages, RocRail Time, WiFi signal strengthand Rocrail power status.\\ 
  
-===== RocDisplay ===== 
  
-The code includes a very simplified text parser that can accept RocDisplay messages and display them as a station announcements. The above example uses one of Peter'​s RocDisplay test codes. ​ 
-The Parser cannot do flashing messages or bitmaps, but the effect is reasonably good.  
  
    
  
  
users/dagnall53/oled.1550146367.txt.gz · Last modified: 2019/02/14 13:12 by dagnall53