This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Friday, March 7, 2008

[oopic] Re: Using ultra sonic sensor with the oopic

The sensors can't be connect to the 31 Digital I/O lines and
communicate with PW or RX?

If I was to go with the A2D lines could I add a extension module to
get more then 7 (I was thinking it was only 4)?
Is there any example code on how to program using A2D?

Thanks for your help.


--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...> wrote:
>
> The easiest way to do this is to use the analog output of the MAXSONAR
> unit and trigger them in sequence so you don't have interference. The
> most straightforward way is to give each SONAR its own A2D line - With
> the ooPIC you can have up to 7 A2D lines. With buffer resistors from
> each SONAR you might be able to connect all of them to a single A2D if
> you really needed to, but you'd have to experiment with that resistor
> value and how fast you could switch units.
>
> DLC
>
> James Pinner wrote:
> > I am looking at using the oopic microprocessor with 5 to 10 Ultra
sonic sensors (LV-MaxSonar-EZ4 Ultrasonic Range Finder). What I was
wondering is it possible to connect this type sensor to the oopic
digital I/O pins. The sensor supports PW RX, etc. How would I
communicate? Would I need the expansion module to do this?
> >
> > I have attached the link to data sheet
> > http://www.maxbotix.com/uploads/LV-MaxSonar-EZ4-Datasheet.pdf
> >
> >
> >
> > Any help would be great and I can add any more details if needed
> >
> >
> > ---------------------------------
> > Looking for last minute shopping deals? Find them fast with
Yahoo! Search.
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>



Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: