Tuesday, December 4, 2007

[piclist] Help cant get a WPU to work on pic12f629

Hi all, I have been pulling my hair out trying to enable a WPU in a
12F629. The pin detects an input if i put 5V on it, but shows as
clear when not. If a WPU was set, it should show an input (bit set)
when nothing is on the pin and clear when grounded. Isn't that right?
I have set GP0 as my input and enabled the WPU. Any help appreciated.

START
BCF STATUS,RP0
CLRF GPIO

MOVLW 7H
MOVWF CMCON

BSF STATUS,RP0

MOVLW B'00000010'
MOVWF OPTION_R

MOVLW B'00001001'
MOVWF TRISIO

CALL H'03FF'
MOVWF OSCCAL


MOVLW B'00000001'
MOVWF WPU

BCF STATUS,RP0
;***************************************************************

BEGIN ;WINK THE LIGHTS TO SHOW PROGRAM START


BSF GPIO,GP2
CALL DELAYP5
BCF GPIO,GP2
BSF GPIO,GP5
CALL DELAYP5
BCF GPIO,GP5
CALL DELAYP5

GPTEST BTFSC GPIO,GP0
GOTO GPSET

BSF GPIO,GP4 ;GET HERE AS GP0 CLEAR
BSF GPIO,GP1
CALL DELAY1 ;my 1 second delay routine
BCF GPIO,GP4
BCF GPIO,GP1
GOTO GPTEST

GPSET BSF GPIO, GP2 ;GET HERE AS GP0 SET
BSF GPIO,GP5
CALL DELAY1
BCF GPIO,GP2
BCF GPIO,GP5
GOTO GPTEST
END

__._,_.___
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Recent Activity
Visit Your Group
Yahoo! News

Get it all here

Breaking news to

entertainment news

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Moderator Central

Get answers to

your questions about

running Y! Groups.

.

__,_._,___

[piclist] Re: address decode on serial

I read about the 9th bit address.....

How do I get the pc to generate it? Im using QBASIC on the pc and
not sure how to create a extra bit there.

Randy

-- In piclist@yahoogroups.com, "Dennis Clark" <dlc@...> wrote:
>
> You don't need to do that with the newer PICs. Read up on "9th bit
> addressing" for the PIC. In this mode the 9th bit is set and the
USART
> recognizes this as an address. Your code then needs only to look
for this
> bit set to pay attention to a byte as an address.
>
> DLC
>
> > Hello all:
> >
> > I have a desire for a project to use a PC as a master, poll
various
> > pics on a rs485 network, using a very simple polling idea and
have
> > the pics respond with their status as well as take data from the
pic
> > if desired.
> >
> > Im working on this in small parts and my first thoughts on
overall
> > programming is this to get the pic to respond to its address:
> >
> > pic watches the data stream for a "sync byte" such as "89"
> > if "89" appears then check the next byte for its address such
as "02"
> > if "02" is its address then respond with its status
> >
> > I tried this before without using the sync byte and the pic
> > responded to any bit sequence that appeared and matched 4 bits.
By
> > using the sync byte, will this help with the false responses? my
> > first attempt was using a addres of "2" and any bit opattern that
> > matched "0010" falsed a response.
> >
> > Serial speed is not set, I tested at 9600.....
> > PIC is 16F627/16F628
> >
> > Im a NOVICE to programming and trying to learn as I go here.
> >
> > All help appreciated!
> >
> > Randy
> > kk4ej
> >
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the
> > instructions
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>
> --
> Dennis Clark
> TTT Enterprises
>

__._,_.___
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Recent Activity
Visit Your Group
Yahoo! News

Kevin Sites

Get coverage of

world crises.

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Biz Resources

Y! Small Business

Articles, tools,

forms, and more.

.

__,_._,___

Sunday, December 2, 2007

[piclist] What is the cheapest way to put a bootloader inside a PIC16F877A

Eg, what do I buy? I dont need Incircuit emulation and I only use the one chip. Cheap is my middle name.

Thanks for any replys.

I have been using modtronix PICs for 3 years, so its about time I run with the little dogs '-)

-jim

__._,_.___
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Recent Activity
Visit Your Group
Yahoo! News

Fashion News

What's the word on

fashion and style?

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

HDTV Support

on Yahoo! Groups

Help with Samsung

HDTVs and devices

.

__,_._,___

[piclist] PIC programmer


hello everyone.

i am new to PIC microcontroller,so i need help. However i have a lot
of experience on avr microcontroller but now i want to work on PIC.
i need to know about some homebrew programmer for 16-bit
PIC24FJ64GA002 microcontroller.
i want to program it without using the costly readymade PICSTART
programmer Kit or something like this.
So can someone please tell me the link or some schematic for its
programmer? i will be highly grateful for ur cooperation.

thanks in advance.

__._,_.___
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Recent Activity
Visit Your Group
Yahoo! News

Get it all here

Breaking news to

entertainment news

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Parenting Zone

Your home for

parenting information

on Yahoo! Groups.

.

__,_._,___

Thursday, November 29, 2007

[piclist] PIC 16F877A And SI 3000

I was trying to create a simple Audio processor using a Micro chip
16F877A and a SI3000 chip. I am having trouble figuring out what the
best way to interface the two chips together. I was wondering if
anyone had suggestions or ideas on what i could do.

Thanks in advance

__._,_.___
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Recent Activity
Visit Your Group
Yahoo! News

Odd News

You won't believe

it, but it's true

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Women of Curves

on Yahoo! Groups

see how women are

changing their lives.

.

__,_._,___

[piclist] Re: Need code for fft algorithm.

Try looking here...
http://www.piclist.com/techref/microchip/fft/picspect.htm

Robert

--- In piclist@yahoogroups.com, "lavudya_krishna" <lavudyakrishna@...>
wrote:
>
> Iam in very urgent need of fft algorithm code, please send me i f u
> have the code.
>

__._,_.___
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Recent Activity
Visit Your Group
Yahoo! News

Kevin Sites

Get coverage of

world crises.

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Food Lovers

Real Food Group

on Yahoo! Groups

find out more.

.

__,_._,___

Wednesday, November 28, 2007

Re: [piclist] An introduction & Many Questions

As a PIC engineer since 1984 I would seriously recommend prgramming kit from Microchip.
I have heard of so many problems from other manufacturers.
The Microchip gear is also integrated into MPLAB.
 


 
----- Original Message ----
From: Leon Heller <leon.heller@bulldoghome.com>
To: piclist@yahoogroups.com
Sent: Wednesday, 28 November, 2007 3:10:36 PM
Subject: Re: [piclist] An introduction & Many Questions

----- Original Message -----
From: "Ken Stuempges" <ozarkshermit@ dishmail. net>
To: <piclist@yahoogroups .com>
Sent: Sunday, November 11, 2007 1:26 AM
Subject: [piclist] An introduction & Many Questions

> Howdy:
> I'm what you would call an O.T.H.E. (Over-The-Hill_ Engineer) .
> Have not done any Electrical Engineering since the early to mid 80's,
> but now have the bug to resume. I plan on some minor PIC projects,
> some for fun, and one to sell, small-time. My programming background
> was strictly Assembly, (6800 - 6809 - 8086 - 8088), as well as
> hardware. As far as programming goes, I plan on going strictly
> Assembly again. I'll probably start with the 16F84, with the intent
> to grow. In addition, I have an XP computer, so will need something
> compatible with USB.
>
> After surfing here for a while, I'm still confused about what
> programmer/developm ent/debugger to get. I suppose I could go direct
> to Microchip - but am trying to save a few $$.
>
> There are several on the web and ebay, in particular. Is anyone
> familiar or used anything from the following ebay stores:
>
> MDflystore ; Jeffs-store ; or the Chi-Com outfit from Hong Kong
> "VirtualVillage- USA" or the Bulgarians, "Olimex" ?

Don't bother with the 16F84, it's been obsolete for some years. Use the
16F88.

Oliomex has the advantage that they are supported on the Sparkfun
Electronics forum (they sell Olimex boards).

The Microchip PICkit 2 is very good value.

Leon




Yahoo! Answers - Get better answers from someone who knows. Try it now.

__._,_.___
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Recent Activity
Visit Your Group
Yahoo! News

Odd News

You won't believe

it, but it's true

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yahoo! Groups

Latest product news

Join Mod. Central

stay connected.

.

__,_._,___