I understand how to connect my sensors to my arduino and have them feeding in info nicely, so far so good. However I do not understand how to interface my LEDs with arduino.
In order to power my LEDs I take a plug from the main and the positive and negative go into the driver and then out to the positive and negative to the LED tape. (this is without arduino)
The information I am missing is how the circuit above gets wired up my relay and arduino to be able to control the LED tape?
Going on what you have written big fella it would seem as if you have not wired the LED strips into the relay back that you have bought. you have wired them directly onto the LED driver. Is this correct??
If so then when you turn the power on the LEDs should light up straight away, not controlled by the arduino.
If you wish to control them with the arduino you have to wire the LED strips through the relay bank you bought and control the relays with the arduino.
I guess the real question is.... What exactly are you trying to achieve? Are the LEDs going to just turn on when a sensor is triggered?? Are they going to get brighter as someone gets closer??
Send some more info our way and im sure someone here will be able to point you in the right direction.
This relay board needs a Vcc, Gnd, and then 8 Digital connections.
The arduinos digital pins, when turned HIGH, they will output 5v on the pin. So say you connect pin 0 on the arduino to IN1 on the relay board, the relay will switch when pin 0 is turned HIGH and and activate the associated output that is connected to the relay board on the other side.
A relay is kinda like a light switch that can be thrown using programming and basic electronics.
Using this relay board, you won't be able to do any animations other than just turning things on and off at certain times.
I didn't realise that by using a relay I can only turn things on and off, this is not what I want to do. I want to be able to fade in my LEDs as a person moves closer to my sculpture.
So my new questions would be these:
Do you know how I wire up my LED tape to my arduino to do this?
I know that somehow I need my LED tape to be connected to an arduino digital pin and the my LED tape also needs to be connected to 12v and ground (from external power supply driven by a driver) but how do I make my circuit?
Do I also need the drivers to power my LEDs? If so how does this fit into the circuit?
Do I need something to protect my arduino?
If you would be able to help me further I would greatly appreciate it,
Yes, if you aren't experienced with electronics, it would be better to just ask the questions first before buying. Its not as straight-forward as some people think.
Do you know how I wire up my LED tape to my arduino to do this?
I know that somehow I need my LED tape to be connected to an arduino digital pin and the my LED tape also needs to be connected to 12v and ground (from external power supply driven by a driver) but how do I make my circuit?
Do I also need the drivers to power my LEDs? If so how does this fit into the circuit?
Do I need something to protect my arduino?
You are asking questions without giving necessary information to be able to help you. Don't worry, its natural. So here is what I need to know first:
How many connections are there to the LED tape and what are their labels? (I'm guessing a 12v led1, led2, led3?)
Simple NPN transistors connected like this and driven from a PWM pin will let you fade your strips.
LED strips typically have the current limit resistor built in.
N-channel MOSFET can be used also.