2024 Ohio Reef Frag Swap

2024 flyer

Author Topic: Diy Low cost controller  (Read 23383 times)

0 Members and 1 Guest are viewing this topic.

Blown76mav

  • Guest
Re: Diy Low cost controller
« Reply #50 on: November 02, 2009, 06:33:11 »
"Warning: Software too useful, please return to your liberal arts degree"

 :laugh:

Thats not nice.  really it says "can't open not a .DMG file"


Offline ohioreef

  • Lifetime Premium Member
  • *****
  • Posts: 4,673
  • Founding Member
Re: Diy Low cost controller
« Reply #51 on: November 02, 2009, 07:24:38 »
I'll download when I've got some time and have a look see.

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #52 on: November 02, 2009, 07:41:16 »
Thats not nice.  really it says "can't open not a .DMG file"



I've never owned a mac but apparently (google)  that is the equivilent to an Exe

I rewrote the "setup wizard" last night. It now allows for unlimited probes, outputs, and rules. Of course you'd actually be limited by how many pins the uC has, but this will allow upgrades to uCs without total rewrite of the software
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline jjw2121

  • Adult
  • ****
  • Posts: 369
Re: Diy Low cost controller
« Reply #53 on: November 02, 2009, 11:35:17 »
WOW that is some confussing talk going on. Looks like you guys have things in th eright direction but I got lost after the 2nd post.

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #54 on: November 04, 2009, 17:56:18 »
Ok, build 2 (0.92) is almost ready to play with. Ton of work done this week. I cleaned up the Setup wizard so its allows more functionality and have created some "diagnostics" It allows you to Artificially tell the controller what the probes and switches readings are, so you can simulate tank parameters and see how the controller reacts. Hope to have this out by the end of the week for comments/suggestions
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #55 on: November 11, 2009, 20:30:27 »
Ok here's the link to build 0.93. http://reefcontrol.wikispaces.com/file/view/reefcontrol_0.93.zip/102031929/reefcontrol_0.93.zip remeber if you installed a previous version, you must goto add/remove programs and uninstall it before installing the latest build.

Setup Wizard is nearly complete (hardest part of the entire project)
Big announcement is the actual core of the controller is functional!!! The "diagnostics" tab next to "Main" allows you to inject readings for the probes. We dont have the hardware built, but by entering a value for a probe, it sends the info to the core EXACTLY as if a probe was there. The controller cannot tell the difference.  So basically its working with simulated I/O, but working none the less.

You can enter a reading and then flip back the the MAIN tab and see it updated and see how that affects the output based on the rules

More to come, Im just tired of looking at it for a few days, Remember to leave us comments/requests on the Wiki http://reefcontrol.wikispaces.com/
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline rmstevensiii

  • Lifetime Premium Member
  • Adult
  • *****
  • Posts: 549
Re: Diy Low cost controller
« Reply #56 on: November 12, 2009, 09:53:41 »
Hey guys...

I rec'd the following errors when trying to install on my XP Pro machine:

PLATFORM VERSION INFO
   Windows          : 5.1.2600.196608 (Win32NT)
   Common Language Runtime    : 2.0.50727.3603
   System.Deployment.dll       : 2.0.50727.3053 (netfxsp.050727-3000)
   mscorwks.dll          : 2.0.50727.3603 (GDR.050727-3600)
   dfdll.dll          : 2.0.50727.3053 (netfxsp.050727-3000)
   dfshim.dll          : 2.0.50727.3053 (netfxsp.050727-3000)

SOURCES
   Deployment url         : file:///L:/Software/Reefcontrol/reefcontrol.application

IDENTITIES
   Deployment Identity      : reefcontrol.application, Version=0.9.3.1, Culture=neutral, PublicKeyToken=0d3ef76fec41652f, processorArchitecture=msil

APPLICATION SUMMARY
   * Installable application.

