R308 Fingerprint Sensor

Hi
I bought R308 and I don’t know how to connect it to Arduino (Mega).

This sensor has 6 wires:
1 = Red
2 = Black
3 = Yellow
4 = White
5 = Green
6 = Blue

Please help me if you know about it.

By colours it should go like this
Red - 3.3V
Black - ground

about TX and RX I am not sure, but mine goes like this
Yellow is TX
White is RX
I connect Yellow to pin #2 and white to pin #3.

You have to do more research before buying.