README: add connections list between rpi and CC1101

This commit is contained in:
Marek Hobler 2022-02-10 21:39:16 +01:00
parent 772a00f21e
commit cf7df3cd07

View File

@ -1,9 +1,20 @@
# everblu-meters
Fetch water usage data from Cyble EverBlu meters using RADIAN protocol.
This project uses WiringPi which is deprecated. http://wiringpi.com/news/
## Hardware
Currently the project runs on Raspberry Pi with an RF transreciver (CC1101).
Currently the project runs on Raspberry Pi with an RF transreciver (CC1101).
### Connections (rpi to CC1101):
- pin 1 (3V3) to pin 2 (VCC)
- pin 6 (GND) to pin 1 (GND)
- pin 11 (GPIO0 ) to pin 3 (GDO0)
- pin 24 (CE0) to pin 4 (CSN)
- pin 23 (SCLK) to pin 5 (SCK)
- pin 19 (MOSI) to pin 6 (MOSI)
- pin 21 (MISO) to pin 7 (MISO)
- pin 13 (GPIO27) to pin 8 (GD02)
## Configuration
@ -16,6 +27,10 @@ You will need serial number of the meter, it can be found on the meter label its
CC1101.c : line 664 : TS_len_u8=Make_Radian_Master_req(txbuffer, 16 , 123456 );
```
Please enable SPI in raspi-config.
Please install WiringPi from https://github.com/WiringPi/WiringPi/
## Compiling
```
@ -24,14 +39,17 @@ gcc radian_trx.c -o radian_trx -lwiringPi -lpthread -Wall
## Troubleshooting
### Frequency adjustment
## Origin and license
This code is fetched from http://www.lamaisonsimon.fr/wiki/doku.php?id=maison2:compteur_d_eau:compteur_d_eau
This code is fetched from http://www.lamaisonsimon.fr/wiki/doku.php?id=maison2:compteur_d_eau:compteur_d_eau
The license is unknown, citing author (fred):
The license is unknown, citing one of the authors (fred):
> I didn't put a license on this code maybe I should, I didn't know much about it in terms of licensing.
> this code was made by "looking" at the radian protocol which is said to be open source earlier in the page, I don't know if that helps?