-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another Board Layout RF Bridge #1916
Comments
Which RF bridge is this? |
The Sonoff 433 RF Bridge |
Also got a new board design (2017-11-23) and it's working like Michael described! |
Confirmed. Add this issue as link to Wiki > Sonoff RF Bridge 433. |
I also received this board today. Yes you have to pull out the rubber feet to get to the screws. I'm able to power the board but not flash the board using esptool.py, I've flashed a number of other Sonoff devices so it's not a computer config issue. I've tried swapping RX/TX, pressing and holding the "peer" button, and changing S2 to "off", all to no avail. More detailed instructions would be appreciated! |
|
like @claud9999 I have the same issue with this type of board - tried all hints from @PeterEmbedded - no way to flash - any idea? At this board works a ESP8285, not the ESP8266. |
Again. This boards is fine. Just follow the wiki and this thread. |
Sure - good board and wiki, but in the described issue this answer is no help... |
Dear all, seems that is an issue with the COM-Port - I used an existing COM1-port, without an USB-adapter. Then I used a FT232RL USB-Adapter - this worked fine, thanks all. |
I had to set the switch from OFF to ON after flashing was completed. Otherwise no RF commands was recognized. |
I managed to get an Intertechno switch to work with the RF bridge. |
The newer RF bridge itself works fine, what I wondered, which IO ports |
Flashing the RF Bridge with Tasmota 6.0.0a worked perfectly and is now accessible from the web page just fine. However, I'm now trying to install the Porticsh RF-Bridge-EFM8BB1 updated firmware by following the instructions: |
Please look at the howto to prepare hardware for updating the EFM8BB1. I used the cutting of PCB strip lines as suggested in the picture (see https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridge-433 - the last topic). It worked for me -I got success at the web gui of the Bridge. |
In the section "Rf chip firmware upgrade" in the description mentioned above it is said, that "two not used copper traces need to be cut if you want to use the current power connector during updating". Why is it necessary to cut these copper traces if they are not used? Thank you! |
The idea behind - as shown at the picture - https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridge-433 - the 2 new wires can be in that case a permanent connection (you have to solder 2 small cables permanently), so you are able to patch new firmware via the web interface every time very easy without any hardware activities. |
Thank you, newingit18. Maybe i'm blind, but i still do not see why it is necessary to cut these two traces because as far as i can see, the lower part of the cutted traces is not connected to anything and the endpoints of the cutted traces are not soldered, as far as i can see... This can not be seen very good on this image because of the new cables but on my sonoff bridge i've tried to find a connection with a magnifier - but i didn't ... Thank you. |
If you are sure, that these strip lines are not connected to anything (I didn't check that electrically) - you can leave the lines uncutted. Keep in mind that this PCB can be a multi layer PCB, so you can not see all connections inside the multi layer PCB - you have to check this with a AC/DC multimeter to be sure. |
I'm not sure - that's my problem ;-) I want to avoid a permanent change to the board, if it's not necessary, and as you said, if the board is multi layer - cutting something might be especially harmfull ... |
Guys, the issue I wanted to raise here is the fact that the lower part of the traces are connected to the USB connector. If you connect external power to the USB connector these traces might carry either power or a USB signal depending where you get your power from which will interfere with the MCU flash signals. So either do not use the USB power while MCU flashing but connect power to other pins on the header or cut the traces and use the USB connector to power the thing. |
Just for some more information. These "endpoints" are actually vias. |
I aso have the same problem, and not yet resorted to cutting the pcb traces. Anything else to try before cutting the traces ? |
Offtopic. Please, read the wiki https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE |
OK, I'm confused. I read the Wiki on the Sonoff Bridge and it implies it should be flashed as an ESP8266, however the chip is actually an ESP8285. I saw a YT video that specifically set Arduino IDE to flash for an ESP8285. Which method is correct? |
I am having problems with the RF bridge R2 v1.0 marked "2017.11.23". It looks like flashing went okay, no errors, but after powering the RF bridge using the micro usb I can not connect to it. To flash I use a Fedora linux system with a CH340G USB serial adapter. I use VSCode with the PlatformIO plugin. I tried the Sonoff-Tosmota 6.4.1 (release) and the 6.4.1.9 (development). I have quite some experience with successful flashing other Sonoff devices, like Basic, Pow R2, 1CH and S26. PreparationsI did not used the micro usb power during flashing, so I did not cut the copper traces on the board, as mentioned in the wiki. Like @ozet, I was confused by the instructions in the wiki on the flash process. The image was different then the wiki text?! So I first tried the wiring according the image in the wiki and later on, as mentioned by @ozet, I also tried the wiring as advised in the wiki text. My board (with wiring according wiki image, this does not match with the wiki text): Wiring according the wiki image: Both ways of wiring gave the same result: The flashing process finished successful, but I was not able to connect to RF bridge. Steps I took to flash:
The Flash logging is the same for both ways of wiring:
During flashing the LEDs on the CH340G USB serial adapter are flashing all the time, the big green LED of the RF bridge is green all the time. No other LEDs on the board flashes and I did not hear a beep. There is one strange thing to mention about the flash process. Normally with all the other Sonoff devices I have flashed (using the same software and configuration), the upper and lower LED on the CH340G were "ON" when the flash process was fished. With the RF bridge only the upper LED was "ON". Steps after flashing:
Again the big green LED of the RF brigde is green. No other LEDs on the board flashes and I did not hear a beep. I tried to connect to the RF bridge board, without success. It does not react on pressing the button. Of course I have repeated the flash process several times. Many times I first erased the firmway using this command:
I am still puzzled about the correct way of wiring. Can any one confirm the correct wiring for my type of board? Isn't strange that I am able to flash the the RF bridge, but that it does not work? What can be wrong? I even tried a second RF bridge and I ended up with the same results. How can I debug this? |
Hi, See my earlier post for the wiring that works for me. Sounds like you know what you're doing, but maybe you didn't try:
What do you mean by 'I was not able to connect to RF bridge'? Is it dead? Can you ping it, but not connect to the web interface? On mine, powering by the micro-usb cable resulted in clicking reboots, until I fixed the wiring. |
Hi, thnx for your extensive reply! TerryLansdown said:
Sure I have read your post, but it was/is not 100% clear to me whether your board has the "2017.11.23" mark, like my board. Can you confirm that? TerryLansdown said:
I tried that, but without luck. I am not sure how to do it on a Sonoff RF Bridge.
I didn't got any response. How should it react? TerryLansdown said:
The IP address of the bridge did not appear in my network. So I could not ping it or connect to the web interface. TerryLansdown said:
I will try that, may be tonight (or in the coming days). TerryLansdown said:
My wiring is like yours now. When I power on the RF bridge using the micro usb, the big green LED turns "on". No other LED flashes, no beep and no reaction when I press the button. I used the same Sonoff-Tasmota firmware + configuration as I used for other Sonoff devices (except for the IP address and topic name). To flash the RF bridge I tried an upload speed of 115200 as well as 19200 (takes much longer to finish). Which is correct? To test whether my current Vscode with PlatformIO setup still works, I have flashed a Sonoff Basic device yesterday. It still works. |
Hi,
I'm guessing your flash is a big fail if you can even see noise using 'cu'.
I don't think I needed to press any buttons to get the board up. Move onboard switch from flash to broadcast, then plug in and it connected to my network, and MQTT server. I could then access the webpages, much like (presumably) your other Sonoffs. From memory, I think I tried flashing at both speeds, I think it flashed at 115200 and then it definitely communicates at 19200. Other than trying a different flashing technique specifically for this board, sorry I'm out of ideas. |
Hi, Thanx again for your detailed answer. I think you are right, mine RF bridge is not flash successful. I tried flashing using the esptool, several attempts with different baud rates, but they all ended like this:
I will try the Arduino IDE to night. |
may you try the espeasy flashtools? |
Received my RFBridge yesterday.
|
Thnx @TerryLansdown, @ozett and @LucReynders. @TerryLansdown said:
It took me a while to get the Arduino IDE working on Fedora Linux. I guess most people use Windows. I followed the wiki instructions and I managed to build and upload the Sonoff-Tasmota firmware. Unfortunately still the same result: I can not connect to the bridge, but I keep positive. This is only my first attempt with the Arduino IDE :-)
No output on the serial monitor yet, but I need some more time to get to know the Arduino IDE. @ozett said:
Unfortunately I only have Linux systems. I think @LucReynders said:
No extra wiring? Very interesting. Is your RF bridge marked "2017.11.23"? I need some more time to carry out all the instructions and tips. I let you guys know in the coming days. |
Thanx, may there some inspirations for your experiment: ---add: |
For flashing the RFBridge, look at : |
!!! Noot all remontes are detected by the bridge, only the 24 bit codes.
|
I promised to let you guys know how it goes. I managed to get it working! I tried other flash tools (Arduino, esptool and espeasy), several Sonoff Tasmota firmware versions and several configuration without luck. In all cases it looked like the RF bridge was successfully flashed (without errors), but I could not connect to it via WIFI. Believe me, I was getting more and more frustrated every day ;-) As a last attempt I did cut the copper traces, as explained in the wiki, and powered the RF bridge using the micro USB during flashing, but that also did not worked out. (I have two Sonoff RF bridges, so I dared to do this experiment.) At some point I read a dutch blog post about an Sonoff RF bridge on flash voltage (3v3 or 5v). This guy also was not able to flash his RF bridge with a CH340G based USB serial adapter. He switched from 3v3 to 5v (against all recommendations) and it worked (at least for him). He reported that with 5v the green LED was much brighter. I had high hopes, because his serial CH340G USB adapter looked like mine. Unfortunately his solution did not work for me. Something that I kept thinking about was that his green LED was bright and mine was not. May be my serial USB adapter is the cause of the issue. This afternoon I tried another CH340G based USB serial adapter and the LED shine bright and it immediately worked! It tried my VSCode with PlatformIO setup, as well as my Arduino setup and my esptool setup. They all worked! Even my second modified RF bridge (on which I did cut the copper traces) now works ;-) Below my CH340G based serial USB adapters. The upper one (SDS011_USB2TTL_004) works for both the Sonoff RF bridge and other Sonoff devices. Thank you everybody for all your tips and support. It helped me trying new tools, but most of all: excluding possible causes! Very useful! Thanks a lot! edit: |
With the standard Tasmota flash the RFBridge is limited in detecting codes.
After the portisch upgrade I was able to sniff remote codes from Chacon and my Novy cooker hood with the Rfraw 177 command. The sniffed B1 commands need to be converted to B0 first as explained in github before sending these over the bridge (with bitbucketconverter tool). |
Hi guys,
Now unfortunately all the remotes I used with ewelink, are not working with Tasmota. The console sniffs the code but pairing fails always. IDK if I should upgrade the RF chip with Portisch firmware, because as I said everything was fine with ewelink. |
Hi, I am facing same issue. Have you figured out an alternate? |
I flashed everything as described, I did manage to get the codes but not to send them. I am now trying to reflash the hex file but keep getting: error "Magic byte is not 0xE9" Update: So it upgraded finally but now I get the following when I type RfRaw 255
|
"After the portisch upgrade I was able to sniff remote codes from Chacon and my Novy cooker hood with the Rfraw 177 command. The sniffed B1 commands need to be converted to B0 first as explained in github before sending these over the bridge (with bitbucketconverter tool)."
|
Hello, |
Please, address this to the Tasmota Support Chat. The chat is a better and more dynamic channel for helping you. Github issues are meant for Tasmota Software Bug Reporting. Please check the Contributing Guideline and Policy and the Support Guide. Thanks. Support InformationSee Wiki for more information. |
Just wanted to thank all the hard work on this one. |
Hmmm. |
Esptool.py does what told. So it does no erase before flashing. |
does anyone know which pin is GPIO2 on the r2v1 board? i blew out my lead for gpio4 and gpio5 i'm using. looking to add 315mhz sensors thank youuu |
Hey everyone, there's a new board layout (R2 v2.2). I was able to flash Tasmota, but can not figure out which pins to connect to flash Portisch, and whether or not I need to score any lines on the board. Any help would be greatly appreciated. |
Don't cross post |
Well, currently the official documentation refers to this thread, and it does not make clear that it is currently not possible to flash the Portisch firmware to the RF sensor. This gets discussed in issue #13282 and it is very valid that this gets mentioned here. It would be even better to update the Tasmota project pages with this information. |
Absolutely and as you are suggesting it, please click on the pencil on the top right of the doc page to update it. |
This is under discussion at #13283 |
Today i get my "new" Bridge, successfully flashed with help of the good work here. Thanks for that.
I want to share my experience
What i did differnt from the description:
The Box is Screwed together.
To get to the Switch, just bend slightly the large Led on the Top
Then Flash it from Bottom Side
regards
The text was updated successfully, but these errors were encountered: