mirror of https://github.com/arendst/Tasmota.git
Updated How to Flash the RF Bridge (markdown)
parent
0198daeeae
commit
87561a61f4
|
@ -1,50 +1,14 @@
|
||||||
|
|
||||||
Someone asked me on here a more detailed explanation of how to do this, so I thought I would post (as best as I can recall) how to do it with a Windows PC.
|
Someone asked me on here a more detailed explanation of how to do this, so I thought I would post (as best as I can recall) how to do it with a Windows PC.
|
||||||
|
|
||||||
TASMOTA Source Code zip file and extract it (I used 5.11.1b I think)
|
- The Sonoff RF Bridge firmware is uploaded Like any other ESP device. Please refer to the [flashing](Flashing) instructions.
|
||||||
https://github.com/arendst/Sonoff-Tasmota/releases
|
|
||||||
|
|
||||||
Arduino IDE (Im on 1.86)
|
- Ensure the switch on your RF Bridge is switched of the OFF position (change it back to ON position AFTER flashing your Bridge).
|
||||||
https://www.arduino.cc/en/Main/Software
|
|
||||||
|
|
||||||
1. Install/Extract the Arduino IDE software.
|
- Connect up your USB serial adapter to the correct pins on the bridge. Hold DOWN the pairing button while connecting the USB serial adapter to your computer (the bridge should now go into the correct mode where you can flash it). (Pin out etc on the below image)
|
||||||
|
|
||||||
2. In the folder where you installed Arduino IDE to, make a new folder called portable
|
|
||||||
|
|
||||||
3. Open the Arduino IDE sofware . Go to File > Preferences > Additional Board Manager and add this URL:
|
|
||||||
http://arduino.esp8266.com/versions/2.3.0/package_esp8266com_index.json
|
|
||||||
|
|
||||||
4. Exit the IDE and copy all files from the Tasmota/lib folder to the folder > libraries
|
|
||||||
|
|
||||||
5. Back in Arduino IDE go to File > Open. Browse to the the folder where you extracted the TASMOTA firmware and open sonoff-sonoff.ino.
|
|
||||||
|
|
||||||
6. Find the user_config.h tab at the top right of the Arduino IDE interface (on a drop down arrow) and within that file, find the sections where you can:
|
|
||||||
|
|
||||||
Enter your Wifi name and password
|
|
||||||
Enter your MQTT broker IP address, port, username and password
|
|
||||||
|
|
||||||
7. On the Tools menu, ensure you set these settings:
|
|
||||||
![settings](https://i.imgur.com/JzKUQcp.png)
|
|
||||||
|
|
||||||
> Board: Generic ESP8266 Module
|
|
||||||
> Flashmode: DOUT
|
|
||||||
> Freq: 40 CPU: 80
|
|
||||||
> Flash: 1M (no SPIFFS)
|
|
||||||
> Upload speed: 115200
|
|
||||||
> Port: Com
|
|
||||||
|
|
||||||
Note for Port:
|
|
||||||
This will not be selectable until you connect your USB Adapter.
|
|
||||||
Seect this AFTER you plugged in the bridge correctly while holding down the pairing button.
|
|
||||||
|
|
||||||
8. Ensure the switch on your RF Bridge is switched of the OFF position (change it back to ON position AFTER flashing your Bridge).
|
|
||||||
|
|
||||||
9. Connect up your USB serial adapter to the correct pins on the bridge. Hold DOWN the pairing button while connecting the USB serial adapter to your computer (the bridge should now go into the correct mode where you can flash it). (Pin out etc on the below image)
|
|
||||||
![pin](https://i.imgur.com/djhr2Jg.jpg)
|
![pin](https://i.imgur.com/djhr2Jg.jpg)
|
||||||
|
|
||||||
10. In the Arduino IDE interface, you can now select the correct PORT on the Tools menu.
|
- At the top right of the Arduio IDE software, click on the right arrow (UPLOAD) to upload the firmware. This should take about 2-3 minutes as it compiles the firmware then uploads it.
|
||||||
|
|
||||||
11. At the top right of the Arduio IDE software, click on the right arrow (UPLOAD) to upload the firmware. This should take about 2-3 minutes as it compiles the firmware then uploads it.
|
|
||||||
|
|
||||||
When compete, disconnect the cables etc, switch the switch back to the ON position (away from the 5 pin header) and it should now be working as you expect.
|
When compete, disconnect the cables etc, switch the switch back to the ON position (away from the 5 pin header) and it should now be working as you expect.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue