PDA

View Full Version : PIC problem



rattz
06-16-2009, 08:37 AM
hello ...
i am new to this site...as well as to robotics...
i want to use PIC 16F690 in my autonomous robot...
but i couldn't find a programmer to program it...i visited various sites displaying programmer datasheets(PIC) but i cudn't find one for f690...
i dont wanna buy one as they very costly...

so can any1 help me with it...

:lol: can u suggest me some better PIC than f690(low pin count) ....

also,plz tell me about programming PIC in C....

plz reply as soon as possible...

suhasm
06-16-2009, 04:00 PM
why dont u go for AVR? its more powerful also...

MohitM
06-16-2009, 07:59 PM
why dont u go for AVR? its more powerful also...I don't want to get drawn into religious discussions, so lets not make this into a PIC vs AVR thing. There is absolutely no merit and no sense in saying that one is more powerful than the other! Both are great.

MohitM
06-16-2009, 08:05 PM
hello ...
i am new to this site...as well as to robotics...
i want to use PIC 16F690 in my autonomous robot...
but i couldn't find a programmer to program it...i visited various sites displaying programmer datasheets(PIC) but i cudn't find one for f690...
i dont wanna buy one as they very costly...

so can any1 help me with it...

:lol: can u suggest me some better PIC than f690(low pin count) ....

also,plz tell me about programming PIC in C....

plz reply as soon as possible...

For selection check out this resource:
http://www.microchip.com/maps/main.aspx

For a programmer... PICkit2:
http://tinyurl.com/aul7t
http://tinyurl.com/n3xj8t
Low cost and yet works great!

avinash_g
06-17-2009, 06:01 AM
@Mohit

At least PIC16 series are CLEARLY less powerful than AVRS.

>> pic16 don't have good STACK.
>> slow
>> No PIC16 has flash more than 8Kwords (1 word=14bits)
>> AVR Has 32 General Purpose Registers connected to ALU while PIC has single WORKING register.
>>PICs are costly (al least in india)
>>NO hardware Multiplier in PIC
>> Only the PIC18F are comparable (some times better) to AVRs

and the list continues

avinash_g
06-17-2009, 06:09 AM
Hello,

You can try PIC18 Programmer and devboard here.

eXtreme Burner PIC
http://shop.extremeelectronics.co.in/product_info.php?cPath=21&products_id=78

PIC Development Board
http://shop.extremeelectronics.co.in/product_info.php?products_id=79

Some Links to get started with C programming with PIC18F MCUs
http://extremeelectronics.co.in/category/microchip-pic-tutorials/

MohitM
06-18-2009, 09:56 AM
@Mohit

At least PIC16 series are CLEARLY less powerful than AVRS.

>> pic16 don't have good STACK.
>> slow
>> No PIC16 has flash more than 8Kwords (1 word=14bits)
>> AVR Has 32 General Purpose Registers connected to ALU while PIC has single WORKING register.
>>PICs are costly (al least in india)
>>NO hardware Multiplier in PIC
>> Only the PIC18F are comparable (some times better) to AVRs

and the list continues
It really doesn't matter. I have no idea how AVRs work, and neither do I want to find out. So I can't comment.

But from what I've seen, more AVR users take pains to justify why AVR is better than PIC (number of discussions on this topic on AVRfreaks vs the number on PICList). PIC users probably don't care and maybe PICs are a whole lot worse than AVR. But in the real world PICs outsell AVRs, and just a few months back Microchip was about to buy Atmel! So PICs do sell and maybe aren't that bad as you make it out to be.

One suggestion to the OP, go for the PIC 18F series.

allbits
06-19-2009, 04:06 PM
ha ha
another PIC vs AVR war.

anyway, lets not duel about the stuff, as I believe most AVR users dont use PIC and most PIC users dont use AVR.

But I do not believe PIC 16s are bad, because there is a lot more variety of PIC than the AVRs, so you cant really compare both.

I aint saying one is better than the other, although me being a hardcore PIC guy, but I never had a problem working with PICs, so I never even felt like venturing deep into AVRs. And yes, there is a hell lot of things that you can do with an 873. I'm happy with the market, I am happy with the microchip resources online, and happy with the compiler and the development tools.

as per the querry of the OP - if yuo can mention about the peripherals required for your controller, a better suggestion may be given over a 690.

surbhit
09-07-2009, 11:35 PM
how can pic micocontroller specially specially 16f630, 16f84A and 16F628A can be made copy protected

MohitM
09-08-2009, 09:30 AM
how can pic micocontroller specially specially 16f630, 16f84A and 16F628A can be made copy protected
You should be starting a new thread.

Anyway, there are special configuration registers on all microcontrollers that have bits to copy protect the program memory, EEPROM etc. These registers get written along with the main code by the programmer. In most PIC datasheets, this would be under the chapter "SPECIAL FEATURES OF THE CPU".

allbits
09-08-2009, 10:05 AM
if you have programmed a chip before, you will be familiar with the configuration byte, you can enable code protection in that byte.
and a 16F84A is obsolete, use 16F88.