-
Notifications
You must be signed in to change notification settings - Fork 26
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
Sleep Mode for CC1101 #211
Comments
Hi,
getData() calls radio.standby() after all required messages have been received.RadioLib also provides a sleep() method for some modules, but not for the CC1101. If CC1101 has a sleep function in addition to the standby function, you might file an issue in the RadioLib project.
|
thanks @matthias-bs, that helped. Issue can be closed |
@pcfritz See jgromes/RadioLib#1382, maybe sleep mode will be implemented soon. |
Fingers crossed. If I call ws.sleep(), change the according block in WeatherSensor.cpp to this and move void SPIsendCommand(uint8_t cmd); to public, I still only reach about 1.65ma:
|
To which extend did the CC1101 sleep command reduce the current? |
Great! Meanwhile I've changed cc1101.h and cc11011.cpp according to jgromes/RadioLib#1389. |
Hi I am using BresserWeatherSensorBasic in a project to receive every 15 minutes weather data and to send it to an Influxdb server via mobile network, which works great. But as the esp32 is connected to a LiPo battery, I wonder if it would be possible to not only use deep sleep of esp32 but also sleep mode of CC1101? Would be awesome if you could implement something like this!
The text was updated successfully, but these errors were encountered: