Grove - Ultrasonic Ranger

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, jeremy882, crail.lyu969

Post Reply
geraldotfilho
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Jan 26, 2012 9:10 am

Grove - Ultrasonic Ranger

Post by geraldotfilho » Thu Jan 26, 2012 9:18 am

I've recently purchased a Grove - Ultrasonic Ranger from Seeedstudio. I've tried to use it with MBED or Microchip PIC microcontroller but could not get a response from the sensor.

I'm sending a 10 us logic 1 (5V) pulse through the signal line and then setting the pin as input and waiting for the response pulse to measure its duration. I'm getting nothing...

With MBED i tried to use 3.3V, but with Microchip PIC i'm using 5V. Am i doing something wrong?
Do the signal line need some pull up or pull down? I'm simply connecting it (no pull) to the microcontroller pin.

Grove wiki is really missing details. And i must say i was really desappointed when i found out it isn't open hardware.

Thanks in advance for your answer!

yuriq
Elementary-3
Elementary-3
Posts: 383
Joined: Wed Dec 07, 2011 5:33 pm

Re: Grove - Ultrasonic Ranger

Post by yuriq » Mon Jan 30, 2012 5:05 pm

Dear customer,

http://www.seeedstudio.com/wiki/Ultra_S ... rogramming
This WIKI page is for our ultrasonic sensor how it work and the code for Arduino.

As you know Arduino is base on AVR chip, so if you use PIC or ARM then you should change the code by yourself.

Anyway, if you use MBED it is work at 3.3V may be not compatible with 5V sensor to calculate the value.

PIC also should code by yourself.

Hope that can help you.

Best regards,

Yuri

Post Reply