Gissio / radpro

Custom firmware for Geiger counters/radiation meters (FS2011, Bosean FS-600, FS-1000, FS-5000, FNIRSI GC-01)
MIT License
193 stars 23 forks source link

FNIRSI GC-01: Charging and battery issues #74

Closed Captainslarty closed 5 months ago

Captainslarty commented 7 months ago

Hello sir, as in the title. The GC-01 with apm32f103rb with latest firmware has a battery life of about 20 hours maximum (screen off!). Also, and it may hint to other issues ??? - turning on or off the unit whilst charging causes a blank screen needing a hard reset or reload of firmware. Please also note the charging voltage is far too high for the battery - reaching 4.65V

Thank you. Joe

dc1rdb commented 7 months ago

Hi Joe, I just checked your issues on my unit (GC-01, also with Geehy processor). I could not reproduce any of them. Battery life on my unit is close to 40 hours (HV profile custom, 5kHz, 1.5%) and turning the unit on or off whilst charging does not have any negative effects either. My charging voltage peaks at 4.2 Volts. Maybe there is a hardware fault in your unit. Regards, Robert

Gissio commented 6 months ago

Hi to both of you:

With the screen off, the GC-01 original firmware consumes about 50 mA. Since the battery is 1100 mAh, this should last for 22 hours, which is what you are observing.

I would like to know why, according to Studio326's comments in his video about Rad Pro, the GC-01 "lasts for about 5 to 7 days without too much user activity with the original factory code". If it were to last that time, power consumption should be below 10 mA, which the CH32 can't achieve unless in sleep mode.

I will leave this issue open while this question remains unanswered.

dc1rdb commented 6 months ago

Current draw on my GC-01 with RadPro 2.0rc4 is around 29 mA with sleeping display, a significant improvement over the stock firmware. Custom HV profile makes quite a difference :)

Captainslarty commented 6 months ago

Hello guys, sorry for the delay in replying but I have been away. Interesting findings. dc1rdb, I need to check the current consumption on mine when I get home. Regarding custom HV profiles ?. How are you measuring the HV ?. I intend to check mine and to that end have just received some 1Gohm (1000M!) 1% resistors to assist. Gissio, thanks for the response. If you plug the unit in to usb when off, then, turn it on to check, say, the charge / battery voltage ?.. does it not immediately go into USB Drive mode ? - mine does - and needs a reset to return from that unless I load firmware which obviously I do not want to do ;-). Out of interest, the original firmware you have will not load - the usb disconnects, yet the custom firmware will load every time so no issues with USB. There is no way for me to restore an original firmware though and of course, the need to reset if you turn it on after it has been connected as it enters firmware update mode. Can you also explain to me how the device is measuring the battery volage ? - I am unsure as I though it would be a tap from the battery itself to an adc but I cannot see one apart from RA0 but surely this is also measuring part of the usb input via the diode across the 4054 when plugged in ? (LIke you, it would seem I also do not see what the mosfet is doing after the battery !! :)) ... many thanks. Joe

Captainslarty commented 6 months ago

Hi Gissio - as for studio326's findings, I am as baffled as you ! :-) Joe

dc1rdb commented 6 months ago

Hi Joe, I am measuring the voltage across the geiger tube with a Fluke 80K-40 HV probe.

Btw, I was able to load the original firmware via ST-Link, even though I screwed up my original bootloader so it won't go int USB drive mode at all anymore :)

dc1rdb commented 6 months ago

Joe, would you be willing to share your bootloader as per Gissio's instructions? https://github.com/Gissio/radpro/discussions/59 Apparently, there are a number of different versions out there in the wild. Thanks in advance, Robert

Captainslarty commented 6 months ago

Hi Robert, Thanks for the info. Seems like the Fluke HV Probe is probably also 1G ohm impedance !. so results should be similar with a 10M ohm input meter. (WHEN USED WITH THE PROBE OR 1G ohm Resistor) I would be happy to share my bootloader but I have the different processor - the apm32f103rb. I do not know if those instructions would work ? Regards. Joe

dc1rdb commented 6 months ago

I'm not 100% sure if the instructions apply. Let's see what Gissio thinks :)

Captainslarty commented 6 months ago

