Page 4 of 6
Re: RF Expansion Module
Posted: Mon Apr 09, 2012 7:44 pm
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!
Re: RF Expansion Module
Posted: Thu Apr 12, 2012 12:57 pm
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
Re: RF Expansion Module
Posted: Thu Apr 12, 2012 1:15 pm
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.
Re: RF Expansion Module
Posted: Mon Apr 23, 2012 8:16 pm
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
Re: RF Expansion Module
Posted: Mon Apr 23, 2012 9:47 pm
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.
Re: RF Expansion Module
Posted: Tue Apr 24, 2012 6:18 am
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
Re: RF Expansion Module
Posted: Tue Apr 24, 2012 7:22 am
by rimai
Do you have "Assigning Slaves" on the LCD screen?
Re: RF Expansion Module
Posted: Tue Apr 24, 2012 9:16 am
by reefcycle
I'm @work at the moment but it did not say that last night
Re: RF Expansion Module
Posted: Tue Apr 24, 2012 5:24 pm
by reefcycle
at home I try again
no pump assigning slave mode
Re: RF Expansion Module
Posted: Wed Apr 25, 2012 4:29 pm
by reefcycle
Any ideas?
Re: RF Expansion Module
Posted: Wed Apr 25, 2012 4:42 pm
by rimai
What do you get on the LCD screen when you load the VortechSetup code?
Re: RF Expansion Module
Posted: Wed Apr 25, 2012 4:44 pm
by reefcycle
Nothing but normal display
Re: RF Expansion Module
Posted: Wed Apr 25, 2012 4:46 pm
by rimai
Are you sure you are uploading the correct code and it is being sucessfully uploaded?
File->Sketchbook->Example Codes->VortechSetup
Re: RF Expansion Module
Posted: Wed Apr 25, 2012 4:55 pm
by reefcycle
verbatim
Re: RF Expansion Module
Posted: Wed Apr 25, 2012 4:59 pm
by rimai
Please post the results of your upload.
I think the code is not being uploaded if you are getting the normal display.
Re: RF Expansion Module
Posted: Wed Apr 25, 2012 5:08 pm
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.
Re: RF Expansion Module
Posted: Wed Apr 25, 2012 5:15 pm
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.
Re: RF Expansion Module
Posted: Thu Apr 26, 2012 3:10 pm
by reefcycle
Double check... two jumpers only right. Not three. ?
Re: RF Expansion Module
Posted: Thu Apr 26, 2012 3:26 pm
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.
Re: RF Expansion Module
Posted: Thu Apr 26, 2012 4:12 pm
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.
Re: RF Expansion Module
Posted: Thu Apr 26, 2012 4:42 pm
by reefcycle
Any ideas?
Re: RF Expansion Module
Posted: Thu Apr 26, 2012 4:46 pm
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.
Re: RF Expansion Module
Posted: Thu Apr 26, 2012 5:17 pm
by reefcycle
I think its working. Switched com ports again
Re: RF Expansion Module
Posted: Thu Apr 26, 2012 6:38 pm
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
Re: RF Expansion Module
Posted: Thu Apr 26, 2012 7:56 pm
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
Re: RF Expansion Module
Posted: Sun Jul 01, 2012 8:31 am
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
Re: RF Expansion Module
Posted: Sun Jul 01, 2012 8:59 am
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.
Re: RF Expansion Module
Posted: Sun Jul 01, 2012 10:02 am
by Appleseed
thanks Roberto.
Re: RF Expansion Module
Posted: Mon Nov 12, 2012 10:48 am
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?
Re: RF Expansion Module
Posted: Mon Nov 12, 2012 4:34 pm
by rimai