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, July 20, 2007

[oopic] Re: USB cable Error 2 - expected v received V

Its not a wedgie. I followed the wedgie removal steps exactly, and
still got the same error message when I tried to download known good
code with the EEPROM removed. I also replaced the battery with a
fresh one, even though I almost certain the old one was still good.
Same result. After that, I went so far as to find a computer with an
RS232 connection and downloaded code just to make sure that I could.
It worked. No problems.

What does the error message mean? I've seen examples on here where
the message was expected v received x, but not one like mine.

Any other suggestions?


--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> Cosmic Wedgie, search the archive for the fix, or heck here it is
in a
> nutshell:
>
> power off remove EEPROM
> power on, download to board a KNOWN GOOD program
> When told to put the EEPROM in, do so, while the power is still on
> finish download
> Change old code to put a ooPIC.delay = 500 at the start of the
program
>
> All fixed (make sure your battery is good)
>
> DLC
>
> thetruth_as_i_seeit wrote:
> > Anyone seen that one before? Its driving me nuts!
> >
> > Here are some more deails about my connectile dysfunction.
> >
> > 1. I'm using an OOPic R. I've used the board with a RS232
connector to
> > download code with no problems.
> >
> > 2. The machine I'm using now is brand new with only USB ports,
running
> > Vista (yuck!).
> >
> > 3. When I run hyperterminal (which I had to download as Vista
doesn't
> > include it anymore) I have only one port active ... port 3.
> >
> > 4. When I manually set the OOpic IDE to port 3 and try to
download code
> > I get the 'expected v received V" error message.
> >
> > 5. When I used the \0V test in hyperterminal, I got nothing at
all.
> >
> > Any and all help appreciated!
> >
> >
> >
> >
> > 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: Question about serial communication

Thanks everyone for responding. I really appreciate the insight (and
especially a sample working program to work from). I am trying to
control a robot using a php webpage and linux. I've worked out the
webpages, but was having problems with serial communications. I'd like
to send commands like fw,bk,lt,rt,st(=stop) for movement, logging
success or failure and monitoring some sensors. I knew I wanted to use
OSerialPort but I didn't realize the significance. I really appreciate
the answers you've given so far. I'll update (hopefully this
weekend!). Thanks again everyone.

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: HSR 5995TG and oPWMS

I don't think it is toast, I've opened it and nothing looks fried or
anything. What I really think it is is the pulse width being put out
by the oopic. How would I change the pulse width in the code? With
PWMS or another command? What would a small code example be?
--- In oopic@yahoogroups.com, <dennis.clark@...> wrote:
>
> Please check your connections. The oServo objects will work fine
with digital servos.
>
> DLC
>
> ooPIC Tech Support
>
> -----Original Message-----
>
> From: "Russell Nickerson" <stover0107@...>
> Subj: [oopic] HSR 5995TG and oPWMS
> Date: Sun Jul 15, 2007 9:49 pm
> Size: 1K
> To: oopic@yahoogroups.com
>
> I bought a High torque HSR5995TG digital servo. I tried the
standard
> servo objects but they did not work. I went to the new oPWMS
object and
> still I cannot get this servo to move even an millimeter. I'm
afraid to
> blow anything out as well. My current setup is a large rechargable
car
> jumper battery at 12v (it is high for these servos but it is only
for
> testing. This should be more than enough to power it. So it must
be my
> signal. I'm in college and I am not extremely good at electronics
but I
> know some basic things. The entire oPWMS object is very hard to
> understand in the documents and I'm not sure what I should change
in
> order to get it to work.
>
>
>
>
>
> 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] get big

the extender http://www.auhua.net/vvnq


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, July 19, 2007

[oopic] Re: Angle of attack VII - any help appreciated

--- In oopic@yahoogroups.com, "Nick Mulder" <nick.mulder@...> wrote:
>
> Just reading up on the part ...
>
> Still way behind you in terms of knowing this stuff - really need to
> read up on the basics - logic gates, JK flip flops and the like ...
>
> I'll get down to nutting it out shortly - suspect I'll need to turn
> down the music and draw me a picture with bunnywabbits, truth tables
> etc...
>
> Damn spec sheets are written *too efficiently* for me - nothing but
> the required info huh, no '74LS163 for dummies' or 'rtstofer for
> dummies' for that matter ;)
>
> cheers for the update, imagine I would have been quite confused
without it !
> Nick

The reason for wanting synchronous reset is that there won't be a
glitch at the end of the count. If you try an asynchronous reset,
there will be an instant where the count will be 25 just before it
clears to 0. Maybe that matters, maybe it doesn't. Maybe you get a
complete reset, maybe you don't.

