Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Robo-Tank Web App - Development
#47
Got a few more things finished, these are the main things but there was some visual improvements here and there as well.

This is the simple chart screen to start, there's a shortcut on the dashboard to get here. 

When you hover over the name buttons appear so you can select how much data is in the viewable window. This setting I still need to save to database but it works. There's another hidden setting on left corner when you hover to change the rolling average which smooths out the line. You can also drag the chart to go through the full time line saved.

Down the road not to far I'm going to add more features. This is what I have planned, if you can think of something else let me know.
  • There will be graphs for ATO, heaters, equipment, sensors etc.
  • User can set how often every graph is written, maybe one temperature probe is recorded every 15 minutes and another every minute. 
  • Custom graphs, overlay multiple charts of any type. These won't update to start as that gets complicated, they will be temporary charts you could say.
[Image: Updated_Version\charts2.PNG]

[Image: Updated_Version\charts.PNG]


The manual mode for AC outlets and DC ports is finished, both are the same so I'll show the AC outlets. I was manually switching the outlets from the dashboard but now when you click any outlet there you get this screen where you can click the outlet on or off. The extra screen is so a user doesn't accidentally switch an outlet.

When you switch one a red dot appears on the icon indicating that outlet is in manual mode meaning no other systems will ever switch that outlet until the user puts it back in "auto" mode. To do so you just click the red dot, you can see a label "Resume Auto" appears when the mouse hovers it. This is saved, if you restarted the controller the outlets will startup in the same state and still be in "Manual" mode.

[Image: Updated_Version\outlets.PNG]


Here's the dashboard view, you can see the red dots on the icons. 

The "Resume" button on the shortcut dock will resume all AC outlets, DC ports and lights back to auto mode. It's just a quick way to make sure everything is back in auto mode.

[Image: Updated_Version\dashboard3.PNG]


And I just about have the pH calibration finished, just a few little details to finish up but it working. The code already supports temperature compensation on the everyday reading plus temperature compensation for the buffer solutions, this makes the reading as accurate as it can be through the code. This is how temperature affects pH.

pH is voltage based and measured in millivolts. The circuit reads 0mV at 7.0 pH and +/- 1.0 pH = 59.16mV @ 25 Celsius. If temperature compensation isn't used the 59.16mV is what's used to calculate the value. For example lets assume the circuit was reading -89.92mV from the probe, that needs to be converted to pH. If you don't use temperature compensation we get  "7.0 - (-89.92mV / 59.16mV)" = 8.519 pH.  But what is the pH if the water was actually 30 Celsius not the assumed 25c. 

First we offset the 59.16mV doing this "59.16mV * (30c + 273.15) / 298.15" = 60.15mV. Now we run the math to get the pH. "7.0 - (-89.92mV / 60.15mV)" = 8.494 pH instead of 8.519. 

So you can see it's not a big change for our environments, in reality you could say this is more of an advertising benefit but it does affect things. The same technique is applied with the buffer solutions when calibrating.

The backend is also calculating the slope during calibration, I can't really explain that as I mainly forget but it can be used to indicate if a probe needs replacing based on how it performed during calibration. Again it's just a cool factor thing but definitely coming.

This screen is from the "Settings" button on dashboard, a few more buttons. This is where to go to calibrate.

[Image: Updated_Version\settings_menu2.PNG]


Any probes in the system will appear here, later I'm going to fully support Atlas conductivity, ORP and dissolved oxygen circuits and maybe their temperature sensors. This icon is red not yellow because different probe types will be different colors, pH is red.

[Image: Updated_Version\ph.PNG]


Next it'll ask 1 point or 2 point calibration or option to delete current calibration. If you hit delete a popup will appear to verify.

[Image: Updated_Version\ph2.PNG]


This is the single point calibration, dual is the same just slightly different text and you get this screen twice.

[Image: Updated_Version\ph3.PNG]


When you hit start it'll warn that current calibration will be erased.

[Image: Updated_Version\ph4.PNG]


At that point you sit and wait till the yellow bar completes. The criteria for that is 20 consistent readings within a +/- .004 range so it is strict. The controller reads probe every 3 seconds so this works out to 1 minute. If the criteria can't be reached after 15 minutes it'll just finish with what it has. In reality this should happen within 3-5 minutes.

If the calibration is 2 points when this finishes it'll go to the page above for the 2nd point and repeat.

[Image: Updated_Version\ph5.PNG]


And when it's done you'll get this screen. Later this is where it'll show the details and rate the probe. Good news is any calibrations done on beta you'll still be able to see results of current calibration when it's added.

[Image: Updated_Version\ph6.PNG]

I'm not going to add temperature calibration until possibly next release, I'm sure some are thinking about that, it's on the list that doesn't exist.
[-] The following 6 users Like Rob F's post:
  • albinochicken89, Brooks, deeproot, JFReyes, rott, Weasel1960
