I am new to electrical engineering, just an enthusiast. In our school, we are having introductory classes in electrical engineering using Arduino. Our teacher taught us about the use of the relay module: the uses of each pin and basic information about how an electromagnet is used for controlling the inner mechanism of relays.
The problem is that I do not have access to the required hardware so I am using Tinkercad for simulation, which instead of having a relay module, has just a DPDT Relay: LU-5-R. I checked its datasheet to find the names of pins (Vcc, Gnd, IN, NO, COM, NC) as they are not mentioned on the Tinkercad site, but there is no direct mention of such names for the pins in the datasheet as well.
Here is the datasheet: https://datasheet.octopart.com/LU-5-R-Rayex-datasheet-10584258.pdf. I looked at some other project made by someone else on the same site and thought this to be the correct labeling for the pins:
The code does not do anything fancy, it just switches between HIGH and LOW voltages given to IN pin (if my connection is correct for IN pin). The code works correctly for the bulb connected to NO pin, as it switches between glowing and not glowing. But, if the pins I chose were accurate, then the other bulb should have switched between glowing and not glowing too, but instead it glows continuously. I suppose this is due to my incorrect labeling of the pins.
So, my questions are:
- How can one find the names of the pins from the provided datasheet?
- What is the correct labeling for the pins?