kike-canaries / canairio_firmware

CanAirIO is a citizen science initiative. We are developing a mobile application that is able to set a PM2.5 or CO2 sensors, and other related sensors, as a fixed station using WiFi or mobile station with an smartphone by using a Bluetooth connection.
https://canair.io
GNU General Public License v3.0
104 stars 23 forks source link

Geiger version #226

Closed hpsaturn closed 1 year ago

hpsaturn commented 2 years ago

Description

Firmware implementation and support the CanAirIO Sensorslib with Geiger sensor CAJOE support

Tests

Credits

Thanks to @roberbike @iw2lsi for the tests and first implementation.

hpsaturn commented 2 years ago

I found the next issue:

https://github.com/kike-canaries/canairio_firmware/issues/227

Also the sensor is detected without it is connected. We working on that.

hpsaturn commented 1 year ago

I synced it to the last version of Sensorlib and CanAirIO firmware, in order to try to have this PR in the next release. Also we have a new suppor for floats numbers in the TFT screen, regarding that I removed some extra code that we had in the main. Please try to test that in your Geiger sensors.. Thanks in advance.

roberbike commented 1 year ago

I synced it to the last version of Sensorlib and CanAirIO firmware, in order to try to have this PR in the next release. Also we have a new suppor for floats numbers in the TFT screen, regarding that I removed some extra code that we had in the main. Please try to test that in your Geiger sensors.. Thanks in advance.

Tested with AM2320 + esp32-WROOM + OLED. Works fine. image

iw2lsi commented 1 year ago

Hi...

thanks for the great job... I'll test it ASAP

     Giampaolo

Il giorno lun 10 lug 2023 alle ore 18:48 roberbike @.***> ha scritto:

I synced it to the last version of Sensorlib and CanAirIO firmware, in order to try to have this PR in the next release. Also we have a new suppor for floats numbers in the TFT screen, regarding that I removed some extra code that we had in the main. Please try to test that in your Geiger sensors.. Thanks in advance.

Tested with AM2320 + esp32-WROOM + OLED. Works fine. [image: image] https://user-images.githubusercontent.com/20878412/252410772-4205725c-c321-4269-90fb-927ebc2f16fb.png

— Reply to this email directly, view it on GitHub https://github.com/kike-canaries/canairio_firmware/pull/226#issuecomment-1629344455, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAODQQHQX3KFOGNVDQI5E33XPQW4RANCNFSM52BJ4LMA . You are receiving this because your review was requested.Message ID: @.***>

hpsaturn commented 1 year ago

I did some refactors in the Sensorlib code, and added new setter on the library to enable the Geiger sensor. Please confirm if this version is working.

https://github.com/kike-canaries/canairio_firmware/assets/423856/eaa7a607-c3d5-4290-b51e-3c1a1604f2e9

roberbike commented 1 year ago

Ver 957 does not show RAD and CPM values, but clicks are counted well. Tested in oled version. image

hpsaturn commented 1 year ago

I released a new version on the OTA testing channel with a possible fix. Also with a some fixes on HA cloud file. Thanks in advance for testing it in the real hardware :)