Ultrasonic range sensor not working correctly with Nano

Almost sure this is not a programming question, but anyway.

Also noted that it can't read ranges above 2m with Nano, while with duemilanove it works correctly.

Thanks for any help,