I use the “AI on the edge”-project to read our water consumption. This works okayish. There are some miss-readings from time to time. I would like to try something else.
I just found an ESP32 board that I have bought a year ago. Unfortunately, there is no discription of the pinout. I am struggling the find the right pins to use for the CC1101 antenna board.
The antenna board needs the following pins:
GND
VCC (1.6-3.6V)
GD00 (Module information output pin)
CSN (Module chip selects the pin used to start an SPI channel)
SCK (Module SPI bus clock)
MOSI (Module SPI data input pin)
MISO/GD01 (Module SPI data output pin)
GD02 (Module information output pin)
(I have found a pinout schema for the antenna.)
This is the board. Can anybody recommend, which pins to connect to?
thank you for your help. I was able to connect everything. Unfortunately, when compiling my ESPHome yaml, I get errors because of missing dependencies. The owner of the git repository does not has the time ot fix this.
I could try to fix the repo with a little help from an artificial friend - or I could try to build it from scratch based on arduino. Both not an option at the moment.
I will pause my project for now and pick it up some months from now.
Please find below the link to my Esphome configuration, that I’m running on Esphome 2025.7.5. I believe the component is incompatible with newer versions of Esphome.
thank you for your input. I finally got the code compiled. The main difference was this:
framework:
type: arduino
This compiles, but used 97.7% of the available space on the board.
Unfortunately, I just realised that my water meter is “mBus” - and not “wmBus”.
To read mBus, I would need some infrared device… so I stick to my AI-on-the-edge project and will redesign my case to reduce reflections.