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, October 31, 2007

[oopic] I2C

>
> Dear all,
>

can anybody help me to configure a PIC16F877A MUC to communicate with an
OOPic using I2C. I want to know the addressing mode ( whether its 7bit or 10
bit) and cahnnel speed. MCU acts as the slave. thanks,

Disa


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

Tuesday, October 30, 2007

[oopic] Re: Using the RST pin on oobot 4o-II

--- In oopic@yahoogroups.com, "dan michaels" <oric_dan@...> wrote:
>
> --- In oopic@yahoogroups.com, "jporterwbtcorp" <jporter@> wrote:
> >
> > Does anyone know how to get an OObot 40-II do a reset other than
> > pushing that tiny little button on the board? I am hitting the
RST
> pin
> > with a logic high but nothing seems to happen.
> >
> > John
> >
>
>
> If you check the schematic, or use a voltmeter, you'll see that the
> reset switch pulls pin 1 of the oopic chip to "ground".
>
> If you want to do resets from an external signal, you should tap
onto
> the reset switch, rather than going straight to pin 1, since there
is
> a small resistor in series which will help protect the pin from
> noise, bad signals, etc.
>
>
> - dan michaels
> www.oricomtech.com
> =====================
>
Hey dan:

Thanks for the quick response. I got it working now.



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: Using the RST pin on oobot 4o-II

--- In oopic@yahoogroups.com, "jporterwbtcorp" <jporter@...> wrote:
>
> Does anyone know how to get an OObot 40-II do a reset other than
> pushing that tiny little button on the board? I am hitting the RST
pin
> with a logic high but nothing seems to happen.
>
> John
>


If you check the schematic, or use a voltmeter, you'll see that the
reset switch pulls pin 1 of the oopic chip to "ground".

If you want to do resets from an external signal, you should tap onto
the reset switch, rather than going straight to pin 1, since there is
a small resistor in series which will help protect the pin from
noise, bad signals, etc.


- dan michaels
www.oricomtech.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] Using the RST pin on oobot 4o-II

Does anyone know how to get an OObot 40-II do a reset other than
pushing that tiny little button on the board? I am hitting the RST pin
with a logic high but nothing seems to happen.

John



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, October 29, 2007

[oopic] Re: I/O lines of Oopic-C

No problem, I got already quite a detailed answer.
and, if you meant The Book, I have it, too.

BR /M
--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> Blasted yahoo. I put the image I _wanted_ to show in the files
section
> of the group as "oopicc.jpg"
>
> DLC
>
> ooPIC Tech Support wrote:
>
> > From my book, attached here is the description of those pads and
the
> >IOlines that they represent.
> >
> >DLC
> >
> >mtiusanen wrote:
> >
> >
> >
> >>Hi,
> >>my question is about the iolines in Oopic-C:
> >>Where is ioline 1 (and lines 2..7) in oopic-c?
> >>
> >>The meaning is to use analog input and convert the voltage to
value
> >>using aA2D8, but...
> >>I haven't found the map of those lines in
> >>http://www.oopic.com/oopiccn.htm
> >>just lines 8..15 and 24..31 respectively. Where are the lines
1..7?
> >>If they are the lines A1..A4 at the top of the chip, is the
enumeration
> >>A1 = I/O line 1, A2 = I/O line 2 etc?
> >>
> >>What are symbols "21", "T1", "P1" and "P2" standing for?
> >>
> >>THX /MT
> >>
> >>
> >>
> >>
> >>
> >>Yahoo! Groups Links
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>
>
>
> [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/

Saturday, October 27, 2007

Re: [oopic] Re: Serial Cable Configuration Errors

Thanks!
rtstofer <rstofer@pacbell.net> wrote: --- In oopic@yahoogroups.com, "dmichale84" <dmichale84@...> wrote:
>
>
> When I tried to configure the serial cables the message I received was
> Error
> expected v (lower case)
> received V(upper case)
>
> Does anyone know what this means and how to correct it?
>

See message 36883

Richard


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

Friday, October 26, 2007

[oopic] Re: Serial Cable Configuration Errors

--- In oopic@yahoogroups.com, "dmichale84" <dmichale84@...> wrote:
>
>
> When I tried to configure the serial cables the message I received was
> Error
> expected v (lower case)
> received V(upper case)
>
> Does anyone know what this means and how to correct it?
>

See message 36883

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] Serial Cable Configuration Errors

When I tried to configure the serial cables the message I received was
Error
expected v (lower case)
received V(upper case)

Does anyone know what this means and how to correct it?



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, October 25, 2007

Re: [oopic] ooPIC-R and RFID scanner

If your serial is logic level and NOT RS232 level then you will need to
invert the data before sending it to the ooPIC. The ooPIC R serial port
expects RS232 (read inverted) data, not logic level serial data.

DLC

m_simin wrote:

>Hello everyone,
>
>I bought an RFID scanner:
>http://www.parallax.com/detail.asp?product_id=28140
>
>And I'd like to press one button and have it learn 5 different RFID
>outputs. Then be capable of turning the green light on when the
>memorized RFID is present again.
>
>I understand the flowchart of the structure here, but I am very new to
>ooPIC functions. I don't understand how TTL is received and whether I
>need to buffer before I store just 1 tag.
>
>the RFID is 2400 8N1 TTL
>
>I went through all tutorials, and I don't have any problems connecting
>to the ooPIC and uploading code etc.
>
>Please advise.
>
>Thank you!
>Mikhail
>
>
>
>
>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] Reading TTL from an RFID scanner

Serial input is the weak point of the ooPIC. You can't use oBuffer
with oSerialPort directly. You have to get the data via the program
script and stuff it into the buffer. If you are doing that you might
just as well use an array instead. We're pushing to have oBuffer link
directly to a serial object to automatically fill a buffer with incoming
data, but the ooPIC isn't there yet.

DLC

Simin, Mikhail G wrote:

>Hi all,
>
>I have ooPIC-R and my goal is to make it learn a TTL signal, and then recognize it.
>The RFID output is a 2400 8-N-1. My struggle is with oSerialPort() oWire() and oBuffer()
>
>This is my first day programming ooPic -- please help :)
>
>Mikhail
>
>
>
>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] Power On Led

