projecthorus / wenet

Wenet ("The Swift One") - Transmit and Receive code for the Project Horus High-Speed Imagery Payload.
GNU General Public License v3.0
89 stars 9 forks source link

Wenet does not work after connecting a thermometer #11

Open GianlucaB2000 opened 1 month ago

GianlucaB2000 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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...