boylesg
Advanced Member level 4
- Joined
- Jul 15, 2012
- Messages
- 1,023
- Helped
- 5
- Reputation
- 10
- Reaction score
- 6
- Trophy points
- 1,318
- Location
- Epping, Victoria, Australia
- Activity points
- 11,697
I have powered this board and have a LED connected to one of the relays.
My LED cathode is connected to either of the outside screw connectors of one of the relays.
The middle screw connector is connected to GND on my mega.
The anode of my LED is connected to 5V on my mega.
But it does not seem to matter what logic level I write to the in pin on the relay board that corresponds to the relay with the LED.
If I connect the cathode of of LED to the left most screw connector (in the picture below) of any relay then the LED is always on.
If I connect the cathode of my LED to the right most screw connector of any relay then the LED is always off.
What am I missing? Are you meant to turn them on/off with PWM rather than a steady logic level?
https://i.ebayimg.com/00/s/OTM1WDkzNQ==/z/Na0AAOSwPcVVxaLu/$_12.JPG
My LED cathode is connected to either of the outside screw connectors of one of the relays.
The middle screw connector is connected to GND on my mega.
The anode of my LED is connected to 5V on my mega.
But it does not seem to matter what logic level I write to the in pin on the relay board that corresponds to the relay with the LED.
If I connect the cathode of of LED to the left most screw connector (in the picture below) of any relay then the LED is always on.
If I connect the cathode of my LED to the right most screw connector of any relay then the LED is always off.
What am I missing? Are you meant to turn them on/off with PWM rather than a steady logic level?
https://i.ebayimg.com/00/s/OTM1WDkzNQ==/z/Na0AAOSwPcVVxaLu/$_12.JPG