GPIO

latchup discussion

RE: RELAY MODULE KY-019 5V

Postby tlfong01 » 2018-Jun-13 Wed 3:44 pm

I am testing a module with opto isolation and High/Low level selectable. I found that for one sample I tested. the required input voltage levels are summarized below.

If Low Level Trigger is selected
Vin to turn on relay = 3.2V
Vin to turn off relay = 3.5V

Conclusion:
Arduino
No problem
Rpi
Problem – always on, cannot turn off relay, because Rpi’s High signal is not high enough
Solution – use a logical level converter (BJT NPN, ULN2003/ULN2803 etc) to convert Rpi’s High level signal from 3.0V to above 4V. Get around: set GPIO to input mode to turn off relay.

If High Level Trigger is selected
Vin to turn on relay = 1.8V
Vin to turn off relay = 1.5V

Conclusion:
Arduino
No problem
Rpi
No problem

Schematic
I used a multimeter to check open/shorts to figure out the schematic as below:

ATTACHMENTS
FdenCZG[1].jpg
FdenCZG[1].jpg (127.78 KiB) Viewed 2738 times

Categories: GPIO, Raspberry Pi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s