View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Thar ABPR-20 RS232 communication via handheld emulation

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.52 MB File ID: #41806 Version: 1.21

Thar ABPR-20 RS232 communication via handheld emulation



20 May 2013 (Updated )

Controls and reads from a Thar ABPR-20, by emulating the handheld controller.

| Watch this File

File Information

Contains a suite of files for controlling Thar ABPR-20 using MATLAB, by emulating the behavior of a handheld controller. A "real" communications protocol for computers exists, but no information was available to use this instead. This, and the inclusion of two different serial protocols are the reason for the complexity of the code and the number of files. This is largely identical to the code in CO2gui.
Also contains a password cracking tool for brute force cracking of the password (0 to 9999) should you have forgotten it.


Due to the way it broadcasts a large amount of data, MATLAB is not very stable at all in the version of MATLAB I was running, so an alternative method is run through realterm. All of the files here are slightly modified compared to CO2gui to reduce some dependencies, but if I've missed some, the file will be in there.

Best results obtained by using Realterm - note that the realterm files here are DIFFERENT to those in my similarly titled Realterm communications suite.

Create serial object:
serialObject = tharbprobj(comPortNumber); (matlab implementation of serial)


serialObject = tharbprobj2(comPortNumber); (realterm implementation of serial)


Use the preformed files
output = tharbprobjcomm(serialObject, input)



Realterm Communications Suite, On/Off, and Co2gui Lab Control And Automation inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.0.1 (R14SP1)
MATLAB Search Path
Other requirements Realterm recommended
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
21 May 2013 1.2

Updated description.

24 Aug 2016 1.21

Bugfix for realtermfread

Contact us