As this sensor detects the change in resistance, it has been tested to be optimal for conductive liquids (i.e. Within the kit, you will find the Bravo Board PCB. This PCB has been manufactured specifically for Liquid Leak Sensors and its future updates. It includes a microcontroller chip, FFC connector, power switch, and a Micro USB output port. You may notice an Arduino footprint has been used on the board which will allow for further capabilities in the future. The Micro USB port outputs serial data of the sensor's measurements which is explained in the instructions. We recommend the software CoolTerm, which you can download here and download the version according to the operating system you are using.Once the Evaluation Board is plugged into a PC USB port and powered on, open CoolTerm. In order to plot the data with Excel, first open Excel and then within Excel, open the CoolTerm text file.When finished capturing data, navigate back to Connection, Capture to text/binary file, then Stop.To capture data in a txt file, go to the Connection menu, then Capture to Text/Binary file and then click Start.CoolTerm will now display the sensor’s readings.Click OK to save and then click Connect to start.If you need timestamps, open the Receive Options on the left hand pane and under Capture File Options, tick “Add timestamps to captured data”.Set the Baudrate to “115200”, Data Bits to “8”, Parity to “None” and Stop Bits to “1”.Select the port where the LAIIER board is plugged in, the name should be similar to “usbmodem14301”. Format the scatter graph to what you require.Select all 13 columns D to P for plotting.Readings are roughly every 4 seconds so create a sequence as shown.Insert a column next after column “C” to specify the time in seconds.Select column “C”, which contains “TOUCH”, “FDAT” and “DIFF”, and select Filter.Delete the first row that contains “TOUCH:” or “DIFF:” in the column “C”.Set the date format to “YMD” and then click “Finish”.Select “Delimited” and in the next screen check “Tab” and “Space”. formatting and otherwise - Not what you are seeing but just to say that TYQT has good and unique code - as I've seen it on Windows.Once you have everything set up, you are ready to conduct your experiments. I used another commercial product and it was awful at keeping up with a Teensy - also putty/teraterm presented issues in usage. The IDE uses JAVA which isn't as well refined and buffers fill and consume RAM with aborted heaps of garbage it seemed - and PySerial can work fast another poster found - but without some proper tuning or whatever he did - it was fitful. Koromix uses some refined native code for USB serial, and it wasn't so fast months back and he gave it it's own thread to keep up with the Teensy running closer to 1MByte/sec you can effectively get on USB (it can go higher but the OS/HUB etc may be a limiting factor). TYQT is awesome for raw speed and utility as I've found it. It handles multiple online units as individuals and many other things the IDE doesn't support. If TYQT is working - use it - At times like these having TYQT makes Teensy better as debugging and seeing/trusting the output is otherwise difficult. In fact I have to head over to the TYQT thread now as there is now a context menu applied at some effort that was missing so Teensy naming is more intuitive. It is under active development - with focus on working as it does. TYQT isn't magic - but if it works - your hardware is working, and it is doing something right perhaps the others are not.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |