Hardware Issue - Possible Water Damage

Basic / Standard Reef Angel hardware
Post Reply
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Hardware Issue - Possible Water Damage

Post by M@! »

Right before heading on vacation I was setting up a larger Top Off container. Of course that happens to be the time that I'm pretty sure some water got into the unit. It flashed black for a second and I immediately unplugged power. I took it apart and put it into some rice to dry out. 24 hours later I plug it back in. It powers up and everything appears to be working accept for the menu selector. Any trouble shooting to figure out the menu selector or do you guys offer repair service?

Thanks!
Matt
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Hardware Issue - Possible Water Damage

Post by rimai »

Yes, you can load the ControllerTester code to test the joystick.
If you still have problems, you can PM me for repair.
Roberto.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

Thanks, Left and right worked fine but pressing down is doing nothing. I'm guessing pressing down toggles the ports on/off?
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

Alright, received my RA back. All was working well accept the ATO was acting weird. It was turning on the wrong ports and then my RA would just die after running for a couple hours.

I realized my libraries were old so I installed the latest version of RA. Now I'm getting program out of sync errors.

I found this code

void setup()
{
Serial.begin(57600);
Serial.println("Test");
}
void loop()
{
}

In a different post and tried to upload it. I received the following error:
The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Simple Menu
Binary sketch size: 1,874 bytes (of a 32,256 byte maximum)
C:\Program Files\Reef Angel Controller222\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller222\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM5 -b115200 -D -Uflash:w:C:\Users\mroit\AppData\Local\Temp\build5890161014538168828.tmp\sketch_nov10b.cpp.hex:i

avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Program Files\Reef Angel Controller222\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM5
Using Programmer : arduino
Overriding Baud Rate : 115200
Rebooting Reef Angel Controller
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
AVR Part : ATMEGA328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : Arduino
Description : Arduino
avrdude: Send: A [41] . [80] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [04]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [98] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
Hardware Version: 3
Firmware Version: 4.0
avrdude: Send: A [41] . [84] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [85] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [86] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [87] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [89] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
Vtarget : 0.3 V
Varef : 0.3 V
Oscillator : 28.800 kHz
SCK period : 3.3 us

avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [04]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: B [42] . [86] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] . [80] . [04] . [00] . [00] . [00] . [80] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: E [45] . [05] . [04] . [d7] . [c2] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: P [50] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: u [75] [20]
avrdude: Recv: . [14] . [1e] . [95] . [0f] . [10]
################################################## | 100% 0.01s

avrdude: Device signature = 0x1e950f
avrdude: Send: V [56] . [a0] . [03] . [fc] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [03] . [fd] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [03] . [fe] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [03] . [ff] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: reading input file "C:\Users\mroit\AppData\Local\Temp\build5890161014538168828.tmp\sketch_nov10b.cpp.hex"
avrdude: writing flash (1874 bytes):

