Search the web
Sign In
New User? Sign Up
Sumo11users · Sumo11 Robot Controller
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 476 - 505 of 536   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#505 From: "bxa1322003" <bxa1322003@...>
Date: Fri Nov 17, 2006 5:06 pm
Subject: Processes
bxa1322003
Offline Offline
Send Email Send Email
 
Will a process run independent of the main once it is called from the
main?

What I want to do is to check for a condition 'continuously' and
basically, whenever this condition is true, the `main' should
terminate. But I don't want it the case where I call on this process or
function at the beginning of the loop or at the end or any other
pattern as such.

Is there a way of coding so that the process is continuously running
with the others tasks running simultaneously in the background or vice
versa?

Any help is greatly appreciated!

#504 From: Jim Peterson <jimcp@...>
Date: Thu Nov 2, 2006 5:05 am
Subject: Re: How do Processes work
jcpjimcp
Offline Offline
Send Email Send Email
 
Using processes is one way to solve this kind of problem. essentially, you have a system where you want to perform or continue to perform some action while checking for other possibly more important events that may change or modify the action. One approach is to use a form of decision logic called "subsumptive logic" (you should be able to find a number of references via an internet search for that phrase). In this approach you can think of your robots system of sensors as separate "observers" each contributes a "vote" toward the robots current state.The states are pre-rated in order of importance and the most important is acted upon until resolved and then the next in importance takes over.

Whether you use processes, or a sequence of calls to the respective routines is really not relevant. What is important is that the current and favored states are visible from all of the necessary parts of the logic.

The IC tutorial has some good instructions on using the process functions.

As far as changing the control values while the process is running, this will involve using global variables in IC (and in most standard C implementations). Object oriented languages (like C++ and Java for instance) will probably use class variables and "setter" functions for this type of data. 

Hope that helps,
Jim

At 04:19 PM 11/1/2006, you wrote:

I have a implementation of a controller on the Sumo11 that control the
speed of the car. But it takes about 5 seconds or so to bring the car
to the desired speed.

Can I run other functions or parts of the code while the controller is
running to bring the speed of the car to the desired one?

Also, is there a way of updating a new "desired" speed before the
sampling time 5 seconds is over. That is, let say, the initial command
or the desired speed is 4 ft/sec and then 2 seconds later, it changes
to 10 ft/sec and you want to pass this new value into the process or
function.

Is there a way to do this?
I would imagine it would have to be by using a 'process.'

Any ideas?

Your help is appreciated... thanks in advance.


#503 From: "bxa1322003" <bxa1322003@...>
Date: Wed Nov 1, 2006 9:19 pm
Subject: How do Processes work
bxa1322003
Offline Offline
Send Email Send Email
 
I have a implementation of a controller on the Sumo11 that control the
speed of the car. But it takes about 5 seconds or so to bring the car
to the desired speed.

Can I run other functions or parts of the code while the controller is
running to bring the speed of the car to the desired one?

Also, is there a way of updating a new "desired" speed before the
sampling time 5 seconds is over. That is, let say, the initial command
or the desired speed is 4 ft/sec and then 2 seconds later, it changes
to 10 ft/sec and you want to pass this new value into the process or
function.

Is there a way to do this?
I would imagine it would have to be by using a 'process.'

Any ideas?

Your help is appreciated... thanks in advance.

#502 From: "Terry Grant" <tgrant@...>
Date: Mon Oct 23, 2006 3:49 am
Subject: Re: Re: Using IC 5.0 with a usb/serial adapter.
tgrant@...
Send Email Send Email
 
Duane,
I'm fairly sure, as Jim said, that this adapter, as well as others will work.
If you already have an extra USB cable the Parallax version is a reasonable choice.
If not you can find many less expensive with cable included.
Try google search of 'USB Serial adapter' for options.
-Terry
---
----- Original Message -----
From: ribron32
Sent: Sunday, October 22, 2006 5:46 PM
Subject: [Sumo11users] Re: Using IC 5.0 with a usb/serial adapter.

--- In Sumo11users@yahoogroups.com, duane ribron <ribron32@...>
wrote:

I havn't been able to find a usb-serial adapter around town. I did
however find this one at parallax.com

http://www.parallax.com/detail.asp?product_id=28030

Does anyone know if this might work with the sumo11 and IC 6.0.14?
thnax everyone. All your commits are much apriciated.
_Duane

>
> Awsome, thnaks for the replay. I'll most likly try to
> pick one up today at office depot.
> _Duane
> An off topic note:
> AMD64 x2's rock.... I cant belive how lag free this
> thing is compaired to my p4.
>
> --- Jim Peterson <jimcp@...> wrote:
>
> > Pretty much anyone with a computer less than 4 years
> > old. Any correctly
> > installed USB to serial should do.
> >
> >
> >
> > -----Original Message-----
> > From: Sumo11users@yahoogroups.com
> > [mailto:Sumo11users@yahoogroups.com]
> > On Behalf Of ribron32
> > Sent: Saturday, October 21, 2006 3:37 AM
> > To: Sumo11users@yahoogroups.com
> > Subject: [Sumo11users] Using IC 5.0 with a
> > usb/serial adapter.
> >
> >
> >
> > Hello,. everyone. I was wondering if anyone had
> > tryed to use a
> > usb/serial adapter with the sumo11 and IC 5.0. I
> > just bought a new
> > comp, and it has no serial ports. So I'm kinda stuck
> > at the moment.
> > Any help would be helpfull, thnaxs. _Duane
> >
> >
> >
> >
>


#501 From: Jim Peterson <jimcp@...>
Date: Mon Oct 23, 2006 4:00 am
Subject: Re: Re: Using IC 5.0 with a usb/serial adapter.
jcpjimcp
Offline Offline
Send Email Send Email
 
At 08:46 PM 10/22/2006, you wrote:

--- In Sumo11users@yahoogroups.com, duane ribron <ribron32@...>
wrote:

I havn't been able to find a usb-serial adapter around town. I did
however find this one at parallax.com

http://www.parallax.com/detail.asp?product_id=28030

Does anyone know if this might work with the sumo11 and IC 6.0.14?
thnax everyone. All your commits are much apriciated.
_Duane

I don't have any direct experience with this particular piece, but as stated before, any correctly installed USB to Serial Adapter should do.

The page you provided has the necessary installation instrucions.
>
> Awsome, thnaks for the replay. I'll most likly try to
> pick one up today at office depot.
> _Duane
> An off topic note:
> AMD64 x2's rock.... I cant belive how lag free this
> thing is compaired to my p4.
>
> --- Jim Peterson <jimcp@...> wrote:
>
> > Pretty much anyone with a computer less than 4 years
> > old. Any correctly
> > installed USB to serial should do.
> >
> >
> >
> > -----Original Message-----
> > From: Sumo11users@yahoogroups.com
> > [ mailto:Sumo11users@yahoogroups.com]
> > On Behalf Of ribron32
> > Sent: Saturday, October 21, 2006 3:37 AM
> > To: Sumo11users@yahoogroups.com
> > Subject: [Sumo11users] Using IC 5.0 with a
> > usb/serial adapter.
> >
> >
> >
> > Hello,. everyone. I was wondering if anyone had
> > tryed to use a
> > usb/serial adapter with the sumo11 and IC 5.0. I
> > just bought a new
> > comp, and it has no serial ports. So I'm kinda stuck
> > at the moment.
> > Any help would be helpfull, thnaxs. _Duane
> >
> >
> >
> >
>


#500 From: "ribron32" <ribron32@...>
Date: Mon Oct 23, 2006 12:46 am
Subject: Re: Using IC 5.0 with a usb/serial adapter.
ribron32
Offline Offline
Send Email Send Email
 
--- In Sumo11users@yahoogroups.com, duane ribron <ribron32@...>
wrote:

  I havn't been able to find a usb-serial adapter around town. I did
however find this one at parallax.com

http://www.parallax.com/detail.asp?product_id=28030

  Does anyone know if this might work with the sumo11 and IC 6.0.14?
   thnax everyone. All your commits are much apriciated.
    _Duane

>
> Awsome, thnaks for the replay. I'll most likly try to
> pick one up today at office depot.
> _Duane
>  An off topic note:
>    AMD64 x2's rock.... I cant belive how lag free this
> thing is compaired to my p4.
>
> --- Jim Peterson <jimcp@...> wrote:
>
> > Pretty much anyone with a computer less than 4 years
> > old. Any correctly
> > installed USB to serial should do.
> >
> >
> >
> > -----Original Message-----
> > From: Sumo11users@yahoogroups.com
> > [mailto:Sumo11users@yahoogroups.com]
> > On Behalf Of ribron32
> > Sent: Saturday, October 21, 2006 3:37 AM
> > To: Sumo11users@yahoogroups.com
> > Subject: [Sumo11users] Using IC 5.0 with a
> > usb/serial adapter.
> >
> >
> >
> > Hello,. everyone. I was wondering if anyone had
> > tryed to use a
> > usb/serial adapter with the sumo11 and IC 5.0. I
> > just bought a new
> > comp, and it has no serial ports. So I'm kinda stuck
> > at the moment.
> > Any help would be helpfull, thnaxs. _Duane
> >
> >
> >
> >
>

#499 From: "Jim Peterson" <jimcp@...>
Date: Sun Oct 22, 2006 1:15 am
Subject: RE: if 5.0 download
jcpjimcp
Offline Offline
Send Email Send Email
 

The current IC is 6.014 and can be downloaded from here:

http://www.botball.org/educational-resources/ic.php.

 

It comes with the sumo11 support libraries.

Jim

 

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of ribron32
Sent: Saturday, October 21, 2006 7:42 PM
To: Sumo11users@yahoogroups.com
Subject: [Sumo11users] if 5.0 download

 

Is there a download site someone might have the link too? I seemed to
have lost my disk with had IC 5.0.
Thanks again Duane


#498 From: "ribron32" <ribron32@...>
Date: Sat Oct 21, 2006 11:42 pm
Subject: if 5.0 download
ribron32
Offline Offline
Send Email Send Email
 
Is there a download site someone might have the link too? I seemed to
have lost my disk with had IC 5.0.
  Thanks again _Duane

#497 From: duane ribron <ribron32@...>
Date: Sat Oct 21, 2006 8:29 pm
Subject: RE: Using IC 5.0 with a usb/serial adapter.
ribron32
Offline Offline
Send Email Send Email
 
Awsome, thnaks for the replay. I'll most likly try to
pick one up today at office depot.
_Duane
  An off topic note:
    AMD64 x2's rock.... I cant belive how lag free this
thing is compaired to my p4.

--- Jim Peterson <jimcp@...> wrote:

> Pretty much anyone with a computer less than 4 years
> old. Any correctly
> installed USB to serial should do.
>
>
>
> -----Original Message-----
> From: Sumo11users@yahoogroups.com
> [mailto:Sumo11users@yahoogroups.com]
> On Behalf Of ribron32
> Sent: Saturday, October 21, 2006 3:37 AM
> To: Sumo11users@yahoogroups.com
> Subject: [Sumo11users] Using IC 5.0 with a
> usb/serial adapter.
>
>
>
> Hello,. everyone. I was wondering if anyone had
> tryed to use a
> usb/serial adapter with the sumo11 and IC 5.0. I
> just bought a new
> comp, and it has no serial ports. So I'm kinda stuck
> at the moment.
> Any help would be helpfull, thnaxs. _Duane
>
>
>
>

#496 From: "RidgeSoft" <rs1@...>
Date: Sat Oct 21, 2006 2:24 pm
Subject: Re: Using IC 5.0 with a usb/serial adapter.
ridgesoft
Offline Offline
Send Email Send Email
 

RidgeSoft sells a USB to Serial adapter which should work for you.

 

See http://www.ridgesoft.com/shop.htm, about 2/3 of the way down the page.

 

Regards,

 

RidgeSoft Support


#495 From: "Jim Peterson" <jimcp@...>
Date: Sat Oct 21, 2006 1:59 pm
Subject: RE: Using IC 5.0 with a usb/serial adapter.
jcpjimcp
Offline Offline
Send Email Send Email
 

Pretty much anyone with a computer less than 4 years old. Any correctly installed USB to serial should do.

 

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of ribron32
Sent: Saturday, October 21, 2006 3:37 AM
To: Sumo11users@yahoogroups.com
Subject: [Sumo11users] Using IC 5.0 with a usb/serial adapter.

 

Hello,. everyone. I was wondering if anyone had tryed to use a
usb/serial adapter with the sumo11 and IC 5.0. I just bought a new
comp, and it has no serial ports. So I'm kinda stuck at the moment.
Any help would be helpfull, thnaxs. _Duane


#494 From: "ribron32" <ribron32@...>
Date: Sat Oct 21, 2006 7:36 am
Subject: Using IC 5.0 with a usb/serial adapter.
ribron32
Offline Offline
Send Email Send Email
 
Hello,. everyone. I was wondering if anyone had tryed to use a
usb/serial adapter with the sumo11 and IC 5.0. I just bought a new
comp, and it has no serial ports. So I'm kinda stuck at the moment.
Any help would be helpfull, thnaxs. _Duane

#493 From: "RidgeSoft" <rs1@...>
Date: Sat Sep 30, 2006 4:51 pm
Subject: RoboJDE version 1.5 released
ridgesoft
Offline Offline
Send Email Send Email
 

Version 1.5 of the RoboJDE™ Java™-enabled robotics software development environment is now available for download at http://www.ridgesoft.com/robojde/download.htm.

RoboJDE version 1.5 adds support for the IntelliBrain™ 2 robotics controller and includes several enhancements and bug fixes described in the release notes:  http://www.ridgesoft.com/robojde/1.5/ReleaseNotes.pdf.

RoboJDE is a software development environment for programming the IntelliBrain 2, IntelliBrain, Handy Board and Sumo11 robotics controllers using the Java programming language.  In addition, RoboJDE includes an extensive robotics Java class library, as well as more than 60 example programs and a series of robotics tutorials.

RoboJDE is designed for use in introductory computer science, robotics and engineering courses and is in use at many universities, community colleges and high schools around the world.

RoboJDE version 1.5 is a free upgrade for all existing RoboJDE customers.  RoboJDE Lite, a limited version of RoboJDE is free. RoboJDE-Lite can be upgraded to the full capabilities of RoboJDE by simply purchasing and installing a license key.

For more information, visit www.ridgesoft.com.


#492 From: Belal Ahmad <bxa1322003@...>
Date: Thu Sep 28, 2006 11:47 pm
Subject: Re: Re: A Relay on PORT 8 of the Sumo
bxa1322003
Offline Offline
Send Email Send Email
 
Thanks Dan!

Dan Gates <topazx2@...> wrote:
I'm not sure why my earlier post on this topic did not come through,
but here it is again.

It's fairly simple to use a relay with the Sumo11, You will need a 10k
resistor, a 1k resistor, and a 2N2222 (or equivalant) NPN transistor.

Connect one side of the 10k resistor to digital out 8 and the other
side to the Base (middle pin) of the transistor. Connect one side of
the 1k resistor to a 5v port and the other side to the collector of
the transistor, then also connect one side of your relay coil to the
collector of the transistor. Connect the other side of your relay to
another 5v port, and finally connect the Emitter of the transistor to
one of the Ground ports.
That's it, now you can safely run the relay from the Sumo11.

-Dan Gates

--- In Sumo11users@yahoogroups.com, Belal Ahmad <bxa1322003@...> wrote:
>
> Jim,
>
> Do you think it is advisable to operate a 5v relay on port 8 of
the sum11? The relay will probably be 5v about 40 mA.
>
> Jim Peterson <jimcp@...> wrote:
> Yes, the SRF08 is an I2C device. You would need to
have the basic I2C logic working. I have not used I2C with the Sumo11
or any other HC11 board. A google search of "HC11 +I2c" has a number
of links. The logic will need to be implemented in the IC platform if
that is what you are using. This would be a significant project.
>
> JIm
> -----Original Message-----
> From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com] On Behalf Of duane
> Sent: Saturday, September 23, 2006 2:22 PM
> To: Sumo11users@yahoogroups.com
> Subject: RE: [Sumo11users] SRF08 Sonar Range
>
> Does't the srfo8 require l2c compatability?
>
> -----Original Message-----
> From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com]On Behalf Of bxa1322003
> Sent: Saturday, September 23, 2006 10:30 AM
> To: Sumo11users@yahoogroups.com
> Subject: [Sumo11users] SRF08 Sonar Range
> Does anybody know if the above model distance sensor will work
with the
> Sumo11 controller? If so, what do I have to do to get it working?
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
> All-new Yahoo! Mail - Fire up a more powerful email and get things
done faster.
>



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1˘/min.

#491 From: Belal Ahmad <bxa1322003@...>
Date: Thu Sep 28, 2006 11:50 pm
Subject: Re: Re: SRF08 Sonar Range
bxa1322003
Offline Offline
Send Email Send Email
 
Thanks, yeah, I was looking for something that will give me a constant value. I am using the GP2D12, it is fairly accurate.
 
Thank You!

Dan Gates <topazx2@...> wrote:
I'm not sure why you chose the GP2D01, but I recomend that you get a
GP2D12. The Sumo11 was specificly designed to work with the GP2D12
sensor on Analog ports 2 & 3, there are even special connectors on the
main board that mate with the GP2D12's. There is lots of code
available showing how to use them, and they are repeatably acurate.
Not linear, but once you find the values that coinside with your
distances, they will always remain the same. I've had the same code in
one of my robots for about 4 years now using the sensor values that I
originally measured, and they still coinside with the distances
measured at those values.
Hope that helps,
-Dan

--- In Sumo11users@yahoogroups.com, Belal Ahmad <bxa1322003@...> wrote:
>
> Jim,
>
> Do you know if the SRF08 Sonar Range will work with the Sumo11?
>
> I tried so many sensors, but did not find one that will give me
steady state value. I used the non-linear type, GP2D01 and the output
of it is all over the place by a placing an object infront of it
without ever moving it.
>
> I am not sure if it is my program or what. Below is the program I
used:
>
> float output[100];
> //persistent int voltage[50];
> void main()
> {
> int i, analogOut;
> float v;
> i = 0;
> while (i<100)
> {
> //printf("%d\n",i);
> analogOut = analog(3);
> //voltage, v
> v = (2.5/255.0)*( (float) analogOut);
> output[i]= -0.0004166*(v)*(v)*(v)*(v) +
0.01097*(v)*(v)*(v) + 1.096*(v);//distance in cm I used a "fitting
tool" to fit the output of the sensor
> msleep(32L);
> i = i+1;
> }
> beep();
> }
>
> I need something that will give a sort of a constant reading even
if there is error involve
>
> Any suggestions?
>
>
> Jim Peterson <jimcp@...> wrote:
>
> On the SUMO11 analog ports 2 and 3 are floating and
can be used with the Sharp GP2Dxx analog sensors.
>
> -----Original Message-----
> From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
> Sent: Tuesday, September 19, 2006 10:30 AM
> To: Sumo11users@yahoogroups.com
> Subject: RE: [Sumo11users] Re: Sonar Problem
>
> Thanks Jim, I appreciate your help.
>
>
>
> Are the sumo's analog ports floating as is on the board?
>
> Jim Peterson <jimcp@...> wrote:
>
> The GP2D12 has a non linear response to distance, The
range is approximately one meter. No special code is required, however
the analog ports need to be "floating" (that is no pull-up resister)
due to the low current characteristics Values increase to a maximum
reading (typically around 130 to 150) at about 10cm then decrease
again as objects get closer to the sensor. The field of view is
narrow. Google gp2d12 and see what you find. The information you want
is on the datasheet. Read it at least twice to decide where the
information you want is.
>
>
>
> Don't Panic.
>
>
>
> -----Original Message-----
> From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
> Sent: Monday, September 18, 2006 1:41 PM
> To: Sumo11users@yahoogroups.com
> Subject: Re: [Sumo11users] Re: Sonar Problem
>
>
>
> I am going to quit working with the sonar. I am going to
use GP2d12. How is the accuracy of the sensor? Do I need any special
code? Is there any time limitations between the readings?
>
>
>
>
>
> Any help is greatly appreciated, thanks in advance.
>
> Dan Gates <topazx2@...> wrote:
>
>
> Try loading the sonar by itself, get it working first then
add it to
> your other code. It's always best to isolate the problem to resolve
> issues. Make sure you can get it to work by itself first.
>
> What is the power requirement of the sonar? You say your Sumo11 is
> powered by 12v, but the Sumo11 regulates that power down to 5v so if
> the sonar requires more than 5v you need to find a different solution
> for powering it.
>
> -Dan
>
> --- In Sumo11users@yahoogroups.com, "bxa1322003" <bxa1322003@> wrote:
> >
> > I am having a problem with the sonar. It is reading (tics)a number
that
> > changes around a region regardless of how far it is from an object.
> >
> > I was using port 7 for an encoder before, but now I changed it to use
> > it with the sonar and port 8 is being used by the encoder. Is there
> > interference problem? Any ideas why it is not working.
> >
>
>
>
>
>
>
>
>
> ---------------------------------
>
> Get your email and more, right on the new Yahoo.com
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
>
> All-new Yahoo! Mail - Fire up a more powerful email and get things
done faster.
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and
30+ countries) for 2˘/min or less.
>



Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.

#490 From: "Dan Gates" <topazx2@...>
Date: Tue Sep 26, 2006 2:47 pm
Subject: Re: SRF08 Sonar Range
topazx2
Offline Offline
Send Email Send Email
 
I'm not sure why you chose the GP2D01, but I recomend that you get a
GP2D12. The Sumo11 was specificly designed to work with the GP2D12
sensor on Analog ports 2 & 3, there are even special connectors on the
main board that mate with the GP2D12's. There is lots of code
available showing how to use them, and they are repeatably acurate.
Not linear, but once you find the values that coinside with your
distances, they will always remain the same. I've had the same code in
one of my robots for about 4 years now using the sensor values that I
originally measured, and they still coinside with the distances
measured at those values.
Hope that helps,
-Dan






--- In Sumo11users@yahoogroups.com, Belal Ahmad <bxa1322003@...> wrote:
>
> Jim,
>
>   Do you know if the SRF08 Sonar Range will work with the Sumo11?
>
>   I tried so many sensors, but did not find one that will give me
steady state value.  I used the non-linear type, GP2D01 and the output
of it is all over the place by a placing an object infront of it
without ever moving it.
>
>    I am not sure if it is my program or what. Below is the program I
used:
>
>   float output[100];
>   //persistent int voltage[50];
>   void main()
>   {
>       int i, analogOut;
>       float v;
>       i = 0;
>       while (i<100)
>         {
>           //printf("%d\n",i);
>           analogOut = analog(3);
>           //voltage, v
>           v = (2.5/255.0)*( (float) analogOut);
>           output[i]=  -0.0004166*(v)*(v)*(v)*(v) +
0.01097*(v)*(v)*(v) + 1.096*(v);//distance in cm I used a "fitting
tool" to fit the output of the sensor
>           msleep(32L);
>           i = i+1;
>       }
>       beep();
>   }
>
>   I need something that will give a sort of a constant reading even
if there is error involve
>
>   Any suggestions?
>
>
> Jim Peterson <jimcp@...> wrote:
>
>               On the SUMO11 analog ports 2 and 3 are floating and
can be used with the Sharp GP2Dxx analog sensors.
>
>     -----Original Message-----
> From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
> Sent: Tuesday, September 19, 2006 10:30 AM
> To: Sumo11users@yahoogroups.com
> Subject: RE: [Sumo11users] Re: Sonar Problem
>
>           Thanks Jim, I appreciate your help.
>
>
>
>     Are the sumo's analog ports floating as is on the board?
>
> Jim Peterson <jimcp@...> wrote:
>
>             The GP2D12 has a non linear response to distance, The
range is approximately one meter. No special code is required, however
the analog ports need to be "floating" (that is no pull-up resister)
due to the low current characteristics Values increase to a maximum
reading (typically around 130 to 150) at about 10cm then decrease
again as objects get closer to the sensor. The field of view is
narrow. Google gp2d12 and see what you find. The information you want
is on the datasheet. Read it at least twice to decide where the
information you want is.
>
>
>
>     Don't Panic.
>
>
>
>       -----Original Message-----
> From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
> Sent: Monday, September 18, 2006 1:41 PM
> To: Sumo11users@yahoogroups.com
> Subject: Re: [Sumo11users] Re: Sonar Problem
>
>
>
>             I am going to quit working with the sonar. I am going to
use GP2d12. How is the accuracy of the sensor? Do I need any special
code? Is there any time limitations between the readings?
>
>
>
>
>
>       Any help is greatly appreciated, thanks in advance.
>
> Dan Gates <topazx2@...> wrote:
>
>
>           Try loading the sonar by itself, get it working first then
add it to
> your other code. It's always best to isolate the problem to resolve
> issues. Make sure you can get it to work by itself first.
>
> What is the power requirement of the sonar? You say your Sumo11 is
> powered by 12v, but the Sumo11 regulates that power down to 5v so if
> the sonar requires more than 5v you need to find a different solution
> for powering it.
>
> -Dan
>
> --- In Sumo11users@yahoogroups.com, "bxa1322003" <bxa1322003@> wrote:
> >
> > I am having a problem with the sonar. It is reading (tics)a number
that
> > changes around a region regardless of how far it is from an object.
> >
> > I was using port 7 for an encoder before, but now I changed it to use
> > it with the sonar and port 8 is being used by the encoder. Is there
> > interference problem? Any ideas why it is not working.
> >
>
>
>
>
>
>
>
>
> ---------------------------------
>
>     Get your email and more, right on the new Yahoo.com
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
>
>   All-new Yahoo! Mail - Fire up a more powerful email and get things
done faster.
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and
30+ countries) for 2˘/min or less.
>

#489 From: "Dan Gates" <topazx2@...>
Date: Tue Sep 26, 2006 2:36 pm
Subject: Re: A Relay on PORT 8 of the Sumo
topazx2
Offline Offline
Send Email Send Email
 
I'm not sure why my earlier post on this topic did not come through,
but here it is again.

It's fairly simple to use a relay with the Sumo11, You will need a 10k
resistor, a 1k resistor, and a 2N2222 (or equivalant) NPN transistor.

Connect one side of the 10k resistor to digital out 8 and the other
side to the Base (middle pin) of the transistor. Connect one side of
the 1k resistor to a 5v port and the other side to the collector of
the transistor, then also connect one side of your relay coil to the
collector of the transistor. Connect the other side of your relay to
another 5v port, and finally connect the Emitter of the transistor to
one of the Ground ports.
  That's it, now you can safely run the relay from the Sumo11.

-Dan Gates




--- In Sumo11users@yahoogroups.com, Belal Ahmad <bxa1322003@...> wrote:
>
> Jim,
>
>   Do you think it is advisable to operate a 5v  relay on port 8 of
the sum11? The relay will probably be 5v about 40 mA.
>
> Jim Peterson <jimcp@...> wrote:
>               Yes, the SRF08 is an I2C device. You would need to
have the basic I2C logic working. I have not used I2C with the Sumo11
or any other HC11 board. A google search of "HC11 +I2c" has a number
of links. The logic will need to be implemented in the IC platform if
that is what you are using. This would be a significant project.
>
>   JIm
>     -----Original Message-----
> From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com] On Behalf Of duane
> Sent: Saturday, September 23, 2006 2:22 PM
> To: Sumo11users@yahoogroups.com
> Subject: RE: [Sumo11users] SRF08 Sonar Range
>
>           Does't the srfo8 require l2c compatability?
>
>     -----Original Message-----
> From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com]On Behalf Of bxa1322003
> Sent: Saturday, September 23, 2006 10:30 AM
> To: Sumo11users@yahoogroups.com
> Subject: [Sumo11users] SRF08 Sonar Range
>     Does anybody know if the above model distance sensor will work
with the
> Sumo11 controller? If so, what do I have to do to get it working?
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
>  All-new Yahoo! Mail - Fire up a more powerful email and get things
done faster.
>

#488 From: "Jim Peterson" <jimcp@...>
Date: Sun Sep 24, 2006 3:11 pm
Subject: RE: A Relay on PORT 8 of the Sumo
jcpjimcp
Offline Offline
Send Email Send Email
 

Personally, I would a properly current limited optoisolator  and power the relay independently of the controller. Do a google search on “optoisolator” for sources, costs and usage details.

 

Jim

 

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Sunday, September 24, 2006 9:47 AM
To: Sumo11users@yahoogroups.com
Subject: [Sumo11users] A Relay on PORT 8 of the Sumo

 

Jim,

 

Do you think it is advisable to operate a 5v  relay on port 8 of the sum11? The relay will probably be 5v about 40 mA.

Jim Peterson <jimcp@...> wrote:

Yes, the SRF08 is an I2C device. You would need to have the basic I2C logic working. I have not used I2C with the Sumo11 or any other HC11 board. A google search of “HC11 +I2c” has a number of links. The logic will need to be implemented in the IC platform if that is what you are using. This would be a significant project.

 

JIm

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of duane
Sent: Saturday, September 23, 2006 2:22 PM
To: Sumo11users@yahoogroups.com
Subject: RE: [Sumo11users] SRF08 Sonar Range

 

Does't the srfo8 require l2c compatability?

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com]On Behalf Of bxa1322003
Sent: Saturday, September 23, 2006 10:30 AM
To: Sumo11users@yahoogroups.com
Subject: [Sumo11users] SRF08 Sonar Range

Does anybody know if the above model distance sensor will work with the
Sumo11 controller? If so, what do I have to do to get it working?

 

 


All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.


#487 From: Belal Ahmad <bxa1322003@...>
Date: Sun Sep 24, 2006 1:47 pm
Subject: A Relay on PORT 8 of the Sumo
bxa1322003
Offline Offline
Send Email Send Email
 
Jim,
 
Do you think it is advisable to operate a 5v  relay on port 8 of the sum11? The relay will probably be 5v about 40 mA.

Jim Peterson <jimcp@...> wrote:
Yes, the SRF08 is an I2C device. You would need to have the basic I2C logic working. I have not used I2C with the Sumo11 or any other HC11 board. A google search of “HC11 +I2c” has a number of links. The logic will need to be implemented in the IC platform if that is what you are using. This would be a significant project.
 
JIm
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of duane
Sent:
Saturday, September 23, 2006 2:22 PM
To: Sumo11users@yahoogroups.com
Subject: RE: [Sumo11users] SRF08 Sonar Range
 
Does't the srfo8 require l2c compatability?
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com]On Behalf Of bxa1322003
Sent: Saturday, September 23, 2006 10:30 AM
To: Sumo11users@yahoogroups.com
Subject: [Sumo11users] SRF08 Sonar Range
Does anybody know if the above model distance sensor will work with the
Sumo11 controller? If so, what do I have to do to get it working?


All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

#486 From: "Jim Peterson" <jimcp@...>
Date: Sat Sep 23, 2006 8:31 pm
Subject: RE: SRF08 Sonar Range
jcpjimcp
Offline Offline
Send Email Send Email
 

Yes, the SRF08 is an I2C device. You would need to have the basic I2C logic working. I have not used I2C with the Sumo11 or any other HC11 board. A google search of “HC11 +I2c” has a number of links. The logic will need to be implemented in the IC platform if that is what you are using. This would be a significant project.

 

JIm

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of duane
Sent:
Saturday, September 23, 2006 2:22 PM
To: Sumo11users@yahoogroups.com
Subject: RE: [Sumo11users] SRF08 Sonar Range

 

Does't the srfo8 require l2c compatability?

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com]On Behalf Of bxa1322003
Sent: Saturday, September 23, 2006 10:30 AM
To: Sumo11users@yahoogroups.com
Subject: [Sumo11users] SRF08 Sonar Range

Does anybody know if the above model distance sensor will work with the
Sumo11 controller? If so, what do I have to do to get it working?


#485 From: Belal Ahmad <bxa1322003@...>
Date: Sat Sep 23, 2006 7:16 pm
Subject: RE: SRF08 Sonar Range
bxa1322003
Offline Offline
Send Email Send Email
 
Yes, it does.

duane <ribron32@...> wrote:
Does't the srfo8 require l2c compatability?
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com]On Behalf Of bxa1322003
Sent: Saturday, September 23, 2006 10:30 AM
To: Sumo11users@yahoogroups.com
Subject: [Sumo11users] SRF08 Sonar Range

Does anybody know if the above model distance sensor will work with the
Sumo11 controller? If so, what do I have to do to get it working?



All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

#484 From: "duane" <ribron32@...>
Date: Sat Sep 23, 2006 6:21 pm
Subject: RE: SRF08 Sonar Range
ribron32
Offline Offline
Send Email Send Email
 
Does't the srfo8 require l2c compatability?
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com]On Behalf Of bxa1322003
Sent: Saturday, September 23, 2006 10:30 AM
To: Sumo11users@yahoogroups.com
Subject: [Sumo11users] SRF08 Sonar Range

Does anybody know if the above model distance sensor will work with the
Sumo11 controller? If so, what do I have to do to get it working?


#483 From: Belal Ahmad <bxa1322003@...>
Date: Sat Sep 23, 2006 5:39 pm
Subject: SRF08 Sonar Range
bxa1322003
Offline Offline
Send Email Send Email
 
Jim,
 
Do you know if the SRF08 Sonar Range will work with the Sumo11?
 
I tried so many sensors, but did not find one that will give me steady state value.  I used the non-linear type, GP2D01 and the output of it is all over the place by a placing an object infront of it without ever moving it. 
 
 I am not sure if it is my program or what. Below is the program I used:
 
float output[100];
//persistent int voltage[50];
void main()
{    
    int i, analogOut;
    float v;
    i = 0;
    while (i<100)
      {
        //printf("%d\n",i);
        analogOut = analog(3);
        //voltage, v
        v = (2.5/255.0)*( (float) analogOut);
        output[i]=  -0.0004166*(v)*(v)*(v)*(v) + 0.01097*(v)*(v)*(v) + 1.096*(v);//distance in cm I used a "fitting tool" to fit the output of the sensor
        msleep(32L);
        i = i+1;  
    }
    beep();
}
 
I need something that will give a sort of a constant reading even if there is error involve 
 
Any suggestions?
   

Jim Peterson <jimcp@...> wrote:
On the SUMO11 analog ports 2 and 3 are floating and can be used with the Sharp GP2Dxx analog sensors.
 
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Tuesday, September 19, 2006 10:30 AM
To: Sumo11users@yahoogroups.com
Subject: RE: [Sumo11users] Re: Sonar Problem
 
Thanks Jim, I appreciate your help.
 
Are the sumo's analog ports floating as is on the board?

Jim Peterson <jimcp@...> wrote:
The GP2D12 has a non linear response to distance, The range is approximately one meter. No special code is required, however the analog ports need to be “floating” (that is no pull-up resister) due to the low current characteristics Values increase to a maximum reading (typically around 130 to 150) at about 10cm then decrease again as objects get closer to the sensor. The field of view is narrow. Google gp2d12 and see what you find. The information you want is on the datasheet. Read it at least twice to decide where the information you want is.
 
Don’t Panic.
 
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Monday, September 18, 2006 1:41 PM
To: Sumo11users@yahoogroups.com
Subject: Re: [Sumo11users] Re: Sonar Problem
 
I am going to quit working with the sonar. I am going to use GP2d12. How is the accuracy of the sensor? Do I need any special code? Is there any time limitations between the readings?
 
Any help is greatly appreciated, thanks in advance.

Dan Gates <topazx2@yahoo.com> wrote:
Try loading the sonar by itself, get it working first then add it to
your other code. It's always best to isolate the problem to resolve
issues. Make sure you can get it to work by itself first.

What is the power requirement of the sonar? You say your Sumo11 is
powered by 12v, but the Sumo11 regulates that power down to 5v so if
the sonar requires more than 5v you need to find a different solution
for powering it.

-Dan

--- In Sumo11users@yahoogroups.com, "bxa1322003" <bxa1322003@...> wrote:
>
> I am having a problem with the sonar. It is reading (tics)a number that
> changes around a region regardless of how far it is from an object.
>
> I was using port 7 for an encoder before, but now I changed it to use
> it with the sonar and port 8 is being used by the encoder. Is there
> interference problem? Any ideas why it is not working.
>
 
 

Get your email and more, right on the new Yahoo.com
 
 

All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2˘/min or less.

#482 From: "bxa1322003" <bxa1322003@...>
Date: Sat Sep 23, 2006 5:30 pm
Subject: SRF08 Sonar Range
bxa1322003
Offline Offline
Send Email Send Email
 
Does anybody know if the above model distance sensor will work with the
Sumo11 controller? If so, what do I have to do to get it working?

#481 From: "johnabshier" <johnabshier@...>
Date: Sat Sep 23, 2006 3:31 pm
Subject: Sumo11 Controller for Sale on EBay
johnabshier
Offline Offline
Send Email Send Email
 
#480 From: Belal Ahmad <bxa1322003@...>
Date: Tue Sep 19, 2006 9:57 pm
Subject: RE: Re: Sonar Problem
bxa1322003
Offline Offline
Send Email Send Email
 
Thanks, that was what I was told, I just wanted to make sure.

Jim Peterson <jimcp@...> wrote:
On the SUMO11 analog ports 2 and 3 are floating and can be used with the Sharp GP2Dxx analog sensors.
 
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Tuesday, September 19, 2006 10:30 AM
To: Sumo11users@yahoogroups.com
Subject: RE: [Sumo11users] Re: Sonar Problem
 
Thanks Jim, I appreciate your help.
 
Are the sumo's analog ports floating as is on the board?

Jim Peterson <jimcp@...> wrote:
The GP2D12 has a non linear response to distance, The range is approximately one meter. No special code is required, however the analog ports need to be “floating” (that is no pull-up resister) due to the low current characteristics Values increase to a maximum reading (typically around 130 to 150) at about 10cm then decrease again as objects get closer to the sensor. The field of view is narrow. Google gp2d12 and see what you find. The information you want is on the datasheet. Read it at least twice to decide where the information you want is.
 
Don’t Panic.
 
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Monday, September 18, 2006 1:41 PM
To: Sumo11users@yahoogroups.com
Subject: Re: [Sumo11users] Re: Sonar Problem
 
I am going to quit working with the sonar. I am going to use GP2d12. How is the accuracy of the sensor? Do I need any special code? Is there any time limitations between the readings?
 
Any help is greatly appreciated, thanks in advance.

Dan Gates <topazx2@yahoo.com> wrote:
Try loading the sonar by itself, get it working first then add it to
your other code. It's always best to isolate the problem to resolve
issues. Make sure you can get it to work by itself first.

What is the power requirement of the sonar? You say your Sumo11 is
powered by 12v, but the Sumo11 regulates that power down to 5v so if
the sonar requires more than 5v you need to find a different solution
for powering it.

-Dan

--- In Sumo11users@yahoogroups.com, "bxa1322003" <bxa1322003@...> wrote:
>
> I am having a problem with the sonar. It is reading (tics)a number that
> changes around a region regardless of how far it is from an object.
>
> I was using port 7 for an encoder before, but now I changed it to use
> it with the sonar and port 8 is being used by the encoder. Is there
> interference problem? Any ideas why it is not working.
>
 
 

Get your email and more, right on the new Yahoo.com
 
 

All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2˘/min or less.

#479 From: "Jim Peterson" <jimcp@...>
Date: Tue Sep 19, 2006 9:29 pm
Subject: RE: Re: Sonar Problem
jcpjimcp
Offline Offline
Send Email Send Email
 

On the SUMO11 analog ports 2 and 3 are floating and can be used with the Sharp GP2Dxx analog sensors.

 

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Tuesday, September 19, 2006 10:30 AM
To: Sumo11users@yahoogroups.com
Subject: RE: [Sumo11users] Re: Sonar Problem

 

Thanks Jim, I appreciate your help.

 

Are the sumo's analog ports floating as is on the board?

Jim Peterson <jimcp@...> wrote:

The GP2D12 has a non linear response to distance, The range is approximately one meter. No special code is required, however the analog ports need to be “floating” (that is no pull-up resister) due to the low current characteristics Values increase to a maximum reading (typically around 130 to 150) at about 10cm then decrease again as objects get closer to the sensor. The field of view is narrow. Google gp2d12 and see what you find. The information you want is on the datasheet. Read it at least twice to decide where the information you want is.

 

Don’t Panic.

 

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Monday, September 18, 2006 1:41 PM
To: Sumo11users@yahoogroups.com
Subject: Re: [Sumo11users] Re: Sonar Problem

 

I am going to quit working with the sonar. I am going to use GP2d12. How is the accuracy of the sensor? Do I need any special code? Is there any time limitations between the readings?

 

Any help is greatly appreciated, thanks in advance.

Dan Gates <topazx2@yahoo.com> wrote:

Try loading the sonar by itself, get it working first then add it to
your other code. It's always best to isolate the problem to resolve
issues. Make sure you can get it to work by itself first.

What is the power requirement of the sonar? You say your Sumo11 is
powered by 12v, but the Sumo11 regulates that power down to 5v so if
the sonar requires more than 5v you need to find a different solution
for powering it.

-Dan

--- In Sumo11users@yahoogroups.com, "bxa1322003" <bxa1322003@...> wrote:
>
> I am having a problem with the sonar. It is reading (tics)a number that
> changes around a region regardless of how far it is from an object.
>
> I was using port 7 for an encoder before, but now I changed it to use
> it with the sonar and port 8 is being used by the encoder. Is there
> interference problem? Any ideas why it is not working.
>

 

 


Get your email and more, right on the new Yahoo.com

 

 


All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.


#478 From: Belal Ahmad <bxa1322003@...>
Date: Tue Sep 19, 2006 2:30 pm
Subject: RE: Re: Sonar Problem
bxa1322003
Offline Offline
Send Email Send Email
 
Thanks Jim, I appreciate your help.
 
Are the sumo's analog ports floating as is on the board?

Jim Peterson <jimcp@...> wrote:
The GP2D12 has a non linear response to distance, The range is approximately one meter. No special code is required, however the analog ports need to be “floating” (that is no pull-up resister) due to the low current characteristics Values increase to a maximum reading (typically around 130 to 150) at about 10cm then decrease again as objects get closer to the sensor. The field of view is narrow. Google gp2d12 and see what you find. The information you want is on the datasheet. Read it at least twice to decide where the information you want is.
 
Don’t Panic.
 
-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Monday, September 18, 2006 1:41 PM
To: Sumo11users@yahoogroups.com
Subject: Re: [Sumo11users] Re: Sonar Problem
 
I am going to quit working with the sonar. I am going to use GP2d12. How is the accuracy of the sensor? Do I need any special code? Is there any time limitations between the readings?
 
Any help is greatly appreciated, thanks in advance.

Dan Gates <topazx2@yahoo.com> wrote:
Try loading the sonar by itself, get it working first then add it to
your other code. It's always best to isolate the problem to resolve
issues. Make sure you can get it to work by itself first.

What is the power requirement of the sonar? You say your Sumo11 is
powered by 12v, but the Sumo11 regulates that power down to 5v so if
the sonar requires more than 5v you need to find a different solution
for powering it.

-Dan

--- In Sumo11users@yahoogroups.com, "bxa1322003" <bxa1322003@...> wrote:
>
> I am having a problem with the sonar. It is reading (tics)a number that
> changes around a region regardless of how far it is from an object.
>
> I was using port 7 for an encoder before, but now I changed it to use
> it with the sonar and port 8 is being used by the encoder. Is there
> interference problem? Any ideas why it is not working.
>
 
 

Get your email and more, right on the new Yahoo.com


All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

#477 From: "Jim Peterson" <jimcp@...>
Date: Tue Sep 19, 2006 12:04 pm
Subject: RE: Re: Sonar Problem
jcpjimcp
Offline Offline
Send Email Send Email
 

The GP2D12 has a non linear response to distance, The range is approximately one meter. No special code is required, however the analog ports need to be “floating” (that is no pull-up resister) due to the low current characteristics Values increase to a maximum reading (typically around 130 to 150) at about 10cm then decrease again as objects get closer to the sensor. The field of view is narrow. Google gp2d12 and see what you find. The information you want is on the datasheet. Read it at least twice to decide where the information you want is.

 

Don’t Panic.

 

-----Original Message-----
From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal Ahmad
Sent: Monday, September 18, 2006 1:41 PM
To: Sumo11users@yahoogroups.com
Subject: Re: [Sumo11users] Re: Sonar Problem

 

I am going to quit working with the sonar. I am going to use GP2d12. How is the accuracy of the sensor? Do I need any special code? Is there any time limitations between the readings?

 

Any help is greatly appreciated, thanks in advance.

Dan Gates <topazx2@yahoo.com> wrote:

Try loading the sonar by itself, get it working first then add it to
your other code. It's always best to isolate the problem to resolve
issues. Make sure you can get it to work by itself first.

What is the power requirement of the sonar? You say your Sumo11 is
powered by 12v, but the Sumo11 regulates that power down to 5v so if
the sonar requires more than 5v you need to find a different solution
for powering it.

-Dan

--- In Sumo11users@yahoogroups.com, "bxa1322003" <bxa1322003@...> wrote:
>
> I am having a problem with the sonar. It is reading (tics)a number that
> changes around a region regardless of how far it is from an object.
>
> I was using port 7 for an encoder before, but now I changed it to use
> it with the sonar and port 8 is being used by the encoder. Is there
> interference problem? Any ideas why it is not working.
>

 

 


Get your email and more, right on the new Yahoo.com


#476 From: Belal Ahmad <bxa1322003@...>
Date: Mon Sep 18, 2006 5:41 pm
Subject: Re: Re: Sonar Problem
bxa1322003
Offline Offline
Send Email Send Email
 
I am going to quit working with the sonar. I am going to use GP2d12. How is the accuracy of the sensor? Do I need any special code? Is there any time limitations between the readings?
 
Any help is greatly appreciated, thanks in advance.

Dan Gates <topazx2@...> wrote:
Try loading the sonar by itself, get it working first then add it to
your other code. It's always best to isolate the problem to resolve
issues. Make sure you can get it to work by itself first.

What is the power requirement of the sonar? You say your Sumo11 is
powered by 12v, but the Sumo11 regulates that power down to 5v so if
the sonar requires more than 5v you need to find a different solution
for powering it.

-Dan

--- In Sumo11users@yahoogroups.com, "bxa1322003" <bxa1322003@...> wrote:
>
> I am having a problem with the sonar. It is reading (tics)a number that
> changes around a region regardless of how far it is from an object.
>
> I was using port 7 for an encoder before, but now I changed it to use
> it with the sonar and port 8 is being used by the encoder. Is there
> interference problem? Any ideas why it is not working.
>



Get your email and more, right on the new Yahoo.com

Messages 476 - 505 of 536   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help