Hello Forum,
I making a Maleficent prop for Halloween this year. Somewhat new to Arduino but I have taken some codes from other people to edited it to work. So I trying to learn. I am having a hard time with this code and how to set it up. I found some code for the lights. Not sure how to set up it for those floodlights. Can one board do all this? Here are some videos from my Instagram to give you a somewhat of a picture of what I'm talking about.
Video of RGB light with spell
https://www.instagram.com/p/BnnCozKFItT/?utm_source=ig_web_button_share_sheet
Video of the spinning stick with light
https://www.instagram.com/p/BmguW-0lJMx/?taken-by=halloweendictionary
Blueprints of the plan
https://www.instagram.com/p/Bmgw-VRFwrR/?taken-by=halloweendictionary
This is just idea on a smaller scale.
I wanted to use 4 RGB LED flood lights and one RGB LED light in here Stick. They run on IR remote to change the colors.
But I want to have all 5 of them turn on when someone sets up a PIR or breaker beam.
Then the Maleficent prop would use a DC motor to lift the stick in the air.
Then a 2nd motor would turn on to spin the stick.
The RGB LED in her stick would change as all the other lights.
When she gets to her spell, Then two fog machines would go on to shot fog into the yard.
Maybe a projector to do the storm above her.
Then when she down with her spell. Motor 2 would stop spinning.
Then the 1 motor that lifted her stick would go back down.
//Using an RBG LED (Common Cathode)
//pin variables
int Pin_LED_Red = 3;
int Pin_LED_Green = 5;
int Pin_LED_Blue = 6;
void setup() {
//set the mode of the pins
pinMode(Pin_LED_Blue, OUTPUT);
pinMode(Pin_LED_Red, OUTPUT);
pinMode(Pin_LED_Green, OUTPUT);
}//close setup
void loop() {
//turn on and off led
digitalWrite(Pin_LED_Blue, HIGH);
delay(7900);
digitalWrite(Pin_LED_Blue, LOW);
//turn on and off led
digitalWrite(Pin_LED_Red, HIGH);
delay(8500);
digitalWrite(Pin_LED_Red, LOW);
//turn on and off led
digitalWrite(Pin_LED_Green, HIGH);
delay(20000);
digitalWrite(Pin_LED_Green, LOW);
}//close loop