Reply to top


Messages In This Thread
Robo-Tank Web App - Development - by Rob F - 04-18-2021, 12:41 AM
RE: Robo-Tank Web App - by tutuss21 - 04-18-2021, 01:26 AM
RE: Robo-Tank Web App - by JFReyes - 04-18-2021, 04:31 AM
RE: Robo-Tank Web App - by Jerry W - 04-18-2021, 11:00 AM
RE: Robo-Tank Web App - by Dom59 - 04-18-2021, 03:07 PM
RE: Robo-Tank Web App - by Rob F - 04-18-2021, 03:07 PM
RE: Robo-Tank Web App - by fred73 - 04-19-2021, 05:16 PM
RE: Robo-Tank Web App - by rott - 04-23-2021, 07:51 AM
RE: Robo-Tank Web App - by Dom59 - 04-23-2021, 10:31 AM
RE: Robo-Tank Web App - by Rob F - 04-23-2021, 11:11 AM
RE: Robo-Tank Web App - by loksik.lubos - 04-25-2021, 02:03 PM
RE: Robo-Tank Web App - by Rob F - 04-25-2021, 08:47 PM
RE: Robo-Tank Web App - by Rob F - 05-23-2021, 12:50 AM
RE: Robo-Tank Web App - by albinochicken89 - 06-13-2021, 12:30 PM
RE: Robo-Tank Web App - by Rob F - 06-13-2021, 06:54 PM
RE: Robo-Tank Web App - by rott - 06-19-2021, 07:38 PM
RE: Robo-Tank Web App - by Rob F - 06-19-2021, 07:41 PM
RE: Robo-Tank Web App - by rott - 06-20-2021, 03:05 PM
RE: Robo-Tank Web App - by Weasel1960 - 06-23-2021, 04:13 AM
RE: Robo-Tank Web App - by Rob F - 06-23-2021, 04:46 PM
RE: Robo-Tank Web App - by Rob F - 07-08-2021, 11:40 PM
RE: Robo-Tank Web App - by Weasel1960 - 07-11-2021, 04:59 PM
RE: Robo-Tank Web App - by Dom59 - 07-09-2021, 09:34 AM
RE: Robo-Tank Web App - by Rob F - 07-09-2021, 05:48 PM
RE: Robo-Tank Web App - by Rob F - 07-11-2021, 08:54 PM
RE: Robo-Tank Web App - by Rob F - 07-16-2021, 10:10 PM
RE: Robo-Tank Web App - by Weasel1960 - 07-22-2021, 09:07 PM
RE: Robo-Tank Web App - by Rob F - 07-22-2021, 09:58 PM
RE: Robo-Tank Web App - by Rob F - 07-29-2021, 12:37 AM
RE: Robo-Tank Web App - by Brooks - 07-29-2021, 12:56 PM
RE: Robo-Tank Web App - by albinochicken89 - 07-29-2021, 01:02 PM
RE: Robo-Tank Web App - by Rob F - 07-29-2021, 01:38 PM
RE: Robo-Tank Web App - by Rob F - 08-10-2021, 09:35 PM
RE: Robo-Tank Web App - by Rob F - 08-11-2021, 12:13 AM
RE: Robo-Tank Web App - by Brooks - 08-11-2021, 10:21 AM
RE: Robo-Tank Web App - by albinochicken89 - 08-11-2021, 02:24 PM
RE: Robo-Tank Web App - by Rob F - 08-11-2021, 04:36 PM
RE: Robo-Tank Web App - by deeproot - 08-11-2021, 09:24 PM
RE: Robo-Tank Web App - by Rob F - 08-11-2021, 10:30 PM
RE: Robo-Tank Web App - by deeproot - 08-11-2021, 10:41 PM
RE: Robo-Tank Web App - by Rob F - 08-11-2021, 11:11 PM
RE: Robo-Tank Web App - by zee_zout - 08-12-2021, 08:16 AM
RE: Robo-Tank Web App - by Rob F - 08-12-2021, 03:36 PM
RE: Robo-Tank Web App - by Rob F - 08-12-2021, 04:49 PM
RE: Robo-Tank Web App - by Weasel1960 - 08-13-2021, 07:25 AM
RE: Robo-Tank Web App - by Rob F - 08-13-2021, 01:55 PM
RE: Robo-Tank Web App - by Rob F - 08-17-2021, 12:15 AM
RE: Robo-Tank Web App - by Brooks - 08-25-2021, 04:01 AM
RE: Robo-Tank Web App - by Rob F - 08-25-2021, 08:19 PM
RE: Robo-Tank Web App - by deeproot - 08-25-2021, 11:05 PM
RE: Robo-Tank Web App - by Rob F - 08-26-2021, 01:05 AM
RE: Robo-Tank Web App - by Brooks - 08-26-2021, 10:53 AM
RE: Robo-Tank Web App - by Rob F - 08-29-2021, 12:20 AM
RE: Robo-Tank Web App - by Rob F - 08-30-2021, 10:47 PM
RE: Robo-Tank Web App - by deeproot - 08-30-2021, 11:08 PM
RE: Robo-Tank Web App - by Rob F - 08-30-2021, 11:16 PM
RE: Robo-Tank Web App - by deeproot - 08-30-2021, 11:32 PM
RE: Robo-Tank Web App - by Rob F - 08-30-2021, 11:58 PM
RE: Robo-Tank Web App - by Weasel1960 - 09-04-2021, 11:40 PM
RE: Robo-Tank Web App - by JFReyes - 08-31-2021, 06:00 AM
RE: Robo-Tank Web App - by Rob F - 08-31-2021, 09:48 AM
RE: Robo-Tank Web App - by coaxman - 08-31-2021, 01:25 PM
RE: Robo-Tank Web App - by Rob F - 08-31-2021, 03:48 PM
RE: Robo-Tank Web App - by deeproot - 08-31-2021, 11:42 PM
RE: Robo-Tank Web App - by Rob F - 09-01-2021, 06:58 AM
RE: Robo-Tank Web App - by Rob F - 09-05-2021, 09:06 AM
RE: Robo-Tank Web App - by Rob F - 09-09-2021, 09:20 PM
RE: Robo-Tank Web App - by Rob F - 09-09-2021, 10:06 PM
RE: Robo-Tank Web App - by coaxman - 09-10-2021, 06:07 PM
RE: Robo-Tank Web App - by Rob F - 09-10-2021, 07:54 PM
RE: Robo-Tank Web App - by Rob F - 09-10-2021, 08:13 PM
RE: Robo-Tank Web App - by Rob F - 09-11-2021, 07:41 PM
RE: Robo-Tank Web App - by Weasel1960 - 09-11-2021, 08:30 PM
RE: Robo-Tank Web App - by Rob F - 09-11-2021, 09:05 PM
RE: Robo-Tank Web App - by Rob F - 09-13-2021, 03:21 PM
RE: Robo-Tank Web App - by albinochicken89 - 09-13-2021, 04:17 PM
RE: Robo-Tank Web App - by Rob F - 09-13-2021, 04:51 PM
RE: Robo-Tank Web App - by pwest - 09-18-2021, 03:10 PM
RE: Robo-Tank Web App - by Rob F - 09-18-2021, 03:35 PM
RE: Robo-Tank Web App - by Rob F - 09-19-2021, 11:40 PM
RE: Robo-Tank Web App - by Brooks - 09-20-2021, 05:15 AM
RE: Robo-Tank Web App - by Dom59 - 09-20-2021, 10:59 AM
RE: Robo-Tank Web App - by Rob F - 09-20-2021, 03:13 PM
RE: Robo-Tank Web App - by Rob F - 09-27-2021, 01:23 AM
RE: Robo-Tank Web App - by Rob F - 09-29-2021, 09:14 PM
RE: Robo-Tank Web App - by fietsenrex - 10-01-2021, 07:18 AM
RE: Robo-Tank Web App - by Brooks - 10-01-2021, 07:22 AM
RE: Robo-Tank Web App - by Rob F - 10-01-2021, 09:40 AM
RE: Robo-Tank Web App - by Rob F - 10-01-2021, 10:29 AM
RE: Robo-Tank Web App - by fietsenrex - 10-01-2021, 10:49 AM
RE: Robo-Tank Web App - by Rob F - 10-01-2021, 11:49 AM
RE: Robo-Tank Web App - by fietsenrex - 10-01-2021, 01:03 PM
RE: Robo-Tank Web App - by Rob F - 10-01-2021, 07:27 PM
RE: Robo-Tank Web App - by Rob F - 10-08-2021, 10:48 AM
RE: Robo-Tank Web App - by albinochicken89 - 10-08-2021, 10:56 AM
RE: Robo-Tank Web App - by Rob F - 10-08-2021, 11:04 AM
RE: Robo-Tank Web App - by Dom59 - 10-08-2021, 12:01 PM
RE: Robo-Tank Web App - Development - by Rob F - 10-09-2021, 12:42 PM
RE: Robo-Tank Web App - Development - by Dom59 - 10-15-2021, 12:26 PM
RE: Robo-Tank Web App - Development - by Rob F - 10-15-2021, 12:33 PM
RE: Robo-Tank Web App - Development - by Dom59 - 10-15-2021, 12:39 PM
RE: Robo-Tank Web App - Development - by Rob F - 10-15-2021, 01:34 PM
RE: Robo-Tank Web App - Development - by Rob F - 12-18-2021, 02:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Install Robo-Tank App Rob F 8 2,644 02-04-2024, 06:44 PM
Last Post: Rob F

Forum Jump:

Current time: 04-28-2024, 09:13 AM