RF Expansion Module

Expansion modules and attachments
porksmash
Posts: 2
Joined: Wed Apr 04, 2012 8:27 pm

Re: RF Expansion Module

Post by porksmash »

No, I don't have it yet. I'm trying to see if it has the features I would like. To be honest I won't be integrating it with a ReefAngel controller, it'll be my own Arduino controller. I may just interface my Arduino directly with the wireless module now that I look at it, though. Thanks for the info!
User avatar
JNieuwenhuizen
Posts: 96
Joined: Thu Feb 16, 2012 12:39 am
Location: South Africa

Re: RF Expansion Module

Post by JNieuwenhuizen »

Roberto, is it still only custom mode that can be used for anti-sync? My MP60s are on either end of my tank
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

I use anti-sync on all the time.
Just press the mode button on your vortech driver.
That's a feature of the driver and not the controller.
Roberto.
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

ok so I am finally taking a stab at setting up rf. rf is a feature in ragen and I set values to 855 856 857 in the internal memory. I then go into arduino and open vortechsetup and load it and all I have is solid green led on module. p.s. I jumped the two jumpers as stated in the instructions. basically I cant get the rf to blink
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

Did you have the RF module connected before uploading the code?
If not, you will need to reboot the controller and the RF should start blinking.
Roberto.
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

Plugged in and solid green. Prior to jumping the 2 leads it blinked purple. After leads jumped solid green. Uploaded code successful and stayed solid green.
P.s. also power cycled multiple times in attempt to do it
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

Do you have "Assigning Slaves" on the LCD screen?
Roberto.
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

I'm @work at the moment but it did not say that last night
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

at home I try again

no pump assigning slave mode
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

Any ideas?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

What do you get on the LCD screen when you load the VortechSetup code?
Roberto.
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

Nothing but normal display
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

Are you sure you are uploading the correct code and it is being sucessfully uploaded?
File->Sketchbook->Example Codes->VortechSetup
Roberto.
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

verbatim
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

Please post the results of your upload.
I think the code is not being uploaded if you are getting the normal display.
Roberto.
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

Code: Select all

Binary sketch size: 21274 bytes (of a 32256 byte maximum)
C:\Program Files\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM8 -b115200 -D -Uflash:w:C:\Users\ADMINI~1\AppData\Local\Temp\build2240262763879693884.tmp\VortechSetup.cpp.hex:i 

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         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 Controller\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM8
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: 
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.

I saw it said com8 so I switched to com8
now

Code: Select all

Binary sketch size: 21274 bytes (of a 32256 byte maximum)
C:\Program Files\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM8 -b115200 -D -Uflash:w:C:\Users\ADMINI~1\AppData\Local\Temp\build2240262763879693884.tmp\VortechSetup.cpp.hex:i 

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         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 Controller\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM8
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: 
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.

reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

kk here it is on com 5 and restarting comp and rebooting ra

Code: Select all

Binary sketch size: 21274 bytes (of a 32256 byte maximum)
C:\Program Files\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM5 -b115200 -D -Uflash:w:C:\Users\ADMINI~1\AppData\Local\Temp\build2623433807375842426.tmp\VortechSetup.cpp.hex:i 

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         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 Controller\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM5
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: 
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.

reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

Double check... two jumpers only right. Not three. ?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

All three need to be there.
One was already placed, which is for the reset and the other 2 are for the expansion.
Roberto.
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

ok so all three ports in uploaded seemed to really take long time for upload and then nothing blinking again

Code: Select all

Binary sketch size: 21274 bytes (of a 32256 byte maximum)
C:\Program Files\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM5 -b115200 -D -Uflash:w:C:\Users\ADMINI~1\AppData\Local\Temp\build8703106588888654215.tmp\VortechSetup.cpp.hex:i 

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         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 Controller\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM5
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: 
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.

reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

Any ideas?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

That is still not uploading.
You see a whole bunch of stuff on the status area and the red led status blinks when it does upload.
Roberto.
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

I think its working. Switched com ports again
reefcycle
Posts: 118
Joined: Wed Apr 04, 2012 6:49 pm
Location: Philadelphia

Re: RF Expansion Module

Post by reefcycle »

Ok so rf expansion code uploaded slaves assigned and now I am reading reading reading and having hard time comprehending how the actual modes change via mobile android app. so confused lol I will get this I swear!@ rf mode speed and duration speed I read is a number 0-255 but what value for mode and duration
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

Open the app and hit the menu button.
Choose Memory
Choose RF Mode
Enter the number of the mode you want:
#define Constant 0
#define Random1 1 // Lagoonal
#define Random2 2 // Reef Crest
#define ShortWave 3
#define LongWave 4
#define Smart_NTM 5 // Nutrient Transport Mode
#define Smart_TSM 6 // Tidal Swell Mode
Roberto.
Appleseed
Posts: 96
Joined: Sat Jun 30, 2012 9:21 am

Re: RF Expansion Module

Post by Appleseed »

Hi,
Im new to this so excuse my noobness...

Anyhow i have mine set as follows;

ReefAngel.RF.UseMemory = false;
ReefAngel.RF.SetMode(Random2,50,15);

It seems that only the sync pumps follows the setting, the pumps in anti-sync mode seem to be running at a constant speed, also what does the duration function for random2 do?

cheers.
Andy
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

The duration is not used for that mode.
I was never able to get anti-sync on my pumps on those modes.
I guess there is some issue with drivers being of different versions or something else.
Roberto.
Appleseed
Posts: 96
Joined: Sat Jun 30, 2012 9:21 am

Re: RF Expansion Module

Post by Appleseed »

thanks Roberto.
Image
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: RF Expansion Module

Post by alexwbush »

I see the code to control vortechs during a cloud/storm mode. Am I missing the code to add clouds to the radion?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF Expansion Module

Post by rimai »

http://forum.reefangel.com/viewtopic.php?p=13002#p13002
Try this and let me know how it works out.
Roberto.
Post Reply