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.

Wednesday, August 29, 2007

[oopic] 3 Simple Stock Tips

3 Simple Stock Tips
So, you want to invest in the stock market. Doing so half-heartedly and without the proper due diligence can destroy you. I've been in the stock market for many years and I've made huge trades and trades that were huge mistakes.

How can you avoid getting slaughtered in the stock market? I've come up with three simple stock picking tips that will help point you in the right direction.

http://stocktradingwebsites.blogspot.com/2007/08/3-simple-stock-tips.html


---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.

[Non-text portions of this message have been removed]


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/

Monday, August 27, 2007

[oopic] Maybe you are tired of looking for true love or a honest friend, we can help you

Maybe you are tired of looking for true love or a honest friend, we
can help you , you can chat with them and finally be special friends,
also you can find your dream lover, come on ,you will not feel
disappointing.
http://tallbeautifullove.bravehost.com/index.htm



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/

Friday, August 24, 2007

Re: [oopic] Which Stepper Motor is best?

New steppers are out of the reach of the hobbyist, cost-wise, but there
are a LOT of places to get them surplus. Some rules of thumb are:
Bigger is stronger, bipolar is typically stronger than unipolar and
unless you are going to go deeper into stepper operations, you won't get
more than a few hundred Hz speeds out of one.

Jameco.com
All Electronics
Electronics Goldmine
are all good jumping off points for getting one. Steppers are precise,
but they are slow and power hungry.

DLC

carson hoyt wrote:
> Hi everyone,
>
> So I'm starting a project using stepper motors, but I don't really have much experience buying them or working with them. Maybe everyone with experience can weigh in on the subject? What I'd like to know is maybe the best brand / most affordable and where to order them from? As far as the application is concerned I need a very fine resolution (degrees per step), relatively small (under two inches), and of course as much torque as possible.
> Don't let my application restrict your answer though. Lets here about all the different applications.
> I have a feeling this could start a productive debate, thanks everyone.
>
> Carson
>
> rtstofer <rstofer@pacbell.net> wrote: --- In oopic@yahoogroups.com, "jeremy_raj" <jeremy_raj@...> wrote:
> >
> > Hie all
> > Im an engineering student and currently doin my final year project.im
> > actually currently workin on doin an obstacle avoidance robot using
> > oopic.But since oopic is very new to me jus would like to get more
> > ideas on how to go bout it.I'll be using a rc car with three sensors
> > but it needs to be fully autonomous.Really glad if any members can
> > give me more ideas mainly on the programming part.
> > Thank you allso much n this group really rocks man..
> >
>
> Try Google! I just did that and there are a lot of responses to
> 'oopic obstacle avoidance' including
>

http://www.totalrobots.com/examples/example6.htm
>
> Richard
>
>
>
>
>
>
> ---------------------------------
> Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
>
> [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/

[oopic] Re: Which Stepper Motor is best?

Before you even start down this path, you need to read "Jones On
Steppers" Google for it.

Along the way you will find the difference between bipolar and
unipolar motors. You will learn about overvolting the motor and
current limiting the winding current.

If you want any torque at all, you need to learn more about the
motors. Or buy a motor driver chip from Allegro. I seriously doubt
that an OOPic could be made to perform all of the functions of a
complete driver chip.

OTOH, you can get a unipolar motor and drive the winding with MOSFETs
(I recommend IRL540N) from the output of the OOPic. It will work. It
won't have the ultimate in torque, RPM or microstepping but it will work.

Richard



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/

RE: [oopic] Which Stepper Motor is best?

Order from www.jameco.com, they have a wide selection of unipolar and bipolar stepper motors. Most of those motors cost from $10-$25, some cost less.

__________________________
Ray Xu
Electric/Robotics Engineer
rayxu@tx.rr.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/

[oopic] one more thing

Speed is also very important lets agree on units: seconds per revolution.

rtstofer <rstofer@pacbell.net> wrote: --- In oopic@yahoogroups.com, "jeremy_raj" <jeremy_raj@...> wrote:
>
> Hie all
> Im an engineering student and currently doin my final year project.im
> actually currently workin on doin an obstacle avoidance robot using
> oopic.But since oopic is very new to me jus would like to get more
> ideas on how to go bout it.I'll be using a rc car with three sensors
> but it needs to be fully autonomous.Really glad if any members can
> give me more ideas mainly on the programming part.
> Thank you allso much n this group really rocks man..
>

Try Google! I just did that and there are a lot of responses to
'oopic obstacle avoidance' including
http://www.totalrobots.com/examples/example6.htm


Richard




---------------------------------
Shape Yahoo! in your own image. Join our Network Research Panel today!

[Non-text portions of this message have been removed]


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/

[oopic] Which Stepper Motor is best?

Hi everyone,

So I'm starting a project using stepper motors, but I don't really have much experience buying them or working with them. Maybe everyone with experience can weigh in on the subject? What I'd like to know is maybe the best brand / most affordable and where to order them from? As far as the application is concerned I need a very fine resolution (degrees per step), relatively small (under two inches), and of course as much torque as possible.
Don't let my application restrict your answer though. Lets here about all the different applications.
I have a feeling this could start a productive debate, thanks everyone.

Carson

rtstofer <rstofer@pacbell.net> wrote: --- In oopic@yahoogroups.com, "jeremy_raj" <jeremy_raj@...> wrote:
>
> Hie all
> Im an engineering student and currently doin my final year project.im
> actually currently workin on doin an obstacle avoidance robot using
> oopic.But since oopic is very new to me jus would like to get more
> ideas on how to go bout it.I'll be using a rc car with three sensors
> but it needs to be fully autonomous.Really glad if any members can
> give me more ideas mainly on the programming part.
> Thank you allso much n this group really rocks man..
>

Try Google! I just did that and there are a lot of responses to
'oopic obstacle avoidance' including
http://www.totalrobots.com/examples/example6.htm


Richard




---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.

[Non-text portions of this message have been removed]


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/

[oopic] Re: Help on obstacle avoidance robot

--- In oopic@yahoogroups.com, "jeremy_raj" <jeremy_raj@...> wrote:
>
> Hie all
> Im an engineering student and currently doin my final year project.im
> actually currently workin on doin an obstacle avoidance robot using
> oopic.But since oopic is very new to me jus would like to get more
> ideas on how to go bout it.I'll be using a rc car with three sensors
> but it needs to be fully autonomous.Really glad if any members can
> give me more ideas mainly on the programming part.
> Thank you allso much n this group really rocks man..
>

Try Google! I just did that and there are a lot of responses to
'oopic obstacle avoidance' including
http://www.totalrobots.com/examples/example6.htm

Richard



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/

[oopic] Help on obstacle avoidance robot

Hie all
Im an engineering student and currently doin my final year project.im
actually currently workin on doin an obstacle avoidance robot using
oopic.But since oopic is very new to me jus would like to get more
ideas on how to go bout it.I'll be using a rc car with three sensors
but it needs to be fully autonomous.Really glad if any members can
give me more ideas mainly on the programming part.
Thank you allso much n this group really rocks man..


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/

Thursday, August 23, 2007

Re: [oopic] Next Gen OoPic?...

The C.1 firmware is still on the 16F877a, so the RAM and Ethernet is a
bit outside the possible. I don't know enough about a follow-on chip to
give any reasonable information.

I don't have a complete list of the changes in the C.1 firmware yet,
I'll post as soon as I do!

DLC

red71956 wrote:
> Can we get an idea for the capabilities of the next OoPic coming down
> the pike?
> On MY wish list:
> more RAM (86 bytes is OK, but more is ... MORE!)
> expanded language (Basic is my personal choice!)
> maybe integrate a Speakjet or Soundgin
> integrated Ethernet
>
> I wouldn't mind the higher price if it means greater capabilities. I'm
> starting to play with the AtMega 128 but the OoPic spanks it when it
> comes to quick usability.
>
> Can't wait to see a SuperOoPic...
>
>
>
>
> 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/

[oopic] Micromega announces OOPic support for uM-FPU V3.1 floating point chip

Micromega has released software and documentation for using the uM-FPU V3.1 floating
point coprocessor with the OOPic microcontrollers. Details can be found at:
http://www.micromegacorp.com/oopic.html

Advanced instructions and fast execution allows the uM-FPU V3.1 chip to handle data
from a wide range of sensors, and perform the additional computations or data
transformations required to provide the most accurate results.

Reading GPS data is easy with the uM-FPU V3.1 chip using the new NMEA sentence
parsing capabilities. An added advantage, is that the GPS data is then already loaded on
the FPU, ready for navigation calculations. An OOPic example that calculates great circle
distances is included with the support routines. See Application Note 39.
http://www.micromegacorp.com/appnotes.html#an39

The uM-FPU V3 IDE Release 2 beta software, which automatically generates uM-FPU V3.1
code from math expressions, supports OOPic code generation using a target description
file.

Regards,
Cam Thompson
Micromega Corporation


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/

[oopic] Next Gen OoPic?...

Can we get an idea for the capabilities of the next OoPic coming down
the pike?
On MY wish list:
more RAM (86 bytes is OK, but more is ... MORE!)
expanded language (Basic is my personal choice!)
maybe integrate a Speakjet or Soundgin
integrated Ethernet

I wouldn't mind the higher price if it means greater capabilities. I'm
starting to play with the AtMega 128 but the OoPic spanks it when it
comes to quick usability.

Can't wait to see a SuperOoPic...


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/

[oopic] Re: Signal levels for a2d objects

--- In oopic@yahoogroups.com, "Mike Smith" <msmith@...> wrote:
>
> >
> > > How about a link to the sensor datasheet?
> >
> > Sure. It's an AST Sensors 4100.
> >
> > Overview: http://www.astsensors.com/ast4100.html
> > Specs: http://www.astsensors.com/ast4100.html
>
> Oops...the correct link for the spec sheet is:
>
> http://www.astsensors.com/files/pdf/data4100.pdf
>

You can try the LTC2053 Precision, Rail-to-Rail, ZeroDrift,
Resistor-Programmable Instrumentation Amplifier
http://www.linear.com/pc/productDetail.jsp?navId=H0,C1,C1154,C1009,C1045,P1678

It can be used with a single supply and there is a lot of information
in the datasheet.

Richard



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/

[oopic] Re: Signal levels for a2d objects

>
> > How about a link to the sensor datasheet?
>
> Sure. It's an AST Sensors 4100.
>
> Overview: http://www.astsensors.com/ast4100.html
> Specs: http://www.astsensors.com/ast4100.html

Oops...the correct link for the spec sheet is:

http://www.astsensors.com/files/pdf/data4100.pdf


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/

[oopic] Re: Signal levels for a2d objects

>
> When you say 'differential' are you implying the output comes on two
> leads independent of ground? Or is this just a single output that
> varies between 3 mV and 50 mV?

Yes, there are two output leads that seem to be independent of
ground. Both the positive and negative output leads seem to be ~2.5
volts from both gnd and +5.

> How about a link to the sensor datasheet?

Sure. It's an AST Sensors 4100.

Overview: http://www.astsensors.com/ast4100.html
Specs: http://www.astsensors.com/ast4100.html

It comes in different output configurations, which their site lists
as either:

10mV/V
0.5 - 4.5v ratiometric
1-5v
1-6v
.25-5v
or 4-20ma

(The higher voltage outputs would probably have been a better choice,
but new these sensors cost about twice as much as what I paid for
this one on ebay.)

The ebay listing and the label on the sensor however list it as
3mv/V, which is an option I don't see listed on the spec sheet.
However, they do seem to make them in various custom configurations
which this could have been.

(as a side note, any idea of what exactly a notation such as 3mv/V or
10mv/V indicates? Something like 0-50mv I understand, but not sure
what 3mv/V is trying to convey)

Thanks,
Mike


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/

[oopic] Re: Signal levels for a2d objects

--- In oopic@yahoogroups.com, "Mike Smith" <msmith@...> wrote:
>
> I recently picked up a sensor that converts air pressure to voltage
> differential. You give the input leads a GND and a +5v, connect it
> to an air pressure line in the 0-3000 PSI range, and it produces a
> voltage differential on the output lines in the 3m-50mv range.
>
> I was hoping to be able to use this with my OOPic-R, but I'm
> concerned that the voltage diff may be too small for the OOPic to
> detect. I have the negative output of the sensor connected to line 3
> and am using the oA2D.ExtVRef2=1 so that it is used for the negative
> voltage reference. For now I have the postive refence just being +5v
> (oA2D.ExtVRef=0), but if I could find a suitable 50mv source I could
> set that to 1 and connect that source to I/O line 4. For now, it
> doesn't seem to be enough voltage to register.
>
> Any thoughts on whether this low of voltage can be used with oA2D?
>
> If not, does anyone know of any chips out there that could take a 0-
> 50mv range and amplify it to a level that would work better with the
> OOPic's A2D?
>
> Thanks,
> Mike
>

When you say 'differential' are you implying the output comes on two
leads independent of ground? Or is this just a single output that
varies between 3 mV and 50 mV? How about a link to the sensor datasheet?

If it is a single ended output, you can increase it with an op amp set
for a gain of 100 (50 mV * 100 = 5V).

Look at Chapter 4 of "Op Amps For Everyone" free at
http://www.ti.com/litv/pdf/slod006b

I really like the TLV247x series
of devices and use the TLV2474 when I want to offset, scale and buffer
a signal.

And the book is excellent!

Richard


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/

[oopic] Signal levels for a2d objects

I recently picked up a sensor that converts air pressure to voltage
differential. You give the input leads a GND and a +5v, connect it
to an air pressure line in the 0-3000 PSI range, and it produces a
voltage differential on the output lines in the 3m-50mv range.

I was hoping to be able to use this with my OOPic-R, but I'm
concerned that the voltage diff may be too small for the OOPic to
detect. I have the negative output of the sensor connected to line 3
and am using the oA2D.ExtVRef2=1 so that it is used for the negative
voltage reference. For now I have the postive refence just being +5v
(oA2D.ExtVRef=0), but if I could find a suitable 50mv source I could
set that to 1 and connect that source to I/O line 4. For now, it
doesn't seem to be enough voltage to register.

Any thoughts on whether this low of voltage can be used with oA2D?

If not, does anyone know of any chips out there that could take a 0-
50mv range and amplify it to a level that would work better with the
OOPic's A2D?

Thanks,
Mike



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/

Wednesday, August 22, 2007

Re: [oopic] Conserving bytes

red71956 wrote:
> Hi gang
> I'm having trouble figuring out how to maximize the use of the limited
> RAM on an OoPic R.
> For instance, 2 DC motors and 2 servos (pan and tilt) and one LCD takes
> 47 bytes (L + R oDCMotor 5 bytes each, 2 oA2DX for turn and speed 5
> bytes each, 2 oRamp at 7 bytes each, 2 servos at 4 bytes each, 1 LCDSE
> at 5 bytes)
> Is there a more efficient way to do this?
> Adding in 1 or more oIRRange objects, a oSerialX, a oWire or two, and a
> few misc. oBytes brings the total perilously close to the 'magic 86'.
> Is using the EEPROM a potential solution? And what is the best use for
> the EEPROM? I picked up a 256K EEPROM and want to use it for maximum
> effect, but what exactly is THAT?

In general you will run out of object RAM long before you run out of
code space, even on a 32K EEPROM. If using the V.6 compiler you may
find an efficient place to keep rarely changing variables is the EEPROM
variable space (internal to the chip EEPROM). Other than that, beyond
the code, the only real use for the external EEPROM is storage of data
and setup information.

> Also, what is the best use of Virtual Circuits? I think I get the
> concept, but using it efficiently eludes me.

To link objects together _is_ the most efficient use of objects, and
the way to get them to run the fastest. Simply defining objects and
using script code is not using the ooPIC to its best abilities. You've
found that oNavcon and oRamp can use the motors to great effect already.

DLC

> Thanx in advance,
> Red

--
------------------------------------------------------
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/

Re: [oopic] Conserving bytes

At 09:47 PM 8/22/2007, red71956 wrote:
>Is using the EEPROM a potential solution?

Nope. EEPROMs can't hold objects.


> And what is the best use for
>the EEPROM?

Data storage.


> I picked up a 256K EEPROM and want to use it for maximum
>effect, but what exactly is THAT?

A 256k EEPROM lets you write large programs (lots of code) and create
large tables (e.g. a 2D map of a maze, a standalone data logger, etc.)


...Andy



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/

Re: [oopic] Conserving bytes

You've run into the lesson that we all do eventually - That is that
these little embedded processors cannot do everything. Eventually you
will have to specialize a bit. You have chosen some pretty precise
controls, which take up space. Just turning on motors comes easy, but
doesn't do all that you want. You may want to consider pairing another
ooPIC in to handle different functions.

DLC

red71956 wrote:
> Hi gang
> I'm having trouble figuring out how to maximize the use of the limited
> RAM on an OoPic R.
> For instance, 2 DC motors and 2 servos (pan and tilt) and one LCD takes
> 47 bytes (L + R oDCMotor 5 bytes each, 2 oA2DX for turn and speed 5
> bytes each, 2 oRamp at 7 bytes each, 2 servos at 4 bytes each, 1 LCDSE
> at 5 bytes)
> Is there a more efficient way to do this?
> Adding in 1 or more oIRRange objects, a oSerialX, a oWire or two, and a
> few misc. oBytes brings the total perilously close to the 'magic 86'.
> Is using the EEPROM a potential solution? And what is the best use for
> the EEPROM? I picked up a 256K EEPROM and want to use it for maximum
> effect, but what exactly is THAT?
>
> Also, what is the best use of Virtual Circuits? I think I get the
> concept, but using it efficiently eludes me.
>
> Thanx in advance,
> Red
>
>
>
>
> 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/

[oopic] Conserving bytes

Hi gang
I'm having trouble figuring out how to maximize the use of the limited
RAM on an OoPic R.
For instance, 2 DC motors and 2 servos (pan and tilt) and one LCD takes
47 bytes (L + R oDCMotor 5 bytes each, 2 oA2DX for turn and speed 5
bytes each, 2 oRamp at 7 bytes each, 2 servos at 4 bytes each, 1 LCDSE
at 5 bytes)
Is there a more efficient way to do this?
Adding in 1 or more oIRRange objects, a oSerialX, a oWire or two, and a
few misc. oBytes brings the total perilously close to the 'magic 86'.
Is using the EEPROM a potential solution? And what is the best use for
the EEPROM? I picked up a 256K EEPROM and want to use it for maximum
effect, but what exactly is THAT?

Also, what is the best use of Virtual Circuits? I think I get the
concept, but using it efficiently eludes me.

Thanx in advance,
Red


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/

[oopic] Conserving bytes

Hi gang
I'm having trouble figuring out how to maximize the use of the limited
RAM on an OoPic R.
For instance, 2 DC motors and 2 servos (pan and tilt) and one LCD takes
47 bytes (L + R oDCMotor 5 bytes each, 2 oA2DX for turn and speed 5
bytes each, 2 oRamp at 7 bytes each, 2 servos at 4 bytes each, 1 LCDSE
at 5 bytes)
Is there a more efficient way to do this?
Adding in 1 or more oIRRange objects, a oSerialX, a oWire or two, and a
few misc. oBytes brings the total perilously close to the 'magic 86'.
Is using the EEPROM a potential solution? And what is the best use for
the EEPROM? I picked up a 256K EEPROM and want to use it for maximum
effect, but what exactly is THAT?

Also, what is the best use of Virtual Circuits? I think I get the
concept, but using it efficiently eludes me.

Thanx in advance,
Red


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/

Tuesday, August 21, 2007

[oopic] Re: parallel to serial port

Thank you very much for your replies guys!It was really helpful.I'll
see what I can do.

naimead


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/

[oopic] Re: Serial communication between two oopics

Start with message 31626 re: I2C over 17 meters of cable.

Richard



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/

[oopic] Re: Serial communication between two oopics

That is great news about I2C buffers. DDE sounds like a
better/easier/more reliable option for devices that are peers, and if
the distance between nodes can be extended in this way, I think I'll
starting looking down this road.

Thanks
>
> With Philips (now NXP) buffers, I2C is limited to about a mile. There
> are lesser buffers for using I2C over a few dozen feet. Someone
> around here did a project about a year ago with I2C over 30 feet or
> so. Search the archives for I2C.



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/

[oopic] Re: Serial communication between two oopics

RS232 is good for a couple of dozen feet (maybe less at high speed).
Beyond that you definitely want to use RS485.

Dump the R board (ok, set it aside for another project), get a second
S board and use any of the RS485 drivers from www.maxim-ic.com.

If
you organize the bus for full duplex, you can look exactly like a
serial link: the transmit of one end connects to the receive of the
other end and vice versa.

You can get the OOPic version of the MiniSumo Mark III controller from
www.junun.org for $49 (kit, "some assembly required"). Socket the
DS232 and leave it out. At this point, the 40 pin header is
compatible with the S board. You can use Mark III prototype boards to
plug in to the header and put the RS485 driver chip on these. Other
interface boards that are compatible with the S board are also
compatible with the Mark III board.

http://www.junun.org/MarkIII/Info.jsp?item=28 - controller
http://www.junun.org/MarkIII/Info.jsp?item=4 - prototype board

With Philips (now NXP) buffers, I2C is limited to about a mile. There
are lesser buffers for using I2C over a few dozen feet. Someone
around here did a project about a year ago with I2C over 30 feet or
so. Search the archives for I2C.

The good news with serial is that you can use wireless modems. I
haven't seen I2C wireless but I suppose it could be created with a
coprocessor.

Interacting over a serial port implies that there is code running on
both processors that deals with communications. Since you don't have
access to any type of interrupt and the buffer for oSerialPort is only
4 bytes, you have to deal with all of this in code and do it
frequently. You can probably use event code as a type of interrupt.

In the end, the ability of I2C to simply change object values is far
more powerful than any type of serial link. And it doesn't require
code in a loop to send/receive.

Richard



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/

[oopic] Re: Serial communication between two oopics

--- In oopic@yahoogroups.com, "Mike Smith" <msmith@...> wrote:
>
> Thanks Richard -
>
> > Or, skip the serial experience altogether. Serial communications
> > isn't something the OOPic does well.
> >
> > Read Chapter 12 of the Programmer's Guide and use Dynamic Data
> > Exchange (oDDELink). This will allow each OOPic to manipulate
> values
> > in the other OOPic.
> >
>
> I would like to skip the serial stuff and use i2c / DDE as well,
but
> the OOPics will be separated from each other by some distance and
> everything I've read is that i2c should only / can only be used for
> very short distances.
>
> I'll plan on getting the level shifter for the S board, and getting
> each to talk to the PC first.
>


Considering the r-board actually uses 0-5v levels for RS232 [DB09
connector], you could probably get by with just simple inverters on
the s-board. At least for testing pusposes. Still need the null-
modem, or switching pins 2+3 in DB09 cable.

Wonder how much 4000' of copper cable costs these days? :)


> I'm hoping that at RS232 levels I can get the distance I need. If
> not, I was planning to look into RS232<->RS485 converters
(Wikipedia
> says RS485 can go 4000ft!), or using something like a Prizm
MicroMux
> (http://www.prizminc.com/pdf/DS_micromux1.20.2004.pdf) to convert
> RS232/RS485<->Fiber between the cards. (I suspect those fiber
modems
> are pricy though!)
>
> Ah, but I'm getting ahead of myself. First, I'll try to get the
> serial basics down and order the MAX232 for the S card.
>
> Thanks for the help. I'll keep the group posted if I can get any
of
> this "long distance" serial stuff working.
>



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/

Re: [oopic] Re: Serial communication between two oopics

There are a number of ways that you can do this. Connecting two ooPICs
together using oSerialX is a good way. Since oSerialX will only work on
receive if you are handshaking, and since oSerialX DOES do hardware
handshaking, this is a good option. BUT you MUST use the hardware
handshake to get them to receive from each other.

You can also use oSPI to talk back and forth, but this is synchronous
and you'll have to be paying close attention if you are doing
peer-to-peer, so it might not be the best way.

Finally you can use oI2C to do this. If you connect your prog port to
the other ooPIC's DDE (debug) port then you can essentially mount each
ooPIC to the other and talk directly to the OS - The ooPIC appears as a
256 byte EEPROM to the oI2C. This is a risky method to use - It is fast
and direct, but you can seriously bugger the ooPIC with a bad choice of
writes, so I don't recommend this to anyone that isn't pretty up on how
to deal with the ooPIC over the I2C.

Finally you can punt and use the regular RS232 through the level
converters, even though it takes up your programming serial port to do it.

DLC

msmith98990 wrote:
> Thanks for the feedback.
>
>
>>Did you also connect a ground wire?
>>
>
>
> Hmm...this I did not do. In this scenario, which IO line(s) require
> the ground line for serial communication to work? Am I basically
> grounding the two OOPics together somewhere so that they share that
> common reference?
>
>
>>Sending strings between OOPics guarantees that you will lose data,
>>since the RX buffers can only hold four bytes.
>>
>
>
> Understood. Thanks
>
>
>>Since you have an OOPic-R, why don't you work on your serial mojo
>
> by
>
>>communicating between it and your PC first? E.g. get what you send
>>from your PC to echo back to the PC as well as display on the LCD.
>>
>
>
> OK. That will be my first order of business then. I'll go back and
> read some more on the OOPic to PC communication as a first step
> towards OOPic to OOPic communication.
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

--
===================================================
Dennis Clark ooPIC Technical Support
===================================================



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/

[oopic] Re: Serial communication between two oopics

Thanks Richard -

> Or, skip the serial experience altogether. Serial communications
> isn't something the OOPic does well.
>
> Read Chapter 12 of the Programmer's Guide and use Dynamic Data
> Exchange (oDDELink). This will allow each OOPic to manipulate
values
> in the other OOPic.
>

I would like to skip the serial stuff and use i2c / DDE as well, but
the OOPics will be separated from each other by some distance and
everything I've read is that i2c should only / can only be used for
very short distances.

I'll plan on getting the level shifter for the S board, and getting
each to talk to the PC first.

I'm hoping that at RS232 levels I can get the distance I need. If
not, I was planning to look into RS232<->RS485 converters (Wikipedia
says RS485 can go 4000ft!), or using something like a Prizm MicroMux
(http://www.prizminc.com/pdf/DS_micromux1.20.2004.pdf) to convert
RS232/RS485<->Fiber between the cards. (I suspect those fiber modems
are pricy though!)

Ah, but I'm getting ahead of myself. First, I'll try to get the
serial basics down and order the MAX232 for the S card.

Thanks for the help. I'll keep the group posted if I can get any of
this "long distance" serial stuff working.


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/

[oopic] Re: Serial communication between two oopics

Or, skip the serial experience altogether. Serial communications
isn't something the OOPic does well.

Read Chapter 12 of the Programmer's Guide and use Dynamic Data
Exchange (oDDELink). This will allow each OOPic to manipulate values
in the other OOPic.

And it isn't clear that connecting to those pads on the R board
without removing the driver chip will work. It's been discussed
endlessly over the years but there has never been a definitive answer.
As Dan said, use RS232 levels at both ends.

Richard


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/

[oopic] Re: Serial communication between two oopics

--- In oopic@yahoogroups.com, "msmith98990" <msmith@...> wrote:
>
> Hello everyone. I have an OOPic-R and an OOPic-S and have been
> trying to get them to successfully talk to each other via serial.
> Both boards will need to send and receive data at regular
intervals.
> I'm hoping that someone out there has had success with this, would
be
> willing to verify what I've learned so far and point out where I'm
> going wrong.
>


Here are a couple of suggestions.

First, don't try using oSerialX for 2-way comms, as it doesn't work
well on receive. Just do everything using the main UARTs. On the
oopic-r this is your DB09 connector. On the oopic-s, this is chip
pins 25+26 [referring here to the chip itself, not how oopic labels
the I/O lines]. You'll need to install a MAX232 level shifter chip on
the oopic-s board.

Now the "important" part. BEFORE you try to connect the 2 boards
together, connect each one separately to your PC and get them to
properly talk to Hyperterminal, or another terminal emulator. Work on
the oopic code for talking to the PC.

Then, connect the 2 oopic boards together via a [required] null
adapter.


- dan michaels
www.oricomtech.com
--- OOBOT40 Boards ---
=========================

> Initially I tried using oSerialX because it allowed you to use
> arbitrary I/O lines instead of I/O lines 22 and 23. I did this
> because I had a hard time finding those two lines on the OOPic-R.
> I've since read that they can be found on the underside of the
board -
> 3 pads located under the DB9 connector - line 23 being on the left
> and line 22 being on the right.
>
> Armed with this knowledge, I connected what I believe is line 23
> (serial Rx) of the OOPic-R to line 22 (serial Tx) of the OOPic-S
(pin
> 37 on the 40 pin connector) and line 22 (serial Tx) of the OOPic-R
to
> line 23 (Serial Rx) of the OOPic-S (pin 39 of the 40 pin connector)
>
> I wasn't able to find a full send and receive example, but took the
> most usable one I found and modified it to simply tell me if the
> received property of the oSerialPort object is getting set and
print
> the incoming data to the LCD:
>
> Dim S As New oSerialPort
> Dim W As New oWire
> Dim LCD As New oLCDSET
> Dim LED As New oLED
>
> Sub Main()
> LED.IOLine = 7
> LED.TurnOn
> LED.Operate = 0
>
> LCD.IOLine = 16
> LCD.Serial.Baud=3
> LCD.Operate=1
>
> LCD.String="Serial Port Test"
> ooPIC.Delay=100
> LCD.Clear
>
> S.Baud = cv9600
> S.Operate = cvTrue
> W.Input.Link(S.Received)
> W.Output.Link(LED.Operate)
> W.Operate = cvTrue
> S.Value = "Hello"
>
> Do
> If S.Received Then
> LCD.String = Str$(S.Value)
> End If
> Loop
> End Sub
>
>
> As I understand it, S.Received gets set when incoming data
arrives.
> Since this program is running on both OOPics, they both should be
> sending "Hello" on startup, their LEDs connected to IO line 7
should
> light up briefly and the one with the LCD connected should show
what
> it received, and then the LED should turn off as soon as the data
is
> read. I realize whichever one starts up second will not likely
> receive the message since it is only sent once, but I would think
> that the first one up should receive it from the one that is
powered
> up second.
>
> What happens is that the OOPic-R never seems to have received
> anything (no LED and no LCD output) while the OOPic-S flashes it's
> LED on and off a couple times per second. What's wierd is it does
> that even when I disconnect the serial lines.
>
> If I can get this working, I'm assuming the next step is to
introduce
> some flow control by dim'ing a couple of oDio1 lines on each,
> connecting one pair of them for a clear to send signal for the
OOPic-
> R to know when it can send data, and the other pair so that the
OOPic-
> S knows when it can send. The CTS lines would be owire'd to the
> S.Received property so that it changes from high to low when data
is
> received to prevent the sender from sending more data until the
> receiver has read in what it has already received. And I would
> probably set it up to be event driven rather than using any loop.
>
> Am I anywhere close here? I would appreciate any help, including
> tips on troublshooting this one thing at a time. For example, is
it
> possible to have a single OOPic talk to itself by connecting it's
own
> line 22 to it's own line 23 to verify that it can send and receive
> data? And when the data is sent as a string, is it received in
such
> a way that a lcd.string=str$(s.value) would even work, or is that
> going to produce ASCII numbers for just the first character?
>
> Thanks to anyone who can chime in on this issue.
>



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/

[oopic] Re: Serial communication between two oopics

Thanks for the feedback.

>
> Did you also connect a ground wire?
>

Hmm...this I did not do. In this scenario, which IO line(s) require
the ground line for serial communication to work? Am I basically
grounding the two OOPics together somewhere so that they share that
common reference?

>
> Sending strings between OOPics guarantees that you will lose data,
> since the RX buffers can only hold four bytes.
>

Understood. Thanks

> Since you have an OOPic-R, why don't you work on your serial mojo
by
> communicating between it and your PC first? E.g. get what you send
> from your PC to echo back to the PC as well as display on the LCD.
>

OK. That will be my first order of business then. I'll go back and
read some more on the OOPic to PC communication as a first step
towards OOPic to OOPic communication.


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/

Re: [oopic] Serial communication between two oopics

At 07:52 AM 8/21/2007, msmith98990 wrote:
>Armed with this knowledge, I connected what I believe is line 23
>(serial Rx) of the OOPic-R to line 22 (serial Tx) of the OOPic-S (pin
>37 on the 40 pin connector) and line 22 (serial Tx) of the OOPic-R to
>line 23 (Serial Rx) of the OOPic-S (pin 39 of the 40 pin connector)

Did you also connect a ground wire?


>Sub Main()
> LED.IOLine = 7

No delay at startup can be dangerous when playing with serial I/O.


> LCD.String = Str$(S.Value)

LCD = S should be sufficient. You are after all just dealing with ASCII bytes.


>What happens is that the OOPic-R never seems to have received
>anything (no LED and no LCD output) while the OOPic-S flashes it's
>LED on and off a couple times per second. What's wierd is it does
>that even when I disconnect the serial lines.

Hm. Something's borked.


>If I can get this working, I'm assuming the next step is to introduce
>some flow control by dim'ing a couple of oDio1 lines on each,
>connecting one pair of them for a clear to send signal for the OOPic-
>R to know when it can send data, and the other pair so that the OOPic-
>S knows when it can send. The CTS lines would be owire'd to the
>S.Received property so that it changes from high to low when data is
>received to prevent the sender from sending more data until the
>receiver has read in what it has already received. And I would
>probably set it up to be event driven rather than using any loop.

Sounds like it's doable. I get the impression that you want the two
OOPics to act as peers rather than a master/slave
relationship. Could get tricky.


>Am I anywhere close here? I would appreciate any help, including
>tips on troublshooting this one thing at a time. For example, is it
>possible to have a single OOPic talk to itself by connecting it's own
>line 22 to it's own line 23 to verify that it can send and receive
>data?

Certainly.


> And when the data is sent as a string, is it received in such
>a way that a lcd.string=str$(s.value) would even work, or is that
>going to produce ASCII numbers for just the first character?

Sending strings between OOPics guarantees that you will lose data,
since the RX buffers can only hold four bytes.

Since you have an OOPic-R, why don't you work on your serial mojo by
communicating between it and your PC first? E.g. get what you send
from your PC to echo back to the PC as well as display on the LCD.


...Andy



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/

[oopic] Serial communication between two oopics

Hello everyone. I have an OOPic-R and an OOPic-S and have been
trying to get them to successfully talk to each other via serial.
Both boards will need to send and receive data at regular intervals.
I'm hoping that someone out there has had success with this, would be
willing to verify what I've learned so far and point out where I'm
going wrong.

Initially I tried using oSerialX because it allowed you to use
arbitrary I/O lines instead of I/O lines 22 and 23. I did this
because I had a hard time finding those two lines on the OOPic-R.
I've since read that they can be found on the underside of the board -
3 pads located under the DB9 connector - line 23 being on the left
and line 22 being on the right.

Armed with this knowledge, I connected what I believe is line 23
(serial Rx) of the OOPic-R to line 22 (serial Tx) of the OOPic-S (pin
37 on the 40 pin connector) and line 22 (serial Tx) of the OOPic-R to
line 23 (Serial Rx) of the OOPic-S (pin 39 of the 40 pin connector)

I wasn't able to find a full send and receive example, but took the
most usable one I found and modified it to simply tell me if the
received property of the oSerialPort object is getting set and print
the incoming data to the LCD:

Dim S As New oSerialPort
Dim W As New oWire
Dim LCD As New oLCDSET
Dim LED As New oLED

Sub Main()
LED.IOLine = 7
LED.TurnOn
LED.Operate = 0

LCD.IOLine = 16
LCD.Serial.Baud=3
LCD.Operate=1

LCD.String="Serial Port Test"
ooPIC.Delay=100
LCD.Clear

S.Baud = cv9600
S.Operate = cvTrue
W.Input.Link(S.Received)
W.Output.Link(LED.Operate)
W.Operate = cvTrue
S.Value = "Hello"

Do
If S.Received Then
LCD.String = Str$(S.Value)
End If
Loop
End Sub


As I understand it, S.Received gets set when incoming data arrives.
Since this program is running on both OOPics, they both should be
sending "Hello" on startup, their LEDs connected to IO line 7 should
light up briefly and the one with the LCD connected should show what
it received, and then the LED should turn off as soon as the data is
read. I realize whichever one starts up second will not likely
receive the message since it is only sent once, but I would think
that the first one up should receive it from the one that is powered
up second.

What happens is that the OOPic-R never seems to have received
anything (no LED and no LCD output) while the OOPic-S flashes it's
LED on and off a couple times per second. What's wierd is it does
that even when I disconnect the serial lines.

If I can get this working, I'm assuming the next step is to introduce
some flow control by dim'ing a couple of oDio1 lines on each,
connecting one pair of them for a clear to send signal for the OOPic-
R to know when it can send data, and the other pair so that the OOPic-
S knows when it can send. The CTS lines would be owire'd to the
S.Received property so that it changes from high to low when data is
received to prevent the sender from sending more data until the
receiver has read in what it has already received. And I would
probably set it up to be event driven rather than using any loop.

Am I anywhere close here? I would appreciate any help, including
tips on troublshooting this one thing at a time. For example, is it
possible to have a single OOPic talk to itself by connecting it's own
line 22 to it's own line 23 to verify that it can send and receive
data? And when the data is sent as a string, is it received in such
a way that a lcd.string=str$(s.value) would even work, or is that
going to produce ASCII numbers for just the first character?

Thanks to anyone who can chime in on this issue.


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/

Monday, August 20, 2007

[oopic] Re: parallel to serial port

--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> sigh. This is what comes from writing responses from my PDA -
Palms new
> Grafitti II is crap, I want plain ol' Grafitti back! As you know,
> "serial" is what I meant!
>
> DLC
>


Figured as much, but I was afraid naimead might be confused, and/or
some new wizzbang had been invented that I hadn't heard about :).
There is always someone who is the last to know.

As in, shoot, Dennis already has a serlac, and I've never even heard
of it. That guy gets all the good toys. His wife probably picked one
up in Japan or Norway, and brought it home.

> dan michaels wrote:
> > --- In oopic@yahoogroups.com, <dennis.clark@> wrote:
> >
> >>Correct. The PC needs a serlac connection to get data to it.
You
> >
> > will need that converter for that.
> >
> >
> >
> > Sorry, but what on earth is "serlac"?
> >
> >
> >
> >
> >>The good news is that you can buy ready-made solutions.
> >>www.pololu.com
> >>www.acroname.com
> >>Are two good places to look.
> >>
> >>DLC
> >>
> >>ooPIC Tech Support
> >>
> >>-----Original Message-----
> >>
> >>From: "naimead" <naimead@>
> >>Subj: [oopic] Re: parallel to serial port
> >>Date: Mon Aug 20, 2007 1:27 pm
> >>Size: 952 bytes
> >>To: oopic@yahoogroups.com
> >>
> >>I was afraid of something like that...So you are telling me that
> >
> > there
> >
> >>is no way of printing the results of a sonar or even just a
simple
> >>phrase on the PC without using serial programming mode?Is there
any
> >>object that I can use instead that does the same job with oSerial
> >>object?I mean even if I find a MAX232 I wouldn't know how to
> >
> > connect
> >
> >>it to my OOPic...
> >>
> >>naimead
> >>
> >>
> >>
> >>
> >>Yahoo! Groups Links
> >>
> >
> >
> >
> >
> >
> >
> > 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/

Re: [oopic] Re: parallel to serial port

sigh. This is what comes from writing responses from my PDA - Palms new
Grafitti II is crap, I want plain ol' Grafitti back! As you know,
"serial" is what I meant!

DLC

dan michaels wrote:
> --- In oopic@yahoogroups.com, <dennis.clark@...> wrote:
>
>>Correct. The PC needs a serlac connection to get data to it. You
>
> will need that converter for that.
>
>
>
> Sorry, but what on earth is "serlac"?
>
>
>
>
>>The good news is that you can buy ready-made solutions.
>>www.pololu.com
>>www.acroname.com
>>Are two good places to look.
>>
>>DLC
>>
>>ooPIC Tech Support
>>
>>-----Original Message-----
>>
>>From: "naimead" <naimead@...>
>>Subj: [oopic] Re: parallel to serial port
>>Date: Mon Aug 20, 2007 1:27 pm
>>Size: 952 bytes
>>To: oopic@yahoogroups.com
>>
>>I was afraid of something like that...So you are telling me that
>
> there
>
>>is no way of printing the results of a sonar or even just a simple
>>phrase on the PC without using serial programming mode?Is there any
>>object that I can use instead that does the same job with oSerial
>>object?I mean even if I find a MAX232 I wouldn't know how to
>
> connect
>
>>it to my OOPic...
>>
>>naimead
>>
>>
>>
>>
>>Yahoo! Groups Links
>>
>
>
>
>
>
>
> 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/

[oopic] Re: parallel to serial port

--- In oopic@yahoogroups.com, "naimead" <naimead@...> wrote:
>
> I was afraid of something like that...So you are telling me that there
> is no way of printing the results of a sonar or even just a simple
> phrase on the PC without using serial programming mode?Is there any
> object that I can use instead that does the same job with oSerial
> object?I mean even if I find a MAX232 I wouldn't know how to connect
> it to my OOPic...
>
> naimead
>

You have two different things going on. If you have an old OOPic
(prior to B.2.0, I believe) then you can only program it with the
parallel cable. If you have a newer version then you can program it
with a serial cable.

But programming has nothing to do with IO. Even if you are forced to
use the parallel cable for programming, you can still use a serial
cable (and RS232 dongle http://www.pololu.com/products/pololu/0126/)
to do serial I/O with the PC. Perhaps you would use Hyperterminal or
something. The parallel cable would still be used for programming.

If your chip will accept serial programming then the same cable/dongle
is used for both.

Richard



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/

[oopic] Re: parallel to serial port

--- In oopic@yahoogroups.com, <dennis.clark@...> wrote:
>
> Correct. The PC needs a serlac connection to get data to it. You
will need that converter for that.
>


Sorry, but what on earth is "serlac"?

> The good news is that you can buy ready-made solutions.
> www.pololu.com
> www.acroname.com
> Are two good places to look.
>
> DLC
>
> ooPIC Tech Support
>
> -----Original Message-----
>
> From: "naimead" <naimead@...>
> Subj: [oopic] Re: parallel to serial port
> Date: Mon Aug 20, 2007 1:27 pm
> Size: 952 bytes
> To: oopic@yahoogroups.com
>
> I was afraid of something like that...So you are telling me that
there
> is no way of printing the results of a sonar or even just a simple
> phrase on the PC without using serial programming mode?Is there any
> object that I can use instead that does the same job with oSerial
> object?I mean even if I find a MAX232 I wouldn't know how to
connect
> it to my OOPic...
>
> naimead
>
>
>
>
> Yahoo! Groups Links
>



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/

Re: [oopic] Re: parallel to serial port

Correct. The PC needs a serlac connection to get data to it. You will need that converter for that.

The good news is that you can buy ready-made solutions.

www.pololu.com
www.acroname.com
Are two good places to look.

DLC

ooPIC Tech Support

-----Original Message-----

From: "naimead" <naimead@yahoo.com>
Subj: [oopic] Re: parallel to serial port
Date: Mon Aug 20, 2007 1:27 pm
Size: 952 bytes
To: oopic@yahoogroups.com

I was afraid of something like that...So you are telling me that there
is no way of printing the results of a sonar or even just a simple
phrase on the PC without using serial programming mode?Is there any
object that I can use instead that does the same job with oSerial
object?I mean even if I find a MAX232 I wouldn't know how to connect
it to my OOPic...

naimead


Yahoo! Groups Links



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/

[oopic] Re: parallel to serial port

I was afraid of something like that...So you are telling me that there
is no way of printing the results of a sonar or even just a simple
phrase on the PC without using serial programming mode?Is there any
object that I can use instead that does the same job with oSerial
object?I mean even if I find a MAX232 I wouldn't know how to connect
it to my OOPic...

naimead


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/

[oopic] Re: parallel to serial port

--- In oopic@yahoogroups.com, "naimead" <naimead@...> wrote:
>
> First I used a valid oopic parallel programming cable to the PC
> printer port, LPTx, and connect to the the 5-pin PRG header on the
> oopic board, and use the OOPic IDE parallel-programming mode.(the
> cable could be identified by oopic's compiler)
>
> But the thing is that when I want to print to my computer's screen
I
> had to use objects such as oSerial which they demand a serial
> connection between my PC and OOPic.
>
> Then I used a modem cable to connect my programming cable to the PC
> COM port but the other side of the cable still goes to 5-pin PRG
since
> oopic original does not have a DB09 connector on OOPIC!
>


No, you cannot do this. The 5-pin PRG connector goes to the eeprom
pins of the oopic [pins 6+7].

To do serial comms, and use the oSerial objects, you need a MAX232
level shifter connected to the UART pins on the oopic [pins 25+26].

> Is there any way to print the results I want on my comp's screen
using
> parallel_programming_mode?
>
> naimead
>



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/

[oopic] Re: parallel to serial port

First I used a valid oopic parallel programming cable to the PC
printer port, LPTx, and connect to the the 5-pin PRG header on the
oopic board, and use the OOPic IDE parallel-programming mode.(the
cable could be identified by oopic's compiler)

But the thing is that when I want to print to my computer's screen I
had to use objects such as oSerial which they demand a serial
connection between my PC and OOPic.

Then I used a modem cable to connect my programming cable to the PC
COM port but the other side of the cable still goes to 5-pin PRG since
oopic original does not have a DB09 connector on OOPIC!

Is there any way to print the results I want on my comp's screen using
parallel_programming_mode?

naimead


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/

Sunday, August 19, 2007

Re: [oopic] Re: Windows Vista

The short answer is no. It doesn't work on Vista yet. This is being
worked on.

DLC

ploddykins2001 wrote:
> 1b. Windows Vista
> Posted by: "carson hoyt" carr6565@yahoo.com carr6565
> Date: Sat Aug 18, 2007 6:01 pm ((PDT))
>
> Hi everyone,
>
> I'm getting a new computer and I was wondering if the new compiler
> would run on windows vista. Does anyone know?
>
> Thanks,
>
> Carson
> --------------------------------------------------------------------
>
> I get most programmes to work in VISTA by right clicking on the
> programme icon, this will open up a window, at the bottom is the
> Properties.
> Open this up and a new window will open up.
>
> At the top are some tabs.
> Select Compatibility.
>
> A new window will open.
> Tick the box "Run this programme in compatibility mode for:".
> Choose the operating system.
> Click on Apply, bottom right, then close.
>
> Enjoy :_)
>
> Gordon.
>
>
>
>
>
> 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/

Re: [oopic] Re: parallel to serial port

What level converter are you using? If you are using your computer's
DB9 connector then you are on COM1. Do you know that you have the
proper serial cable? It needs to be a DB9 straight through cable. One
test is to short pin 2 and 3 on your serial cable and open up Hyperterm
and type. If letters appears when you connect to the COM1 port then the
serial connection is good.

DLC

naimead wrote:
> Dennis I am connecting my oopic's programming cable to a serial port
> using a simple parallel_to_serial adaptor.I am not using a
> laptop.Now I don't know how I can figure out which COM port my
> serial port is on or how can I open it.But I have tried both of my
> COM ports and I tried through my oopic compiler to find the
> programming cable but this didn't happen.
>
> Any ideas?
>
> naimead
>
>
> --- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
> wrote:
>
>>What serial/RS232 level translator are you using on the ooPIC?
>
> How are
>
>>you connecting to your computer? Do you use a USB/RS232 converter
>
> on
>
>>your laptop? Do you know what COM port your serial port is on?
>>
>>DLC

--
------------------------------------------------------
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/

[oopic] Re: parallel to serial port

--- In oopic@yahoogroups.com, "naimead" <naimead@...> wrote:
>
> Dennis I am connecting my oopic's programming cable to a serial
port
> using a simple parallel_to_serial adaptor.


This makes no sense.

Either you connect a valid oopic parallel programming cable to the PC
printer port, LPTx, and connect to the the 5-pin PRG header on the
oopic board, and use the OOPic IDE parallel-programming mode,

OR

You connect a straight-through wired serial [modem] cable to a PC
RS232 port, COMx, and connect it to the DB09 connector on the oopic
board, and use the OOPic IDE serial-programming mode.

Saying you're using a "simple parallel-to-serial adaptor" is neither
of these.


I am not using a
> laptop.Now I don't know how I can figure out which COM port my
> serial port is on or how can I open it.But I have tried both of my
> COM ports and I tried through my oopic compiler to find the
> programming cable but this didn't happen.
>
> Any ideas?
>
> naimead
>
>
> --- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@>
> wrote:
> >
> > What serial/RS232 level translator are you using on the ooPIC?
> How are
> > you connecting to your computer? Do you use a USB/RS232
converter
> on
> > your laptop? Do you know what COM port your serial port is on?
> >
> > DLC
>



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/

[oopic] Re: parallel to serial port

I have already checked through my device manager the COM ports and I
figure out that I have COM1 and COM2 and one LTP but I dont know what
else to do...


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/