ERROR SUMMARY
   Below is a summary of the errors, details of these errors are listed later in the log.
   * Activation of L:\Software\Reefcontrol\reefcontrol.application resulted in exception. Following failure messages were detected:
      + Downloading file:///L:/Software/Reefcontrol/Application Files/reefcontrol_0_9_3_1/reefcontrol.exe.manifest did not succeed.
      + Could not find a part of the path 'L:\Software\Reefcontrol\Application Files\reefcontrol_0_9_3_1\reefcontrol.exe.manifest'.
      + Could not find a part of the path 'L:\Software\Reefcontrol\Application Files\reefcontrol_0_9_3_1\reefcontrol.exe.manifest'.
      + Could not find a part of the path 'L:\Software\Reefcontrol\Application Files\reefcontrol_0_9_3_1\reefcontrol.exe.manifest'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
   No transaction error was detected.

WARNINGS
   There were no warnings during this operation.

OPERATION PROGRESS STATUS
   * [11/12/2009 9:48:26 AM] : Activation of L:\Software\Reefcontrol\reefcontrol.application has started.
   * [11/12/2009 9:48:26 AM] : Processing of deployment manifest has successfully completed.
   * [11/12/2009 9:48:26 AM] : Installation of the application has started.

ERROR DETAILS
   Following errors were detected during this operation.
   * [11/12/2009 9:48:26 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
      - Downloading file:///L:/Software/Reefcontrol/Application Files/reefcontrol_0_9_3_1/reefcontrol.exe.manifest did not succeed.
      - Source: System.Deployment
      - Stack trace:
         at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
         at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
         at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
         at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
         at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
         at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
         at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
         at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
         at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
         at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
      --- Inner Exception ---
      System.Net.WebException
      - Could not find a part of the path 'L:\Software\Reefcontrol\Application Files\reefcontrol_0_9_3_1\reefcontrol.exe.manifest'.
      - Source: System
      - Stack trace:
         at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
         at System.Net.FileWebRequest.GetResponse()
         at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
      --- Inner Exception ---
      System.Net.WebException
      - Could not find a part of the path 'L:\Software\Reefcontrol\Application Files\reefcontrol_0_9_3_1\reefcontrol.exe.manifest'.
      - Source: System
      - Stack trace:
         at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
         at System.Net.FileWebRequest.GetResponseCallback(Object state)
      --- Inner Exception ---
      System.IO.DirectoryNotFoundException
      - Could not find a part of the path 'L:\Software\Reefcontrol\Application Files\reefcontrol_0_9_3_1\reefcontrol.exe.manifest'.
      - Source: mscorlib
      - Stack trace:
         at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
         at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
         at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
         at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
         at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)

COMPONENT STORE TRANSACTION DETAILS
   No transaction information is available.


The file is here, in the "reefcontrol_093" sub-dir instead of the "reefcontrol" sub-dir:

L:\Software\Reefcontrol\reefcontrol_0.93\Application Files\reefcontrol_0_9_3_1>dir
 Volume in drive L is Iomega HDD
 Volume Serial Number is 4019-F222

 Directory of L:\Software\Reefcontrol\reefcontrol_0.93\Application Files\reefcontrol_0_9_3_1

11/12/2009  09:46 AM    <DIR>          .
11/12/2009  09:46 AM    <DIR>          ..
10/23/2009  10:41 PM             3,638 clown-fish.ico.deploy
11/11/2009  08:05 PM             5,304 reefcontrol.application
11/02/2009  09:07 PM             6,275 reefcontrol.exe.config.deploy
11/11/2009  08:05 PM           321,536 reefcontrol.exe.deploy
11/11/2009  08:05 PM             8,474 reefcontrol.exe.manifest
10/24/2009  10:27 PM             9,662 reefcontrolicon.ico.deploy
               6 File(s)        354,889 bytes
               2 Dir(s)  1,106,543,267,840 bytes free

L:\Software\Reefcontrol\reefcontrol_0.93\Application Files\reefcontrol_0_9_3_1>
« Last Edit: November 12, 2009, 09:55:53 by rmstevensiii »
Dayton - 45459

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #57 on: November 12, 2009, 10:00:40 »
Do you have the .net framework installed?  It's a prerequiste, do you keep windows updater running?
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline rmstevensiii

  • Lifetime Premium Member
  • Adult
  • *****
  • Posts: 549
