Fingerprint sensor R305 interfacing

When connected to 5v supply through Arduino Uno it the sensor blinks led once and the program I used was adafruit enroll.
When connected to 3.3v pin the sensor's led is on but on the serial monitor it shows sensor couldn't be detected.
Please guide.