Go Down

Topic: Arduino relay shield tutorial (Read 316 times) previous topic - next topic

thewoz

hi,

I'm not able to find a tutorial about this:

https://store.arduino.cc/4-relays-shield


in particular how to wiring for example with a lamp.

some one can help me

spycatcher2k

The fact you ask how to wire a lamp to a relay, I would say - put down the tools and step away. Working with mains electricity can kill you if you do not know what you are doing.

What specifically are you having issues with? The code, The wiring? Something else?
Mrs Drew
-=-
UK Based PCB Manufacturing - PM for details
I will design & code for you, but I will also charge you (PM me)
Use Google or search this site BEFORE asking!

thewoz

Hi spycatcher2k,

thanks for the answer.

My problem is that I'm not able to find the pinout of the shield.
I already work with different relay board with Arduino but not this particular one

spycatcher2k

Not sure what you mean by pinout? If you mean what pins control the relays, that information is on the link you posted!

Quote
Input and Output

The relays are controlled by the following Arduino board pins: Relay 1 = Arduino pin 4 Relay 2 = Arduino pin 7 Relay 3 = Arduino pin 8 Relay 4 = Arduino pin 12 The shield features several TinkerKit input/output and communication interfaces. Connecting TinkerKit modules can simplify the creation of a project or a prototype. The on-board connectors are
For the high voltage control - C-NC-NO are Common, Noremally closed and Normally open.

Mrs Drew
-=-
UK Based PCB Manufacturing - PM for details
I will design & code for you, but I will also charge you (PM me)
Use Google or search this site BEFORE asking!

thewoz

For pinout I mean the meaning of all the pin on the shield.

I know that the pins that control the relays are written in the links.

spycatcher2k

Mrs Drew
-=-
UK Based PCB Manufacturing - PM for details
I will design & code for you, but I will also charge you (PM me)
Use Google or search this site BEFORE asking!

thewoz

Man not the pin of Arduino but the other pin of the shield!!
There are a lot of pins or connectors on the shield

spycatcher2k

#7
Oct 26, 2019, 05:04 pm Last Edit: Oct 26, 2019, 05:05 pm by spycatcher2k
I'm not a MAN! Idiot.

Please read the page that you linked to, download the image of the shield, mark the pins you are talking about.

Also, download the PDF Schematic that shows you ALL the connections.
Mrs Drew
-=-
UK Based PCB Manufacturing - PM for details
I will design & code for you, but I will also charge you (PM me)
Use Google or search this site BEFORE asking!

spycatcher2k

Quote
2 TinkerKit Inputs: IN2 and IN3 (in white), these connectors are routed to the Arduino A2 and A3 analog input pins.
    2 TinkerKit Outputs: OUT5 and OUT6 (in orange), these connectors are routed to the Arduino PWM outputs on pins 5 and 6.
    2 TinkerKit TWI: these connectors (4-pin in white) are routed on the Arduino TWI interface. Both connect to the same TWI interface to allow you to create a chain of TWI devices.
from the page YOU linked to! Learn to do research BEFORE asking questions, I've wasted enough time on this now.
Mrs Drew
-=-
UK Based PCB Manufacturing - PM for details
I will design & code for you, but I will also charge you (PM me)
Use Google or search this site BEFORE asking!

thewoz

spycatcher2k sorry about the man!  :o

I research before asking but in that links there are not all the pins
like the blue connector on the two sides of the board.

please not be angry with me!

I ask only if the is a tutorial for this shield.

peace


sterretje

Download the schematic; it's under the documentation tab.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

Go Up