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
 
Tools
Old 13th December 2007, 07:46 AM   #1
Smile Pic coding examples

Hi all,

I need small pic coding examples as how i can code pic...

Any website link..

Regards,

Simran..
__________________
Simran..
8051 Specialist..
simrantogether is offline  
Old 13th December 2007, 09:29 AM   #2
Default

http://www.google.com/search?q=pic+coding+examples
felis is offline  
Old 13th December 2007, 09:33 AM   #3
Default

Quote:
Originally Posted by simrantogether
Hi all,

I need small pic coding examples as how i can code pic...

Any website link..

Regards,

Simran..
morning Simran,
Which small PIC do you have in mind, there are so many.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 13th December 2007, 09:42 AM   #4
Default

You didn't say the language yet.

Anyway I recently found this very useful for a beginner.

http://www.gooligum.com.au/tutorials.html

Also if you look in the "sticky" it has various links regarding pic tutorials.
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 13th December 2007, 12:02 PM   #5
Smile Wonderful...

Wonderful site Gayan...

And Sir Eric ... I wanted to start on PIC16f877...

The problem i am facing is actually that...

I feel the registers of PIC a re actually very complicated as compared to AVR etc.

There are many registers lke TRISA, TRISB without which also the microcontroller can work perfectly like in AVR or Other new RISC controllers...

Well,

Any solution...

Regards,

Simran..
__________________
Simran..
8051 Specialist..
simrantogether is offline  
Old 13th December 2007, 12:05 PM   #6
Smile Language...

Language preffered is Embedded c.

But i'll be happy on learning the registers as well... as i am to teach some people about them...

Regards,

Simran...
__________________
Simran..
8051 Specialist..
simrantogether is offline  
Old 13th December 2007, 12:42 PM   #7
Default

Quote:
Originally Posted by simrantogether
There are many registers lke TRISA, TRISB without which also the microcontroller can work perfectly like in AVR or Other new RISC controllers...
TRIS registers are simply for setting the direction of the I/O pins, presumably the AVR has something similar anyway?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 2nd February 2008, 09:43 AM   #8
Smile Well...

Well...

I've finally learnt MPLAB and i wanted to start with small coding examples for pic.

Does microchip issues any manual for programming pic's or any other manual.

or any other link...

just i wanted is small assembly examples...

Regards,

Simran..
__________________
Simran..
8051 Specialist..
simrantogether is offline  
Old 2nd February 2008, 09:57 AM   #9
Default

Quote:
Originally Posted by Nigel Goodwin
TRIS registers are simply for setting the direction of the I/O pins, presumably the AVR has something similar anyway?.
Yup, DDRx, short for DataDirectionRegisterA or B or whatever. Motorola/Freescale uses the same opcode.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is offline  
Old 2nd February 2008, 10:09 AM   #10
Default

Quote:
Originally Posted by simrantogether
just i wanted is small assembly examples...
There're small and big examples here

This is how I learn, copy the whole program and modify.
__________________
bananasiong
bananasiong is offline  
Old 29th March 2008, 06:39 AM   #11
Default

hi..can u help me on my projek..i really need coding for alarm clock using 7 segmen display. i need to multiplex the pin for 7 segmen. i need source code in assembly for this function. i try work on it but it doesn/t function in my circiut. the display cannot work..anybody can help me?i really need it as soon as possible..
fza is offline  
Old 29th March 2008, 07:00 AM   #12
Default

Quote:
Originally Posted by simrantogether
Well...

I've finally learnt MPLAB and i wanted to start with small coding examples for pic.

Does microchip issues any manual for programming pic's or any other manual.

or any other link...

just i wanted is small assembly examples...

Regards,

Simran..
Perhaps the best examples are from Nigel's tutorials of pic programming. they speak loud and clear of methods and means.
__________________
Regards,
Sarma.
mvs sarma is offline  
Old 7th April 2008, 08:08 PM   #13
Default

Hello, I have the same problem as fza. I need an MPLAB assembly code that will dim a couple of LED's. The PIC is12F683. The potentiometer will be connected to PIN7(potentiometer is used so that it can manaully dimmed) and PIN5 will be connected to the dimmer, if i have read the circuit correctly. I'm in dire need of any help. Can someone give me some clue as to how i should approach this problem? maybe a small starting code that i can add things to it???? Thanks a bunch
LED DRIVER is offline  
Old 8th April 2008, 03:52 AM   #14
Default

Quote:
Originally Posted by LED DRIVER
Hello, I have the same problem as fza. I need an MPLAB assembly code that will dim a couple of LED's. The PIC is12F683. The potentiometer will be connected to PIN7(potentiometer is used so that it can manaully dimmed) and PIN5 will be connected to the dimmer, if i have read the circuit correctly. I'm in dire need of any help. Can someone give me some clue as to how i should approach this problem? maybe a small starting code that i can add things to it???? Thanks a bunch
See this thread it will help you.

ADC in assembly
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 19th April 2008, 01:28 PM   #15
Default help me friends................

hiii everyone
Acutally i want to know the basics of pic16f877a except from the details of microchip.com.
I am a b-tech ece student and i want to do my final year project based on this. So i kindly request you all to help me immediately so that i can complete my project as early as possible.
waiting for reply.....................
ullaskmr is offline  
Reply

Tags
coding, examples, pic

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Quik PIC Programming kit Krumlink General Electronics Chat 5 28th January 2008 12:27 AM
Intermittent PIC problem mikesmixes777 Micro Controllers 16 3rd December 2007 01:27 PM
Problems switchin relay with PIC Andy1845c General Electronics Chat 5 17th November 2007 07:14 PM
High ADC sampling rate PIC, 18F needed? bananasiong Micro Controllers 24 28th October 2007 01:13 PM
Four PIC with One LCD.. meera83 Micro Controllers 13 20th September 2007 07:40 AM



All times are GMT. The time now is 10:17 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker