**BETA Release!** Demo ReefAngel Client suite

Discussion in 'General Reef Topics' started by crank2211, Aug 10, 2010.

to remove this notice and enjoy 3reef content with less ads. 3reef membership is free.

  1. blackraven1425

    blackraven1425 Giant Squid

    Joined:
    Mar 1, 2010
    Messages:
    4,780
    Hey crank, I was wondering if the RA can store values for pH/temp at intervals, say every hour or so, then upload that info when it's connected to the computer. I'm guessing that the way it's built, it needs to be connected continuously, but I figured I'd ask.
     
  2. Click Here!

  3. crank2211

    crank2211 Purple Spiny Lobster

    Joined:
    Jan 13, 2009
    Messages:
    460
    Hmm, I'm not sure what spaces your removing. You should literally just be taking the 14 unzipped folders and dropping them in the Arduino Libraries folder. To start, you don't need to modify or open these files in anyway. They just need to be located in the correct folder.

    [​IMG]

    After that, the only file you need to open is the .pde sketch file in the Arduino environment. Open that up, click verify and then upload if everything goes okay. It kind of sounds like your trying to open the .cpp/.h files in the Arduino environment and verify them, which is not correct. Just the .PDE file.
     
  4. crank2211

    crank2211 Purple Spiny Lobster

    Joined:
    Jan 13, 2009
    Messages:
    460
    raven, that's actually how the default behavior works on the Demo Software that comes preloaded. The controller will store the last 24 hours worth of parameters in its own memory. To transfer the data you have to scroll down to the menu item "Dump Params To PC" on the controller and the free Client you can download on RA site will display them assuming you have a USB or Wifi connection.



     
  5. Droopster

    Droopster Fire Worm

    Joined:
    Jun 10, 2010
    Messages:
    157
    Location:
    Greencastle, PA
    Ok, I placed the 14 library folders into the main libraries folder under the Arduino-0018 folder.

    I then saved curtbinders sketch file. when i do that or even just try to open it there is a whole multitude of smaller files to be unziped with it, no of which have a recognizable .pde extension, however i am able to open the "RAMenus" file and others, individually, which my computer recognizes as an open source code. this will open in the arduino software but will not verify.

    (I am not that great with my terminology so if i say one thine and it only makes sense that i meant something else, please fill in the gaps)::)
    here are screen shots of what i am seeing most recently.

    First photo is all the library items
    second is the final error
    third is what im opening in arduino software (RAMenu) from curt's sketch
     

    Attached Files:

  6. crank2211

    crank2211 Purple Spiny Lobster

    Joined:
    Jan 13, 2009
    Messages:
    460
    Ah, okay I think I see what's happening.

    I think we missed a few more necessary libraries that need to be added. These are part of Roberto's original "Custom Libraries" which he provided on the ReefAngel site to begin customization. Curt extended those libraries with some new ones but still referenced some of the originals that Roberto originally supplied. So we basically need the libraries that Roberto originally included and then also Curt's customs on top.

    It's not hard at all.

    On the ReefAngel Website, under "Download" here is a link to the original libraries zip file called Version 0.8.3.1 it's found under "Current Custom Libraries"

    Here's the direct hotlink:
    http://www.reefangel.com/files/Arduino_Libraries_0.8.3.1.zip

    What I would do is start from fresh as far as the libraries go and do the following:

    -Delete all the ReefAngel folders you unzipped in the "Arduino\Libraries" folder. You'll have an empty "libraries" folder at this point.

    -Unzip Roberto's original 9 libraries folders I linked in this post into the Arduino\libraries folder.

    -Unzip Curt's custom beta libraries you download before into the same Arduino\libraries folder and ACCEPT any warning messages as far as overwriting goes. You will be replacing some of Roberto's original libraries with Curt's new one's but you will retain the originals that weren't touched.

    Alternatively, you can just unzip Roberto's originals that I just linked into the Arduino\libraries folder but DO NOT overwrite the ones you already have there. Skip any warnings that come up and do not overwrite.


    At the end you should have 21 folders now in the Arduino\libraries folder.

    - DS1307RTC
    - NokiaLCD
    - OneWire
    - Phillips6610LCD
    - Phillips6610LCDInv
    - Phillips6610LCDInv2
    - ReefAngel
    - ReefAngel_ATO
    - ReefAngel_EEPROM
    - ReefAngel_Globals
    - ReefAngel_Joystick
    - ReefAngel_LED
    - ReefAngel_Memory
    - ReefAngel_NokiaLCD
    - ReefANgel_PWM
    - ReefAngel_Relay
    - ReefAngel_Stack
    - ReefAngel_TempSensor
    - ReefAngel_Timer
    - Time
    - TimeAlarms

    Open the Arduino environment again and open the RAMenus PDE file you had screenshot in your last post. This time it should now validate and compile correctly. Sorry for the missed steps.
     
  7. bmhair03

    bmhair03 Plankton

    Joined:
    Aug 30, 2010
    Messages:
    1
    Great work, Crack .Will your programs work with the wifi? Its like you read my mind when you designed this, I would love to give it a run.Thanks
     
  8. Click Here!

  9. crank2211

    crank2211 Purple Spiny Lobster

    Joined:
    Jan 13, 2009
    Messages:
    460
    Thanks,

    I just started back up development on it today after working on some supplemental LED's to test out the controller's dimming functions.. So far it works pretty well. I hope to have something out for you guys to test soon. As for working over wifi, it SHOULD work but I'll need you guys to let me know how it goes until I pick up a module.
     
  10. Droopster

    Droopster Fire Worm

    Joined:
    Jun 10, 2010
    Messages:
    157
    Location:
    Greencastle, PA
    Ok so, after some long conversations with roberto and a few spikes in im blood pressure, Roberto was able to walk me through getting started. Im ready. I cant wait to see what this will do with your coding.
     
  11. Magnus

    Magnus Sharknado

    Joined:
    Jan 13, 2010
    Messages:
    1,923
    Location:
    Knoxville, TN
    Amazing!!! I have no money whatsoever and I'm still, absolutely considering getting one of these bad boys! Credit cards are a curse sometimes :D

    I can see a lot more people have gotten on board with this project and a lot more involved. I'm subscribed!

    - Mag.
     
  12. crank2211

    crank2211 Purple Spiny Lobster

    Joined:
    Jan 13, 2009
    Messages:
    460
    [​IMG]

    Good News, Everybody!

    The Client Suite has been finalized and ready to download. Officially entering a beta stage as of now.

    The installer is a little bloated due to including the .NET framework pre-requisite with it - but it saves users from having to download/install it manually. If this becomes a burden in the future, I might just remove it to keep d/l size small.

    The installer can be found on my github account here: ClientSuiteSetup at master from davemolton's Installers - GitHub

    Near the top right is a button "Download Source". Clicking this and choosing ZIP -> will compress it all up and let you download everything.

    The readme should be updated with how it works. Otherwise after installation, there's a Help button on the toolbar to explain what to do.

    Hope to hear some feedback from my fellow ReefAngel users on how everything works out.