Pages: [1]   Go Down
Author Topic: Can i use a Sharp gp2d12 39 sensor  (Read 497 times)
0 Members and 1 Guest are viewing this topic.
Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Guys

Can i use a Sharp gp2d12 39 sensor with my Arduino uno

Thanks
Logged

0
Online Online
Shannon Member
****
Karma: 220
Posts: 12690
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, it looks like it - takes 0V and 5V supplies and an analog output.  You'll need to do a little arithmetic on the result of analogRead() to get a distance value. 

I think the only downside is it takes a fair amount of power (upto 50mA) - if you are using several of them this could be an issue.
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: