Skip to content
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

Wenet does not work after connecting a thermometer #11

Open
GianlucaB2000 opened this issue Jun 5, 2024 · 4 comments
Open

Wenet does not work after connecting a thermometer #11

GianlucaB2000 opened this issue Jun 5, 2024 · 4 comments

Comments

@GianlucaB2000
Copy link

I connected a bme280 thermometer to the Pi zero, but Wenet now gives an error, and it doesn't work. I tried removing the thermometer, formatting the SD card, but I can't solve the problem. Suggestions ?

@GianlucaB2000
Copy link
Author

user@raspberrypi:/wenet/test_images $ cd /wenet/tx
user@raspberrypi:
/wenet/tx $ python3 init_rfm98w.py --frequency 437.500
Using deviation of 71797 Hz for Baud Rate 115200 bd.
/home/user/wenet/tx/SX127x/hardware_piloragateway.py:57: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.LED, GPIO.OUT)
Mode <- SLEEP
MODE=SLEEP
Frequency set to: 437.500 MHz
user@raspberrypi:
/wenet/tx $

@GianlucaB2000
Copy link
Author

user@raspberrypi:~ $ cd /wenet/tx
user@raspberrypi:
/wenet/tx $ python3 init_rfm98w.py --frequency 437.500
Using deviation of 71797 Hz for Baud Rate 115200 bd.
Mode <- SLEEP
MODE=SLEEP
Frequency set to: 437.500 MHz
user@raspberrypi:~/wenet/tx $

@GianlucaB2000
Copy link
Author

2024-06-05 23_06_25-Greenshot
it is transmitting a signal, but it doesn't seem like the usual one transmitted by Wenet

@darksidelemm
Copy link
Member

I don't know what's happened here... My guess is that when you enabled I2C it's somehow affected either the SPI communications to the radio IC, or the UART communications which drives the modulation.

I also don't have any hardware available to test this effect, sorry...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants