SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By itolond
Hi Forum,

have purchased this el-cheapo fog machine for halloween - it comes with a remote RF activator which when pressed fires out the fog...

the challenge is i can't seem to find a timer for this (as i want to leave it unattended and release fog for let say 3 seconds every 30 seconds, or something like that)

is there any off the shelf module which may work- as this gets used once a year - i was thinking if a simple module which shorts the press switch on the remote (like pressing) as a work around

any ideas- I don't really want to invest a huge amount into this so a good enough for the night works

Screen Shot 2018-09-25 at 7.40.41 PM.png
You do not have the required permissions to view the files attached to this post.
By jremington
An Arduino with a relay module would work. Modify the blinking LED example.
By itolond
based on your reply Arduino board with this code your advised.
power supply for the Arduino itself
Relay ? (not sure how much voltage Arduino supports- but i guessing for the fog machine it would be a NO -closed operation with low voltage?
if low voltage i would not need a relay to handle power - correct?
By lyndon
The Arduino can't turn on much more than an LED or two per output. You will need a relay/relay board (yes, normally open)for anything over 20mA or so.
By itolond
gotcha, did a check - the pins are 4VDC so relay is needed?
By itolond
ok - i did a check on the fog machine - the max draw is 24.56 mA - how would i setup to Arduino Uno to accept a pin in and then pin out (et just connect them )?
By itolond
A relay just arrived from a shop . - its 240ac 2A - this is not going to work - most of what i see is AC- are there any VDC low A relays?
User avatar
By DanV
What is the part number of your relay?
The specs will likely include the coil voltage and the contact rating.
240ac 2A is certainly not the coil, instead it is the contact rating.
By itolond
this is what is looks like- local shop my bad i did say 5v single relay
User avatar
By DanV
Well, it's a solid state relay which has a particular characteristic - in this case likely a Triac device to switch AC loads
(switching an AC voltages between 100 and 240V at up to a 2A current). Not going to work on a DC signal switching situation.
I don't known what you're switching on the fog machine.
By itolond
The fog machine is
4VDC 25mA

But it appears I need to short 2 pins to get it to work