Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 9th April 2005, 10:29 AM   (permalink)
Default types of pic

just a couple of questions, because i'm absolutely clueless
1. is the pic16f628 the same as the pic16f84?
2. can i load a program for a 16f84 into the 16f628?
3. if i study how to program the 16f84, will i be able to program a 16f628?
4. where can i find a easy and good 16f628 tutorial?
gastonanthony is offline  
Old 9th April 2005, 10:43 AM   (permalink)
Default Re: types of pic

Quote:
Originally Posted by gastonanthony
just a couple of questions, because i'm absolutely clueless
1. is the pic16f628 the same as the pic16f84?
2. can i load a program for a 16f84 into the 16f628?
3. if i study how to program the 16f84, will i be able to program a 16f628?
4. where can i find a easy and good 16f628 tutorial?
Answers:
1. almost, 628 is newer, cheaper and has more features
2. You have to edit it slightly, only two more lines of code
3. Yes, the principe is the same (and core)
4. PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk or
http://www.lpilsley.uklinux.net/picprog
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th April 2005, 10:46 AM   (permalink)
Default Re: types of pic

Quote:
Originally Posted by gastonanthony
just a couple of questions, because i'm absolutely clueless
1. is the pic16f628 the same as the pic16f84?
Not the 'same', but it is the replacement for it, the 84 has been essentially obselete for years.

Quote:

2. can i load a program for a 16f84 into the 16f628?
Yes, with VERY slight changes, basically the fuse settings are different, and you have to disable the comparators. MicroChip have a 'migration document' which explains it. Or simply check my tutorials, which all use the 628 'as an 84'.

Quote:

3. if i study how to program the 16f84, will i be able to program a 16f628?
Yes, they use the same 14 bit core, along with any 16 series chip.

Quote:

4. where can i find a easy and good 16f628 tutorial?
Check my tutorials!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 9th April 2005, 03:26 PM   (permalink)
Default thank you!!!!!!!!!

Jay.slovak, Nigel , thanks for paying attention and spending time to answer simple questions and the tutorial in your website is great !!! i copied a few examples from your site to MPLAB and IT WORKED!!! the simulation ran perfectly, but how do i place the program into the 16f628? i don't have the programmers that are specified in mplab, but i have the pg2c (the olimex type) that are being used in icprog software, thanks again!
gastonanthony is offline  
Old 9th April 2005, 03:29 PM   (permalink)
Default Re: thank you!!!!!!!!!

Quote:
Originally Posted by gastonanthony
Jay.slovak, Nigel , thanks for paying attention and spending time to answer simple questions and the tutorial in your website is great !!! i copied a few examples from your site to MPLAB and IT WORKED!!! the simulation ran perfectly, but how do i place the program into the 16f628? i don't have the programmers that are specified in mplab, but i have the pg2c (the olimex type) that are being used in icprog software, thanks again!
You load the .HEX file created by MPLAB into ICProg, and use it to program the PIC.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 9th April 2005, 03:34 PM   (permalink)
Default

where can i find the .hex file? i can only see the .asm file in my folder. does load mean opening it in icprog?
gastonanthony is offline  
Old 9th April 2005, 03:39 PM   (permalink)
Default

Quote:
Originally Posted by gastonanthony
where can i find the .hex file? i can only see the .asm file in my folder. does load mean opening it in icprog?
After you asemble your project without errors, you will find it in your projects folder.
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th April 2005, 03:56 PM   (permalink)
Default another question

is jdm the same as the olimex programmer? icprog doesn't list olimex pg2c as a programmer, will enabling the jdm option work for a pg2c programmer?
gastonanthony is offline  
Old 9th April 2005, 04:03 PM   (permalink)
Default simulation

the 16f877 and other types have comparators and ADC's built into them right?can that feature be tested in the mplab?thanks for all the help, i'm really amazed at how fast i'm learning all of these because of you two
gastonanthony is offline  
Old 9th April 2005, 04:10 PM   (permalink)
Default Re: simulation

Quote:
Originally Posted by gastonanthony
the 16f877 and other types have comparators and ADC's built into them right?can that feature be tested in the mplab?thanks for all the help, i'm really amazed at how fast i'm learning all of these because of you two
I'm afraid not. The only peripheral that could be tested is USART. If your programmer is using serial port (and has minimum IC's on PCB), then most likely it's based on JDM design.
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th April 2005, 04:25 PM   (permalink)
Default i'm ok now

hey, i already know the answers to my questions, don't answer the questions above remember you said that 16f628 is cheaper than 16f84? but here in my country, it costs much more, converted to us dollars, it's about $6, while the 16f84 is about $4.40. Just a little trivia
gastonanthony is offline  
Old 9th April 2005, 04:30 PM   (permalink)
Default Re: i'm ok now

Quote:
Originally Posted by gastonanthony
hey, i already know the answers to my questions, don't answer the questions above remember you said that 16f628 is cheaper than 16f84? but here in my country, it costs much more, converted to us dollars, it's about $6, while the 16f84 is about $4.40. Just a little trivia
Hmm strange. 16F84 is old and it costs much more usually.... Where are you from?
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th April 2005, 04:32 PM   (permalink)
Default hehehe

a third world country called philippines
gastonanthony is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 12:11 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker