WiFI utility walkthrough complete, now what?

New members questions
Post Reply
Cruzer
Posts: 39
Joined: Sun Nov 06, 2011 10:14 pm

WiFI utility walkthrough complete, now what?

Post by Cruzer »

Hello All,

I have completed the "how to set up my WiFi Attachement" walkthrough successfully. The green light is slowly blinking and seems fine. I can even see it when I go into my router although it does not have a name assosiated with it, it is showing the same IP address that was shown when I looked in the WiFi settings after using the utility. How do I test it or use it lol. My final objective is to get the iphone app to work but I would like to see if it is working properly as it is now before moving on. The last sentence in the walkthrough was that I can now use it, but how do I use it? Yes I am lost lol.

Rob,
Cruzer
Posts: 39
Joined: Sun Nov 06, 2011 10:14 pm

Re: WiFI utility walkthrough complete, now what?

Post by Cruzer »

I have tried typing in the IP of the device into the brouser like the manual says to do and I get nothing. I believe I should see a portal type web page for the controller.
Cruzer
Posts: 39
Joined: Sun Nov 06, 2011 10:14 pm

Re: WiFI utility walkthrough complete, now what?

Post by Cruzer »

The following is a paste of the settings after using the utility. I believe the line that I have placed some (****) by is not right. I also took out some information that I did not think should be posted and replaced the information with (XXXX). After reading more threads it looks like my WiFi is not picking up an IP? I thought it was and have been trying the other IP addresses that are showing in the paste. What do you think?

CMD
get ip

IF=DOWN
DHCP=ON
IP=0.0.0.0:2000 ******
NM=0.0.0.0
GW=0.0.0.0
HOST=198.171.134.6:80
PROTO=TCP,
MTU=1460
FLAGS=0x7
BACKUP=0.0.0.0
<2.21> get w

SSID=XXXX
Chan=0
ExtAnt=0
Join=1
Auth=WPA2
Mask=0x1fff
Rate=12, 24 Mb
Linkmon=0
Passphrase=XXXXXXXXXXX
<2.21> DHCP in 5989ms, lease=3600s
IF=UP
DHCP=ON
IP=192.168.0.14:2000
NM=255.255.255.0
GW=192.168.0.1
Listen on 2000
get u

Baudrate=57600
Flow=0x0
Mode=0x2
<2.21>
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFI utility walkthrough complete, now what?

Post by rimai »

I think the ip address is 192.168.0.14
To get anything when you browse http://192.168.0.14:2000, you need to make sure that you check mark the wifi feature when you generate your code with RAGen.
Roberto.
Cruzer
Posts: 39
Joined: Sun Nov 06, 2011 10:14 pm

Re: WiFI utility walkthrough complete, now what?

Post by Cruzer »

I just loaded the following code from RAGen with the WiFi check box checked, still can not display anything from that address. Sorry the post is so long, do not know how to use the little boxes that you can scroll in.

Code: Select all

// Autogenerated file by RAGen (v1.1.0.127), (01/21/2012 17:20)
// RA_012112_1720.pde
//
// This version designed for v0.8.5 Beta 17 or later

/* The following features are enabled for this PDE File: 
#define DisplayImages
#define DateTimeSetup
#define VersionMenu
#define DirectTempSensor
#define wifi
#define SIMPLE_MENU
*/


#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>


void setup()
{
    ReefAngel.Init();  //Initialize controller

    // Ports that are always on
    ReefAngel.Relay.On(Port8);
}

void loop()
{
    // Specific functions
    ReefAngel.StandardATO(Port1);
    ReefAngel.StandardLights(Port2);
    ReefAngel.MHLights(Port3);
    ReefAngel.Wavemaker1(Port4);
    ReefAngel.Wavemaker2(Port5);
    ReefAngel.StandardFan(Port6);
    ReefAngel.StandardHeater(Port7);

	ReefAngel.ShowInterface();
}
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFI utility walkthrough complete, now what?

Post by rimai »

Everything seems correct.
Let's check if the RAGen has the right paths.
Go to Edit->Settings and make sure you have these paths:
Sketch: Documents\Arduino
Libraries: Documents\Arduino\libraries
Arduino: C:\Program Files\Reef Angel Controller

If they are not pointing to these folders, change it and regenerate the code again.
Roberto.
Cruzer
Posts: 39
Joined: Sun Nov 06, 2011 10:14 pm

Re: WiFI utility walkthrough complete, now what?

Post by Cruzer »

The following are the paths, so I need to change them to exactly what you have typed?

sketch: C:\Users\Rob\Documents\Arduino

Libraries: C:\Users\Rob\Documents\RAGen-v110-static\RAGen-v110-static

Arduino folder: C:\Users\Rob\Documents\RAGen-v110-static\RAGen-v110-static
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFI utility walkthrough complete, now what?

Post by rimai »

Yeap. They are wrong.
Change them to:
sketch: C:\Users\Rob\Documents\Arduino

Libraries: C:\Users\Rob\Documents\Arduino\libraries

Arduino folder: C:\Program Files\Reef Angel Controller

Regenerate your code and upload to the controller.
Roberto.
Cruzer
Posts: 39
Joined: Sun Nov 06, 2011 10:14 pm

Re: WiFI utility walkthrough complete, now what?

Post by Cruzer »

Okay,

Progress, I can see the Reef Angle Web Server now when I go to the address. Now I need to get the settings in the PDE right, tank is going wonky now. Thank you for your patience and help Roberto.
Post Reply