Writing | avrdude: Send: U [55] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [00] . [80] F [46] . [0c] . [94] 5 [35] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] . [f1] . [02] . [0c] . [94] ] [5d] . [00] . [0c] . [94] t [74] . [00] . [0c] . [94] . [bb] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] . [0c] . [94] ] [5d] . [00] ! [21] . [02] . [11] $ [24] . [1f] . [be] . [cf] . [ef] . [d8] . [e0] . [de] . [bf] . [cd] . [bf] . [11] . [e0] . [a0] . [e0] . [b1] . [e0] . [ec] . [e3] . [f7] . [e0] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
###avrdude: Send: U [55] @ [40] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [00] . [80] F [46] . [02] . [c0] . [05] . [90] . [0d] . [92] . [a6] 1 [31] . [b1] . [07] . [d9] . [f7] . [11] . [e0] . [a6] . [e1] . [b1] . [e0] . [01] . [c0] . [1d] . [92] . [a6] < [3c] . [b1] . [07] . [e1] . [f7] . [10] . [e0] . [ca] . [e6] . [d0] . [e0] . [04] . [c0] " [22] . [97] . [fe] . [01] . [0e] . [94] . [98] . [03] . [c8] 6 [36] . [d1] . [07] . [c9] . [f7] . [0e] . [94] q [71] . [02] . [0c] . [94] . [9c] . [03] . [0c] . [94] . [00] . [00] . [08] . [95] . [0f] . [93] . [1f] . [93] . [0e] . [e9] . [11] . [e0] . [c8] . [01] @ [40] . [e0] Q [51] . [ee] ` [60] . [e0] p [70] . [e0] . [0e] . [94] . [f6] . [00] . [c8] . [01] ` [60] . [e0] q [71] . [e0] . [0e] . [94] . [de] . [02] . [1f] . [91] . [0f] . [91] . [08] . [95] . [08] . [95] . [1f] . [92] . [0f] . [92] . [0f] . [b6] . [0f] . [92] . [11] $ [24] / [2f] . [93] ? [3f] . [93] O [4f] . [93] . [8f] . [93] . [9f] . [93] . [ef] . [93] . [ff] . [93] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
###avrdude: Send: U [55] . [80] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [00] . [80] F [46] @ [40] . [91] . [c6] . [00] [20] . [91] V [56] . [01] 0 [30] . [91] W [57] . [01] / [2f] _ [5f] ? [3f] O [4f] / [2f] s [73] 0 [30] p [70] . [80] . [91] X [58] . [01] . [90] . [91] Y [59] . [01] ( [28] . [17] 9 [39] . [07] Y [59] . [f0] . [e0] . [91] V [56] . [01] . [f0] . [91] W [57] . [01] . [ea] ^ [5e] . [fe] O [4f] @ [40] . [83] 0 [30] . [93] W [57] . [01] [20] . [93] V [56] . [01] . [ff] . [91] . [ef] . [91] . [9f] . [91] . [8f] . [91] O [4f] . [91] ? [3f] . [91] / [2f] . [91] . [0f] . [90] . [0f] . [be] . [0f] . [90] . [1f] . [90] . [18] . [95] . [e0] . [91] . [aa] . [01] . [f0] . [91] . [ab] . [01] . [e0] \ [5c] . [ff] O [4f] . [81] . [91] . [91] . [91] [20] . [81] 1 [31] . [81] . [82] . [1b] . [93] . [0b] . [8f] s [73] . [90] p [70] . [89] + [2b] . [11] . [f0] . [0e] . [94] s [73] . [00] . [08] . [95] . [1f] . [92] . [0f] . [92] . [0f] . [b6] . [0f] . [92] . [11] $ [24] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
####avrdude: Send: U [55] . [c0] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [00] . [80] F [46] / [2f] . [93] ? [3f] . [93] . [8f] . [93] . [9f] . [93] . [ef] . [93] . [ff] . [93] [20] . [91] . [9a] . [01] 0 [30] . [91] . [9b] . [01] . [80] . [91] . [9c] . [01] . [90] . [91] . [9d] . [01] ( [28] . [17] 9 [39] . [07] 1 [31] . [f4] . [80] . [91] . [c1] . [00] . [8f] } [7d] . [80] . [93] . [c1] . [00] . [14] . [c0] . [e0] . [91] . [9c] . [01] . [f0] . [91] . [9d] . [01] . [e6] Z [5a] . [fe] O [4f] [20] . [81] . [80] . [91] . [9c] . [01] . [90] . [91] . [9d] . [01] . [01] . [96] . [8f] s [73] . [90] p [70] . [90] . [93] . [9d] . [01] . [80] . [93] . [9c] . [01] [20] . [93] . [c6] . [00] . [ff] . [91] . [ef] . [91] . [9f] . [91] . [8f] . [91] ? [3f] . [91] / [2f] . [91] . [0f] . [90] . [0f] . [be] . [0f] . [90] . [1f] . [90] . [18] . [95] . [af] . [92] . [bf] . [92] . [df] . [92] . [ef] . [92] . [ff] . [92] . [0f] . [93] . [1f] . [93] . [cf] . [93] . [df] . [93] . [ec] . [01] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
###avrdude: Send: U [55] . [00] . [01] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [00] . [80] F [46] z [7a] . [01] . [8b] . [01] . [dd] $ [24] @ [40] 0 [30] . [81] . [ee] X [58] . [07] . [80] . [e0] h [68] . [07] . [80] . [e0] x [78] . [07] . [11] . [f0] . [dd] $ [24] . [d3] . [94] . [91] . [e0] . [a9] . [2e] . [b1] , [2c] . [ec] . [89] . [fd] . [89] . [dd] [20] i [69] . [f0] . [c5] . [01] . [0e] . [8c] . [02] . [c0] . [88] . [0f] . [99] . [1f] . [0a] . [94] . [e2] . [f7] . [80] . [83] ` [60] . [e0] y [79] . [e0] . [8d] . [e3] . [90] . [e0] . [05] . [c0] . [10] . [82] ` [60] . [e8] t [74] . [e8] . [8e] . [e1] . [90] . [e0] . [a8] . [01] . [97] . [01] . [0e] . [94] t [74] . [03] ! [21] P [50] 0 [30] @ [40] @ [40] @ [40] P [50] @ [40] V [56] . [95] G [47] . [95] 7 [37] . [95] ' [27] . [95] . [80] . [e1] [20] 0 [30] 8 [38] . [07] [20] . [f0] . [dd] [20] . [11] . [f0] . [dd] $ [24] . [d6] . [cf] . [e8] . [89] . [f9] . [89] 0 [30] . [83] . [ea] . [89] . [fb] . [89] [20] . [83] [20]
avrdude: Recv: . [16]

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x16
avrdude: Send: V [56] @ [40] . [00] . [00] . [0c] [20]
avrdude: Recv: . [10]
avrdude: stk500_cmd(): programmer is out of sync
Any ideas?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Hardware Issue - Possible Water Damage

