Reef angel stopped working tonight

Basic / Standard Reef Angel hardware
Post Reply
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Reef angel stopped working tonight

Post by JoshSD »

About 4 hours ago I toggled feeding mode from the iPhone app then fed the tank and forgot about it for a while. I realize now nothing is run ing.

There was power to the lights which were left on during feeding. But they had not dimmed on schedule. Pumps had not restarted.

No response from app or from head unit. Rebooted unit by disconnecting power cable. Now now power to relay box.

Started emergency pump.

Tried reloading memory and RA file. This seemed to work but still no response on head unit and no power to any equipment. Green light still on.

Please help.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Reef angel stopped working tonight

Post by JoshSD »

The first time I reloaded the files after I did the memory file the display had the message to then load my program code. But it didn't fix the problem so I tried again and now e en though the arduino program says "avrdude done. Thank you. " there is nothing on the screen. The backlight was on after the memory file but nothing after the program file.

I have the return pump and heater now on a separate power strip. But I guess I had better move everything else too.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef angel stopped working tonight

Post by rimai »

So, the memory file does load and you do see something on screen, correct?
We can eliminate the possibility of failed LCD, correct?
When you upload any other code, it seems to be uploading by blinking status led for several seconds and then when it's done uploading, you see just backlight. Is it true?
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Reef angel stopped working tonight

Post by JoshSD »

Memory does load but I do not see anything on the LCD screen. Red light blinks like normal loading but nothing on LCD and no response from joystick.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Reef angel stopped working tonight

Post by JoshSD »

Green led stays on but LCD screen backlight goes off after loading code. It's like it's still stuck in the feed mode.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef angel stopped working tonight

Post by rimai »

Do you have any expansion module?
You can do two things...
1- Send it back for repair
2- We can try troubleshoot to find out what is going on, but it will require us to load several codes.
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Reef angel stopped working tonight

Post by JoshSD »

No extra modules other than wifi.

I'm willing to troubkeshoot if it might come back. If its a lost cause I guess not.

What is turnaround for repair and cost?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef angel stopped working tonight

Post by rimai »

Does this make your backlight and status led blink every second?

Code: Select all

void setup()
{
  pinMode(2,OUTPUT);
  pinMode(7,OUTPUT);
}

void loop()
{
  digitalWrite(2,millis()%2000<1000);
  digitalWrite(7,millis()%2000<1000);
}
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef angel stopped working tonight

Post by JoshSD »

Yes, it sure does.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef angel stopped working tonight

Post by rimai »

Does this turn relays on/off?

Code: Select all

#include <Wire.h>

void setup()
{
  Serial.begin(57600);
  Wire.begin();  
}

void loop()
{
    Wire.beginTransmission(0x20);
    Wire.write(0x00);
    Wire.endTransmission();  
    delay(1000);
    Serial.println("Off");
    Wire.beginTransmission(0x20);
    Wire.write(0xff);
    Wire.endTransmission();  
    delay(1000);
    Serial.println("On");
}

Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef angel stopped working tonight

Post by JoshSD »

No. That doesn't seem to do anything.

It uploads (avrdude done), leaving the power LED on, status LED off, nothing on LCD, no sound from the relay box.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef angel stopped working tonight

Post by rimai »

Load this:

Code: Select all

/**
 * I2CScanner.pde -- I2C bus scanner for Arduino
 *
 * 2009, Tod E. Kurt, http://todbot.com/blog/
 *
 */

#include "Wire.h"
extern "C" { 
#include "utility/twi.h"  // from Wire library, so we can do bus scanning
}

// Scan the I2C bus between addresses from_addr and to_addr.
// On each address, call the callback function with the address and result.
// If result==0, address was found, otherwise, address wasn't found
// (can use result to potentially get other status on the I2C bus, see twi.c)
// Assumes Wire.begin() has already been called
void scanI2CBus(byte from_addr, byte to_addr, 
void(*callback)(byte address, byte result) ) 
{
  byte rc;
  byte data = 0; // not used, just an address to feed to twi_writeTo()
  for( byte addr = from_addr; addr <= to_addr; addr++ ) {
    rc = twi_writeTo(addr, &data, 0, 1, true);
    callback( addr, rc );
  }
}

// Called when address is found in scanI2CBus()
// Feel free to change this as needed
// (like adding I2C comm code to figure out what kind of I2C device is there)
void scanFunc( byte addr, byte result ) {
  Serial.print("addr: ");
  Serial.print(addr,HEX);
  Serial.print( (result==0) ? " found!":"       ");
  Serial.print( (addr%4) ? "\t":"\n");
}


byte start_address = 1;
byte end_address = 128;

// standard Arduino setup()
void setup()
{
  Wire.begin();
  pinMode(7,OUTPUT);
  Serial.begin(57600);
  Serial.println("\nI2CScanner ready!");

  Serial.print("starting scanning of I2C bus from ");
  Serial.print(start_address,DEC);
  Serial.print(" to ");
  Serial.print(end_address,DEC);
  Serial.println("...");

  // start the scan, will call "scanFunc()" on result from each address
  scanI2CBus( start_address, end_address, scanFunc );

  Serial.println("\ndone");
}

// standard Arduino loop()
void loop() 
{
  // Nothing to do here, so we'll just blink the built-in LED
  digitalWrite(7,HIGH);
  delay(300);
  digitalWrite(7,LOW);
  delay(300);
}
Open Serial Monitor on menu Tools->Serial Monitor
Make sure you are using 57600 baud
If nothing in the window, reboot RA.
It should print some diagnostics.
Copy and paste here
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef angel stopped working tonight

Post by JoshSD »

I gave it a reboot and waited a few minutes but all that appears in the Serial Monitor is this

I2CScanner ready!
starting scanning of I2C bus from 1 to 128...
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef angel stopped working tonight

Post by rimai »

Open your head unit. Do you have jumpers in the SCA and SCL pins?
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef angel stopped working tonight

Post by JoshSD »

I have it open but do not see SCA or SCL pins labeled. can you please point to where they are on the board?
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef angel stopped working tonight

Post by JoshSD »

there is one jumper I can find on the board. It is on a bank of three, two pin connectors between the joystick and the serial port where the USB and Wifi cables connect. it is on the pair of pins to the far left towards the joystick.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef angel stopped working tonight

Post by rimai »

Yeah, that means you don't have them in place.
Do you have the USB power cable?
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Reef angel stopped working tonight

Post by JoshSD »

Somewhere, I have everything you sent me :)
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Reef angel stopped working tonight

Post by JoshSD »

If it didn't come with the unit I don't have one.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef angel stopped working tonight

Post by rimai »

I don't think the problem is in the relay box.
It's most likely in the head unit.
Does it show any sign of water damage/corrosion?
I think you will need to send it in for repair.
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Reef angel stopped working tonight

Post by JoshSD »

Small amount of corrosion appears on the outside of the HD15 connector. Everything else looks fine.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef angel stopped working tonight

Post by JoshSD »

It was definitely the board, just as you suggested. The new board works fine and there are no issues with the relay box.
Post Reply