Re: Diy Low cost controller
« Reply #58 on: November 12, 2009, 10:15:25 »
Yep... Windows updater is running, and .NET is installed:

C:\Documents and Settings\Me>wmic product > Installed_Programs.txt

C:\Documents and Settings\Me>type Installed_Programs.txt | findstr ".NET"
Microsoft .NET Framework 3.0 Service Pack 2                         Microsoft .NET Framework 3.0 Service Pack 2                         {A3051CD0-2F64-3813-A88D-B8DCCDE8F8C7}  2009
0810     20090810000000.000000-000                                                                                     5             Microsoft .NET Framework 3.0 Service Pack 2
                     C:\WINDOWS\Installer\1aa9de.msi               Microsoft Corporation                      3.2.30729
Microsoft .NET Framework 3.5 SP1                                    Microsoft .NET Framework 3.5 SP1                                    {CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}  2009
0902     20090902000000.000000-000                                                                                     5             Microsoft .NET Framework 3.5 SP1
                     C:\WINDOWS\Installer\1c682f.msi               Microsoft Corporation                      3.5.30729
Microsoft .NET Compact Framework 2.0 SP1                            Microsoft .NET Compact Framework 2.0 SP1                            {625386A4-B6B6-4911-A6E8-23189C3F2D15}  2007
0102     20070102000000.000000-000                                                                                     5             Microsoft .NET Compact Framework 2.0 SP1
                     C:\WINDOWS\Installer\2638bce5.msi             Microsoft Corporation                      2.0.6129
Microsoft .NET Framework 2.0 Service Pack 2                         Microsoft .NET Framework 2.0 Service Pack 2                         {C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F}  2009
1017     20091017000000.000000-000                                                                                     5             Microsoft .NET Framework 2.0 Service Pack 2
                     C:\WINDOWS\Installer\fd342.msi                Microsoft Corporation                      2.2.30729
Microsoft .NET Framework 1.1                                        Microsoft .NET Framework 1.1                                        {CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1}  2009
1017     20091017000000.000000-000                                                                                     5             Microsoft .NET Framework 1.1
                     C:\WINDOWS\Installer\2dd918.msi               Microsoft                                  1.1.4322
Dayton - 45459

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #59 on: November 12, 2009, 11:17:33 »
Hmm.. It has to be a prereq problem. I installed it on both my computers before uploading, but they both have visual studios on them. Has anyone else successfully installed it?
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline rmstevensiii

  • Lifetime Premium Member
  • Adult
  • *****
  • Posts: 549
Re: Diy Low cost controller
« Reply #60 on: November 12, 2009, 11:35:17 »
I don't know how your installer is written to work, but it appears to be looking in the wrong sub-dir for 1 of the files included in your .zip.  Did you recently append the version # to the sub-dirs?  If so, was the install script also updated?

The script is looking for this file:
L:/Software/Reefcontrol/Application Files/reefcontrol_0_9_3_1/reefcontrol.exe.manifest

Which is actually here:
L:\Software\Reefcontrol\reefcontrol_0.93\Application Files\reefcontrol_0_9_3_1\reefcontrol.exe.manifest

This could be a simple fix within the install script.
Dayton - 45459

Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #61 on: November 12, 2009, 12:00:10 »
Wes, I just ran it on my auto-updated work computer and it ran fine. I have .net installed
Call me Mr. Rev. Dr.

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #62 on: November 12, 2009, 12:22:40 »
I don't know how your installer is written to work, but it appears to be looking in the wrong sub-dir for 1 of the files included in your .zip.  Did you recently append the version # to the sub-dirs?  If so, was the install script also updated?

The script is looking for this file:
L:/Software/Reefcontrol/Application Files/reefcontrol_0_9_3_1/reefcontrol.exe.manifest

Which is actually here:
L:\Software\Reefcontrol\reefcontrol_0.93\Application Files\reefcontrol_0_9_3_1\reefcontrol.exe.manifest

This could be a simple fix within the install script.


intresting... I did recently change that but I expect the compiler to "do what it does" I am running off the free visual studios so I don't get to write an installer. I just have a "publish" button that creates the folder I zipped and posted.

