Hi.
I'm a third year model maker about to hand in my two final major projects, one of which has a lot of coding that I admittedly don't have a huge amount of experience with. I am crating an alien styled containment crate that has a blue pulsing light and when the motion sensor is triggered changes the lighting red and causes two servos to be triggered.
I have managed to get the motion sensor working with 14 LED strip lighting, but the moment I added an additional 12 it seemed to break the coding. The are soldered together with enough space for them to fit where needed.
The code I'm using is a mixture I found from these two websites that I was able to string together.
-PIR Sensor Arduino Alarm | Make:
-https://www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/#fadeinout_color
I am using an Arduino UNO board, adafruit RGB LEDs and the mini PIR HC-SR505 Infrared Motion Sensor
The other issue I am having is I cannot get the same motion sensor coding work work with this coding I found for the motion. I like the way this coding is laid out as it allows me easy control of the motion.
I am using another Arduino UNO board, two Futaba S3003 and another mini PIR HC-SR505 Infrared Motion Sensor or the same one if I can splice the cables correctly as I need the lighting and servos to go off together.
I have spent weeks in between making the crate and the other sculpting project I have am an now running out of time. Any help will be beyond appreciated and any help will be credited in my research document.
A huge thank you in advance.
Here are a couple of links to videos I have taken of them working. (lighting without the additional 12 LEDs which seem to brake it and the two servos working without the motion sensor)
Lights - TD Model Making - LED code tester. - YouTube
Servos - TD Model Making - Servo weight test. - YouTube
Motion_sencor_blue_to_red_led_code.ino (2.51 KB)
Motion_sensor_servo_1.ino (1006 Bytes)