Back to that 74LS163: from the timing diagram, LOAD needs to be a '1'
for normal counting as does ENABLE P and ENABLE T. For the low order
counter pull them all high. On the high order counter, connect ENABLE
P and ENABLE T to the Ripple Carry Out of the low order counter. The
LOAD signal of the high order counter needs to be '1'.

There are some good examples here:
http://people.cornell.edu/pages/ps92/DLD/Counter-163.pdf

I haven't thought about discrete counters in a very long time. It is
so much easier to build a synchronous counter in a CPLD or FPGA. A
very few lines of code and its done! Let the synthesis tool do all
the grunt work! When you have 1M gates in a single package almost
anything is possible.

Richard

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! News

Odd News

You won't believe

it, but it's true

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Biz Resources

Y! Small Business

Articles, tools,

forms, and more.

.

__,_._,___

Re: [oopic] Re: Angle of attack VII - any help appreciated

Actually, if you want a good "for newbies" kind of logic book get the
old tried and true "TTL Cookbook". This has been around for 25+ years,
but it will get you going on discrete logic.

DLC

Nick Mulder wrote:
> Just reading up on the part ...
>
> Still way behind you in terms of knowing this stuff - really need to
> read up on the basics - logic gates, JK flip flops and the like ...
>
> I'll get down to nutting it out shortly - suspect I'll need to turn
> down the music and draw me a picture with bunnywabbits, truth tables
> etc...
>
> Damn spec sheets are written *too efficiently* for me - nothing but
> the required info huh, no '74LS163 for dummies' or 'rtstofer for
> dummies' for that matter ;)
>
> cheers for the update, imagine I would have been quite confused without it !
> Nick
>
> On 7/20/07, rtstofer <rstofer@pacbell.net> wrote:
>
>>--- In oopic@yahoogroups.com, "rtstofer" <rstofer@...> wrote:
>>
>>>If you use a counter with a synchronous reset (reset occurs at clock
>>>edge) then things get a lot easier.
>>>
>>>Consider 2 74LS163 4 bit synchronous counters. Clock both together.
>>>Connect the Ripple Carry Output of the low order counter to the Enable
>>>T input of the high order counter. Ground the Enable T input of the
>>>low order counter. Ground all the Data inputs, the Enable P inputs
>>>and the Load inputs.
>>>
>>>Now, decode Q4 (the low order bit of the high order counter) AND Q3
>>>(the high order bit of the low order counter) as a count of 24 and run
>>>that to the Reset input. The counters will now count 0..24.
>>>
>>>Since you have decoded the 25th count (count = 24) all you have to do
>>>is decode the 13th count (0..12) so: AND together Q3 and Q2 (the high
>>>two bits of the low order counter).
>>
>>OOPS! The count of 24 will last for 1 clock because the counter
>>resets but the count of 12 will last a lot longer - 4 clocks.
>>
>>The proper decode for count = 12 (13th pulse) is Q3 AND Q2 AND (Q1 NOR
>>Q0).
>>
>>
>>>Richard
>>>
>>
>>
>>
>>
>>
>>Yahoo! Groups Links
>>
>>
>>
>>
>
>
>
>
> Yahoo! Groups Links
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! News

Fashion News

What's the word on

fashion and style?

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Drive Traffic

Sponsored Search

can help increase

your site traffic.

.

__,_._,___

Re: [oopic] USB cable Error 2 - expected v received V

Cosmic Wedgie, search the archive for the fix, or heck here it is in a
nutshell:

power off remove EEPROM
power on, download to board a KNOWN GOOD program
When told to put the EEPROM in, do so, while the power is still on
finish download
Change old code to put a ooPIC.delay = 500 at the start of the program

All fixed (make sure your battery is good)

DLC

thetruth_as_i_seeit wrote:
> Anyone seen that one before? Its driving me nuts!
>
> Here are some more deails about my connectile dysfunction.
>
> 1. I'm using an OOPic R. I've used the board with a RS232 connector to
> download code with no problems.
>
> 2. The machine I'm using now is brand new with only USB ports, running
> Vista (yuck!).
>
> 3. When I run hyperterminal (which I had to download as Vista doesn't
> include it anymore) I have only one port active ... port 3.
>
> 4. When I manually set the OOpic IDE to port 3 and try to download code
> I get the 'expected v received V" error message.
>
> 5. When I used the \0V test in hyperterminal, I got nothing at all.
>
> Any and all help appreciated!
>
>
>
>
> Yahoo! Groups Links
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! News

Get it all here

Breaking news to

entertainment news

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Share Photos

Put your favorite

photos and

more online.

.

__,_._,___