November 23, 2024, 07:57:05 AM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


fog machine

Started by gahh, April 16, 2009, 10:03:31 PM

Previous topic - Next topic

gahh

i have a question about the hook up of a fog machine.  i am using prop 1 and rc-4.  i want the fog machine to spray a certain amt when controller activated, but i am unsure how to wire this correctly.  I have a multi functional trigger for the fog machine.  It can be used manually or used as auto control.  I am using a plain 400 watt fog machine.  I have hacked into the trigger and soldered lamp wire onto the manual button part of the trigger and hooked the other end of the wire into the rc-4.  The fog machine will stay plugged into in order to keep it warmed up.  The plan is that when triggered, the manual button will activate and set off the fog machine. I have not tried this as I'm not sure if will even work or even worse burn up the controller.  Please let me know if this is correct. 

Thank you


reddragon

 You can do so if you use the prop 1 to control a relay have the coil leds to the 12v termanal say p4(+) and then the other on ground(-). Then solder two wires from the mannual push botton the the contacts of the relay. then you  need to knw how long the run time of the fog is and then the time it takes to reset (rehate) and thats it.

test it with a simpel code:
  fog pin5

main:
pause 7000     ' warm up time
high fog           ' start for
pause 400       ' spray time
low fog            ' stop fog
goto main

JonnyMac

The fogger remotes that I've seen are switching 120VAC so you should be able to connect the wires you soldered to the button directly to a relay terminal on the RC-4; when that RC-4 channel is active it will behave as if it is pressing the remote button.  So, it seems like you should be fine; just need a program that triggers the RC-4 (best to do it serially) and runs the fogger as you need for your prop.
Jon McPhalen
EFX-TEK Hollywood Office

livinlowe

The EZ timer attachment would be good for this.
Shawn
Scaring someone with a prop you built -- priceless!

EricTheMannn

The code attached is a passed code that i have used myself in the past with a fog machine(To test). Connect the fog machine to k1 on the RC-4(RC-4 should be connected to  pin7), use the wires that activate the fog manually. The timer option on you're remote is not necessary for this, the program can be modified to allow more or less fog depending on the pause you set before it turns off. I hope this help's you out gahh

-Eric


' =========================================================================
'
'   File......
'   Purpose...
'   Author.... Eric garthwait
'   E-mail.... ericthemannn@live.com
'   Started... 4/24/09
'   Updated...
'
'   {$STAMP BS1}
'   {$PBASIC 1.0}
'
' =========================================================================


' -----[ Program Description ]---------------------------------------------
'Program to be used with prop-1 and rc-4

' -----[ Revision History ]------------------------------------------------


' -----[ I/O Definitions ]-------------------------------------------------

SYMBOL  Sio             = 7                          ' SETUP = out; no ULN


' -----[ Constants ]-------------------------------------------------------

SYMBOL  IsOn            = 1                      ' for active-high in/out
SYMBOL  IsOff           = 0

SYMBOL  Baud            = OT2400


' -----[ Variables ]-------------------------------------------------------

SYMBOL  relays          = B0
SYMBOL   Fog            = BIT0   'k1 on the rc-4



' -----[ Initialization ]--------------------------------------------------

Reset:
  PINS = %00000000                             ' clear all outputs
  DIRS = %00000000                             ' no direct outputs (yet)

  relays = IsOff
  SEROUT Sio, Baud, ("!!!!!RC4", %00, "X")     ' clear RC-4 outputs

 


' -----[ Program Code ]----------------------------------------------------

Main:
 
  Fog = IsOn                                    ' Fog on
  GOSUB Update_RC4
  Pause 5000                                    'Fog will stay on for 5 seconds
  Fog = IsOff
   

end


' -----[ Subroutines ]-----------------------------------------------------

Update_RC4:
  SEROUT Sio, Baud, ("!RC4", %00, "S", relays)
  RETURN

' -------------------------------------------------------------------------


' -------------------------------------------------------------------------


' -------------------------------------------------------------------------


' -------------------------------------------------------------------------


' -------------------------------------------------------------------------


' -----[ User Data ]-------------------------------------------------------
WooHoo