I just had another thought as to what could be wrong. I'll fix it tonight, but that's wierd that it installs on me and Joshs computers but not yours???
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline rmstevensiii

  • Lifetime Premium Member
  • Adult
  • *****
  • Posts: 549
Re: Diy Low cost controller
« Reply #63 on: November 12, 2009, 12:29:02 »
Agreed.  Weird.  I tried it twice.  Both times, it failed with the same error.  If I get time, I'll try it on another 1 of my machines.

Mitch
Dayton - 45459

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #64 on: November 12, 2009, 19:57:35 »
Another small victory. I just successfully communicated from the PC based controller to a microcontroller.  That was the last unknown as to how hard that was going to be.  Now Josh needs to get to work on the hardware side  ;)
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #65 on: November 12, 2009, 20:44:21 »
Another small victory. I just successfully communicated from the PC based controller to a microcontroller.  That was the last unknown as to how hard that was going to be.  Now Josh needs to get to work on the hardware side  ;)

gah!

What interface and protocol did you use?
Call me Mr. Rev. Dr.

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #66 on: November 18, 2009, 16:57:31 »
For all you that havent seen the DIY controller or cant install it (MACs  :'() I put together some screenshots of some of what we got so far.







75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline lazylivin

  • Administrator
  • Adult
  • *****
  • Posts: 11,471
Re: Diy Low cost controller
« Reply #67 on: November 18, 2009, 17:35:08 »
Thats nice Wes but where is our Ohio Reef logo?  ;D

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #68 on: November 18, 2009, 18:32:44 »
What logo? All we have is a banner. Still waiting on our MAC user (and Josh) to make one :laugh:
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Blown76mav

  • Guest
Re: Diy Low cost controller
« Reply #69 on: November 18, 2009, 19:00:20 »
MIght want to look again, I made one ;D

Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #70 on: November 19, 2009, 00:12:33 »
Look again! I made four!  ;D
Call me Mr. Rev. Dr.

Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Donation Request
« Reply #71 on: November 19, 2009, 20:10:41 »
Hey everyone,

Wes and I are quickly moving from the software side of things to hardware. Since Wes and I's time is worthless, this hasn't been a problem until know. Hardware costs money, plain and simple. And while Wes and I are prepared to carry the burden of this project we figured we would has if anyone would like to make a donation. We would gladly accept money (be it $1, $5, $10) or equipment (pH probes, ORP, conductivity meters(on loan or otherwise) and loaner controllers)

Our controller will be sold at cost, your thanks will serve our insatiable urge for praise :)

So, if you'd like to give or loan us something, we would gladly accept it. The more equipment we have the sooner we can get the controller done. I will make sure that anyone who donates gets 1st priority of the finished controller.

Thanks,
Wes and JD
Call me Mr. Rev. Dr.

Offline Wall_Tank

  • Administrator
  • Adult
  • *****
  • Posts: 3,754
Re: Diy Low cost controller
« Reply #72 on: November 19, 2009, 21:29:07 »
I've already donated a pH probe and controller to Wes.   What are you planning to use for output modules.   I have some high power relays and moderate powered SSR's.   Alot of X10 modules, that can be used for parts.

Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #73 on: November 19, 2009, 21:47:13 »
Yes, I forgot to thank you Walltank (Paul? I think I called you Tom for the longest time, sorry :) )

You should see your pH probe in action as soon as my order comes in.

We're looking around at output modules. We're looking for cheap and popular.
Call me Mr. Rev. Dr.

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #74 on: November 19, 2009, 21:50:55 »
I've already donated a pH probe and controller to Wes.   What are you planning to use for output modules.   I have some high power relays and moderate powered SSR's.   Alot of X10 modules, that can be used for parts.


I was thinking of a mixture of Triacs, SSRs, and relays. For things like Pumps that are On or Off 90% of the time, a relay would be work great.  And for other things: it depends on the expected switching frequency and load rating.

As for the pH probe, Cant thank you enough for letting me borrow it!  It was because of that idea that i got all spun up in this (been meaning dive into VB.net for awhile now anyways :laugh:)

Thanks Again!
« Last Edit: November 19, 2009, 21:53:09 by cyberwollf »
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


 

Powered by EzPortal