Skip to content

Commit d1aa419

Browse files
authored
Remove faulty wiring instructions from ESP gateways (#1100)
This fixes #1096 https://www.mysensors.org/build/connect_radio has been updated to include GPIOn instructions (in addition to the existing Dn instructions). Thanks to RWoerz for reporting this discrepancy. Also, the "barebone" boot wiring has been moved to http://bit.do/stupidurl
1 parent 9809eb6 commit d1aa419

File tree

3 files changed

+23
-64
lines changed

3 files changed

+23
-64
lines changed

examples/GatewayESP8266/GatewayESP8266.ino

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,34 +30,20 @@
3030
*
3131
* VERA CONFIGURATION:
3232
* Enter "ip-number:port" in the ip-field of the Arduino GW device. This will temporarily override any serial configuration for the Vera plugin.
33-
* E.g. If you want to use the defualt values in this sketch enter: 192.168.178.66:5003
33+
* E.g. If you want to use the default values in this sketch enter: 192.168.178.66:5003
3434
*
3535
* LED purposes:
3636
* - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs in your sketch, only the LEDs that is defined is used.
37-
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved
37+
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation received
3838
* - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
39-
* - ERR (red) - fast blink on error during transmission error or recieve crc error
39+
* - ERR (red) - fast blink on error during transmission error or receive crc error
4040
*
41-
* See http://www.mysensors.org/build/esp8266_gateway for wiring instructions.
42-
* nRF24L01+ ESP8266
43-
* VCC VCC
44-
* CE GPIO4
45-
* CSN/CS GPIO15
46-
* SCK GPIO14
47-
* MISO GPIO12
48-
* MOSI GPIO13
49-
* GND GND
41+
* See https://www.mysensors.org/build/connect_radio for wiring instructions.
5042
*
51-
* Not all ESP8266 modules have all pins available on their external interface.
52-
* This code has been tested on an ESP-12 module.
53-
* The ESP8266 requires a certain pin configuration to download code, and another one to run code:
54-
* - Connect REST (reset) via 10K pullup resistor to VCC, and via switch to GND ('reset switch')
55-
* - Connect GPIO15 via 10K pulldown resistor to GND
56-
* - Connect CH_PD via 10K resistor to VCC
57-
* - Connect GPIO2 via 10K resistor to VCC
58-
* - Connect GPIO0 via 10K resistor to VCC, and via switch to GND ('bootload switch')
43+
* If you are using a "barebone" ESP8266, see
44+
* https://www.mysensors.org/build/esp8266_gateway#wiring-for-barebone-esp8266
5945
*
60-
* Inclusion mode button:
46+
* Inclusion mode button:
6147
* - Connect GPIO5 (=D1) via switch to GND ('inclusion switch')
6248
*
6349
* Hardware SHA204 signing is currently not supported!

examples/GatewayESP8266MQTTClient/GatewayESP8266MQTTClient.ino

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,16 @@
2727
*
2828
* LED purposes:
2929
* - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs in your sketch
30-
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved
30+
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation received
3131
* - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
32-
* - ERR (red) - fast blink on error during transmission error or recieve crc error
32+
* - ERR (red) - fast blink on error during transmission error or receive crc error
3333
*
34-
* See http://www.mysensors.org/build/esp8266_gateway for wiring instructions.
35-
* nRF24L01+ ESP8266
36-
* VCC VCC
37-
* CE GPIO4
38-
* CSN/CS GPIO15
39-
* SCK GPIO14
40-
* MISO GPIO12
41-
* MOSI GPIO13
34+
* See https://www.mysensors.org/build/connect_radio for wiring instructions.
4235
*
43-
* Not all ESP8266 modules have all pins available on their external interface.
44-
* This code has been tested on an ESP-12 module.
45-
* The ESP8266 requires a certain pin configuration to download code, and another one to run code:
46-
* - Connect REST (reset) via 10K pullup resistor to VCC, and via switch to GND ('reset switch')
47-
* - Connect GPIO15 via 10K pulldown resistor to GND
48-
* - Connect CH_PD via 10K resistor to VCC
49-
* - Connect GPIO2 via 10K resistor to VCC
50-
* - Connect GPIO0 via 10K resistor to VCC, and via switch to GND ('bootload switch')
36+
* If you are using a "barebone" ESP8266, see
37+
* https://www.mysensors.org/build/esp8266_gateway#wiring-for-barebone-esp8266
5138
*
52-
* Inclusion mode button:
39+
* Inclusion mode button:
5340
* - Connect GPIO5 (=D1) via switch to GND ('inclusion switch')
5441
*
5542
* Hardware SHA204 signing is currently not supported!
@@ -78,7 +65,7 @@
7865
// Set MQTT client id
7966
#define MY_MQTT_CLIENT_ID "mysensors-1"
8067

81-
// Enable these if your MQTT broker requires usenrame/password
68+
// Enable these if your MQTT broker requires username/password
8269
//#define MY_MQTT_USER "username"
8370
//#define MY_MQTT_PASSWORD "password"
8471

@@ -138,6 +125,6 @@ void presentation()
138125

139126
void loop()
140127
{
141-
// Send locally attech sensors data here
128+
// Send locally attached sensors data here
142129
}
143130

examples/GatewayESP8266OTA/GatewayESP8266OTA.ino

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,34 +31,20 @@
3131
*
3232
* VERA CONFIGURATION:
3333
* Enter "ip-number:port" in the ip-field of the Arduino GW device. This will temporarily override any serial configuration for the Vera plugin.
34-
* E.g. If you want to use the defualt values in this sketch enter: 192.168.178.66:5003
34+
* E.g. If you want to use the default values in this sketch enter: 192.168.178.66:5003
3535
*
3636
* LED purposes:
3737
* - To use the feature, uncomment WITH_LEDS_BLINKING in MyConfig.h
38-
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved
38+
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation received
3939
* - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
40-
* - ERR (red) - fast blink on error during transmission error or recieve crc error
40+
* - ERR (red) - fast blink on error during transmission error or receive crc error
4141
*
42-
* See http://www.mysensors.org/build/esp8266_gateway for wiring instructions.
43-
* nRF24L01+ ESP8266
44-
* VCC VCC
45-
* CE GPIO4
46-
* CSN/CS GPIO15
47-
* SCK GPIO14
48-
* MISO GPIO12
49-
* MOSI GPIO13
50-
* GND GND
42+
* See https://www.mysensors.org/build/connect_radio for wiring instructions.
5143
*
52-
* Not all ESP8266 modules have all pins available on their external interface.
53-
* This code has been tested on an ESP-12 module.
54-
* The ESP8266 requires a certain pin configuration to download code, and another one to run code:
55-
* - Connect REST (reset) via 10K pullup resistor to VCC, and via switch to GND ('reset switch')
56-
* - Connect GPIO15 via 10K pulldown resistor to GND
57-
* - Connect CH_PD via 10K resistor to VCC
58-
* - Connect GPIO2 via 10K resistor to VCC
59-
* - Connect GPIO0 via 10K resistor to VCC, and via switch to GND ('bootload switch')
44+
* If you are using a "barebone" ESP8266, see
45+
* https://www.mysensors.org/build/esp8266_gateway#wiring-for-barebone-esp8266
6046
*
61-
* Inclusion mode button:
47+
* Inclusion mode button:
6248
* - Connect GPIO5 via switch to GND ('inclusion switch')
6349
*
6450
* Hardware SHA204 signing is currently not supported!
@@ -170,7 +156,7 @@ void presentation()
170156

171157
void loop()
172158
{
173-
// Send locally attech sensors data here
159+
// Send locally attached sensors data here
174160
ArduinoOTA.handle();
175161
}
176162

0 commit comments

Comments
 (0)