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.

Saturday, October 20, 2007

Re: [oopic] Re: OOPic-R board problem

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

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.
--
View this message in context: http://www.nabble.com/Quadrature-Encoder-tf4663541.html#a13322047
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: OOPic-R board problem

--- In oopic@yahoogroups.com, "robot8868" <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?

Probably...

To find out you need to be able to look at the oscillator output pin
of the chip and see if it is clocking. If the chip is clocking and
there is no activity on the EEPROM Clk or Data lines then it is a good
bet the chip is not working.

The oscillator output is on pin 33 but I don't have a board so I can't
tell you how to locate it. I can tell you that it is one of crystal
pins. Both should be oscillating but one will have much more voltage
- that is the oscillator output.

You will need a scope to do these tests.

But, even without the tests, if you have a known good EEPROM (works in
one board with SAME firmware, doesn't work in bad board, still works
in good board) you can bet the bad board is toast.

We are talking about all boards having the same firmware, right? The
IDE is set to deal with version C.whatever, right?

I don't use Version 6 of the IDE and I don't have any rev C chips so I
don't know what it takes to get things in sync.

I'm assuming you are, indeed, using Version 6 of the IDE.

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

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

<*> 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: OOPic-R board problem

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

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

Re: [oopic] OOPic-R board problem

first, try the"cosmic wedgie" recovery. Let us know if that works.

DLC


ooPIC Tech Support

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

From: "robot8868" <robot8868@yahoo.com>
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

<*> 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: OOPic-R board problem

--- In oopic@yahoogroups.com, "robot8868" <robot8868@...> wrote:
>
> 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?
>


I don't think there is a "Power Good" LED. There is an "EAC" LED that
blinks rapidly (looks dim) on the clock signal for the EEPROM.

The 3 LEDs will light up when the buttons are pushed whether the OOPic
works of not.

Check the 5V power at the EEPROM. Pin 8 is +5V and pins 1,2,3,4 & 7
are ground. Measure between 1 & 8. This keeps the probes apart and
makes it less likely you will short the voltage regulator.

MANY users connect a battery or wall wart to the board and get it
backwards. The small regulator for the OOPic and EEPROM is instantly
fried.

Check the 5V on the 3 pin connector for IOLine 1 (for example). The
center pin is +5V and the outside pin is Gnd. This power comes from
the large regulator and is separate from the regulator for the OOPic.

Pull the EEPROM (power off first) and then power up try to download a
program. There is the possibility that there is an errant program in
the EEPROM and the OOPic won't respond to the serial port. If
communications with the IDE is established, there will be a dialog box
telling you to insert the EEPROM. Don't get it backwards!

Whatever program you download, make sure it has:

OOPIC.Delay = 500

as the first executable statement.

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/