That isn't a power on LED, if it is glowing dimly that means that the
micro is running. If it is bright or off that means that the micro is
dead or locked up. If you can download code, you are good to go since
the micro controller needs to be awake and good for that to happen. In
short, nothing is wrong if you can download to it.

DLC

Samitha Ransara wrote:

>Hello,
>I have a OOPic R.The problem is the power on LED is not flashing when I
>connect it to the supply. But it aknowledgse to compiler, and I can program
>it. What may be the problem?
>
>Thanks a lot..
>
>Sam
>
>
>[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] ooPIC-R and RFID scanner

Hello everyone,

I bought an RFID scanner:
http://www.parallax.com/detail.asp?product_id=28140

And I'd like to press one button and have it learn 5 different RFID
outputs. Then be capable of turning the green light on when the
memorized RFID is present again.

I understand the flowchart of the structure here, but I am very new to
ooPIC functions. I don't understand how TTL is received and whether I
need to buffer before I store just 1 tag.

the RFID is 2400 8N1 TTL

I went through all tutorials, and I don't have any problems connecting
to the ooPIC and uploading code etc.

Please advise.

Thank you!
Mikhail


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] Reading TTL from an RFID scanner

Hi all,

I have ooPIC-R and my goal is to make it learn a TTL signal, and then recognize it.
The RFID output is a 2400 8-N-1. My struggle is with oSerialPort() oWire() and oBuffer()

This is my first day programming ooPic -- please help :)

Mikhail



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: Power On Led

--- In oopic@yahoogroups.com, "Samitha Ransara" <samitharansara@...>
wrote:
>
> Hello,
> I have a OOPic R.The problem is the power on LED is not flashing when I
> connect it to the supply. But it aknowledgse to compiler, and I can
program
> it. What may be the problem?
>
> Thanks a lot..
>
> Sam

It isn't a Power On LED... It is connected to the clock signal for
the EEPROM. I would expect it to be dim but I'm not sure you can see
distinct blinking. I'm not certain of this because I don't have an R
board.

If you don't even see a dim LED, perhaps it is defective. Check the
clock signal with a scope to get an idea of the duty cycle. I would
be very interested in seeing the signal at the junction of the LED
cathode and the 2.7k resistor. If the LED is defective, the 2.7k
resistor may not be pulling the clock signal high as it should.

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/

Wednesday, October 24, 2007

[oopic] Power On Led

Hello,
I have a OOPic R.The problem is the power on LED is not flashing when I
connect it to the supply. But it aknowledgse to compiler, and I can program
it. What may be the problem?

Thanks a lot..

Sam


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

Re: [oopic] I/O lines of Oopic-C

Blasted yahoo. I put the image I _wanted_ to show in the files section
of the group as "oopicc.jpg"

DLC

ooPIC Tech Support wrote:

> From my book, attached here is the description of those pads and the
>IOlines that they represent.
>
>DLC
>
>mtiusanen wrote:
>
>
>
>>Hi,
>>my question is about the iolines in Oopic-C:
>>Where is ioline 1 (and lines 2..7) in oopic-c?
>>
>>The meaning is to use analog input and convert the voltage to value
>>using aA2D8, but...
>>I haven't found the map of those lines in
>>http://www.oopic.com/oopiccn.htm
>>just lines 8..15 and 24..31 respectively. Where are the lines 1..7?
>>If they are the lines A1..A4 at the top of the chip, is the enumeration
>>A1 = I/O line 1, A2 = I/O line 2 etc?
>>
>>What are symbols "21", "T1", "P1" and "P2" standing for?
>>
>>THX /MT
>>
>>
>>
>>
>>
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
>
>

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

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

Re: [oopic] I/O lines of Oopic-C

From my book, attached here is the description of those pads and the
IOlines that they represent.

DLC

mtiusanen wrote:

>Hi,
>my question is about the iolines in Oopic-C:
>Where is ioline 1 (and lines 2..7) in oopic-c?
>
>The meaning is to use analog input and convert the voltage to value
>using aA2D8, but...
>I haven't found the map of those lines in
>http://www.oopic.com/oopiccn.htm
>just lines 8..15 and 24..31 respectively. Where are the lines 1..7?
>If they are the lines A1..A4 at the top of the chip, is the enumeration
>A1 = I/O line 1, A2 = I/O line 2 etc?
>
>What are symbols "21", "T1", "P1" and "P2" standing for?
>
>THX /MT
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>

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

[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: Trouble with PC communicating with OOPIC-R

--- In oopic@yahoogroups.com, "rtstofer" <rstofer@...> wrote:
>


Similar to what Richard said, I use a USB-to-RS232 dongle with my
notebook PC, and the oopic IDE cannot find the serial port
automatically. However, after I set the comport manually, downloads
work ok.

> > Hi All,
> >
> > Two weeks ago, I was able to communicate with the OOPIC-R via the
> serial
> > port and now I can not. I am back to getting the "Cable Not
Found"
> > dialog. I have made no *INTENTIONAL* changes that I know of that
would
> > cause the serial link between the PC and the OOPIC to stop
working.
> >
> > My setup: OOPIC-R and Windows XP running on Toshiba laptop.
> > I have no printer port and no serial port, only USB.
> >
> > No serial to TTL level converter.
> >
> > *NO* null modem cable.
> >
> > When I do Tools...Cable Configuration...Find Serial Cable, I get
the
> > "Can not find a serial cable connected to an OOPIC" dialog.
> >
> > disabled LPT1 and COM1, USB shows up as COM3.
> > device manager shows: USB Serial Port (COM3)
> > same result.
> >
> > uninstalled LPT1 and COM1
> > device manager shows: USB Serial Port (COM3)
> > same result.
> >
> > reboot, COM1 and LPT1 reappear. uninstall COM1 and LPT1 drivers
again.
> > Find Serial cable => Found no installed serial ports to check.
> >
> > rename COM3 to COM1 => same
> > "Can not find a serial cable connected to an OOPIC" dialog.
> >
> >
> > Went to a PC with a real serial port (only one) and checked that
is
> was set
> > to 9600 baud, no parity, and one stop bit. No better luck. One
time,
> I got the message
> > "sent y and received fhsa(*(*^%$$#$" or something like that.
> Sometimes received:
> > "Can not find a serial cable connected to an OOPIC" dialog.
> >
> > Thank you for all help that you can offer.
> >
> > Larry Leitch
> >
>
> First, it is ALWAYS better to tell the IDE where the serial cable is
> located than to have it try to find a cable.
>
> Just because the IDE is trying to talk to the OOPic doesn't mean the
> OOPic is listening. It should listen but if it is executing an
errant
> program, it won't.
>
> So, try the famous 'cosmic wedgie' fix: Power down the OOPic and
> remove the EEPROM. Power up and try to download a known good
program;
> certainly not the one that's in the OOPic now. I have a little
> blinking LED program that I keep in the OOPic when I'm not using it
> for just this reason.
>
> With luck, when you try to download with no EEPROM, the IDE will
pop a
> dialog telling you to reinstall the EEPROM. Do so with the power on
> (don't get it backwards!) and acknowledge the dialog. Everything
> should proceed - with luck...
>
> Now, ALWAYS put OOPic.Delay = 500 as the first executable statement
in
> your programs. This will allow the IDE to get the OOPic's attention
> during the 5 second delay following reset.
>
> You can verify your cable by using Hyperterminal (9600,n,8,1 no flow
> control) and shorting pins 2 & 3 at the end of the cable.
Characters
> typed at the keyboard should echo.
>
> There are USB<->Serial cables that don't like the voltage levels of
> the R-board. The voltage levels do not comply with RS232 signal
> levels but they will work with a PC serial port.
>
> You can test the USB<->OOpic connection in Hyperterminal (set as
> above) by typing \0V (backslash, zero, upper case V). You should
get
> a response of 'v' (lower case v). You can also do this from the
> terminal window of the IDE. Since you are jammed up, I suspect you
> will have to do this test with the EEPROM removed.
>
> 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: Trouble with PC communicating with OOPIC-R

> Hi All,
>
> Two weeks ago, I was able to communicate with the OOPIC-R via the
serial
> port and now I can not. I am back to getting the "Cable Not Found"
> dialog. I have made no *INTENTIONAL* changes that I know of that would
> cause the serial link between the PC and the OOPIC to stop working.
>
> My setup: OOPIC-R and Windows XP running on Toshiba laptop.
> I have no printer port and no serial port, only USB.
>
> No serial to TTL level converter.
>
> *NO* null modem cable.
>
> When I do Tools...Cable Configuration...Find Serial Cable, I get the
> "Can not find a serial cable connected to an OOPIC" dialog.
>
> disabled LPT1 and COM1, USB shows up as COM3.
> device manager shows: USB Serial Port (COM3)
> same result.
>
> uninstalled LPT1 and COM1
> device manager shows: USB Serial Port (COM3)
> same result.
>
> reboot, COM1 and LPT1 reappear. uninstall COM1 and LPT1 drivers again.
> Find Serial cable => Found no installed serial ports to check.
>
> rename COM3 to COM1 => same
> "Can not find a serial cable connected to an OOPIC" dialog.
>
>
> Went to a PC with a real serial port (only one) and checked that is
was set
> to 9600 baud, no parity, and one stop bit. No better luck. One time,
I got the message
> "sent y and received fhsa(*(*^%$$#$" or something like that.
Sometimes received:
> "Can not find a serial cable connected to an OOPIC" dialog.
>
> Thank you for all help that you can offer.
>
> Larry Leitch
>

First, it is ALWAYS better to tell the IDE where the serial cable is
located than to have it try to find a cable.

Just because the IDE is trying to talk to the OOPic doesn't mean the
OOPic is listening. It should listen but if it is executing an errant
program, it won't.

So, try the famous 'cosmic wedgie' fix: Power down the OOPic and
remove the EEPROM. Power up and try to download a known good program;
certainly not the one that's in the OOPic now. I have a little
blinking LED program that I keep in the OOPic when I'm not using it
for just this reason.

With luck, when you try to download with no EEPROM, the IDE will pop a
dialog telling you to reinstall the EEPROM. Do so with the power on
(don't get it backwards!) and acknowledge the dialog. Everything
should proceed - with luck...

Now, ALWAYS put OOPic.Delay = 500 as the first executable statement in
your programs. This will allow the IDE to get the OOPic's attention
during the 5 second delay following reset.

You can verify your cable by using Hyperterminal (9600,n,8,1 no flow
control) and shorting pins 2 & 3 at the end of the cable. Characters
typed at the keyboard should echo.

There are USB<->Serial cables that don't like the voltage levels of
the R-board. The voltage levels do not comply with RS232 signal
levels but they will work with a PC serial port.

You can test the USB<->OOpic connection in Hyperterminal (set as
above) by typing \0V (backslash, zero, upper case V). You should get
a response of 'v' (lower case v). You can also do this from the
terminal window of the IDE. Since you are jammed up, I suspect you
will have to do this test with the EEPROM removed.

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] Trouble with PC communicating with OOPIC-R

Larry M. Leitch wrote:
>
> ooPIC Tech Support wrote:
> >
> > What ooPIC are you using? If it is an ooPIC R or ooPIC C board then you
> > can use straight through DB9 cables. If you are using an ooPIC S board
> > then you will need the RS232 level converter in there to communicate
> > with the serial port to the PC.
> >
> > DLC
> >
> > Larry M. Leitch wrote:
> > > Hi Folks,
> > >
> > > I keep getting the "Cable Not Found" message when I try to connect to
> > > the OOPIC to program it.
> > >
> > > Do I need a Null-Modem? I think the answer is NO.
> > >
> > > Do I need an RS-232 to TTL Converter? I think the answer is YES and I
> > > use one (a UTEK)
> > >
> > > The firmware is C.1.1+. As far as I can tell, the cables are good;
> they
> > > are from Radio Shack and not home made.
> > >
> > > Thanks
> > >
> > > Larry
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> >
> > --
> > ------------------------------------------------------
> > Dennis Clark ooPIC Tech Support
> > www.oopic.com
> > ------------------------------------------------------
> >
> >
>
> The OOPIC is an OOPIC-R and it now works because I removed the
> serial-TTL converter. This setup (with the level converter) used to
> work, although intermittently (I was blaming the OOPIC).
>
> Recently, I had the firmware updated to C.1.1+ AND switched to a new
> USB-Serial converter - changed two things at once and that was a no-no.
>
> The next step would have been to take the OOPIC to work where my PC has
> a regular Comm port. I would have still used the level converter if I
> had not heard from the group.
>
> Thank you very much.
>
> Larry
>
>

Hi All,

Two weeks ago, I was able to communicate with the OOPIC-R via the serial
port and now I can not. I am back to getting the "Cable Not Found"
dialog. I have made no *INTENTIONAL* changes that I know of that would
cause the serial link between the PC and the OOPIC to stop working.

My setup: OOPIC-R and Windows XP running on Toshiba laptop.
I have no printer port and no serial port, only USB.

No serial to TTL level converter.

*NO* null modem cable.

When I do Tools...Cable Configuration...Find Serial Cable, I get the
"Can not find a serial cable connected to an OOPIC" dialog.

disabled LPT1 and COM1, USB shows up as COM3.
device manager shows: USB Serial Port (COM3)
same result.

uninstalled LPT1 and COM1
device manager shows: USB Serial Port (COM3)
same result.

reboot, COM1 and LPT1 reappear. uninstall COM1 and LPT1 drivers again.
Find Serial cable => Found no installed serial ports to check.

rename COM3 to COM1 => same
"Can not find a serial cable connected to an OOPIC" dialog.


Went to a PC with a real serial port (only one) and checked that is was set
to 9600 baud, no parity, and one stop bit. No better luck. One time, I got the message
"sent y and received fhsa(*(*^%$$#$" or something like that. Sometimes received:
"Can not find a serial cable connected to an OOPIC" dialog.

Thank you for all help that you can offer.

Larry Leitch



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, October 23, 2007

[oopic] Re: Does oMathC work?

There's an off-chip way to deal with counting quadrature encoder
signals: http://www.awce.com/pak7.htm

The PAK VII will take care of counting and you can sample it from time
to time.

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: I/O lines of Oopic-C

Thank you, Richard
BR --Mika
--- In oopic@yahoogroups.com, "rtstofer" <rstofer@...> wrote:
>
> --- In oopic@yahoogroups.com, "mtiusanen" <mtiusanen@> wrote:
> >
> > Hi,
> > my question is about the iolines in Oopic-C:
> > Where is ioline 1 (and lines 2..7) in oopic-c?
> >
> > The meaning is to use analog input and convert the voltage to value
> > using aA2D8, but...
> > I haven't found the map of those lines in
> > http://www.oopic.com/oopiccn.htm
> > just lines 8..15 and 24..31 respectively. Where are the lines 1..7?
> > If they are the lines A1..A4 at the top of the chip, is the enumeration
> > A1 = I/O line 1, A2 = I/O line 2 etc?
> >
> > What are symbols "21", "T1", "P1" and "P2" standing for?
> >
> > THX /MT
> >
>
> Sometimes you need to bounce back and forth between the OOPic
> schematics and the 16F877A datasheet
> http://ww1.microchip.com/downloads/en/DeviceDoc/39582b.pdf

>
> It is also helpful to look at the R board schematic.
>
> Pins RA0 corresponds to A/D channel AN0, same for RA1-AN1, RA2-AN2,
> RA3-AN3, RA5-AN4, RE0-AN5, RE1-AN6 and RE2-AN7
>
> So, A0..A3 are potentially analog channels and are on the top of the
> package corresponding to AN0..AN3 inputs. Then things fall apart: RA5
> is used to talk to the EEPROM so AN4 is out the window. AN5..7 are
> connected to LEDs on the module so they can't be used without hacking
> the board.
>
> You have 4 analog inputs easily accessible.
>
>
>
> T1 - RC0 - IOLine 16
> P1 - RC1 - IOLine 17
> P2 - RC2 - IOLine 18
> 21 - RC5 - IOLine 21
>
> These 4 IOLines can be used as general purpose IO but they also have
> special functions.
>
> T1 is the external clock input for oTimer
> P1 is used with oPWM when the IOLine property is set to 1
> P2 is used with oPWM when the IOLine property is set to 0
> 21 is used with oFreq to output a high frequency square wave
>
> Because RA5 is used to drive the EEPROM, you can only have 7 A/D
> inputs even in the case of the S board (or just the 40 pin chip). Both
> the C module and R board have LEDs connected to the upper 3 A/D
> channels so they have just 4 A/D inputs without hacking.
>
> 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] Does oMathC work?

Those are good points, but fortunately, I won't have to worry too much about
that. The pulses will get shipped off to a desktop computer via a bluetooth
connection on demand. Therefore, I only really need the pulse counts, and
don't have to worry about interpolation or any calculations on the OOPic
itself. The noise that will happen, will be limitted to the low bits, but
there is no particular need to ignore them on a desktop, because they should
fall within a normal distribution around the true count.

The computer will send a value 0-127 for the speed of the motors. My current
plan is to measure the pulse rate for a few low speeds and computer a curve
of pulses/input. This curve will be used to calculate actual speed for the
high end where the pulse rate will probably become increasingly innacurate
due to overloading the OOPic. However, this speed will be fed to a dead
reckoning module that will keep track of where the robot is, while a
secondary system will confirm the moves relative to echos from two pairs of
SRF08 ultrasonic sensors. At low speed, the curve used by the dead reckoning
module will be tested by measuring pulse rates against the curve.

rtstofer wrote:
>
> As with all digital division/counting, calculating speed is highly
> non-linear with regards to bits.
>
> Consider just the least signifcant bits at low speed: adding one more
> bit doubles the calculated speed.
>
> At high speed, the low order bits are much less significant.
>
> So, consider how accurate you need to be and think about doing the
> conversion in ranges. Perhaps you could do some fairly quick linear
> interpolation from a look-up table in EEPROM. Or, maybe you don't
> even need to interpolate.
>
> As to getting speed from the output pulse width; that just won't work.
> As the load on the motor varies, the speed will vary as well
> regardless of the applied voltage.
>
> You might want to see what Phillip Malone has done (he used to hang
> out here but I haven't heard from him in a long time)
> http://philbot.com/software.htm

Phil has done some absolutely
> brilliant work with the OOPic.
>
> Richard
>
>
>
>

--
View this message in context: http://www.nabble.com/Does-oMathC-work--tf4668255.html#a13367354
Sent from the OOPic mailing list archive at Nabble.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: Does oMathC work?

As with all digital division/counting, calculating speed is highly
non-linear with regards to bits.

Consider just the least signifcant bits at low speed: adding one more
bit doubles the calculated speed.

At high speed, the low order bits are much less significant.

So, consider how accurate you need to be and think about doing the
conversion in ranges. Perhaps you could do some fairly quick linear
interpolation from a look-up table in EEPROM. Or, maybe you don't
even need to interpolate.

As to getting speed from the output pulse width; that just won't work.
As the load on the motor varies, the speed will vary as well
regardless of the applied voltage.

You might want to see what Phillip Malone has done (he used to hang
out here but I haven't heard from him in a long time)
http://philbot.com/software.htm

Phil has done some absolutely
brilliant work with the OOPic.

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: I/O lines of Oopic-C

--- In oopic@yahoogroups.com, "mtiusanen" <mtiusanen@...> wrote:
>
> Hi,
> my question is about the iolines in Oopic-C:
> Where is ioline 1 (and lines 2..7) in oopic-c?
>
> The meaning is to use analog input and convert the voltage to value
> using aA2D8, but...
> I haven't found the map of those lines in
> http://www.oopic.com/oopiccn.htm
> just lines 8..15 and 24..31 respectively. Where are the lines 1..7?
> If they are the lines A1..A4 at the top of the chip, is the enumeration
> A1 = I/O line 1, A2 = I/O line 2 etc?
>
> What are symbols "21", "T1", "P1" and "P2" standing for?
>
> THX /MT
>

Sometimes you need to bounce back and forth between the OOPic
schematics and the 16F877A datasheet
http://ww1.microchip.com/downloads/en/DeviceDoc/39582b.pdf


It is also helpful to look at the R board schematic.

Pins RA0 corresponds to A/D channel AN0, same for RA1-AN1, RA2-AN2,
RA3-AN3, RA5-AN4, RE0-AN5, RE1-AN6 and RE2-AN7

So, A0..A3 are potentially analog channels and are on the top of the
package corresponding to AN0..AN3 inputs. Then things fall apart: RA5
is used to talk to the EEPROM so AN4 is out the window. AN5..7 are
connected to LEDs on the module so they can't be used without hacking
the board.

You have 4 analog inputs easily accessible.

T1 - RC0 - IOLine 16
P1 - RC1 - IOLine 17
P2 - RC2 - IOLine 18
21 - RC5 - IOLine 21

These 4 IOLines can be used as general purpose IO but they also have
special functions.

T1 is the external clock input for oTimer
P1 is used with oPWM when the IOLine property is set to 1
P2 is used with oPWM when the IOLine property is set to 0
21 is used with oFreq to output a high frequency square wave

Because RA5 is used to drive the EEPROM, you can only have 7 A/D
inputs even in the case of the S board (or just the 40 pin chip). Both
the C module and R board have LEDs connected to the upper 3 A/D
channels so they have just 4 A/D inputs without hacking.

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] I/O lines of Oopic-C

Hi,
my question is about the iolines in Oopic-C:
Where is ioline 1 (and lines 2..7) in oopic-c?

The meaning is to use analog input and convert the voltage to value
using aA2D8, but...
I haven't found the map of those lines in

http://www.oopic.com/oopiccn.htm
just lines 8..15 and 24..31 respectively. Where are the lines 1..7?
If they are the lines A1..A4 at the top of the chip, is the enumeration
A1 = I/O line 1, A2 = I/O line 2 etc?

What are symbols "21", "T1", "P1" and "P2" standing for?

THX /MT



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, October 22, 2007

Re: [oopic] Does oMathC work?

The objective I intend to get to is simply a pulses/second, which I will be
able to convert to revolutions per second, which will give me speed. How
accurate I need this is something I can't quite say at this point. The
pulses per shaft revolution are probably so high that at max loaded speed,
they will be "off the chart" for the OOPic, which means that I will have to
generate a curve of rps vs speed setting, and extrapolate the higher speeds.
If that is the case, then I barely need to even have an answer, since once I
know the curve, I won't actually need to record the pulses anymore. The
purpose for the 1Hz signal is simply that it is a nice regular interval to
do the math with.

I may not have the very latest V.6 compiler, either. I downloaded one that
was something like the second beta, and forgot to check to see if the final
was out. I assume it is, but I'll go have a look.

ooPIC Tech Support wrote:
>
> I'll have to check the manual when I get back to the desk. There
> have been lots of changes with the V.6 compiler and I don't have them
> all internalized yet.
> I'm assuming that you want to use this with a PID or PD loop or you
> wouldn't care about setting the update intervals with any particular
> precision.
> I'll post again when I know more.
>
> DLC
>
> Shaggy wrote:
>> I don't fully understand what you are saying here, could you expand on it
>> a
>> bit? My goal is to have the math operation occur once per second. I was
>> under the impression that for the oMathC object, having a 1Hz signal on
>> the
>> process clock would do that. The exact name of the property for the
>> process
>> clock is not quite clear. I would have expected that the property name is
>> ProcessClock due to the documentation, but that is not recognized.
>> Process
>> does appear to be recognized, but perhaps that is not the property name.
>>
>> As for Input1 and Input2, using cvLatch, the documentation states that it
>> replaces the output with Input1, which is all I want to do. Input2 is not
>> used in this case.
>>
>>
>> ooPIC Tech Support wrote:
>>
>>>Hz1 is a flag property, which you would use with the clock or Operate
>>>inputs. The input1 and input2 are data inputs (note that there is no
>>>input) and you would need to use oBus to link that to something.
>>>
>>>DLC
>>>
>>>Shaggy wrote:
>>>
>>>>In putting together some odometer code, I wanted to move the value from
>>>>the
>>>>oQuadencode count to a oWord object all in a virtual circuit. To move a
>>>>word, I figured that the way to go would be the oMath object in cvLatch
>>>>mode. However, I wanted to do that once every second, so I used the
>>>>oMathC
>>>>object and tried to link the ooPIC.Hz1 to the timer. I used several
>>>>variations of this line:
>>>>
>>>>(assuming that lMath is declared as New oMathC)
>>>>
>>>>lMath.Process.Input.Link(ooPIC.Hz1)
>>>>
>>>>I get an error saying that Input is not a member of oMath. I note that
>>>>the
>>>>compiler is not saying that it is not an error of oMathC. To test this,
I
>>>>changed oMathC to oMathO, and got other errors that specifically
referred
>>>>to
>>>>the oMathO object. Since the error I am getting refers to the oMath
>>>>object,
>>>>rather than the oMathC object, it leads me to believe that the oMathC is
>>>>not
>>>>actually implemented, despite using B2.2+ (which appears to include the
>>>>oMathC object).
>>>>
>>>>Any suggestions?
>>>
>>>--
>>>------------------------------------------------------
>>>Dennis Clark ooPIC Tech Support
>>>www.oopic.com
>>>------------------------------------------------------
>>>
>>>
>>
>>
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>
>

--
View this message in context: http://www.nabble.com/Does-oMathC-work--tf4668255.html#a13354718
Sent from the OOPic mailing list archive at Nabble.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] Does oMathC work?

I'll have to check the manual when I get back to the desk. There
have been lots of changes with the V.6 compiler and I don't have them
all internalized yet.
I'm assuming that you want to use this with a PID or PD loop or you
wouldn't care about setting the update intervals with any particular
precision.
I'll post again when I know more.

DLC

Shaggy wrote:
> I don't fully understand what you are saying here, could you expand on it a
> bit? My goal is to have the math operation occur once per second. I was
> under the impression that for the oMathC object, having a 1Hz signal on the
> process clock would do that. The exact name of the property for the process
> clock is not quite clear. I would have expected that the property name is
> ProcessClock due to the documentation, but that is not recognized. Process
> does appear to be recognized, but perhaps that is not the property name.
>
> As for Input1 and Input2, using cvLatch, the documentation states that it
> replaces the output with Input1, which is all I want to do. Input2 is not
> used in this case.
>
>
> ooPIC Tech Support wrote:
>
>>Hz1 is a flag property, which you would use with the clock or Operate
>>inputs. The input1 and input2 are data inputs (note that there is no
>>input) and you would need to use oBus to link that to something.
>>
>>DLC
>>
>>Shaggy wrote:
>>
>>>In putting together some odometer code, I wanted to move the value from
>>>the
>>>oQuadencode count to a oWord object all in a virtual circuit. To move a
>>>word, I figured that the way to go would be the oMath object in cvLatch
>>>mode. However, I wanted to do that once every second, so I used the
>>>oMathC
>>>object and tried to link the ooPIC.Hz1 to the timer. I used several
>>>variations of this line:
>>>
>>>(assuming that lMath is declared as New oMathC)
>>>
>>>lMath.Process.Input.Link(ooPIC.Hz1)
>>>
>>>I get an error saying that Input is not a member of oMath. I note that
>>>the
>>>compiler is not saying that it is not an error of oMathC. To test this, I
>>>changed oMathC to oMathO, and got other errors that specifically referred
>>>to
>>>the oMathO object. Since the error I am getting refers to the oMath
>>>object,
>>>rather than the oMathC object, it leads me to believe that the oMathC is
>>>not
>>>actually implemented, despite using B2.2+ (which appears to include the
>>>oMathC object).
>>>
>>>Any suggestions?
>>
>>--
>>------------------------------------------------------
>>Dennis Clark ooPIC Tech Support
>>www.oopic.com
>>------------------------------------------------------
>>
>>
>
>

--
------------------------------------------------------
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] Quadrature Encoder

Then I'll live with it.

ooPIC Tech Support wrote:
>
> It is unchangeable, its part of the object.
>
> DLC
>
> Shaggy wrote:
>> I had skipped right over the oQencode object. That alone makes things
>> somewhat easier, but it appears that I will exceed the max frequency at
>> full
>> speed.
>>
>> However, the oQencode object appears to use the oCounterL object for
>> counting, which counts a lower frequency signal. Is this true, and is it
>> unchangeable?
>>
>>
>>
>>
>>>Here is some sample odometry code for an optical encoder and a 'bot
>>>with servo motors:
>>>http://www.nubotics.com/support/ww01/code/oopic/ww01_oopic2p_square.osc.php
>>>
>>>My suspicion is that the servos drive right to the limit of the OOPic
>>>capability.
>>>
>>>High speed counting using oCounter2H is limited to a single IOLine : #
>>>16. Not very useful in this application...
>>>
>>>Richard
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>
>

--
View this message in context: http://www.nabble.com/Quadrature-Encoder-tf4663541.html#a13342367
Sent from the OOPic mailing list archive at Nabble.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] Does oMathC work?

I don't fully understand what you are saying here, could you expand on it a
bit? My goal is to have the math operation occur once per second. I was
under the impression that for the oMathC object, having a 1Hz signal on the
process clock would do that. The exact name of the property for the process
clock is not quite clear. I would have expected that the property name is
ProcessClock due to the documentation, but that is not recognized. Process
does appear to be recognized, but perhaps that is not the property name.

As for Input1 and Input2, using cvLatch, the documentation states that it
replaces the output with Input1, which is all I want to do. Input2 is not
used in this case.


ooPIC Tech Support wrote:
>
> Hz1 is a flag property, which you would use with the clock or Operate
> inputs. The input1 and input2 are data inputs (note that there is no
> input) and you would need to use oBus to link that to something.
>
> DLC
>
> Shaggy wrote:
>> In putting together some odometer code, I wanted to move the value from
>> the
>> oQuadencode count to a oWord object all in a virtual circuit. To move a
>> word, I figured that the way to go would be the oMath object in cvLatch
>> mode. However, I wanted to do that once every second, so I used the
>> oMathC
>> object and tried to link the ooPIC.Hz1 to the timer. I used several
>> variations of this line:
>>
>> (assuming that lMath is declared as New oMathC)
>>
>> lMath.Process.Input.Link(ooPIC.Hz1)
>>
>> I get an error saying that Input is not a member of oMath. I note that
>> the
>> compiler is not saying that it is not an error of oMathC. To test this, I
>> changed oMathC to oMathO, and got other errors that specifically referred
>> to
>> the oMathO object. Since the error I am getting refers to the oMath
>> object,
>> rather than the oMathC object, it leads me to believe that the oMathC is
>> not
>> actually implemented, despite using B2.2+ (which appears to include the
>> oMathC object).
>>
>> Any suggestions?
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>
>

--
View this message in context: http://www.nabble.com/Does-oMathC-work--tf4668255.html#a13342364
Sent from the OOPic mailing list archive at Nabble.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/

Sunday, October 21, 2007

Re: [oopic] Does oMathC work?

Hz1 is a flag property, which you would use with the clock or Operate
inputs. The input1 and input2 are data inputs (note that there is no
input) and you would need to use oBus to link that to something.

DLC

Shaggy wrote:
> In putting together some odometer code, I wanted to move the value from the
> oQuadencode count to a oWord object all in a virtual circuit. To move a
> word, I figured that the way to go would be the oMath object in cvLatch
> mode. However, I wanted to do that once every second, so I used the oMathC
> object and tried to link the ooPIC.Hz1 to the timer. I used several
> variations of this line:
>
> (assuming that lMath is declared as New oMathC)
>
> lMath.Process.Input.Link(ooPIC.Hz1)
>
> I get an error saying that Input is not a member of oMath. I note that the
> compiler is not saying that it is not an error of oMathC. To test this, I
> changed oMathC to oMathO, and got other errors that specifically referred to
> the oMathO object. Since the error I am getting refers to the oMath object,
> rather than the oMathC object, it leads me to believe that the oMathC is not
> actually implemented, despite using B2.2+ (which appears to include the
> oMathC object).
>
> Any suggestions?

--
------------------------------------------------------
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] Unable to configure serial cable error msg states epecting v received V

Are you using the V.5 compiler? This would often say this, but
everything worked fine.

DLC

dmichale84 wrote:
>
> I am unable to configure my OOPIC - R serial cable. A message appears
> that says
>
> Expecting v
> Received V
>
> What does this mean?
>
>
>
>
> 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] Quadrature Encoder

It is unchangeable, its part of the object.

DLC

Shaggy wrote:
> I had skipped right over the oQencode object. That alone makes things
> somewhat easier, but it appears that I will exceed the max frequency at full
> speed.
>
> However, the oQencode object appears to use the oCounterL object for
> counting, which counts a lower frequency signal. Is this true, and is it
> unchangeable?
>
>
>
>
>>Here is some sample odometry code for an optical encoder and a 'bot
>>with servo motors:
>>http://www.nubotics.com/support/ww01/code/oopic/ww01_oopic2p_square.osc.php
>>
>>My suspicion is that the servos drive right to the limit of the OOPic
>>capability.
>>
>>High speed counting using oCounter2H is limited to a single IOLine : #
>>16. Not very useful in this application...
>>
>>Richard
>>
>>
>>
>>
>>
>>
>
>

--
------------------------------------------------------
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] Does oMathC work?

In putting together some odometer code, I wanted to move the value from the
oQuadencode count to a oWord object all in a virtual circuit. To move a
word, I figured that the way to go would be the oMath object in cvLatch
mode. However, I wanted to do that once every second, so I used the oMathC
object and tried to link the ooPIC.Hz1 to the timer. I used several
variations of this line:

(assuming that lMath is declared as New oMathC)

lMath.Process.Input.Link(ooPIC.Hz1)

I get an error saying that Input is not a member of oMath. I note that the
compiler is not saying that it is not an error of oMathC. To test this, I
changed oMathC to oMathO, and got other errors that specifically referred to
the oMathO object. Since the error I am getting refers to the oMath object,
rather than the oMathC object, it leads me to believe that the oMathC is not
actually implemented, despite using B2.2+ (which appears to include the
oMathC object).

Any suggestions?
--
View this message in context: http://www.nabble.com/Does-oMathC-work--tf4668255.html#a13335496
Sent from the OOPic mailing list archive at Nabble.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] Unable to configure serial cable error msg states epecting v received V

I am unable to configure my OOPIC - R serial cable. A message appears
that says

Expecting v
Received V

What does this mean?


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] Quadrature Encoder

I had skipped right over the oQencode object. That alone makes things
somewhat easier, but it appears that I will exceed the max frequency at full
speed.

However, the oQencode object appears to use the oCounterL object for
counting, which counts a lower frequency signal. Is this true, and is it
unchangeable?

>
> Here is some sample odometry code for an optical encoder and a 'bot
> with servo motors:
> http://www.nubotics.com/support/ww01/code/oopic/ww01_oopic2p_square.osc.php
>
> My suspicion is that the servos drive right to the limit of the OOPic
> capability.
>
> High speed counting using oCounter2H is limited to a single IOLine : #
> 16. Not very useful in this application...
>
> Richard
>
>
>
>
>
>

--
View this message in context: http://www.nabble.com/Quadrature-Encoder-tf4663541.html#a13335065
Sent from the OOPic mailing list archive at Nabble.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: Quadrature Encoder

--- In oopic@yahoogroups.com, Shaggy <charrington@...> wrote:
>
>
> I realized this morning that while I mentioned the pulses per
revolution, I
> didn't mention the revolutions per second, so the pulses per second
couldn't
> be calculated.
>
> Unfortunately, I haven't tested what the revolutions per second actually
> comes out to, but I believe it would be variable depending on the
speed I
> have set for the motors. Unfortunately, I think that the top speed
could be
> as fast as 2 rps, which could mean that the pulse rate could be well
over
> 1KHz, and even if my estimate is excessive, I would come close to
the 1KHz
> rate. What this might mean is that I can measure the pulses per
second at a
> few low speeds, and figure out a curve of speed setting vs true speed,
> though I suspect it won't be linnear.
>
> Which object(s) in what configuration would get me the maximum
resolution? I
> suppose if I had an oWord filling with a pulse count each second,
that might
> be easiest, but it appears that there are a couple of pulse counting
> options.
>


Here is some sample odometry code for an optical encoder and a 'bot
with servo motors:
http://www.nubotics.com/support/ww01/code/oopic/ww01_oopic2p_square.osc.php

My suspicion is that the servos drive right to the limit of the OOPic
capability.

High speed counting using oCounter2H is limited to a single IOLine : #
16. Not very useful in this application...

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] Quadrature Encoder

I realized this morning that while I mentioned the pulses per revolution, I
didn't mention the revolutions per second, so the pulses per second couldn't
be calculated.

Unfortunately, I haven't tested what the revolutions per second actually
comes out to, but I believe it would be variable depending on the speed I
have set for the motors. Unfortunately, I think that the top speed could be
as fast as 2 rps, which could mean that the pulse rate could be well over
1KHz, and even if my estimate is excessive, I would come close to the 1KHz
rate. What this might mean is that I can measure the pulses per second at a
few low speeds, and figure out a curve of speed setting vs true speed,
though I suspect it won't be linnear.

Which object(s) in what configuration would get me the maximum resolution? I
suppose if I had an oWord filling with a pulse count each second, that might
be easiest, but it appears that there are a couple of pulse counting
options.

ooPIC Tech Support wrote:
>
> What is your motor speed? The ooPIC can handle up to about a 1KHz rate
> but might get sketchy past that, especially if as you say, you have a
> lot of objects running. From the sounds of it, this encoder will soon
> outstrip the ooPIC's ability to keep up. Try it and see what kind of
> results that you get.
>
> DLC
>
> Shaggy wrote:
>> I'm using an OOPic board and have a pair of motors with quadrature
>> encoders.
>> These put out a pulse rate of 624 pulses/output shaft revolution. From
>> looking at the OOPic documentation, that looks like a pretty high pulse
>> rate
>> to be counting. I hope to return either speed or distance traveled out
>> the
>> serial port. I have all the serial port code worked out, so that all I
>> really need is a way to turn that pulse rate into something useful.
>> Either a
>> pulses per second rate would work, or a number of pulses in the last
>> second
>> (leaving the division up to the receiver and not on the OOPic). I figured
>> somebody on here would have either a suggestion or some example code I
>> could
>> use for that. This is only one piece of a larger project, and I am
>> getting a
>> bit tight on memory, but not excessively so....yet.
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>
>

--
View this message in context: http://www.nabble.com/Quadrature-Encoder-tf4663541.html#a13330954
Sent from the OOPic mailing list archive at Nabble.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/

Saturday, October 20, 2007

[oopic] Re: OOPic-R board problem

Putting a working EEPROM on the problem board has no response on it.
The board is brand new. How can I get the replacement?

--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> If you have an EEPROM from an ooPIC R board that works and that
EEPROM
> will have no response on the other ooPIC R board then as long as
they
> have the same firmware you can best assume that the second ooPIC R
board
> is not working. Is this a new board or has it been working until
> recently? The difference is that one will be a warranty
replacement and
> the other will need to be repaired.
>
> DLC
>
> robot8868 wrote:
> > I test the voltage between PIN 1 & 8 of the EPROM and it measures
at
> > 5V. That means the small regulator is working. I also try
> > the "cosmic wedgie" recovery and it does not help. Then, I use
> > another OOPIC-R board and program the EPROM successfully. But
puttig
> > it back on the problem OOPIC-R board has no response. The EAC
light
> > is not ON at all. Is the board defective?
> >
> > --- In oopic@yahoogroups.com, <dennis.clark@> wrote:
> >
> >>first, try the"cosmic wedgie" recovery. Let us know if that
works.
> >>
> >>DLC
> >>
> >>
> >>ooPIC Tech Support
> >>
> >>-----Original Message-----
> >>
> >>From: "robot8868" <robot8868@>
> >>Subj: [oopic] OOPic-R board problem
> >>Date: Thu Oct 18, 2007 11:24 pm
> >>Size: 918 bytes
> >>To: oopic@yahoogroups.com
> >>
> >>I have an OOPic-R board with firmware C.1.1+. After applying the
> >
> > power
> >
> >>to the board, the power good LED does NOT light up. Connect
> >
> > through RS-
> >
> >>232 with PC does not show any response. But pushing the 3 little
> >>buttons on the board do light up the LED on top of it. Is the
> >
> > board
> >
> >>defective? How I can check if the OOPic is working ok?
> >>
> >>
> >>
> >>
> >>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: Strange problem on OOPic with Soundgin

The regulated source measures a stable 12V output. I also try a
second regulated source with 15V and the problem still exists. When
I switch back to the unregulated 12V source, the problems goes away.
Do you think the problem may be created from the soundgin board
instead?

--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> Check the voltage in. It could be that you have some problem with
the
> regulated source and you are "browning" out and the ooPIC is
resetting.
>
> DLC
>
> robot8868 wrote:
> > I setup the OOPic-R board with the Soundgin board so that it will
> > generate a tone each second. Using 'oopic.delay' as the timer.
Both
> > boards are power by an Unregulated 12V power source and
everything
> > works fine. The tone is being generated each second. However,
if I
> > power both boards with a regulated 12V power source, the tone
will
> > generate strangely. Two very short tones and then some delay
before
> > the next tone. It is so strange that a change of the power
source from
> > an unregulated to a regulated power source creates the problem.
It
> > looks like that it affect the oopic clock. Even though both
boards
> > already have power regulator on it, I would still like to use a
> > regulated power source to power them up. Anybody has an idea on
why it
> > happens?
> >
> >
> >
> >
> > 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] Quadrature Encoder

What is your motor speed? The ooPIC can handle up to about a 1KHz rate
but might get sketchy past that, especially if as you say, you have a
lot of objects running. From the sounds of it, this encoder will soon
outstrip the ooPIC's ability to keep up. Try it and see what kind of
results that you get.

DLC

Shaggy wrote:
> I'm using an OOPic board and have a pair of motors with quadrature encoders.
> These put out a pulse rate of 624 pulses/output shaft revolution. From
> looking at the OOPic documentation, that looks like a pretty high pulse rate
> to be counting. I hope to return either speed or distance traveled out the
> serial port. I have all the serial port code worked out, so that all I
> really need is a way to turn that pulse rate into something useful. Either a
> pulses per second rate would work, or a number of pulses in the last second
> (leaving the division up to the receiver and not on the OOPic). I figured
> somebody on here would have either a suggestion or some example code I could
> use for that. This is only one piece of a larger project, and I am getting a
> bit tight on memory, but not excessively so....yet.

--
------------------------------------------------------
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] Strange problem on OOPic with Soundgin

Check the voltage in. It could be that you have some problem with the
regulated source and you are "browning" out and the ooPIC is resetting.

DLC

robot8868 wrote:
> I setup the OOPic-R board with the Soundgin board so that it will
> generate a tone each second. Using 'oopic.delay' as the timer. Both
> boards are power by an Unregulated 12V power source and everything
> works fine. The tone is being generated each second. However, if I
> power both boards with a regulated 12V power source, the tone will
> generate strangely. Two very short tones and then some delay before
> the next tone. It is so strange that a change of the power source from
> an unregulated to a regulated power source creates the problem. It
> looks like that it affect the oopic clock. Even though both boards
> already have power regulator on it, I would still like to use a
> regulated power source to power them up. Anybody has an idea on why it
> happens?
>
>
>
>
> 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/