ESPboy Sub1Ghz Inspector CC1101 module

hey man

im getting these erors

In file included from C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30:0,
from C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/WiFiClientSecure.h:41,
from C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,
from C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from sketch\ESPboyInit.h:15,
from sketch\ESPboyInit.cpp:8:
C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:40:23: error: ‘FS’ has not been declared
int initCertStore(FS &fs, const char *indexFileName, const char *dataFileName);
^
C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:46:5: error: ‘FS’ does not name a type
FS *_fs = nullptr;
^
In file included from C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30:0,
from C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/WiFiClientSecure.h:41,
from C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,
from C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from sketch\ESPboyInit.h:15,
from C:\Users\91949\Downloads\esp boy\ESPboy_Sub1GHzInspector\ESPboy_Sub1GHzInspector.ino:8:
C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:40:23: error: ‘FS’ has not been declared
int initCertStore(FS &fs, const char *indexFileName, const char *dataFileName);
^
C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.0\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:46:5: error: ‘FS’ does not name a type
FS *_fs = nullptr;
^
exit status 1
Error compiling for board Generic ESP8266 Module.

i re installed esp8266wifi.h

and after that i got these errors

In file included from sketch\ESPboyInit.h:15:0,
Multiple libraries were found for “ESP8266WiFi.h”
from C:\Users\91949\Downloads\esp boy\ESPboy_Sub1GHzInspector\ESPboy_Sub1GHzInspector.ino:8:
Used: C:\Users\91949\Documents\Arduino\libraries\ESP8266WiFi
C:\Users\91949\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:28:28: fatal error: wl_definitions.h: No such file or directory
Not used: C:\Users\91949\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi
#include <wl_definitions.h>

what ESP8266 SDK do you use and what board is selected in Arduino IDE?

Hello community,

I already asked this into Discord but i post also here,maybe it’ll help anyone with this kind of trouble…

I uploaded firmware and this part is ok.

But i’m really in trouble about wiring connections between cc101 module and espboy.

I’ve almost tried any combination,maybe there’s something i’m doing wrong.

Based on my picture could you tell me wich cc101 pin goes to which Espboy pin please?

I’ll really appreciate your help.

Regards.

1 Like

I just leave the picture here to save for future makers )

1 Like

Thanks Roman,also answered on Discord.

If anyone using green version of cc1101 module,you can check these connections:

3V3 ----VCC
GND—GND
SS(15)D8----CSN
SCK(14)D5—SCK
D4(2)—G0D0
RX(3)----GD02
MISO(12)D6----MISO
MOSI(13)D7----MOSI

1 Like

Hi,bro. I also see one useful function that called Sub1GhzScanner, I am intrested in the scope it draw like below,but I don’t where can i find it,can you tell me,thanks
Snipaste_2023-09-05_14-32-59

I have found it on github,but here are some questions that confuse me,can you help me ,thanks:
1.if I connected the CC1101 Module with power on sometimes the app can’t run and the screen hold white,seems like softbug happens, I don’t know whether you have met this;
2.the screen shows bw is too small,if I want to see more bw just like 900-928, how can I modify it

Hi!
It’s great that you enjoyed the project and that it’s helping you in your engineering endeavors.
Yes, I see from the post below that you already found Sub1GhzScanner & Sub1GhzScannerin ESPboy project’s GitHub. That’s good.
However, why do you not use the expansion connector to connect the CC1101, but solder the dupont pins directly to the pins of the microcontroller ) That’s inconvenient ) ))

Never faced the #1 issue, have to make some tests.

According to #2 you can check source code of theSub1GhzScanner
As you see, the UP/DOWN buttons sets “startFreq” and ACT/ESC buttons sets “freqStep”.
You can set initial “startFreq” and “freqStep” here,
but you have to check your CC1101 mudule datasheet to be sure it supports frequencies you want to use.

thanks,actually I made one ext-board to connect the CC1101 module and have one switch to control the power,though the SPI signal is still connected,hower even if I power off the ext-board when turn on the ESP-boy,it offen initialize fail and the LCD show nothing just backlight(I shortted one res on the backlight pin for convenience).So I wondered is there any pin conneted with CC1101 influence the boy start

Yep,I have found the options,so convenience!But it looks like if I want to config the module to sniffe 900M, I need to modify the relevent register,I am still checking,thks

ESPboy is based on ESP8266 microcontroller.
So, to provide initial start of microcontroller there should be certain signals levels on few pins.
Please check this reference for details

for example
|D4|GPIO2|pulled up|OK|HIGH at boot connected to on-board LED, boot fails if pulled LOW

got it,maybe the D4 Pin was pull down by the module,I will check the power on timing,thks

2 Likes

Hi im new to this site i basically joined for this project could anyone tell me can you buy an espboy wired with a cc1101 and with the correct code already uploaded and if not where can i buy an espboy from and how much are they…??? Much thanks to anyone who replys… Sykodave!!

Why do you ask the same thing three times in three different places )

Hi mate, Sorry about that i put it on the first topic page and when i sent it my phone locked up and i didn’t think it had gone through, then i actually did the intelligent thing and looked through the topics and found the espboy inspector so i thought better put it here, probably get more replies!!! Do they make the same project or a similar one on the arduboy??

Yes, ESPboy is a bit like Arduboy )

The Arduboy and Arduboy FX don’t have any connectors for adding external peripherals, so adding additional hardware is not commonly done.

The new Arduboy Mini has a SparkFun Qwiic connector, which is an I²C interface. If you could find something with the same functionality as a CC1101 module but with an I²C interface instead of SPI, you might be able to do something similar. Having an Arduino library for this hardware would be helpful.

1 Like

A lot of user interest in “Sub1Ghz Inspector” made me come back to this App. I was bothered by some users complaining that the CC1101 module does not work. Signals are not read or sent. I had to do a little troubleshooting. It turned out that the standard ESPboy power supply of 3.7 volts is not enough for stable operation of the module. The module starts to work stably only from external power supply of 5v or stepup 3.7v to 5v. This is strange, because the chip CC1101 should work 1.8V-3.6V according to the datasheet, but it works only at voltages higher than 3.8V. Another oddity is that at 3.7v and below, the “Sub1Ghz Scanner” works fine but not the “Sub1Ghz Inspector”.
Anyway the investigation continues )