Why im getting ultrasonic values from 990 to 1010

Post your NXJ projects, project ideas, etc here!

Moderators: 99jonathan, roger, imaqine

Why im getting ultrasonic values from 990 to 1010

Postby NNext » Wed Mar 19, 2014 2:35 pm

Hello!
Im trying to read ultrasonic values from lejos NXJ control panel and when object is close im getting value about 990, but when object is far value is about 1010. Why does not receive value from 0 to 1000? Im reading the value of raw mode. Thank for your help!

Screens:
Image
Image
NNext
New User
 
Posts: 4
Joined: Mon Feb 10, 2014 11:45 pm

Re: Why im getting ultrasonic values from 990 to 1010

Postby skoehler » Wed Mar 19, 2014 3:23 pm

I'm pretty sure that RAW is NOT the correct mode. I'm not sure whether the NXJ Control Center supports the UltraSonic sensor.
skoehler
leJOS Team Member
 
Posts: 1418
Joined: Thu Oct 30, 2008 4:54 pm

Re: Why im getting ultrasonic values from 990 to 1010

Postby NNext » Fri Mar 21, 2014 11:29 pm

So how can I read the real value? Most care about sending them via bluetooth and received on another device. Regards
NNext
New User
 
Posts: 4
Joined: Mon Feb 10, 2014 11:45 pm


Return to NXJ Projects

Who is online

Users browsing this forum: No registered users and 2 guests

more stuff