Post by rimai »

Does this happen everytime you try uploading??
Roberto.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

This is the error I received when I tried using RA Wizard

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Wifi Attachment
Simple Menu
Binary sketch size: 27,026 bytes (of a 30,720 byte maximum)
C:\Program Files\Reef Angel Controller222\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller222\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM5 -b57600 -D -Uflash:w:C:\Users\mroit\AppData\Local\Temp\build6813089937748313509.tmp\sketch_nov11a.cpp.hex:i

avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Program Files\Reef Angel Controller222\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM5
Using Programmer : stk500v1
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x0c
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Hardware Issue - Possible Water Damage

Post by rimai »

I can tell you got the wrong board...
Make sure you select Reef Angel Controller w/ optiboot
Roberto.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

I changed to w/ optiboot and I'm getting the same error, any ideas?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Hardware Issue - Possible Water Damage

Post by rimai »

Do you have any other port besides com5?
Roberto.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

Of course windows 7 is not displaying my Com Ports. I'll need to keep digging for port info.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

I decided to just give it a try on my mac, received the following error:

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Wifi Attachment
Simple Menu
Binary sketch size: 26,310 bytes (of a 32,256 byte maximum)
Rebooting Reef Angel Controller
avrdude: stk500_loadaddr(): (a) protocol error, expect=0x14, resp=0x8a

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x10
avrdude: stk500_cmd(): protocol error
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Hardware Issue - Possible Water Damage

Post by rimai »

Which port are you using on your mac?
Roberto.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

I have no clue how to look up port info on my mac. Let me see what I can find.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Hardware Issue - Possible Water Damage

Post by rimai »

Go to menu Tools->Serial Port
Which ones do you have and which one is selected?
Roberto.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

Alright, finally have time to mess with this again after the Holidays. I'm back on the PC. I have 200+ ports available. Is there a specific port I should try?

Right the unit has power and the status light is just blinking red.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Hardware Issue - Possible Water Damage

Post by rimai »

How did you end up with this many ports?
You were supposed to have just a few if not one.
Roberto.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

No clue, I have 256 available.
ports.gif
ports.gif (118.34 KiB) Viewed 6497 times
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

What next step for trouble shooting?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Hardware Issue - Possible Water Damage

Post by rimai »

Do you have RA or RA+?
Make sure to select the correct board under menu Tools->Board.
Also, please make sure that you have the correct com port selected under menu Tools->Serial Port.
Roberto.
M@!
Posts: 18
Joined: Sun Apr 08, 2012 9:25 pm

Re: Hardware Issue - Possible Water Damage

Post by M@! »

Regular RA. Well I got it working again. I loaded this sketch

void setup()
{
Serial.begin(57600);
Serial.println("Test");
}
void loop()
{
}

After I loaded that sketch I was able to load the preloaded code. Then the wizard code loaded. No clue what changed but thank for your time. I'm going to setup this up on my tank this week and hopefully no more issues.
Post Reply