Sure my friend, I would think not though as the processor is quite a bit different. It would seem the same applies here though with the apm - different versions - so maybe another version of the tool ? - but only if it is worth the effort of course. I do have a few st-link units in the bits box lol :-). Regards,Joe

Gissio commented 6 months ago

It also works on the ~CH32~ APM32. It would be great if you could dump your bootloader.

Captainslarty commented 6 months ago

Joes Blue GC-01 Bootloader.zip

Here's the bootloader dump Gissio my friend. I will upload images of the unit later today to match the bootloader title. Tell me if it checks out ok or if I need to do anything else to assist ? Joe

Captainslarty commented 6 months ago

Oh sorry, just to add, It is actually a text file - I should have given it a txt suffix - apologies - but it will load into an editor ok - I used notepad++ Joe

Gissio commented 6 months ago

Thanks for the bootloader. Would you be so kind to cross-post in #59, so things stay in one place? Thanks.

Captainslarty commented 6 months ago

Posted to #59 as requested - along with images.

Question my friend ? - I have a new unit on order from FNISRI Store and wonder if you have a way to dump the original FIRMWARE as well ? Joe

Captainslarty commented 6 months ago

All sorted On Thursday, 9 May 2024 at 00:29:56 BST, Gissio @.***> wrote:

Thanks for the bootloader. Would you be so kind to cross-post in #59, so things stay in one place? Thanks.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Captainslarty commented 6 months ago

Hello Gissio. Question my friend ? - I have a new genuine unit on order from FNISRI Store and wonder if you have a way to dump AND save and reuse the original FIRMWARE prior to ANY modifications ? . Please can you advise ? Joe

Gissio commented 6 months ago

Let me point you to #24.

It is possible to dump the bootloader, but not the original firmware.

Captainslarty commented 6 months ago

Thank you Gissio On Tuesday, 14 May 2024 at 06:19:50 BST, Gissio @.***> wrote:

Let me point you to #24.

It is possible to dump the bootloader, but not the original firmware.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Captainslarty commented 6 months ago

Robert, to reload the original firmware use the fnirsi-gc01-ch32f103r8t6-v1.5.bin !! Yes, it's for the apparently 'wrong' processor but it works fine. (that is IF you can enter the boot loader.)

Gissio sir - the APM ORIGINAL fnirsi-gc01-apm32f103rbt6-v1.6.bin firmware does not work here yet the above fnirsi-gc01-ch32f103r8t6-v1.5.bin does ? - can you explain please ? - definitely marked as APM processor.

Joe

dc1rdb commented 6 months ago

Thanks for the info, Joe. Currently, I can not enter the bootloader, but it should also be loadable via ST-Link. I might give it a try.

Captainslarty commented 6 months ago

Hi Robert, It is not perfect in some of the settings, but in main use it is absolutely fine. I simply cannot get ver 106 to at all under any circumstances.

I have also emailed Fnirsi for a suitable firmware - fingers crossed... be useful for comparisons. Best wishes my friend. Joe

dc1rdb commented 6 months ago

Hi Joe, I would load the original firmware only temporarily anyway. Gissio's RadPro is so much better and turns this cheap Geiger counter into a serious instrument. Best wishes, Robert

Captainslarty commented 6 months ago

Hi Robert, that was the only intention so as to check the current draw / battery life. There is no way it is staying on original firmware. Gissio firmware is the icing in the cake. 🥇 Joe

Captainslarty commented 6 months ago

Hello guys. Here is how to check the HV voltage on a GC-01 using a standard 10Mohm input meter. Image and details are direct from the manufacturer. Should be 380 - 395, (with the proper full size tube - J321 here - 4011 wtx is more or less the same for all practical purposes). notice the meter lead orientation and placement. My test one is 385V - standard firmware new meter, un modified. Definitely worth noting. Sorry about low quality, that was what they provided in AliX chat. (I had a new meter from them with faulty tube so they are sending me another, and this was to assist with fault finding. REALLY useful info as I was originally measuring from battery ground to HV.

factory hv measuring point should be 385 to 395 vdc

Captainslarty commented 6 months ago

Also good info for all normally used tubes (and more) J tubes data

Captainslarty commented 6 months ago

For Gissio and Robert.

Here is the ACTUAL GENUINE FACTORY firmware - the latest - for the GC-01. It works to revert my 'small tube' version back to factory so I can now load either firmware and then reload the original to test voltages etc.

Gissio my friend, please add it to the repository for the GC-01 with APM processor. Works perfectly, v 1.6 does not on mine.

GC01_V1.6-2.zip

Cheers guys Joe

Send virtual beers please lol.... :-)

Captainslarty commented 6 months ago

Also, just to add, it is the ONLY firmware for the later models. Same firmware used on full size tube GC-01 units from this year.

The factory are not really interested in the small tube - 614 type models as they are not authorised by them apparently. Main thing is that the firmware works perfectly. So, Gissio now has my genuine bootloader and the factory latest firmware for the APM32 version of the GC-01. Nice to be able to contribute something. Best wishes all. Joe

hackra76 commented 6 months ago

Hello guys. Here is how to check the HV voltage on a GC-01 using a standard 10Mohm input meter. Image and details are direct from the manufacturer. Should be 380 - 395, (with the proper full size tube - J321 here - 4011 wtx is more or less the same for all practical purposes). notice the meter lead orientation and placement. My test one is 385V - standard firmware new meter, un modified. Definitely worth noting. Sorry about low quality, that was what they provided in AliX chat. (I had a new meter from them with faulty tube so they are sending me another, and this was to assist with fault finding. REALLY useful info as I was originally measuring from battery ground to HV.

factory hv measuring point should be 385 to 395 vdc

Hi, I tried measuring the voltage across the points as in your image and no matter what tube type I set, the PWM frequency or Duty cycle I set, I always measure 88-90 V..... Very strange. My unit is a APM version with J321 swapped tube. Strange thing is, the device seems to measure more or less correctly, the background is consistent with my BR-9C unit, and it registers the smoke detector source also... 20240529_112325~2

Captainslarty commented 6 months ago

what is the input impedance of your multimeter ? On Wednesday 29 May 2024 at 10:34:29 BST, Radovan Dvorský @.***> wrote:

Hello guys. Here is how to check the HV voltage on a GC-01 using a standard 10Mohm input meter. Image and details are direct from the manufacturer. Should be 380 - 395, (with the proper full size tube - J321 here - 4011 wtx is more or less the same for all practical purposes). notice the meter lead orientation and placement. My test one is 385V - standard firmware new meter, un modified. Definitely worth noting. Sorry about low quality, that was what they provided in AliX chat. (I had a new meter from them with faulty tube so they are sending me another, and this was to assist with fault finding. REALLY useful info as I was originally measuring from battery ground to HV.

Hi, I tried measuring the voltage across the points as in your image and no matter what tube type I set, the PWM frequency or Duty cycle I set, I always measure 88-90 V..... Very strange. My unit is a APM version with J321 swapped tube. Strange thing is, the device seems to measure more or less correctly, the background is consistent with my BR-9C unit, and it registers the smoke detector source also... 20240529_112325.2.jpg (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hackra76 commented 6 months ago

what is the input impedance of your multimeter ? On Wednesday 29 May 2024 at 10:34:29 BST, Radovan Dvorský @.> wrote: Hello guys. Here is how to check the HV voltage on a GC-01 using a standard 10Mohm input meter. Image and details are direct from the manufacturer. Should be 380 - 395, (with the proper full size tube - J321 here - 4011 wtx is more or less the same for all practical purposes). notice the meter lead orientation and placement. My test one is 385V - standard firmware new meter, un modified. Definitely worth noting. Sorry about low quality, that was what they provided in AliX chat. (I had a new meter from them with faulty tube so they are sending me another, and this was to assist with fault finding. REALLY useful info as I was originally measuring from battery ground to HV. Hi, I tried measuring the voltage across the points as in your image and no matter what tube type I set, the PWM frequency or Duty cycle I set, I always measure 88-90 V..... Very strange. My unit is a APM version with J321 swapped tube. Strange thing is, the device seems to measure more or less correctly, the background is consistent with my BR-9C unit, and it registers the smoke detector source also... 20240529_112325.2.jpg (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

According to reviewit is 10-11 MOhm.....

https://lygte-info.dk/review/DMMAnengQ1%20UK.html

Captainslarty commented 6 months ago

then there is something wrong....... the data is from the factory and works great on 3 gc-01 units. On Wednesday 29 May 2024 at 10:55:53 BST, Radovan Dvorský @.***> wrote:

what is the input impedance of your multimeter ? On Wednesday 29 May 2024 at 10:34:29 BST, Radovan Dvorský @.> wrote: Hello guys. Here is how to check the HV voltage on a GC-01 using a standard 10Mohm input meter. Image and details are direct from the manufacturer. Should be 380 - 395, (with the proper full size tube - J321 here - 4011 wtx is more or less the same for all practical purposes). notice the meter lead orientation and placement. My test one is 385V - standard firmware new meter, un modified. Definitely worth noting. Sorry about low quality, that was what they provided in AliX chat. (I had a new meter from them with faulty tube so they are sending me another, and this was to assist with fault finding. REALLY useful info as I was originally measuring from battery ground to HV. Hi, I tried measuring the voltage across the points as in your image and no matter what tube type I set, the PWM frequency or Duty cycle I set, I always measure 88-90 V..... Very strange. My unit is a APM version with J321 swapped tube. Strange thing is, the device seems to measure more or less correctly, the background is consistent with my BR-9C unit, and it registers the smoke detector source also... 20240529_112325.2.jpg (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

According to reviewit is 10-11 MOhm.....

https://lygte-info.dk/review/DMMAnengQ1%20UK.html

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Gissio commented 6 months ago

For Gissio and Robert.

Here is the ACTUAL GENUINE FACTORY firmware - the latest - for the GC-01. It works to revert my 'small tube' version back to factory so I can now load either firmware and then reload the original to test voltages etc.

Gissio my friend, please add it to the repository for the GC-01 with APM processor. Works perfectly, v 1.6 does not on mine.

GC01_V1.6-2.zip

Cheers guys Joe

Send virtual beers please lol.... :-)

The file you submitted is identical to https://github.com/Gissio/radpro/blob/main/docs/devices/FNIRSI%20GC-01/firmware/fnirsi-gc01-apm32f103rbt6-v1.6.bin

Captainslarty commented 6 months ago

Hi Gissio, I do not see that here. The file size differences are absolutely huge to start with.Your version semi works but the text on the menus are missing. The version I posted from Fnirsi works superbly. Please can you advise how the file sizes can be so dramatically different ? ThanksJoe On Wednesday 29 May 2024 at 15:09:57 BST, Gissio @.***> wrote:

For Gissio and Robert.

Here is the ACTUAL GENUINE FACTORY firmware - the latest - for the GC-01. It works to revert my 'small tube' version back to factory so I can now load either firmware and then reload the original to test voltages etc.

Gissio my friend, please add it to the repository for the GC-01 with APM processor. Works perfectly, v 1.6 does not on mine.

GC01_V1.6-2.zip

Cheers guys Joe

Send virtual beers please lol.... :-)

The file you submitted is identical to https://github.com/Gissio/radpro/blob/main/docs/devices/FNIRSI%20GC-01/firmware/fnirsi-gc01-apm32f103rbt6-v1.6.bin

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Captainslarty commented 6 months ago

Hmm, maybe it is something to do with how the file is being downloaded from github ? - it was around 423kB, then I tried 'raw' and it came down to sensible size. Yet, the large file still loaded ?

Maybe I am doing something wrong with the download from github ?

Gissio commented 6 months ago

Try downloading the file you uploaded. You will notice it is the same as the file I pointed you to.

Captainslarty commented 6 months ago

Thanks. from the list when searching for your files on github, I was right clicking the file and downloading it that way, this gave a huge file size, still a bin file and still loaded but failed to work - understandable now ;) . I had not seen the download raw option. Git hub is not really for user friendly unless you are a coder - in my opinion of course. I was looking at the Bosean 5000 version you did - for example - and cannot locate the file from the thread on the radpro version for it. The links seem to end at an option with no firmware. I can find the loader, but not the file to load. I know this is off topic, but I am using it as an example of how difficult it can be to navigate. I thought I was computer literate but github proves me wrong lol. Joe

Gissio commented 5 months ago

Closing issue due to inactivity.