-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bosean FS-5000: Support #11
Comments
Just managed to dump the STM32L431RCT6 256kB Flash. Will try to dump the 8MB SPI NOR Flash as well although I'm not sure that's necessary. Jonah |
ping. :) |
Thanks for your submissions. Once I find the time, I'll take a look. |
@ihrapsa did you manage to extract data from FS-5000 on Linux? I would like to have an script to extract data online |
Hi, Jonah |
@ihrapsa provided that protocol is not availab, sniffing the serial communication is a good approach to me |
this is my test to connect fs5000 to linux on serial port, incomplete. connect -> 115200, DTR OFF, 8N1 device id? - > AA 04 06 b4 55 AA 05 0E 01 BE 55 -> PC AA 06 0e 06 01 c5 55 -> PC continuos read DISCONNECT # aa 06 0e 06 06 00 c4 55 -> Risposta a STOP SET TIME aa 04 06 b4 55 aa 05 0e 01 be 55 aa 05 0e 01 be 55 AA 05 0E 01 BE 55 |
Following the notes from @Red-Owl, I managed to reverse most of the protocol to talk to this thing. I've put it into a single Python script as a Gist here: https://gist.github.com/brookst/bdbede3a8d40eb8940a5b53e7ca1f6ce @wnasich may be interested. |
I'm also interested in FS-5000 support and willing to help out in any way I can. |
Plus 1 from me - I would love to have rad pro on this unit. |
Mine also came with this tiny tube, counts were like 1/3 of what you would get with a larger one. So, I replaced mine with an M4011 and, out of pure guesswork, removed the solder jumper R102. I guessed that it is used to inform which kind of tube is installed. Put it all back together and counts from BS are within expected levels now. Can anybody, who got one with the larger tube already installed, confirm if this jumper is opened or closed? Thanks! |
The smaller tube has both electrodes on the same side so what that jumper seems to do is bring the negative pole next to the positive one. |
Would you know how it detects it's a different tube and applies the correct conversion to uSv/h? Tried to find a config for that and couldn't. It simply worked as expected after tube replacement, not only giving a much-improved CPM but also displaying a "correct" approximation of uSv/h. Thanks! |
I'll take any excuse to take it apart. |
That is indeed weird. How are you checking wether the conversion/doserate is correct? |
Took notes of BS (no real source here, unfortunately) before and after the conversion (CPM and uSv/h). Also, compared with other units I have (a GC01- running RadPro - and a GQ 320+ v4). Before conversion it had a much lower CPM but comparable uSv/h to other equipment, now it has both CPM and uSv/h comparable with the other ones. Perhaps it measures some kind of voltage drop on the tube and can infer which type it is? |
I think it has to be something like that. I can see the trace from the R102 pads and all it does is go between the negative holder for the large tube and the through hole for connection to the negative lead of the smaller tube. I guess it might have needed a resistor there to reliably detect the smaller tube but didn't need it in the end. |
Thank you! Perhaps this track (past the jumper) is also connecting to one of the pins on the MCU, which is pulled up internally, and it is used to determine tube type since I found no way on the UI to specify that. |
I would be very surprised if it had ANY form of tube detection. The sweet spot range for virtually ALL tubes of this type is so similar that any particular setting is 'ok' - not optimised - but 'ok' ... so the device is pretty dumb as to the type of tube. |
Gissio sir, if you do a custom firmware for this nice unit, then please unclutter the touch screen as it is horrendous. ;-) . too cluttered with too many icons that mean nothing really. Most could be controlled from the 3 button interface without the horrible touch screen, but careful use of the screen may be appropriate. It is a nice unit but the interface is pretty terrible and your marine interface design experience can add a tremendous amount. |
I don't see anything directly connected to the negative side of the tube(s). They go to ground through R59 and R62 on the front of the PCB. Q11 is connected to their midpoint, so I guess that is some kind of current feedback to the MCU. That is common to both tube types. The positive sides of both tube types are also directly connected to the HV supply. There's a chain of resistors to TP2 but that doesn't connect anywhere. There are traces from a few points in the HV supply, I don't know if they're just to control the tube voltage or if they're also used to measure the tube characteristics. |
See above !!!! the processor ONLY has settings for the tube in it's program. THERE IS NO WAY IT DETECTS A TUBE. Sheesh. ! ;-) |
@Captainslarty So how does it get the correct dose rate with different count rates? I believe that's what @Montecri is saying: The smaller tube has a lower count rate but still reports about the same dose rate. How else could it get the conversion correct? |
Hi Brookst, easy really. The manufacturer is aware what tube is placed in on the board when it is built so sets the PWM and Pulse width (mark to space ratio) in the code. It is the processor that provides the PWM for the voltage multiplier chain. That's it. |
Just to add to the discussion. I don't think that changing the tube altered anything. These tubes are - as said, much of a likeness in requirements. The smaller tube comes from different manufacturers and there are reasonable and downright awful types. ;-) . The count rate is 'near enough' at low levels. Comparing to the gc-01 is not really a great idea as in it's basic form it is a bit of a lottery where, in that case, the smaller tube is absolutely 'deaf'. (results compared to my radiacode 102). My Bosean 5000 with the large tube from the factory is the nearest to the radiacode. the GC-01 with the small tube is a bit of a joke. I have a 4011 to go in it and set it up with rad pro and with an extremely high impendence probe for the HV and it will be very adequate I am sure. The Bosean from the factory with the J321 tube in will almost certainly have a few parameter differences in firmware which you cannot, at the moment, without rad pro - change. |
Here is a good note for measuring tube voltages with a normal 10M ohm input high quality multimeter. (basically without a lot of other options - you cannot). Here is how to produce a series resistor of known value of around 1 GIGA ohm to use with a quality known input meter. |
Just to add data to the topic When I received the Bosean FS-5000, my first impulse was NOT to crack it open, since I was already having fun with GC-01. However, I noticed immediately that the CPM was way down compared to GC-01 and GQ 320+, both using M4011 tubes. Like, the three turned on, side by side, for some time, the CPM between GC-01 (running RadPro) and GQ 320+ for background source floated between 24 and 33 where I live; while for the Bosean FS-5000 it was between 8 and 11, consistently 1/3 of what I could observe on the other two, while the uSv/h remained more or less the same among them. That's what prompted me to open the Bosean and see what was going on and, to my disappointment, found the tiny tini tube no one wants. Had a spare M4011 and immediately replaced it, removing the R102 jumper first, since intuition told me that (ha!); now we know it doesn't play any role in tube selection. Now, looking at the official Bosean store listing for the same item I see this: "We Promise: We will replace all products in the warehouse and produce new items with NEW J321 tube to ensure all items are J321. April 10, 2024." Thanks! |
Yes, that is why I bought mine - only after the promise of the J321 made me buy one. I am glad I did as it is a great unit. I don't like the touch screen but hey ;-). The 321, 305 and 4011 tubes are all basically identical specifications. You made a wise move replacing the tube. My GC-01 from Banggood came with the smaller tube and the advertising clearly showed a larger - full size - tube. I obtained a refund from them from the price of the tube from aliexpress (18.29 euro). Measuring a known source like radium is a great test, or even the small amount of gamma from thorium (Ex russian military compass for the radium and a lantern mantle and coated welding rods containing thorium for the second). Joe |
Indeed the component values for the high voltage section look the same for both the J321 and the smaller tube (J613?) There seems to be some software configuration data for the specific tubes, as the J321 shows "Sensor 3" in the device information and the smaller one "Sensor 1" , there may even be a "Sensor 2" configuration. |
Can I use your photos in Rad Pro? |
If you need any photos I have many of the j321 and j613 Bosean FS 5000's you can use |
Of course, anything you need. I'm glad to help out in any way I can. |
Indeed, one for each tube, with the case open would be great! |
Sure here you go https://github.com/koogar/Bosean-FS-5000-Radiation-Detector |
Seeing your pictures it shows for J613 as "Sensor 001" and J321 as "Sensor 003". I changed my factory-installed J613 for an M4011 (J321), removed jumper R102 and it is still shown as "Sensor 001". Just leaving this information here so future readers understand that the tube type is hardcoded on the firmware, apparently. No matter if you change the tube or tweak R102. Regards,
|
Yes I mentioned that further up the thread :) A M4011 is similar to a J321 so maybe that is a "Series 2" Regards Rupert |
I just received mine with a J321 tube. |
Rad Pro is already working on the Bosean FS-5000. Hang on, it's just a couple of days for 2.0rc5! |
Latest PR added github actions support. Checkout under Artefacts of the latest build. Or better wait for the soon to be released |
2.0rc5 with Bosean-FS5000 support is out! Closing this issue. |
Hi,
I'd like to help getting support for this relatively new Bosean FS-5000 Geiger counter.
Here are some specs:
MCU: ARM Cortex-M4 STM32L431RCT6 80 MHz, 64KB SRAM, 256KB Flash
Extra Flash: winbond 25q64jvsiq - 8 MB serial flash
USB to TTL: WCH 340EB27 (basically a CH340)
Click for extra specs:
Click for pics:
It's also got the ability to connect to a pc to analyse the logged history using their Windows app
Output of
dmesg
when connecting to a Linux computer:Let me know if there's any other info I should provide 😃
The text was updated successfully, but these errors were encountered: