On Thu, 24 Oct 2024 14:10:53 -0400 "Roy J. Tellason, Sr." <r...@rtellason.com> wrote:
> On Wednesday 23 October 2024 11:14:52 am Jeffrey Walton wrote: > > On Tue, Oct 22, 2024 at 6:38 AM George at Clug > > <c...@goproject.info> wrote: > > > > > > I have been following the comments on this topic. From what I > > > can tell, the company does not provide Linux drivers or software. > > > > > > A friend of mine managed to access a heart rate monitor by using > > > DOS emulation and the original DOS software. > > > > > > Maybe you could use Wine to run the Windows "Printer_boxed.exe" > > > software (see download page URL below) ? > > > > > > Not having Ancel BA101 battery tester, I am not able to test. > > > > > > https://www.anceltech.com/product/detail?id=1086074596467142656 > > > > > > https://www.anceltech.com/Public/Uploads/filetxt/20211007/6638733e-2053-4706-b775-e85cc12931ed.pdf > > > > > > Here are a few words from the later (BA201) model's manual says: > > > > > > https://www.anceltech.com/Public/Uploads/filetxt/20211007/8f5feaf1-3a4d-4090-89cd-d655de60c21d.pdf > > > > > > This function allows you to update the tool software. > > > To update the tool, you need the following items. > > > 1. ANCEL BA201 Battery tester tool > > > 2. A windows PC or laptop with USB ports > > > 3. A USB cable > > > > > > 1) downloading the applications from ANCEL website. > > > www.anceltech.com > > > 2) run btlink.exe in your computer(Mac OS and linux does not > > > compatible) > > > > > > 3.5 Print > > > The Print Data function allows printing out testing data recorded > > > by the testing tool for or customized test reports. To print out > > > retrieved data, you need the following tools: 1.The tester tool > > > 2.A windows PC or Iaptop with USB ports > > > 3.A USB cable > > > 1) download the applications from ANCEL website. > > > www.anceltech.com > > > 2) connect the tester tool to computer with the USB cable supplied > > > 3) run btlink.exe in your computer, as below > > > > Installing software from a Chinese vendor does not give me a warm > > and fuzzy feeling. > > > > Jeff > > Just so. > > Looking at log files, the computer _does_ see the device when I plug > it in, telling me that it's seeing a CH340 chip. In some messing > around a while back, I had two of these visible in terminal windows > when I was playing with an ESP32 a while back. I can't recall how I > did that, though. Which is why I asked how one might do that in > here... > > I did hear from the company, who gave me the very unhelpful advice > to try the software on a windows box. I informed them that there was > no windows box at all here, and that they were not addressing my > question, which was asking for technical details of what the device > wanted. > > When I plug it in to a USB port, it does liight up. I can scroll > down to the print option and select that. What it does at that point > I don't know, as I don't have anything looking at that port at the > moment, I just need a bit of refreshing my memory as to how... > The CH340 is a well-known device, and the usbserial module along with something like cp210x should deal with multiple devices, assigning them ttyUSBx device numbers. This should just happen when the adaptor is plugged in. The stty command should allow setup of the device for baud rate and parameters. Ancel should surely be able to tell you those details. All you need then is a list of the commands the Ancel device supports... I haven't dabbled with serial for a while, although I do have a CH340 plugged in permanently to my server, relaying outdoor temperature and humidity though a pair of XBees, but that was all fit-and-forget some years ago. My desktop does have CuteCom installed, so I think I used that for getting it all working. It needs the serial parameters to talk to devices, but it's fairly quick to try various values, probably quicker than stty. -- Joe