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.

.

__,_._,___

Re: [piclist] Scrolling LED display

Don't always start at the top of the display data table.
E.g. twice pr sec you start one index lower and runs
the number of digits down the table.
Imagine that your're looking at the digits trough a small
window that you're moving along the line of digits.
 

Nandakumar J wrote:

Can somebody hilighten me on the method of amking the scrolling LED display Regards jnk
--
*******************************************
VISIT MY HOME PAGE:
<http://home.online.no/~eikarlse/index.htm>
LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen
 

__._,_.___
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.

Cat Groups

on Yahoo! Groups

discuss everything

related to cats.

.

__,_._,___

Re: [piclist] Writing to PIC16F626 EEPROM

If you're waiting for the write to complete (loop at SRE1) then you don't need interupts.
 
dB
 
----- Original Message -----
From: Sasha
Sent: Wednesday, November 14, 2007 9:13 PM
Subject: [piclist] Writing to PIC16F626 EEPROM

Dears,
I need help on a code to write to the PIC16F628 EEPROM.
I should write decimal '11' in the first two bytes of the EEPROM
address.
I have tried a sample code but I need confirmation of the Interrupt
controls EEIF and EEIE have and where to put them; main program or
in the Interrupt Service Routine program.

BSF STATUS,RP0 ;select bank1
MOVLW 0x00 ;EEPROM address
MOVWF EEADR
MOVF 0x01,w ;EEPROM Data
MOVWF EEDATA

BSF EECON1,wren ;enable write
BCF INTCON, GIE ;Disable interrupts

MOVLW 0x55 ;unlock codes sequence
MOVWF EECON2
MOVLW 0xaa
MOVWF EECON2

BSF EECON1,WR ;write begins

SRE1: BTFSC EECON1,WR ;wait for "write" to complete
GOTO SRE1
BCF EECON1,wren ;disable other writes
BSF INTCON, GIE ;Enable interrupts
;BSF PIE1, EEIE ;Set interrupt flag in PIE1
;BCF PIR1, EEIF ;Clear Interrupt flag in PIR1

Thanks all.
Shaaks.


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.9/1155 - Release Date: 27/11/2007 20:30

__._,_.___
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.

Moderator Central

Yahoo! Groups

Join and receive

produce updates.

.

__,_._,___

Re: [piclist] Wireless USART

You probably need to send a few lead-in charcters to get the two in sync.  e.g. 0ffx
 
dB.
 
----- Original Message -----
From: d.fektv
Sent: Saturday, November 17, 2007 9:01 AM
Subject: [piclist] Wireless USART

Hi guys,

I am trying to send 1 byte data packets from one 18f458 to another
using 433.93MHz FSK TX/RX devices. I am also using a manchester
encoder/decoder on both ends (DPC-9600) at 9.6kbps.

I am using WriteUSART() and ReadUSART() functions in asynch mode at
9.6kbps to send and receive the data.

The DPC-9600 simply interfaces the USART pins and the TX/RX devices.
In TX mode, the data sheet says to just send the output of the TX
USART pin to the 'Data In' pin of the DPC-9600 when you wish to
transmit.

In RX, when the DPC-9600 has received a byte of data, a 'Data Ready'
pin goes active low, and signals an input to the pic that there is
data in its buffer. The host (pic) responds by sending a logic 1 to
the 'Send Data' pin of the DPC-9600 and the buffer is emptied into
the RX reg of the USART.

Problem: Whatever value I send from the TX pic, I receive zero at
the RX pic, i.e 0x00.

At first I though that I might have been declaring the data to be
sent as 'int' (2 bytes) resulting in 0x00 in the RX reg for any value
below 256, since it holds only 1 byte. But not the case. My values
are less than 256 and they are 'unsigned chars'.

I appologise for the extent of my question, but I figure you better
know some background.

USART configuration at both ends:

OpenUSART(USART_TX_INT_OFF & USART_RX_INT_OFF & USART_ASYNCH_MODE &
USART_EIGHT_BIT & USART_CONT_RX & USART_BRGH_HIGH, 64);

Sample code for RX:
---
while(1)
{
if(DataReady == 0) //Input flag from DPC
{
SendData = 1; //output from pic to DPC
Delay1KTCYx(20); //allow time for DPC to empty buffer at 9.6kbps
x = ReadUSART();
SendData = 0;
Print(x); //a simple function to display x.
}
}
---
Sample code for TX:
---
unsigned char x = 1;
unsigned char y = 2;

while(1)
{
WriteUSART(x);
Delay10KTCYx(100); //allow 10ms in between transmissions
WriteUSART(y);
Delay10KTCYx(100);
}
---
Some help would be much appreciated

Thanks in advance

Nick (d.fektv)


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.9/1155 - Release Date: 27/11/2007 20:30

__._,_.___
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.

Moderator Central

Get answers to

your questions about

running Y! Groups.

.

__,_._,___

Re: [piclist] I2C Slave Candidates

I think most of the 16Fs can cope wit I2C and there are a lot cheaper than the 16F88.
 
dB
 
----- Original Message -----
From: Alan KM6VV
Sent: Wednesday, November 28, 2007 3:53 PM
Subject: RE: [piclist] I2C Slave Candidates

Hi,

I've recently seen a 16F88 put to the task. I don't work with the 10's or
12's.

What I'd like to find is some good MASTER examples in C.

Alan KM6VV

>
> Hello,
> What is the lowest-end (i.e. cheapest) PIC that can serve as an I2C Slave?
>


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.9/1155 - Release Date: 27/11/2007 20:30

__._,_.___
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.

Yahoo! Groups

Special K Challenge

Learn how others are

shedding the pounds.

.

__,_._,___

Re: [piclist] address decode on serial

Yes, but isn't it rather difficult to get a PC to control the 9th bit?
 
dB
 
----- Original Message -----
Sent: Wednesday, November 28, 2007 6:53 PM
Subject: Re: [piclist] address decode on serial

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


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.9/1155 - Release Date: 27/11/2007 20:30

__._,_.___
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.

Women of Curves

on Yahoo! Groups

A positive group

to discuss Curves.

.

__,_._,___

Re: [piclist] address decode on serial

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.

Food Lovers

Real Food Group

on Yahoo! Groups

find out more.

.

__,_._,___

Re: [piclist] An introduction & Many Questions

First, buy the Pickit2 from Microchip ($50.), from Allied Electronics
or Mouser. This comes with a programmer, ICD and a development board
with a 16F887. Download MPLAB from Microchip , its free. Most
development today is done with "C" or Basic. The compilers generate
assembly code which is then assembled, but you get to look at it
which will teach you a great deal. For compilers try BoostC which
allows you to create 2K word programs. The full comiler is $70. For
Basic try GCBASIC which is open source or Oshonsoft Pic_Sim_Ide which
includes a simulator.

You can download documents, Pickit2, 16F887, etc, from the Micrpchip
site.

Dick

---- Original Message ----
From: leon.heller@bulldoghome.com
To: piclist@yahoogroups.com
Subject: Re: [piclist] An introduction & Many Questions
Date: Wed, 28 Nov 2007 15:10:36 -0000

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

__._,_.___
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.

Parenting Zone

Your home for

parenting information

on Yahoo! Groups.

.

__,_._,___