Searching \ for 'How to start programming?[PIC]' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devprogs.htm?key=programming
Search entire site for: 'How to start programming?[PIC]'.

Truncated match.
PICList Thread
'How to start programming?[PIC]'
2000\06\11@112005 by Birsen Ozturk

flavicon
face
  Hello!
I have to program the PIC16C84 microcontroller for my graduation
project and I never wrote an assembly code before.
After long time wasted on reading useless staff doing search on
internet and studying datasheet I wrote and simulate 250 lines of assembly
code which proved to be wrong.

   Now I dont know how to proceed. I will be grateful if you show me the
way. Maybe you would advise me a good book about PIC programming or a
manual on internet or whatever way to learn PIC.

  Thanks in advance and sorry for taking your time.

Birsen Ozturk
ULAKNET Ag Tekn.Br.
tel:+90-312-2989310
fax:+90-312-2989494

2000\06\11@112628 by Tim Hamel

picon face
Hey! How bout a free book!? Check it out on my site (soon to be
http://www.picmcu.com):

http://pc-tek.hypermart.net/pic.html

Also, you might wanna check out David Benson's, "Easy PIC'n"

Regards,

Tim Hamel

In a message dated 6/11/00 8:20:38 AM Pacific Daylight Time,
spam_OUTbirsenTakeThisOuTspamULAKBIM.GOV.TR writes:

{Quote hidden}

2000\06\11@113713 by Albert Goodwill

picon face
Hi Birsen,

It is very easy to program PIC if you don't have to do it in assembler.
You can use BASIC, C, Pascal compilers for PIC available on the net.




{Original Message removed}

2000\06\11@114334 by John C. Frenzel

flavicon
face
>    Hello!
> I have to program the PIC16C84 microcontroller for my graduation
> project and I never wrote an assembly code before.
> After long time wasted on reading useless staff doing search on
> internet and studying datasheet I wrote and simulate 250 lines of assembly
> code which proved to be wrong.

Could you be more specific about the problem you are having?  Creating a PIC
project is difficult because you need to really be sure whether the problems
that you are experiencing are at the hardware or software level.  I spend
alot of time making sure the hardware portion of the project is bug free
before really going at the code section.  Small programs to test the
hardware early in development are critical.  Keep a copy of the test code,
so if the hardware changes, it is relatively easy to requalify it.

You need to break down your assembly language into smaller chunks.  Few
people can bang out 250 lines of assembler correct the first time.  MPLAB is
also has some problems with simulation.

>     Now I dont know how to proceed. I will be grateful if you show me the
> way. Maybe you would advise me a good book about PIC programming or a
> manual on internet or whatever way to learn PIC.

Sounds like you don't need more books, usually the datasheet is enough.
Without more info on the specific problem, I can't offer specific help.
1--Make sure the hardware works as expected
2--Write your code in smaller segments and debug it before adding to it
3--Create some sort of revision control disipline and document as you change
the code
4--Create a "Lessions Learned" file, so you don't keep solving the same
problem over and over again.  This file is also useful when proofing the
code, so similar bugs don't slip by.

2000\06\12@024009 by Vasile Surducan

flavicon
face
  another suggestion: try Jal compiler (links from my page)
  You will love it.



****************************************
Surducan Vasile, engineer
email:.....vasileKILLspamspam@spam@l30.itim-cj.ro
URL:http://www.geocities.com/vsurducan
****************************************

2000\06\12@041051 by Ismael M. Khangane

flavicon
face
Hello Birsen:
I advise u to have a thoroughly look on 'Application Notes for  PIC16c84' of
Microchip
webpage there are documents and a lot of examples.
Ismael.

----------------------------------------------------------------------------------------

Birsen Ozturk wrote:

{Quote hidden}

--
------------------------------------------------------------------
Ismael M. Khangane, Specialist in Robotics. Automatic Control & Systems ( Bsc
in Eng.)
Instituto de Automatica Industrial IAI-CSIC
Madrid, Spain.
Tel: (34) 91 871 1900
Fax: (34) 91 871 7050
E-mail: imkespspamKILLspamexcite.com ; .....ismaelmKILLspamspam.....iai.csic.es
------------------------------------------------------------------

2000\06\12@093157 by pandersn

flavicon
face
Albert.....

Which "C" do you suggest for a beginner, one who has programmed in assembly.

Phil.

On Sunday, June 11, 2000 10:35 PM, Albert Goodwill [SMTP:EraseMEalbertgoodwillspam_OUTspamTakeThisOuTGEOCITIES.COM] wrote:
> Hi Birsen,
>
> It is very easy to program PIC if you don't have to do it in assembler.
> You can use BASIC, C, Pascal compilers for PIC available on the net.
>
>
>
>
> {Original Message removed}

2000\06\12@105030 by Albert Goodwill

picon face
Phil,

Recently I've downloaded and played with C2C-plus Version 3.28 and liked it.

I've also downloaded Hi-Tech C (Lite version for PIC16F84) and impressed.
BUT !!! I'm still looking (hopelesly) around to find more examples for
Hi-Tech PIC C.


albertgoodwillspamspam_OUTgeocities.com

>Albert.....
>
>Which "C" do you suggest for a beginner, one who has programmed in
assembly.
>
>Phil.



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

2000\06\16@090049 by Ismael M. Khangane

flavicon
face
Hello Birsen:
I advise u to have a thoroughly look on 'Application Notes for  PIC16c84' of
Microchip
webpage there are documents and a lot of examples.
Ismael.

----------------------------------------------------------------------------------------

Birsen Ozturk wrote:

{Quote hidden}

--
------------------------------------------------------------------
Ismael M. Khangane, Specialist in Robotics. Automatic Control & Systems ( Bsc
in Eng.)
Instituto de Automatica Industrial IAI-CSIC
Madrid, Spain.
Tel: (34) 91 871 1900
Fax: (34) 91 871 7050
E-mail: @spam@imkespKILLspamspamexcite.com ; KILLspamismaelmKILLspamspamiai.csic.es
------------------------------------------------------------------

2000\06\16@092808 by Vasile Surducan

flavicon
face
  another suggestion: try Jal compiler (links from my page)
  You will love it.



****************************************
Surducan Vasile, engineer
email:RemoveMEvasileTakeThisOuTspaml30.itim-cj.ro
URL:http://www.geocities.com/vsurducan
****************************************

2000\06\16@103205 by Birsen Ozturk

flavicon
face
  Hello!
I have to program the PIC16C84 microcontroller for my graduation
project and I never wrote an assembly code before.
After long time wasted on reading useless staff doing search on
internet and studying datasheet I wrote and simulate 250 lines of assembly
code which proved to be wrong.

   Now I dont know how to proceed. I will be grateful if you show me the
way. Maybe you would advise me a good book about PIC programming or a
manual on internet or whatever way to learn PIC.

  Thanks in advance and sorry for taking your time.

Birsen Ozturk
ULAKNET Ag Tekn.Br.
tel:+90-312-2989310
fax:+90-312-2989494

2000\06\16@103210 by Tim Hamel

picon face
Hey! How bout a free book!? Check it out on my site (soon to be
http://www.picmcu.com):

http://pc-tek.hypermart.net/pic.html

Also, you might wanna check out David Benson's, "Easy PIC'n"

Regards,

Tim Hamel

In a message dated 6/11/00 8:20:38 AM Pacific Daylight Time,
spamBeGonebirsenspamBeGonespamULAKBIM.GOV.TR writes:

{Quote hidden}

2000\06\16@103429 by Albert Goodwill

picon face
Hi Birsen,

It is very easy to program PIC if you don't have to do it in assembler.
You can use BASIC, C, Pascal compilers for PIC available on the net.




{Original Message removed}

2000\06\16@103655 by John C. Frenzel

flavicon
face
>    Hello!
> I have to program the PIC16C84 microcontroller for my graduation
> project and I never wrote an assembly code before.
> After long time wasted on reading useless staff doing search on
> internet and studying datasheet I wrote and simulate 250 lines of assembly
> code which proved to be wrong.

Could you be more specific about the problem you are having?  Creating a PIC
project is difficult because you need to really be sure whether the problems
that you are experiencing are at the hardware or software level.  I spend
alot of time making sure the hardware portion of the project is bug free
before really going at the code section.  Small programs to test the
hardware early in development are critical.  Keep a copy of the test code,
so if the hardware changes, it is relatively easy to requalify it.

You need to break down your assembly language into smaller chunks.  Few
people can bang out 250 lines of assembler correct the first time.  MPLAB is
also has some problems with simulation.

>     Now I dont know how to proceed. I will be grateful if you show me the
> way. Maybe you would advise me a good book about PIC programming or a
> manual on internet or whatever way to learn PIC.

Sounds like you don't need more books, usually the datasheet is enough.
Without more info on the specific problem, I can't offer specific help.
1--Make sure the hardware works as expected
2--Write your code in smaller segments and debug it before adding to it
3--Create some sort of revision control disipline and document as you change
the code
4--Create a "Lessions Learned" file, so you don't keep solving the same
problem over and over again.  This file is also useful when proofing the
code, so similar bugs don't slip by.

2000\06\16@110913 by chuck

flavicon
face
If you are familar with Basic or the Basic Stamps then you might
consider the PicBasic Compiler from microEngineering Labs (melabs).
It uses the same BASIC commands as the Basic Stamps but adds many more
including interrupts in BASIC, one command LCD control, one command
control of the PICs internal serial port, one command control of the
A/D ports, etc.
It really makes program PICs easy and also allows assembly language
inserts. As you grow in your capabilities and understand the PICs
better you can migrate up to programming in assembly if you want.
I went down the same road you did programming in assembly and even got
some stuff to work. But once I started using the PicBasic compilers I
never looked back. They produce a very efficient assembly code file
that gets assembled into a hex file similar to a C compiler but much
easier to understand. If you program everyday then eventually you will
learn assembly. If you do it once in a while then I don't believe there
is an easier way to program PICs than PicBasic.

Check out the article I wrote for Hobby-Electronics "Getting familiar
with PICs and PicBasic" at:
http://www.hobby-electronics.com/hellebuyck.pdf

and/or

If you want more info you can check out my site at:
http://www.elproducts.com
I sell starter packages, that include the PicBasic compiler from
melabs, and will save you a lot of money.


--- Birsen Ozturk <TakeThisOuTbirsenEraseMEspamspam_OUTULAKBIM.GOV.TR> wrote:
{Quote hidden}

=====
Chuck Hellebuyck
Electronic Products
RemoveMEchuckspamTakeThisOuTelproducts.com
*****Program PICs Like a Pro*********
Complete package for only $279.95
Includes: PBPro Compiler, EPIC Programmer, 16F84 PIC, Cable & Batteries
http://www.elproducts.com

__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...