Signed in as:
filler@godaddy.com
Signed in as:
filler@godaddy.com
<--Back to Panther Logger Tutorials
1. Introduction
2. Wiring
3. Programming
For now, see the example code on our Github Panther Logger repository here
The Aqua Troll from In-Situ is a multi parameter sonde from in-situ.com. Available sensors include water temperature, dissolved oxygen, conductivity, algal pigments and others. See in-situ.com for more details. The Panther Logger can read the Aqua Troll using SDI12 or RS232 communications. For this tutorial we will use SDI12. Note that this procedure is very similar to reading the In-Situ RDO Pro dissolved oxygen sensor as explained in our previous tutorial. One difference is that the Aqua Troll reports more variables. To get all of them we need to do additional data request commands.
You should setup the sonde's SDI12 communications including the order of variables to be sent via SDI12 either using VuSitu software on a PC or by using the smart phone app over blue tooth. See the manual for your AquaTroll sonde to set this up. At the very least we need to know the order of variables that it will send via SDI12 and the SDI12 address it was assigned.
In-Situ Aqua Troll sonde. See in-situ.com for more details.
The cable that comes with the Aqua Troll should terminate at a twist lock connector on one end that connects to the sonde and the other end should be flying leads (bare wires). We will be using the red, black and grey wires, but check the manual for your AquaTroll to ensure colors match the function needed. Wires should be connected to the Panther Logger according to the list below. Wiring is also shown in the image to the right.
Wire Color = Function --> Screw Terminal on Panther Logger
Note that the example code we provide expects SDI12 to be on D11, but this can be easily changed in code to D6. The sonde requires at least 8V and will pull about 50 mA while sending data, a little more while wiping.
To program the Panther Logger to read the Aqua Troll sonde go to our Github site for the AquaTroll SDI12 code here. Copy and paste into a new Arduino sketch, save under a new name of your choice and upload to the Panther Logger.
Note that this code first requests the sonde to take a measurement with the "M" command. After ~15 seconds we can request the first set of data that is associated with this measurement with the "D0" command. This returns four variables, but the first is just the sonde address so we ignore it. We then request the next set of data with the "D1" command, parse the data and then the last part of data with "D2" command, and parse that data. That's not all the data though! We then issue another measurement command of "M1" and we can get three more pieces of data associated with that measurement by issuing "D0" command. It will take about 30 to 45 seconds to get all of the data.
Copyright © 2023 ElectroRex - All Rights Reserved.
Powered by GoDaddy
We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.