**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. crank2211

    crank2211 Purple Spiny Lobster

    Joined:
    Jan 13, 2009
    Messages:
    460
    Thanks Dingo,

    Hopefully I'll have a release ready in the next couple weeks. I still have to work on an installer for the package. For everything to work, users will need to update the software on the controller unit. This is to enable the serial communication to the Listener Service and create the new menu item that allows them to choose how often parameters are sent to the PC. I'm hoping to find a way to easily tackle this step in the installer. Somehow include the latest sketch/libraries in the installer and have it upload to the controller automatically.. Not sure on how yet...
     
  2. Click Here!

  3. Matt Rogers

    Matt Rogers Kingfish

    Joined:
    Dec 31, 2000
    Messages:
    13,466
    Location:
    Berkeley, CA
    Fantastic work. Truly pro!
     
  4. Gresham

    Gresham Great Blue Whale

    Joined:
    Nov 7, 2002
    Messages:
    2,825
    Location:
    SF/Monterey Bay Area, CA
    Wow I am impressed and can't wait to load this on my R.A. :)
     
  5. doog

    doog Peppermint Shrimp

    Joined:
    Apr 27, 2008
    Messages:
    445
    Location:
    Salisbury, MD
    crank
    that is awesome stuff. i've been having a bunch of fun with my RA and hope to be able to use your stuff.
    lemme know if you need someone to test/play with the linux/mac port if you get going in that direction.

    will you be able to set up the "sending" end on the RA as a function that can be added to the next library so those of use writing our own RA code can call your function and use this?

    -doog
     
  6. Droopster

    Droopster Fire Worm

    Joined:
    Jun 10, 2010
    Messages:
    157
    Location:
    Greencastle, PA
    Well you've done it. Usually it's my friends that I can see and talk to that convince me to spend money ::) but I ordered my reef angel last night Ill let ya know if i need any help. Thanks for the input.
     
  7. Droopster

    Droopster Fire Worm

    Joined:
    Jun 10, 2010
    Messages:
    157
    Location:
    Greencastle, PA
    Got my Reefangel today, so far so good until i opened the pH probe, its one piece with no calibration solutions. Just a probe looking thingy dipped in a bottle with some kind of solution. I don't even know where to begin.:confused:
     
  8. Click Here!

  9. crank2211

    crank2211 Purple Spiny Lobster

    Joined:
    Jan 13, 2009
    Messages:
    460
    Congrats on the purchase Droopster, I think you'll enjoy it.

    The solution the pH probe comes in is to just keep the sensor wet as far as I know. I just took it out, shook the solution off a bit - connected it to the controller and dropped it in my tank. The value should show up on your home screen.

    There's a default calibration that comes preloaded on the controller that should get you very close to your true pH. If you want to calibrate it even more precisely, you will need to pickup some PH7 and PH10 solution and you can get it really dialed in.
     
  10. Droopster

    Droopster Fire Worm

    Joined:
    Jun 10, 2010
    Messages:
    157
    Location:
    Greencastle, PA
    Ok, so pH probe up and running. head unit is reading out as it should. programing on the other hand is going to be a little more challenging. Im having trouble downloading any of the reef angel software, and im not sure my updated libraries are filed properly as i had to drop each individual folder into the arduino library folder. Im starting to feel a little overwhelmed but I think once im certain everything is running as it should i will be ok to try customizing.
    One other thing is I really dont see a way to program max and min parameters into the head unit, from the head unit. I dont know how to make it shut things on and off mainly my temp is my current issue because im heading into the fall season of southern PA, and the weather indoor and out changes quickly.
     
  11. crank2211

    crank2211 Purple Spiny Lobster

    Joined:
    Jan 13, 2009
    Messages:
    460
    Hey Droopster, to get started I would do the following:

    Make sure you have the correct TTL Drivers and Arduino environment as per the Getting Started page on the ReefAngel site. From the sounds of it, you've already done this.

    I'm not sure what comes preloaded on the controller anymore but I would assume it's still the Demo Software. If you want to get caught up with the latest, just do the following:

    Download and unzip the latest C++ libraries from Curt here:
    curtbinder's ReefAngel at v0.8.5-beta5 - GitHub

    There's a button at the top right "Download Source" - Press the Zip button and choose the save location. Unzip and copy everything into the "libraries" folder in your Arduino environment.
    Ex: "C:\arduino-0018\libraries\"

    Accept overwriting the originals. You can always revert back to the demo software by downloading from ReefAngel website or you can make a copy of the libraries folder and save elsewhere if you want.


    After that, grab the RAMenus sketch file from here:
    RAMenus at master from curtbinder's SketchBook - GitHub

    this "sketch" file is was gets uploaded to the controller from the Arduino environment and contains references to the libraries you just downloaded.

    Open the .pde sketch file in the Arduino IDE and press "Verify" arrow in the toolbar. That will compile everything and show you any errors there might in either the sketch or your C++ libraries. There shouldn't be anything wrong and you will see a success message at the bottom. Then make sure your controller is plugged into your pc via the usb cable and press the "Upload" button in the toolbar. This will upload the latest code you just compiled onto the controller. From there, the menu items on the controller should be pretty self explanatory.

    The sketch file is commented very well and shows you how to make changes to fit your needs. Also the C++ libraries are well commented also showing you where to make changes for different scenarios. The starting point in the libraries for you should be in the "ReefAngel" folder - Open up ReefAngel.h to see all the declarations and outlet assignments. Open up ReefAngel.cpp to check out the code and follow the comments.

    Let us know how that goes, and if you get stuck with anything.
     
    1 person likes this.
  12. Droopster

    Droopster Fire Worm

    Joined:
    Jun 10, 2010
    Messages:
    157
    Location:
    Greencastle, PA
    Ok so first off, thank you very much crank 2211 for helping me out with this. "I really like 3reef" So i unzipped the libraries to the libraries and what not, and had to remove the spaces in the main folder because my computer cant read it. BTW, im running XP.

    I cant run the git sketch all at once because of the folders i just have to open each little code sequence (this is correct?) but when i hit verify it finds one error each time....example =
    Folder,
    NestedMenus

    19: error: stack.h: No such file or directory


    Is this saying it cant find a library item to reference this or whats this mean, and how do i fix this.....sorry to keep this going but i do appreciate your help.
     
    Last edited: Aug 28, 2010