0

Ordered Universal IR Receiver and I got HW-477 module with VS1838B IR Sensor.

Good thing is datasheet for VS1838B is available but not for HW-477.

VS1838B pins as: Ref
Signal | GND | VCC

while HW-477 says:
(- minus) | R | G

Can't understand which one to follow and R is for Receiver? G is for GND and what is - (minus sign) for?

So can anyone help me with ( - R G ) of HW-477 ?

Images:
HW-477 module VS1838B IR Sensor.

These may help?!
this & this one.

Updates:

I looked to trace the Foil (PCB Board Lines) but it didn't worked because the circuit as whole is coated.

Using Connectivity (Continuity (diode test)) option of Digital Multimeter, found these to play beep:

VS1838B HW-477
Signal G & (minus pin of HW-477)
GND (- minus pin of HW-477)
VCC R

But a person in this video saying

- is of course GND

There is a huge confusion which can only be cleared if I got a reply from seniors. I have two of this and can try one (even to burn) to better understand what is going on.

(Tried contacting the vendor about datasheet but they are not responding)

asked Nov 2, 2021 at 6:14
2
  • The only problem I am having is: If I press one button one single time it gives, let suppose this value: Code: 1086138583 but holding it for a second it gives another value of Code: 4294967295 which I don't know is a feature or fault. lol Commented Nov 2, 2021 at 10:51
  • 1
    That's how IR works. The first code is "You pressed the button" and the second is "You're still pressing the button". Not all buttons do it, but things like volume control do. Commented Nov 2, 2021 at 10:54

1 Answer 1

2

The problem here is that HW-477 refers not to the module as a whole but a generic PCB that is re-used (in some starter kits for sure) for many different sensors. I think the idea is that whatever device is attached to the board there's a position where the output is always the same (- = GND, R = VCC, G = Signal). On some variants of the board you can see them labelled as - + S.

fWd82
1351 gold badge2 silver badges11 bronze badges
answered Nov 2, 2021 at 15:52
2
  • Thank You Sir! It worked. Just a note IRremote library from Arduino by Armin Joachimsmeyer latest version 3.4.0 didn't worked with legacy code found all over web, so I had to install 2.6.0 version and everything is fine now. Just a note so someone will get benefited. Commented Nov 2, 2021 at 18:10
  • Many IR receiver boards have the pins labeled G, R and Y. It seems this naming convention and the pin order have been standardized in some manufacturer's breakout boards, irrespective of the actual components and functioning of the board. G=Gnd, R=+Vcc and Y=Data pin. Note that the raw IR LED 1838 has the Gnd pin in the middle. The breakout board swaps the order of the pins, leading to the confusion. It is best to ignore all other symbols like + and - on the silk screen and go by the GRY naming convention. Commented Jun 10 at 13:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.