Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

interfacing of atmega 16 with SHARP 2D120X F17 range finder

Status
Not open for further replies.

vishu489

Advanced Member level 4
Full Member level 1
Joined
Aug 28, 2011
Messages
116
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,120
hi friends,
i'm trying to interface sharp 2d120x f17 ( ir range finder) with atmega 16. for interfacing i'm using internal adc in 8 bit resolution mode & i'm getting reading as follow

A/D VALUE DISTANCE
157-160 3cm
137-140 4 cm
117-120 5cm
104-106 6cm
090-092 7cm
079-080 8cm

and so on

but i'm not having formula to convert these values into distance
please help me
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top