Closed zanco closed 2 years ago
HI, I appear just to be impatient. After some seconds the red light gets assistance from the green led and the tracker starts transmitting. Now find myself my BMP280
@zanco Thanks for the report. I actually had not tested this before. I'm anyway making some changes to handle disconnection of BMP280 correctly. Currently, the code does not re-initialize the sensor if it gets disconnected. Reopening this issue for now!
@zanco Also note that the code supports both BMP280 and BME280. With a BME280 you will get humidity readings, which are missing in a BMP280.
Thanks for the info, after connecting the BME280 does the software find on which address it is, or do I have to provide an BME280 on either 0x76 or 0x77 ? (my values stay zero after repowering the RS41 with BME connected.
The default is 0x77, but you can alter it here: https://github.com/mikaelnousiainen/RS41ng/blob/main/src/bmp280_handler.c#L9
Also, we had some reports of 100 kHz I²C clock not working, so try reducing the clock to 10 kHz on this line (change 100000 to 10000):
https://github.com/mikaelnousiainen/RS41ng/blob/main/src/hal/i2c.c#L50
@zanco I've committed some fixes to both BMP280, Horus and GPS handling, please pull the latest changes
/me is humming "under pressure" :-)
@zanco I've committed more fixes to handling disconnected I²C devices like BMP280. There are also fixes to avoid transmitting invalid GPS position information, so please get the latest changes!
Hi, today I did build the firmware on Ubuntu, .bin and .hex files are written, after re powering the sonde the red led stays on.
I have not yet attached the BMP280 but it's enabled in the config.
Does the software check and halt if no BMP280 is connected ?
Thanks, Ben