-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Not able to PROG a new remote - ESP8266 and E07-M1101d #22
Comments
Can you ask in the SmartRC-CC1101-Driver-Lib project if the E07-M1101D is supported? Then we can narrow down the issue. |
Thank you for your answer. |
I found this project However I think they are using different pins... for blue CC1101 version 1 >> GND Found the following in ESPboy_Sub1GHzInspector.ino: `#include <ELECHOUSE_CC1101_SRC_DRV.h> #define CC1101riceivePin 3 So my assumption is that it is supported. Do you think I have to use their pins and #define commands? |
I looked at the ESPboy_Sub1GHzInspector project and cannot find a reference to E07-M1101D. |
As you can see the 2x5 has duplicate VCC and GND pins, I think they are removed with the 2x4, but they also had to reorder the other pins. So we need to find the pin out diagram for the 2x4 to wire it correctly, then it should work with the SmartRC-CC1101-Driver-Lib. |
I found this specification for the E07-M1101D And currently i am using this wiring: However, following the wiring they are using here https://github.com/ESPboy-edu/ESPboy_Sub1GHzInspector it should be like this:
I can try both setups but i am little bit lost here :( PS: Dont be confused by the numbers at the lines (dont know how to delete them). i put the correct pin numbers of the CC1101 in the brackets ( ) |
I tried the wiring in the second picture. But still no luck. |
Maybe your receiver does not understand the send commands, because it uses some other protocol. Have you tried to use a different parameter as second argument to the |
Hello, no i didnt try. Do you mean something like sendCommand(Command::Prog, 2); ? |
Yes or use parameter 4, see readme for more details. |
I have this same CC1101 and experiencing same issue. Unsure if its related to this hardware or not, but see here #21 |
Same hardware here, I got it kinda working with a D1 mini and nodemcu, both esp8266 based. I say kinda, because although I can transmit commands, the signal is very weak and not recognized by rtl_433 for example. Using airspy, I can see that something is transmitted, near the frequency of the original remote, but with a slight offset : Blue is the actual remote, green is the esp + cc1101. I'm using the CC1101 sketch. Has anyone encountered the same issue ? |
That offset is likely not enough to cause an issue (mine is similar) but the signal power could be an issue. What antenna are you using with your CC1101? Double check it is properly connected. possibly also check the CC1101 is getting the right voltage with a multimeter. The CC1101 could also be faulty. There are lots of crappy PCBs out there. Another totally different and very possible scenario (maybe even more possible) is it is not wired up right. It's odd its just a single line with no pattern, even if power is reduced. Many ESPs have differing pins to each other. Would be useful to share pictures/diagram of the wiring and exact model number of the ESP and CC1101. You should also thoroughly check for shorts between the CC1101 pins. |
I have the exact same issue with this board, did you manage to solve it? |
Hmmm. Its certainly interesting, given I have the same CC1101 and the NodeMCU as well. So pretty much same setup. Not to mention @MrBLJ soldering skills are a damn sight better than mine. Still though I think you have to rule out software problems here. I also tried receiving by rtl_433 and its very very unreliable even on my actually-working setup. I would not use this as a trustworthy indicator. The low signal strength could easily be the gain setting on your RTL? This is a common reason for this sort of thing. When I say software problem -- what I mean is, do you blinds not respond to the PROG? If they do, probably you might actually be experiencing the blinds ignoring the subsequent signals due to the rolling code... Id probably also try avoiding serial monitor and actually making the calls on a flashed Arduino program. I know this seems like it should not matter, but it helps reduce differences. Also a lot of CC1011s are sold as multiple frequencies, and the antenna provided with it is often actually only tuned to one. It could well be you've been supplied with a suboptimal antenna for 433. Im clutching at straws a bit here. The cheapness of the CC1101 means I would at least try another model if you can. |
After a very long night I have solved the issue. I got it working with an ESP8266 wemos D1 (clone). If you have followed the wiring of the SmartRC-CC1101-Driver-Lib guide, then you have connected CC1101 to the ESP8266 like this:
In the example of the CC1101.ino the EMITTER_GPIO is 2 (D4 on a ESP8266) which is wrong and should be set to 5, which is D1 connected to GD00. The very small signal we were seeing was probably because of some cross GPIO leaking within the ESP8266. I now have a correct working CC1101E07-M1101d with this library. I do recommend looking at the new non GDO way of using the SmartRC-CC1101-Driver-Lib library, this way you dont need to set the GDO pin anymore. And secondly, there's a bug in SomfyRemote.cpp. Somfy_Remote_Lib/src/SomfyRemote.cpp Line 15 in 50a440a
The repeat is swapped with the rollingCode Somfy_Remote_Lib/src/SomfyRemote.cpp Line 18 in 50a440a
I have a PR ready, will push it after this post. |
Dear all,

it seems like the TI CC1101 are very hard to get currently.
I ordered one at Amaz*n but got a E07-M1101D.
I googled it and it seems its the Version 2 or the CC1101 (?).
However the pinning looks different, its not 2 row by 5 pins, its now 2 rows by 4 pins:
I checked the specification and found this:





So the pins are the same like on the TI CC1101, except the additional VCC and GND.
So i wired it like described in the SmartRC-CC1101-Driver-Lib
But not to a WEMOS D1 mini but to an ESP8266 NodeMCU, hoping that i can just use the same D# Pins:
Now i ran the CC1101 example from the Somfy_Remote_Lib and set #define CC1101_FREQUENCY 433.42.
Set my Somfy RTS control to Prog (blinds go up down) and typed Prog in the Serial Monitor (set to new line and 115200 Baud) but nothing happens (also no answer in the serial monitor). After ~2 minutes the blinds go again up and down (i think this means the prog-duration expired).
Than i tried the cc1101_Receive_minimal example of the SmartRC-CC1101-Driver-Lib and at least i am getting a
10:27:30.655 -> Connection OK
10:27:30.655 -> Rx Mode
there. But also no response if i press a button on my Somfy remote.
Now i dont know if the E07-M1101D is not supported, or my wiring is wrong, or i typed something wrong in the serial monitor :(
Can someone try to help?
Thank you alot!
The text was updated successfully, but these errors were encountered: