-
Notifications
You must be signed in to change notification settings - Fork 102
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
Esp-Wroom-32 CC1101 (8pins) #138
Comments
check your data sheet should be something like this one : https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjE7_TwyNODAxU8Q6QEHcx3ACAQFnoECBcQAQ&url=https%3A%2F%2Fwww.ebyte.com%2Fen%2Fdownpdf.aspx%3Fid%3D165&usg=AOvVaw0_nU7dTRDlzfCF9m1j1tQn&opi=89978449 then you need to setup the pins with this functions, before init: ELECHOUSE_cc1101.setSpiPin(18, 19, 23, 5); |
any chance you made it work ? got the same modules, and trying to make them communicate ! |
@slater0013 May I know what are you trying to accomplish? I manage to get the module to replay signals captured from an RF remote, is this what you're attempting as well? |
Just trying to build a long range powerpoint remote here :) previous/next buttons |
Are you building one from scratch? Or is it an existing powerpoint remote that you're using? |
Building one from scratch ! I was looking for a project idea to start digging into the wireless modules :) |
You could take a look at the example for tx and rx and set the pins accordingly for your ESP32.
|
Hello there!! When attempting to run the minimal receiver example from the Arduino library for the CC1101 module, I encountered several compilation errors and warnings. These occurred in the ELECHOUSE_CC1101_SRC_DRV.cpp file. Steps to Reproduce:
Error Messages:The specific errors and warnings I encountered are: ELECHOUSE_CC1101_SRC_DRV.cpp:149:3: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
while(digitalRead(MISO_PIN));
^~~~~
ELECHOUSE_CC1101_SRC_DRV.cpp:150:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
digitalWrite(SS_PIN, HIGH);
^~~~~~~~~~~~
ELECHOUSE_CC1101_SRC_DRV.cpp:533:11: warning: comparison is always false due to limited range of data type [-Wtype-limits]
if (freq0 > 255){freq1+=1;freq0-=256;}
~~~~~~^~~~~
ELECHOUSE_CC1101_SRC_DRV.cpp:983:5: error: unused variable 's2' [-Werror=unused-variable]
int s2 = 0;
^~
ELECHOUSE_CC1101_SRC_DRV.cpp:500:13: error: 'a' may be used uninitialized in this function [-Werror=maybe-uninitialized]
PA_TABLE[0] = a;
~~~~~~~~~~~~^~~
cc1plus: some warnings being treated as errors I would appreciate any help in understanding and resolving these issues. |
Hello there, could someone please help me to connect and give me a code example?
i have my esp-wroom-32 and my 8pin cc1101 (EO7-M11010) and i want it to receive 433.92 mhz signals
i tried every single connection and code in the internet and no one worked.
Im thinking that the problem could be the power(?
i dont know what else to think or to do.
even tho sometimes it puts connection ok, i receive random data every second and when i press my remote buttton, i dont receive nothing but the random codes
The text was updated successfully, but these errors were encountered: