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.

Sunday, December 16, 2007

[oopic] Re: Fried voltage regulator or Cable issue?

--- In oopic@yahoogroups.com, "pcstuck" <pcstuck@...> wrote:
>
> Hi everyone, hope everything is going well.
>
> I just have a quick question about an OOPic i just recieved and an
> error i am recieving. I wanted to make sure the OOPic was operating
> properly before i really started using it so i setup the test
program
> in Ch. 2 of OOPic's manual (the one with the LED that makes the LED
> flash. made up od just a resistor and LED). Im using the OOPic 6
> compiler with an OOPIC III+ w/ version C.1.1+, a parallel
programming
> cable and a 9v battery hookup.
>
> When i compile the program i get an error:
> "The I2C Bus Clock Status line reported a logic state of zero when
a
> logic 1 was expected. This could be caused by one of the following.
> The was no, or not enough, voltage powering the oopic.
> The i2c clock line is shorted to ground on the oopic or in the
cable.
> The i2c clock status line is shorted to ground or in the cable
> Another i2c master is controlling the I2C bus
>
> I removed the led and resistor and also removed all usb device form
my
> computer (except for the reviever for my wireless keyboard/mouse)
and
> tried to compile and got the same issue. Checked the
troubleshooting on
> OOPics website. Between pins V+ and G i get 9v. Between pins +5v
and G
> i get 1.51v......shouldnt that be +5? I contacted the company who i
> purchased it from and they said it sounds like i have a cable issue
and
> should look into it. Do you guys have any suggestions. Id really
> appreciate any ionput you guys have. Does this sound like a fried
> voltage regulator, or do you think it is a problem with the cable?
>
> Thanks alot guys, take care
>
> -Pat
>

There's not much doubt the voltage regulator is fried. That small
voltage regulator on the S board won't take much abuse. Normally the
regulator is fried instantly when a battery is connected backwards.
Overcurrent events also will take it out. Other than an RS232
adapter and a couple of LEDs, provide a separate 5V power source for
all of the things attached to the S board.

A replacement regulator is $0.73

http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?
name=LM78L05ACZNS-ND Unfortunately, unless you buy $25 worth of
stuff, there is a $5 handling charge.

When you mention USB and parallel cable in the same thread, I get
nervous. Were you trying to use some kind of USB->parallel cable or
does your PC have a real parallel port?

You really don't want to use the parallel programming method if you
can avoid it. If you have the S board (likely) then an RS232 adapter
and a serial cable is a better way to go. I prefer this one:

http://www.pololu.com/products/pololu/0126/

You can use a USB-
>Serial cable with this gadget if your PC lacks a real serial port.
When you get the gadget, post back and I can help you get it wired up.

If you actually have the S board, let us know because the R board and
C module are considerably different.

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/

No comments: