EEVblog Electronics Community Forum

Products => Test Equipment => Topic started by: Sairus on September 25, 2016, 05:02:50 pm

Title: Brymen BM869(867) alternative software.
Post by: Sairus on September 25, 2016, 05:02:50 pm
Hi everyone.
I want to share my software it created to communicate with Brymen BM869 (probably it will work with BM867). It good alternative of BU-86X because you can create your own cable and spend around 5$ for it (it cheaper than brymen cable). So maybe for owners of BM869(867) that topic will be helpful.

So let me introduce my GUI.

(http://i.imgur.com/wX5iTo8.png)

Main windows display DMM readings, it have many settings (port settings, color settings, settings for logger and grapher) in help section you can find info how made your own cheap cable.

Features
(http://i.imgur.com/rhacj5X.png)

Grapher called from main window work separately, fast mode mean that every time when DMM send data on PC grapher will draw new values. Draw interval it time between drawing new points so you can choose fast drawing or drawing in determined time periods.

Grapher features
(http://i.imgur.com/vKrMFsW.png)

Pass/fail mode work in main window and in pass/fail settings section. After closing settings section it continue working.

PASS/FAIL features
In help section you can find manual with schematics and firmware for creating you own cable.
(https://www.eevblog.com/forum/testgear/brymen-ir-connection-protocol-anyone-sniffed-it-yet/?action=dlattach;attach=235367)

(http://i.imgur.com/e5A3wS9.png)
Feel free to ask you questions and sorry for my crusty english.

Update
Ok i spend some time and write arduino sketch. It all about IR transistor position and pullup resistors value (in case of my setup is 69K tolerance ~ 1K).If you have bad alignment or wrong value you will receive crap signal and software will not react or start show weird stuff (weird reading mean that you on right way). In ajusting  may be helpful port debug line to view received data (in GUI port>port debug line).
(http://i.imgsafe.org/540f13d79d.jpg)
(http://i.imgsafe.org/53f2c5e804.png)
Arduino sketch for cable (https://www.eevblog.com/forum/testgear/brymen-bm869(867)-alternative-software/?action=dlattach;attach=260532)

Version log
v1.02 First release
v1.03 Fixed bug at saving manuals files.
v1.04 Do nothing because I think that no one need it.  :P
v1.05 Add arduino sketch in help section.
 
Link   [https://www.dropbox.com/s/2603e3m4y3cmb5u/brymen%20rs%201.05.exe?dl=0]dropbox V1.05 10.01.2020[/url]
Title: Re: Brymen BM869(867) alternative software.
Post by: IanB on September 25, 2016, 05:13:33 pm
That looks like very nice software. Are you planning to share it?

[Edit: OK, I see you added a link. However, downloading an executable from an unknown source will make people nervous.]
Title: Re: Brymen BM869(867) alternative software.
Post by: nugglix on September 25, 2016, 05:19:55 pm
Unfortunately the link points to an .exe file.
I wouldn't install it for obvious reasons.

@Sarius
If you want people to have a look, provide an archive.
So interested people can have a look w/o installing software from unknown sources.
And if you really want to help with that software, put it on github.
Title: Re: Brymen BM869(867) alternative software.
Post by: wraper on September 25, 2016, 05:27:39 pm
Regarding 2 previous comments. I don't see how obfuscating executable into the archive will make it any safer  :-//. Actually malware is intentionally archived (very often in spam) to prevent antiviruses from detecting them.
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on September 25, 2016, 05:31:58 pm
Quote
OK, I see you added a link. However, downloading an executable from an unknown source will make people nervous.
Because i add link to this forum in help section.

Quote
So interested people can have a look w/o installing software from unknown sources.
It ruing without installing. first version was posted there 
www.eevblog.com/forum/testgear/brymen-ir-connection-protocol-anyone-sniffed-it-yet/100/ (https://www.eevblog.com/forum/testgear/brymen-ir-connection-protocol-anyone-sniffed-it-yet/100/) rep 109



(http://i.imgur.com/lRVlCo2.jpg)
Title: Re: Brymen BM869(867) alternative software.
Post by: IanB on September 25, 2016, 05:32:32 pm
Regarding 2 previous comments. I don't see how obfuscating executable into the archive will make it any safer  :-//. Actually malware is intentionally archived (very often in spam) to prevent antiviruses from detecting them.

I think we are suggesting to share the source code so it can be examined and compiled safely on a local system.
Title: Re: Brymen BM869(867) alternative software.
Post by: wraper on September 25, 2016, 05:38:26 pm
I think we are suggesting to share the source code so it can be examined and compiled safely on a local system.
This is not what wast majority of the people would even consider to bother with or have expertise to do so.
Title: Re: Brymen BM869(867) alternative software.
Post by: IanB on September 25, 2016, 05:40:45 pm
I think we are suggesting to share the source code so it can be examined and compiled safely on a local system.
This is not what wast majority of the people would even consider to bother with or have expertise to do so.

This is a technical forum. Downloading source code is no different than downloading a circuit schematic, PCB layout or B.O.M.

I would hesitate to run a downloaded executable however it was delivered.
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on September 25, 2016, 06:15:53 pm
My software contain ~100 kb of code (~2000 code line) and 0 code comments (i have good memory so i dont use comments i know that bad programming style) so for other people it useless.  :-//

And if i try create malware i will use another name for it something like "boobs and kitties" and i posted it somewhere where more audience (with less average IQ) for example social networks.  ;)

For gourmets, I added a piece of code you can start analyzing, later i add other parts and the instructions how to make of tin foil hat. :-DD
Title: Re: Brymen BM869(867) alternative software.
Post by: Kuro on September 25, 2016, 07:06:27 pm
Thanks for offering this! Looks real nice, I'll check it out once I get a Brymen.
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on September 25, 2016, 07:11:53 pm
Quote
Thanks for offering this! Looks real nice, I'll check it out once I get a Brymen.
Go to help and press English manual and you get PDF file with instructions how create your cable (repeating my design is not necessary you can use another microcontroller or even arduino)
Title: Re: Brymen BM869(867) alternative software.
Post by: raptor1956 on September 25, 2016, 07:40:07 pm
The problem with downloading and installing software from the internet is a very real problem but then when genuine good intentions are behind it and the software offers something of value it would be nice to have a sandbox to try it.  Perhaps a good idea to maintain an old laptop with an image and try it on that.  If it gets hosed you have the image to reset things and you haven't risked your everyday PC's.

I have, in fact, about 4 such laptops.

I am very tempted to get the BM869S from TEM and having software to do PC based analysis and logging would be great.

To the OP, I haven't gone to you dropbox yet and would like to know if you have details on the connector you made up for it. 


Brian
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on September 25, 2016, 08:12:13 pm
Quote
I have, in fact, about 4 such laptops.
I am very tempted to get the BM869S from TEM and having software to do PC based analysis and logging would be great.
To the OP, I haven't gone to you dropbox yet and would like to know if you have details on the connector you made up for it. 

Run GUI >Help>English manual>read PDF
Title: Re: Brymen BM869(867) alternative software.
Post by: joeqsmith on September 27, 2016, 10:40:07 am
Besides it being a fun little project for you to work on, what's the benefit?    Looking at your other link (I did not read it), I assume by the time I have made a board, by the PIC and other parts and maybe get it working there will be more than $5 invested.   The meter was $230 new.  I think they only wanted $40 more for the cable and software.  I didn't have a need for it but had I that would not be a bad price.  For my own home use, normally if I am trying to automate something it requires more than a meter.  Mainly why I use LabVIEW.   Had Brymen offered support of LabVIEW, I may have picked it up.

So, what features does your software have that the OEM package does not?   Is it more reliable? Save to some other file formats? 
Title: Re: Brymen BM869(867) alternative software.
Post by: JackM on September 27, 2016, 02:21:07 pm
Besides it being a fun little project for you to work on, what's the benefit?
So, what features does your software have that the OEM package does not?   Is it more reliable? Save to some other file formats?

Obviously buying the official $40 kit from Brymen will be a fully-working solution straight away and very unlikely to have bugs/issues. This is just for those DIY'ers who want to build something cool and maybe learn a bit about it along the way. I think it's a very neat project and since I own a Brymen BM867 I'll likely be building up this design myself, because I want to.
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on September 27, 2016, 04:00:36 pm
Quote
Besides it being a fun little project for you to work on, what's the benefit?    Looking at your other link (I did not read it), I assume by the time I have made a board, by the PIC and other parts and maybe get it working there will be more than $5 invested.   The meter was $230 new.  I think they only wanted $40 more for the cable and software.  I didn't have a need for it but had I that would not be a bad price.  For my own home use, normally if I am trying to automate something it requires more than a meter.  Mainly why I use LabVIEW.   Had Brymen offered support of LabVIEW, I may have picked it up.

I just write software for myself (because only option for me was cable from ebay ~ 60$) i make it better and better,at some point i realize that it good enough to show another people so i decided share it (maybe my solution save some time for another peoples)

Quote
So, what features does your software have that the OEM package does not?   Is it more reliable? Save to some other file formats?

It just alternative just another option. Cable design can be modified so adding battery and bluetooth module (or RF module) can give you wireless connection.

P.S. show me link for BM869+ shipping for 240$ )
Title: Re: Brymen BM869(867) alternative software.
Post by: 2N3055 on September 27, 2016, 10:14:12 pm
You have it here, for instance... Allmost in the neighbourhood ...
http://www.tme.eu/en/details/bm869/portable-digital-multimeters/brymen/bm869s/ (http://www.tme.eu/en/details/bm869/portable-digital-multimeters/brymen/bm869s/)

Title: Re: Brymen BM869(867) alternative software.
Post by: joeqsmith on September 27, 2016, 11:00:47 pm
You have it here, for instance... Allmost in the neighbourhood ...
http://www.tme.eu/en/details/bm869/portable-digital-multimeters/brymen/bm869s/ (http://www.tme.eu/en/details/bm869/portable-digital-multimeters/brymen/bm869s/)

 :-+  This is where I bought mine from.   At the time I paid $224.66 + $9.90 shipping.  It arrive in just a few days.  Been very happy with the meter. 

Is your software compatible with the OEM cable? 
Title: Re: Brymen BM869(867) alternative software.
Post by: IanB on September 28, 2016, 05:39:19 am
I just write software for myself (because only option for me was cable from ebay ~ 60$) i make it better and better,at some point i realize that it good enough to show another people so i decided share it (maybe my solution save some time for another peoples)

If you are interested to share the software, which is an admirable thing to do, then I suggest sharing it through a medium like GitHub. That way others can learn from what you have done, maybe extend or enhance it, maybe fix some bugs. You may get feedback from others that could in turn help you. Just something to consider.
Title: Re: Brymen BM869(867) alternative software.
Post by: raptor1956 on September 28, 2016, 06:58:40 pm
I have not bought a DMM in many years and still own a Fluke 85 that's over 25 years old and a Fluke 27 that's over 30 years old, but I think I may add the BM869 in the near future.  Neither of my Fluke's have more than 3200 counts so having a DMM that's in the same league as my Rigol DM3058E as far as count are concerned would be very helpful when needing to monitor both current and voltage at the same time or monitoring two voltages or currents and the same time.  Having PC software to log and analyze is just the icing on the cake.  The accuracy isn't quite as good as the Rigol but not far off either and the relative values can be useful even if the absolute accuracy is a bit lacking.  And at 0.02% it's better than the 0.05% of the Fluke 87V.

The BM869 is a bit large for true portability, but should work as a portable instrument that probably spends most of its time on or near the bench.


Brian
Title: Re: Brymen BM869(867) alternative software.
Post by: Bicurico on September 28, 2016, 07:57:05 pm
Hi,

This is to let a little bit of steam out...  :wtf:

You have the OP, who developed his own alternative software for the Brymen BN869/867. As I understood, one of the reasons to develop this software was to use his own custom made cable (he explains how to assemble one), instead of having to purchase the official cable. Building a custom made cable has the issue, that one lacks the official software - hence why he made his own.

Now pay attention: he offers his software for FREE. A non-intrusive Paypal add is decently asking for any donation.

And what is the general tone in this thread? People say it is not secure to run executables of the internet!!! WTF??? This is a known user of EEVblog! I cannot imagine anyone here using Windows who NEVER downloaded any software and installed it! It's not like he is offering an obscure link to some cracking/keygen site!

And then people say "oh, yeah, all nice, bla bla bla, how about you share the SOURCE CODE, so we can check the software is clean...".

If I was the OP, I would close this thread and not even reply.

It's not just that people want things for free - now they want the source of other people's work, too. Just because.

 :-- :-- :--

When I read stuff like this, I really wonder what goes on in people's head.

Sorry if I offended anyone, but I surely got offended by this:

"Besides it being a fun little project for you to work on, what's the benefit?" -> You don't have to use it, if there is no benefit for you! And if this is a "fun little project", you must have done bigger projects and given them away for free, right?

"If you are interested to share the software, which is an admirable thing to do, then I suggest sharing it through a medium like GitHub. That way others can learn from what you have done, maybe extend or enhance it, maybe fix some bugs. You may get feedback from others that could in turn help you. Just something to consider." -> The OP was expecting some donation, not people asking to share his whole source code!

"Obviously buying the official $40 kit from Brymen will be a fully-working solution straight away and very unlikely to have bugs/issues." -> Just buy the offical kit then! Why implying the OP has bugs/issues in his software? Have you tried it?

"I think we are suggesting to share the source code so it can be examined and compiled safely on a local system." -> No comments...

Regards,
Vitor
Title: Re: Brymen BM869(867) alternative software.
Post by: retiredcaps on September 28, 2016, 08:06:27 pm
I have not bought a DMM in many years and still own a Fluke 85 that's over 25 years old and a Fluke 27 that's over 30 years old, but I think I may add the BM869 in the near future.  Neither of my Fluke's have more than 3200 counts
Just some corrections.

Your Fluke 85 is a 4000 count meter.

Quote
And at 0.02% it's better than the 0.05% of the Fluke 87V.
The Brymen BM869 is (wrt to DCV)

http://www.brymen.com.tw/product-html/cata860/Bm860L4.htm (http://www.brymen.com.tw/product-html/cata860/Bm860L4.htm)

0.02% +/- 2d at 5V range and below
0.03% +/- 2d at 50V range
0.04% +/- 2d at 500V range
0.15% +/-2d at 1000V range

Fluke 87V is 0.05% +/- 1d in all ranges.

I say it too close to call between the 87V and BM869 depending on the range and when you consider the +/- 1d vs 2d without doing a spreadsheet or calculation.
Title: Re: Brymen BM869(867) alternative software.
Post by: IanB on September 28, 2016, 08:16:55 pm
The fear with downloading executables is not so much that we don't trust the originator to be acting in good faith, but that we can have no knowledge of how the executable was made. It is possible that malware can get in by stealth, for instance did the originating machine maybe have an undetected infection, or was the zipping/archiving tool inadvertently infected? Such things have happened even to reputable software houses.

For the record I am pretty hesitant to run any downloaded executables from anywhere. It's just scary.

The OP in this thread has apparently made some nice PDF docs. Well couldn't they perhaps be available in a zip archive so we don't have to run the EXE to get at them?
Title: Re: Brymen BM869(867) alternative software.
Post by: joeqsmith on September 28, 2016, 10:07:24 pm
Hi,

This is to let a little bit of steam out...  :wtf:

Sorry if I offended anyone, but I surely got offended by this:

"Besides it being a fun little project for you to work on, what's the benefit?" -> You don't have to use it, if there is no benefit for you! And if this is a "fun little project", you must have done bigger projects and given them away for free, right?

"If you are interested to share the software, which is an admirable thing to do, then I suggest sharing it through a medium like GitHub. That way others can learn from what you have done, maybe extend or enhance it, maybe fix some bugs. You may get feedback from others that could in turn help you. Just something to consider." -> The OP was expecting some donation, not people asking to share his whole source code!

"Obviously buying the official $40 kit from Brymen will be a fully-working solution straight away and very unlikely to have bugs/issues." -> Just buy the offical kit then! Why implying the OP has bugs/issues in his software? Have you tried it?

"I think we are suggesting to share the source code so it can be examined and compiled safely on a local system." -> No comments...

Regards,
Vitor

Like IanB points out, I have no intention of installing an EXE from the internet just to get a PDF to then try and answer some basic questions. 

While the software may be offered for free it's pretty ignorant to think this means there is no investment to try it.   Building the cable is not free  and it will require time to try it all out.   Before that, it would be good to know the benefits over what is available now. 

If that bothers you so be it.
Title: Re: Brymen BM869(867) alternative software.
Post by: tronde on September 29, 2016, 01:46:14 am
I must say fully agree with Bicurico.

Maybe some pepole should spend some time trying to figure out how to check a file using this fantastic Internet-thing?

Since it seems too complicated, I did it.


Title: Re: Brymen BM869(867) alternative software.
Post by: raptor1956 on September 29, 2016, 06:29:57 am
I have not bought a DMM in many years and still own a Fluke 85 that's over 25 years old and a Fluke 27 that's over 30 years old, but I think I may add the BM869 in the near future.  Neither of my Fluke's have more than 3200 counts
Just some corrections.

Your Fluke 85 is a 4000 count meter.

Quote
And at 0.02% it's better than the 0.05% of the Fluke 87V.
The Brymen BM869 is (wrt to DCV)

http://www.brymen.com.tw/product-html/cata860/Bm860L4.htm (http://www.brymen.com.tw/product-html/cata860/Bm860L4.htm)

0.02% +/- 2d at 5V range and below
0.03% +/- 2d at 50V range
0.04% +/- 2d at 500V range
0.15% +/-2d at 1000V range

Fluke 87V is 0.05% +/- 1d in all ranges.

I say it too close to call between the 87V and BM869 depending on the range and when you consider the +/- 1d vs 2d without doing a spreadsheet or calculation.

Well, if you stay below 500V you are still better off with the BM869 than the Fluke 87V and in the voltage range where I'm more likely to be, below 50V, quite a bit better.  But, beyond that, the resolution makes for better relative measurements.  All in all the BM869 is the better choice IF you have other DMM's you can use that have the Fluke safety and reputation -- I have two such Flukes.

I've done some experiments recently where I used my Rigol as one of the DMM's but the Fluke's were a couple digits behind -- it would have been nice to have at least one more digit and even better two more and the DM869 gives you that.

The Brymen listing with 2d is 2d of a much higher resolution unit to begin with so you can't really make an apples to apples comparison just on the 2d versus 1d thing -- the Brymen is much higher resolution so the 2d at 500,000 counts is less than 1d at 19,999 counts.


Brian
Title: Re: Brymen BM869(867) alternative software.
Post by: IanB on September 29, 2016, 08:36:15 am
Well, if you stay below 500V you are still better off with the BM869 than the Fluke 87V and in the voltage range where I'm more likely to be, below 50V, quite a bit better.  But, beyond that, the resolution makes for better relative measurements.  All in all the BM869 is the better choice IF you have other DMM's you can use that have the Fluke safety and reputation -- I have two such Flukes.

In Joe's multimeter destructive testing here (https://www.eevblog.com/forum/testgear/hear-kitty-kitty-kitty-nope-not-that-kind-of-cat/), the BM869S withstood much more abuse than the 87V before failing. In fact the 87V failed surprisingly early.
Title: Re: Brymen BM869(867) alternative software.
Post by: evava on September 29, 2016, 11:28:55 am
the Brymen is much higher resolution so the 2d at 500,000 counts is less than 1d at 19,999 counts.

Brian

But, Brymen 2d is valid only for 50,000 count, so...

87V is better!  ;)
Title: Re: Brymen BM869(867) alternative software.
Post by: 2N3055 on September 29, 2016, 12:04:28 pm
It has 500000 hi res mode...
Title: Re: Brymen BM869(867) alternative software.
Post by: JackM on September 29, 2016, 03:06:16 pm
This thread is going quite off topic now...
It's supposed to be about the custom Brymen serial comms software, not about the Fluke vs Brymen debate.
Title: Re: Brymen BM869(867) alternative software.
Post by: Lightages on September 29, 2016, 03:09:00 pm
Quote
Hi everyone.
I want to share my software it created to communicate with Brymen BM869 (probably it will work with BM867). It good alternative of BU-86X because you can create your own cable and spend around 5$ for it (it cheaper than brymen cable). So maybe for owners of BM869(867) that topic will be helpful.

Thank you very much for sharing your work here.
Title: Re: Brymen BM869(867) alternative software.
Post by: SkyMaster on October 01, 2016, 01:00:08 am
Hi,

This is to let a little bit of steam out...  :wtf:

You have the OP, who developed his own alternative software for the Brymen BN869/867. As I understood, one of the reasons to develop this software was to use his own custom made cable (he explains how to assemble one), instead of having to purchase the official cable. Building a custom made cable has the issue, that one lacks the official software - hence why he made his own.

Now pay attention: he offers his software for FREE. A non-intrusive Paypal add is decently asking for any donation.

And what is the general tone in this thread? People say it is not secure to run executables of the internet!!! WTF??? This is a known user of EEVblog! I cannot imagine anyone here using Windows who NEVER downloaded any software and installed it! It's not like he is offering an obscure link to some cracking/keygen site!

And then people say "oh, yeah, all nice, bla bla bla, how about you share the SOURCE CODE, so we can check the software is clean...".

If I was the OP, I would close this thread and not even reply.

It's not just that people want things for free - now they want the source of other people's work, too. Just because.

 :-- :-- :--

When I read stuff like this, I really wonder what goes on in people's head.

SNIP

I fully agree with Bicurico.

 :wtf:
Title: Re: Brymen BM869(867) alternative software.
Post by: SkyMaster on October 01, 2016, 01:05:53 am
Hi everyone.
I want to share my software it created to communicate with Brymen BM869 (probably it will work with BM867). It good alternative of BU-86X because you can create your own cable and spend around 5$ for it (it cheaper than brymen cable). So maybe for owners of BM869(867) that topic will be helpful.


Sairus, this is excellent, thank you for sharing your work with us :-+

And do not be sorry for your english; your english is 97% perfect  :)
Title: Re: Brymen BM869(867) alternative software.
Post by: _Wim_ on October 01, 2016, 11:30:26 am
Excellent work! Please don't get put off by some of the more negative comments here, I think most of us really appreciate efforts like this!
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on October 01, 2016, 08:03:51 pm
Quote
Sairus, this is excellent, thank you for sharing your work with us :-+
I got to my goal so is no point to hide software on my HDD.

I think about malware threat and about code sharing so after some time i made conclusion: I am create code and i responsible for it (i mean that i guarantee that it not contain any destructive code and any BSOD or damage of OS is not targeted feature of software but bad combination of different factors).So it i start sharing sourse code  i cant guaranty saifty of all copies from all sources (there is a probability  that someone use sourse to add distructive codes).
My decision for now i will not share code for security reason.
But if you need add new features or adapt software for your purposes or maybe you need algorithm feel free to contact with me.

will be nice to hear if any people try my software,i open for feedback.

are sketch for arduino is needed? :-// (software for cable to try on breadboard)
Title: Re: Brymen BM869(867) alternative software.
Post by: nugglix on October 01, 2016, 08:25:36 pm
 :palm:

This is laughable at best.
You can't guarantee anything.
You can't be held responsible if something goes wrong,
you're still just a random guy on the internets.
We (I) don't know who you are or where...

If you don't want to publish your code, fine.
But to claim you're can guarantee safety by hiding the source
is something different. We heard this from other closed
source providers, a decade or more ago.
:horse:

That post does not help you.
Title: Re: Brymen BM869(867) alternative software.
Post by: PedroDaGr8 on October 01, 2016, 08:43:42 pm
:palm:

This is laughable at best.
You can't guarantee anything.
You can't be held responsible if something goes wrong,
you're still just a random guy on the internets.
We (I) don't know who you are or where...

If you don't want to publish your code, fine.
But to claim you're can guarantee safety by hiding the source
is something different. We heard this from other closed
source providers, a decade or more ago.
:horse:

That post does not help you.

His code, his choice. He owes you nothing. As I much as I enjoy and respect the concept of FOSS, FOSS zealots are freaking unbearable. If you don't like his decision, go elsewhere.
Title: Re: Brymen BM869(867) alternative software.
Post by: nugglix on October 01, 2016, 10:21:11 pm
Learn to read.
It might help you in the future.
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on October 01, 2016, 10:39:21 pm
Quote
You can't guarantee anything.
You can't be held responsible if something goes wrong,
you're still just a random guy on the internets.
It all true but

I wrote software and share it
people ask: can we get source code?
I ask: do you run it and you want change something?
they say: no we will not run unknown executable share code we will analyse it.
OK do you have IDE,do you have skills to analyse and will you spend your time for analysis?
No we show your code to peoples who can do that but you give your code to us(share it).
 :palm: :palm: :palm:

So to foolish questions i give foolish answers ("i will not share code because IGIL can use it" or "sharing code cause climate changing" and so on :-DD)
I just don't want waste my time for work which no one need (i.e. registering on share sites,making my code good readable and understandable for another peoples)


Title: Re: Brymen BM869(867) alternative software.
Post by: Johnny Electron on October 01, 2016, 10:43:55 pm
Great job!  Very interesting read and I look forward to trying it out.

Thanks!
Title: Re: Brymen BM869(867) alternative software.
Post by: nour on October 03, 2016, 11:30:10 am
Cable connection schematic, diagram, circuit, anything !!
Title: Re: Brymen BM869(867) alternative software.
Post by: joeqsmith on October 03, 2016, 12:12:07 pm
people ask: can we get source code?
I ask: do you run it and you want change something?
they say: no we will not run unknown executable share code we will analyse it.
If it was not clear, I would want the source or just documentation in order to write a library for their adapter to support LabVIEW.

OK do you have IDE,do you have skills to analyse and will you spend your time for analysis?
This is why I felt a document detailing the interface would be best.  I had been using the free tools from MS but this last go around I converted everything to native LabVIEW.  Again, I have not looked into it at all.  I did not purchase the OEM interface because the lack of LabVIEW support.   A standalone application would typically be of little value to me as normally when I collect data it is just part of a bigger test.   

If you wanted to support LabVIEW with a closed source, well documented library, that would be great!
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on October 03, 2016, 03:51:55 pm
Quote
Cable connection schematic, diagram, circuit, anything !!
Quote
This is why I felt a document detailing the interface would be best.

Here some useful information.
https://www.dropbox.com/s/jzyh571ened24df/ENG.pdf?dl=0 (https://www.dropbox.com/s/jzyh571ened24df/ENG.pdf?dl=0)
Title: Re: Brymen BM869(867) alternative software.
Post by: joeqsmith on October 03, 2016, 11:45:44 pm
Quote
This is why I felt a document detailing the interface would be best.
Here some useful information.
https://www.dropbox.com/s/jzyh571ened24df/ENG.pdf?dl=0 (https://www.dropbox.com/s/jzyh571ened24df/ENG.pdf?dl=0)
Thanks! That doc was just what I was after. 

Did you do the conversion from the LCD to ASCII in the PIC or is it just being used to handle the serial communications with the meter?   Just curious if you are doing the conversion in your software.   

Title: Re: Brymen BM869(867) alternative software.
Post by: JackM on October 04, 2016, 01:44:15 am
Did you do the conversion from the LCD to ASCII in the PIC or is it just being used to handle the serial communications with the meter?   Just curious if you are doing the conversion in your software.

I'm pretty sure that's done in the PC software side. The PIC likely just sends the raw data packets over serial comms, then it gets decoded on the PC side according to Brymen's protocol.
Title: Re: Brymen BM869(867) alternative software.
Post by: nour on October 04, 2016, 07:31:46 am
If you don't wish to share the code, that's fine, but you should know unless your executable have been tested by people and no one reported any issue, no one will trust it. sharing the source code means there is nothing you are hiding and everyone can see what is under the hood!!
I am a professional software engineer and my main field is Microsoft tech.

I have downloaded the file but I will not be able to use it because it is not from well known entity nor being digitally signed and acknowledged by the OS that no one altered the exe by any possible mean

This is how software being treated in the real world!
And BTW you will not go to social media to give a bunch of people interested in electronics and test gear an infected file, you will simply come here  >:D

Nice document by the way.
Title: Re: Brymen BM869(867) alternative software.
Post by: nour on October 04, 2016, 07:53:41 am
Hi,

This is to let a little bit of steam out...  :wtf:

You have the OP, who developed his own alternative software for the Brymen BN869/867. As I understood, one of the reasons to develop this software was to use his own custom made cable (he explains how to assemble one), instead of having to purchase the official cable. Building a custom made cable has the issue, that one lacks the official software - hence why he made his own.

Now pay attention: he offers his software for FREE. A non-intrusive Paypal add is decently asking for any donation.

And what is the general tone in this thread? People say it is not secure to run executables of the internet!!! WTF??? This is a known user of EEVblog! I cannot imagine anyone here using Windows who NEVER downloaded any software and installed it! It's not like he is offering an obscure link to some cracking/keygen site!

And then people say "oh, yeah, all nice, bla bla bla, how about you share the SOURCE CODE, so we can check the software is clean...".

If I was the OP, I would close this thread and not even reply.

It's not just that people want things for free - now they want the source of other people's work, too. Just because.

And what would stop people from doing exactly the very same thing that you are describing, unless this person is a well known entity or his software being tested by others to make sure it is not malicious ???

This is a known procedure that everyone should go through if they would like there software to be spreaded between people, upload it on repeatable repository if he wants the thing to go free.

The policy of free closed source software is not accepted from the majority of the experienced windows users. because anyone that have been using windows long enough would know that free software\closed source is the NO.1 source of viruses.

We are not saying that his software is malicious or contains something, the fact that "it is very easy to infect someone's pc by .exe from someone on the on internet" makes people simply suspect any executable they see floating around.

If I will ever do a software for personal use and would like to share it I will never dare to share the .exe only !! because I know that people will immediately suspect it the moment they see it!
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on October 05, 2016, 06:27:57 pm
Ok i spend some time and write arduino sketch. It all about IR transistor position and pullup resistors value (in case of my setup is 69K tolerance ~ 1K).If you have bad alignment or wrong value you will receive crap signal and software will not react or start show weird stuff (weird reading mean that you on right way). In ajusting  may be helpful port debug line to view recived data (in GUI port>port debug line).
(http://i.imgsafe.org/540f13d79d.jpg)

(http://i.imgsafe.org/53f2c5e804.png)
Title: Re: Brymen BM869(867) alternative software.
Post by: JackM on October 05, 2016, 08:14:37 pm
Did you have to shield either the LED or phototransistor from external light at all? Or did that not really affect the readings?
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on October 06, 2016, 06:58:32 am
Quote
Did you have to shield either the LED or phototransistor from external light at all? Or did that not really affect the readings?

In case of LED good resistance value it enough (to obtain decent brightness) no shielding required.

In case of IR phototransistor all complicated i have cheap one from ebay (no datasheet,no info about type). It has black not transparent body but it react on light (~up to 10-15% of signal) so cover is recomended. To get good signal from DMM you need good alignment of DMM IR LED and your IR transistor.As i said before you need correct pullup resistors value.
Title: Re: Brymen BM869(867) alternative software.
Post by: luisprata on October 13, 2016, 02:37:05 am
Anyone working on Bluetooth version with android App?
Title: Re: Brymen BM869(867) alternative software.
Post by: enut11 on October 14, 2016, 04:17:56 am
Any idea if this would work with Brymen BM-525?
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on October 14, 2016, 06:35:01 am
Quote
Any idea if this would work with Brymen BM-525?
BM869(867) and BM525 have different display mapping so for correct work software need to be modified. It relatively easy to do and maybe later i will add another brymen DMMs,but for now i see that people don't interested (no info about successful or unsuccessful software using) so i make conclusion that no one need that software.
Title: Re: Brymen BM869(867) alternative software.
Post by: milamber on November 10, 2016, 06:18:28 pm
Hi,
what is the maximum update Rate over the optical connection of the BM869s (or others)?
As I remember the internal logging feature of the BM525 has up to 20Hz. Is the PC capturing with the BM869s also that fast?

EDIT: Just found it - about 2Hz:
           https://www.eevblog.com/forum/testgear/brymen-bm869-review-by-the-eye-of-the-industrial-electrician/msg77287/#msg77287 (https://www.eevblog.com/forum/testgear/brymen-bm869-review-by-the-eye-of-the-industrial-electrician/msg77287/#msg77287)

-mil
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on November 12, 2016, 06:02:51 pm
Quote
what is the maximum update Rate over the optical connection of the BM869s
Up to 5hz in some modes. (DC,VFD)

(https://www.eevblog.com/forum/testgear/brymen-bm869(867)-alternative-software/?action=dlattach;attach=269732;image)
Title: Re: Brymen BM869(867) alternative software.
Post by: giannit on January 06, 2017, 02:43:47 pm
Hi,

This is to let a little bit of steam out...  :wtf:

You have the OP, who developed his own alternative software for the Brymen BN869/867. As I understood, one of the reasons to develop this software was to use his own custom made cable (he explains how to assemble one), instead of having to purchase the official cable. Building a custom made cable has the issue, that one lacks the official software - hence why he made his own.

Now pay attention: he offers his software for FREE. A non-intrusive Paypal add is decently asking for any donation.

And what is the general tone in this thread? People say it is not secure to run executables of the internet!!! WTF??? This is a known user of EEVblog! I cannot imagine anyone here using Windows who NEVER downloaded any software and installed it! It's not like he is offering an obscure link to some cracking/keygen site!

And then people say "oh, yeah, all nice, bla bla bla, how about you share the SOURCE CODE, so we can check the software is clean...".

If I was the OP, I would close this thread and not even reply.

It's not just that people want things for free - now they want the source of other people's work, too. Just because.

 :-- :-- :--

When I read stuff like this, I really wonder what goes on in people's head.

Sorry if I offended anyone, but I surely got offended by this:

"Besides it being a fun little project for you to work on, what's the benefit?" -> You don't have to use it, if there is no benefit for you! And if this is a "fun little project", you must have done bigger projects and given them away for free, right?

"If you are interested to share the software, which is an admirable thing to do, then I suggest sharing it through a medium like GitHub. That way others can learn from what you have done, maybe extend or enhance it, maybe fix some bugs. You may get feedback from others that could in turn help you. Just something to consider." -> The OP was expecting some donation, not people asking to share his whole source code!

"Obviously buying the official $40 kit from Brymen will be a fully-working solution straight away and very unlikely to have bugs/issues." -> Just buy the offical kit then! Why implying the OP has bugs/issues in his software? Have you tried it?

"I think we are suggesting to share the source code so it can be examined and compiled safely on a local system." -> No comments...

Regards,
Vitor

Totally agree... given also that if you are somewhat smart, the source code is there in the .net exe for any verification!
I've done it (work for msft) and there's any "criminal" intent, just a genuine & generous guy willing to contribute to the community!

Come on, wake-up gents!!! :palm:

Cheers
Title: Re: Brymen BM869(867) alternative software.
Post by: pro_info on January 22, 2017, 06:34:00 pm
Hi all & Sairus,
I will soon buy a BM867s after a long day to compare a bunch of reference and I came across this post what made me want to sign up.
This little program looks very nice, and the cable very simple to do.
I will try when I have a moment to see if it is possible to use a Bluetooth module and integrate an arduino mini directly into the multimeter (if there is room).
Thank you for your work.

Good day and sorry for google translation (original message below if it's incomprehensible ^^)

-----------
Je vais prochainement acheter un BM867s, après une longue journée à comparer tout un tas de référence et je suis tombé sur ce post ce qui m'a donné envie de m'inscrire.
Ce petit programme a l'air fort sympathique, et le câble vraiment très simple à faire.
Je vais essayer quand j'aurai un moment de voir s'il est possible d'utiliser un module Bluetooth et d'intégrer un arduino mini directement dans le multimètre (s'il y a de la place)

Bonne journée et désolé pour la traduction google (message original ci-dessous si c'est incompréhensible)
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on January 23, 2017, 06:17:33 am
Quote
I will try when I have a moment to see if it is possible to use a Bluetooth module and integrate an arduino mini directly into the multimeter (if there is room).

i think this not good idea...
1)Multimeter is shielded so there are can be issues with signal.
2)Inside DMM not so much space and i don't know how placing of something will influence on actual CAT rating.
3)At IR connection DMM use more energy + arduino have linear voltage regulator + bluetooth it all reduce run time.
Title: Re: Brymen BM869(867) alternative software.
Post by: pro_info on January 23, 2017, 01:06:36 pm
i think this not good idea...
1)Multimeter is shielded so there are can be issues with signal.
2)Inside DMM not so much space and i don't know how placing of something will influence on actual CAT rating.
3)At IR connection DMM use more energy + arduino have linear voltage regulator + bluetooth it all reduce run time.

I will think more when I have the device in front of my eyes.
The only real issue for me would be the point 2.
For point 1, simply displace the antenna (again, pay attention to point 2). And for the point 3, the use of a lithium battery of 1200mah + the addition of a small switch to activate the power supply of the arduino and the card Bluetooth only when it is useful.

If really point 2 is problematic, I will make in this case a small adapter that attaches like the original but is wireless. The only disadvantage would be to add a small battery to power 2 modules. But it is to see.
I will initially study the device and then see if I can modify it at best. Personally, I will use it only on a very low voltage and some electronics, but I would like to do a trick as clean as possible.

--------------------
Je vais réfléchir davantage quand j'aurai l'appareil devant les yeux.
Le seul véritable problème pour moi serait le point 2.
Pour le point 1, il suffit de déporter l'antenne (encore une fois, il faut faire attention au point 2). Et pour le point 3, l'utilisation d'une batterie lithium de 1200mah + l'ajout d'un petit interrupteur pour n'activer l'alimentation de l'arduino et de la carte Bluetooth seulement lorsque c'est utile.

Si vraiment le point 2 pose problème, je ferai dans ce cas un petit adaptateur qui se fixe comme l'original, mais qui est sans fil. Le seul inconvénient serait de devoir ajouter une petite batterie pour alimenter les 2 modules. Mais c'est à voir.
Je vais dans un premier temps étudier l'appareil puis voir si je peux le modifier au mieux. Personnellement, je vais m'en servir uniquement sur la très basse tension et un peu d'électronique, mais j'aimerais faire un truc le plus propre possible.
Title: Re: Brymen BM869(867) alternative software.
Post by: coromonadalix on January 26, 2017, 04:02:37 am
@Sairus   did you have poked the signal from an Brymen 857S ??

I would like to build one ...  they sell the usb adapter for a mere 100$ ????

great stuff :)
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on January 26, 2017, 06:44:31 am
Unfortunately i not had possibility to use bm856...
but you not first who ask about supporting another models.
As I understood TME is not option for you?
http://www.tme.eu/en/details/kitbrua-85xa/meters-software/brymen/kit-brua-85xa/ (http://www.tme.eu/en/details/kitbrua-85xa/meters-software/brymen/kit-brua-85xa/)
Title: Re: Brymen BM869(867) alternative software.
Post by: coromonadalix on January 26, 2017, 11:52:19 am
With the exchange rates  etc ... it will cost me 100$    can't find this on ebay ... and in my country Brymen is not sold.

Sent Emails to TME before no answers back ??

I managed to find a very sligthly used BM857s  for half the price. I think Extech are the same / cloned models or vice versa ??
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on January 26, 2017, 06:49:24 pm
Quote
I think Extech are the same / cloned models or vice versa ??
Brymen is OEM for many brands
Title: Re: Brymen BM869(867) alternative software.
Post by: JackM on January 26, 2017, 08:35:53 pm
With the exchange rates  etc ... it will cost me 100$    can't find this on ebay ... and in my country Brymen is not sold.

Sent Emails to TME before no answers back ??

I managed to find a very sligthly used BM857s  for half the price. I think Extech are the same / cloned models or vice versa ??

Some Extech models are manufactured by Brymen, but not all. The Greenlee brand in North America has Brymen as their OEM.
I also live in Canada and I actually bought my Brymen multimeter from tme.eu about two years ago. Their prices were so low that even with the additional shipping and duty charges it came to about the same price if I had bought a similar brand locally. With the exchange rate of the Canadian dollar now though, I'm not sure if this is still the case. The duty charges were the biggest hit actually; I ended up paying something like 30% of the price as import duty when I picked mine up from the post office.
Title: Re: Brymen BM869(867) alternative software.
Post by: iamruss on February 16, 2017, 08:43:28 pm
I have received my new DMM (867) and I also purchased the BM-X86 usb cord and it came with CD-disk which has some pdf files that describe the protocol. I assume all the work is done already. But if anyone interested, I can share files on the enclosed cd-rom.

Also, is someone managed to read data using mac osx, I would appreciate if someone is willing to share some pointer. Thanks.

PS: posting here for the first time , yay!
Title: Re: Brymen BM869(867) alternative software.
Post by: Scotty17819 on August 12, 2017, 03:25:44 pm
Thanx Sairus for your excellent work.

I've modified the interface using a 10F320 instead of the 12F683. Teamed with a PL2303HX-cable it works great on my BM867s.

Furthermore I've created a test board that adds a BTM222 bluetooth module to the interface. When using a terminal program I can successfully receive the raw data from BM867s on the notebook. Unfortunately the DMM SW 1.03 doesn't connect. Looks like it cannot open the serial port.
Title: Re: Brymen BM869(867) alternative software.
Post by: acid3 on January 07, 2018, 09:43:03 am
Hello
I've just want to play with this soft and DIY cable but I've got this.

Downloading , the same version I have, not helped.


Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on January 23, 2018, 05:15:50 pm
Quote
Hello
I've just want to play with this soft and DIY cable but I've got this.
DOUHHHH  :o I forgot to upload new version. |O
Fixed. You can download new.
Title: Re: Brymen BM869(867) alternative software.
Post by: acid3 on January 23, 2018, 06:35:06 pm
Thanks a lot !
Title: Re: Brymen BM869(867) alternative software.
Post by: ElectronicCat on April 01, 2018, 03:52:20 pm
I know you have previously stated that you will not open source this software, but would you at least consider making documentation on the protocol analysis available and/or some of the key algorithms from the software?

The main reason I ask is that I would like to develop an (open source) application for Linux for interface/logging with the 867/869, as I haven't seen anything other than Windows applications available yet.
Title: Re: Brymen BM869(867) alternative software.
Post by: IanB on April 01, 2018, 04:25:01 pm
Brymen has published the USB interface details and software protocol for the meter, so it should be relatively easy to create Linux software using the USB interface based on the Brymen documentation.

What is special and additional in the work done by the OP here is to create a hardware interface using a COM port instead of USB. That is useful for people who prefer the simplicity of COM port programming over the complexity of USB programming.
Title: Re: Brymen BM869(867) alternative software.
Post by: JackM on April 01, 2018, 04:33:44 pm
You can download the Brymen published protocols from their site: http://www.brymen.com/Download2.html (http://www.brymen.com/Download2.html)

They have PDFs for all series of multimeters describing the LED segment mappings and the communication protocol.
Title: Re: Brymen BM869(867) alternative software.
Post by: ElectronicCat on April 01, 2018, 05:04:15 pm
Interesting, I didn't know Brymen had published information on the protocols. This should make things easier, big thanks to Brymen for doing that!
Title: Re: Brymen BM869(867) alternative software.
Post by: GuidoK on July 26, 2018, 01:02:31 am
This might be an odd question, but does the software support the original Brymen cable?
Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on August 05, 2018, 05:12:44 pm
Quote
This might be an odd question, but does the software support the original Brymen cable?
nope
Title: Re: Brymen BM869(867) alternative software.
Post by: coromonadalix on August 05, 2018, 05:20:43 pm
very good work

thks Sairus for creating this piece of software,   i would love to have one ported for the Fluke 189 series, to replace the Fluke View software, and i would give some $$ to support the creator
Title: Re: Brymen BM869(867) alternative software.
Post by: t1d on September 18, 2018, 10:59:04 am
Thank you, so much, Sairus, for your hard work, time, talent and graciousness, in sharing your Brymen program. I think I missed this post, back when we were working on the original "sniffing" thread... Doh! I have downloaded the file and look forward to trying it out.
Title: Re: Brymen BM869(867) alternative software.
Post by: spidola on September 19, 2018, 08:04:44 pm
Thank you Sairus  :)
Title: Re: Brymen BM869(867) alternative software.
Post by: Stefan3v on March 17, 2019, 11:32:25 am
Sairus this project is a joke? Because is not funny!
I tried version Sairus DMM 1.04 with Arduino LEONARDO and it does not work. Pullup resistors for IR receiver: 5K, 10K, 20K, 30K, 40K, 50K, 60K, 100K, 150K.

Option "Port debug line" not work in version 1.04.  |O

Title: Re: Brymen BM869(867) alternative software.
Post by: Sairus on March 19, 2019, 11:01:13 am
I checked software using virtual port pair and port debug line work fine. It show data after receiving and clear line after some time to indicate port activity. If after enabling function you dont se anything it mean that there no data coming to the port.

So do you select right port and settings set?
Do you connect to it without errors?
Error message (no signal) aper on display?

Arduino sketch was tested on UNO model, first i recommend send random data to serial port to check software and windows serial driver on you PC.

Best regards Sairus.
Title: Re: Brymen BM869(867) alternative software.
Post by: Stefan3v on March 20, 2019, 08:15:19 pm
Thanks Sairus and sorry for blaming you. Sairus DMM 1.04 is OK with Arduino UNO.
The serial port connected to the LEONARDO USB uses CDC (communications device class) to simulate UART functionality.

Many thanks!
Title: Re: Brymen BM869(867) alternative software.
Post by: Giox040 on June 17, 2021, 04:46:38 pm
Hi Sairus!
Your software is really interesting and I Thank You for making it available.

I'm fine-tuning the interface I've built around an Attiny85for my new BM869S, in case you are planning some upgrade, please consider the enlargement of the "Time" column of the login; in my PC I can see the date, hours and minutes but the seconds are truncated (even more than in the image of the previous post).

Furthermore, it would be convenient for the configuration parameters to be saved on file, instead of inserting them each time the program is started.

Thanks a lot!
Title: Re: Brymen BM869(867) alternative software.
Post by: radiolistener on June 18, 2021, 10:39:56 pm
This is a technical forum. Downloading source code is no different than downloading a circuit schematic, PCB layout or B.O.M.

I would hesitate to run a downloaded executable however it was delivered.

you're right it's not safe to run executables from unknown source. But there is down side of the coin. The author may not want to share some algorithm details, but can share executable which use it. For example, sometimes I don't want to share some signal processing code with my optimizations for which I spend a lot of time. I can share executable with obfuscation, but obfuscation leads to a false positive on antiviruses. So I decided not share these projects at all.

At a glance it looks that this is doesn't have sense. But in reality things are not so easy. Sometimes when you share some project as open source and it has good commercial perspective, you can catch some bad things. For example, you will find some peoples who use your code for commercial purposes and then they start to insulting you and will try to kick off your open source projects from the market.

I don't see the commercial perspective for this software, but this is the right of author to decide if he want to share source code or not.
Title: Re: Brymen BM869(867) alternative software.
Post by: Fungus on June 19, 2021, 08:16:07 am
This is a technical forum. Downloading source code is no different than downloading a circuit schematic, PCB layout or B.O.M.

I would hesitate to run a downloaded executable however it was delivered.

Source code can contain malware, too.

(If you think about it: That bad exe file has source code!)