Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How should I start learning about PIC16F84 programming?

Status
Not open for further replies.

sherif123

Member level 3
Joined
Nov 8, 2006
Messages
64
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,288
Activity points
1,804
I'm new in the field of microcontroller and want to learn it
I read some lessons but i can't get full idea
For example I want to start with pic16f84 and want to know some things:
how to write code and which compiler should I use?
how can I design program to program the pic itself and the board in which the pic is put?
 

k182a pic

You are the beginner to the PIC MCU, so you are happy.

In my opinion, you choose PIC16F84A to start is the smart choice, the reason is:
- It is a Flash, so you can re-program it up to 1000 times before its dead.
- It is a rather old, so tons of its document, files, circuits, example codes you can pull down from the internet, easy for you to repeat and practise. Just use "google" for its keyword.
- MPLAB from Microchip.com is an excellent free assembler. On their website, there are many versions for you to choose depending on your computer OS, your computer skill. Among the old version (while it runs well on Windows 95 to XP), MPLAB v.5.7 is the best, absolutely bug-free, of course you can pull down the newest version.
- www.piclist.com is the ever best and biggest forum in the world for the Microchip PICs.

nguyennam
 

beginer for assembly language lesson for pic16f84

If you really don't want to spend much money and be satisfied right from the very beginning try PICAXE (PIC with BASIC interpreter), sometimes called the New Millenium 555 ..

PICAXE microcontrollers are exciting, low-cost, re-programmable chips that can be used as low-cost 'brains' in many kinds of electronic project. The unique feature of the PICAXE system is that programs are downloaded via a direct cable link straight into the microcontroller, so no expensive programmers or erasers are required. The software is free, and so this low cost approach also means that students can use the whole programming system at home.

Are these Flash memory microcontroller I.C.s the New Millenium 555 ? - site promoting the bubble gum cheap ( US $2 !) high level PICAXE microcontroller
www.picaxe.co.uk - The official PICAXE microcontroller home page
www.picaxe.com - The official PICAXE microcontroller home page

Regards,
IanP
 

pixaxe pic16f84a

sherif123 said:
I'm new in the field of microcontroller and want to learn it
I read some lessons but i can't get full idea
For example I want to start with pic16f84 and want to know some things:
how to write code and which compiler should I use?
how can I design program to program the pic itself and the board in which the pic is put?
It is a good ideal that find some code on the MCU from the Opencores.
The website:www.opencores.org
In the site, you may get the code on the picxxxx
Good lucky! Guy.
 

pic16f84a bootloader download

if you are new to microcontroller you should take start with 8051
for this i recommend you the 8051 by M.A.Mazidi...
it is a great book

further more try to programe some 8051
 

write to a pic same kitrus

PIC16F84a is very easy to use and program.
You may like to try writing the firmware in assembly language.
Refer to the PIC16F84a datasheet from website Microchip Technology Inc. is a Leading Provider of Microcontroller and Analog Semiconductors, providing low-risk product development, lower total system cost and faster time to market for thousands of diverse customer applications worldwide.,
or any other 16F84a hobby website to learn how to program the chip.
You can copy their asm code for learning too.
Download from the website the free IDE software MPLAB & manual
to compile the *.asm assembly file in *.hex Hex file.
The hex file need to be downloaded to the microcontroller,
for your microcontroller to run.
There are also C language compiler, to compile C into *.hex file.
I have not tried C language for PIC microcontroller before,
so I do not have any reference for those. Some are free, some cost $$$.

To load the *.hex file into the PIC microcontroller,
you need a programmer.
Pic programmer K182a/K150 from kitrus is quite good.
It is not too expensive and can program quite a range of PIC microcontroller.
Microchip has their own programmer call ICD2, etc....
but price is more expensive.

There are people using bootloader for their PIC microcontroller,
however I have not try it myself. Basically it is a programmed
firmware reside in the microcontroller, such that
you can download your firmware without the aid of a programmer.
Usually the firmware is download through serial com.
To use a bootloader, you have to download the bootloader firmware
to the microcontroller in the first place.
The bootloader firmware should be easily available, free in the internet.

Hopes these information helps in your development.
MODERATOR - SIGNATURE LINKS ARE NOT ALLOWED
 

picaxe blink led

Start doing simple projects, try to interface LED, lCD and button etc, for example codes and circuits , you can find some help from here also;
**broken link removed**
an other link
**broken link removed**
 

picaxe bootloader download

Hello!

If you are a complete beginner, you shouldn't select any device before you know
what you want to do with it.
- Is it for a short hobby project for which you are going to spend a few hours
a week, or do you intend to acquire deep knowledge of the embedded world?
- What kind of project are you interested in? Is a led blink enough for you or
are you interested in more advanced projects like measurement devices,
data recorders, serial link devices (USB RS232, etc...).

If you are not more specific about what you intend to do, everyone is going
to blindly suggest his favorite processor which may be completely unadapted
to what you expect.

So let's start : why pic16f84 and not STM32 / ATMEL xxx / MSP430 / RENESAS xxx
/ FRV / etc... ?

Dora.


sherif123 said:
I'm new in the field of microcontroller and want to learn it
I read some lessons but i can't get full idea
For example I want to start with pic16f84 and want to know some things:
how to write code and which compiler should I use?
how can I design program to program the pic itself and the board in which the pic is put?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top