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
 
Thread Tools Display Modes
Old 13th December 2007, 06:46 AM   (permalink)
Experienced Member
 
simrantogether is a jewel in the roughsimrantogether is a jewel in the rough
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   Reply With Quote
Old 13th December 2007, 08:29 AM   (permalink)
Experienced Member
 
felis is on a distinguished road
Default

http://www.google.com/search?q=pic+coding+examples
felis is offline   Reply With Quote
Old 13th December 2007, 08:33 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
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"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 13th December 2007, 08:42 AM   (permalink)
Experienced Member
 
Blog Entries: 1
Gayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of light
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
Forum Supporter
Gayan Soyza is offline   Reply With Quote
Old 13th December 2007, 11:02 AM   (permalink)
Experienced Member
 
simrantogether is a jewel in the roughsimrantogether is a jewel in the rough
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   Reply With Quote
Old 13th December 2007, 11:05 AM   (permalink)
Experienced Member
 
simrantogether is a jewel in the roughsimrantogether is a jewel in the rough
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   Reply With Quote
Old 13th December 2007, 11:41 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
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   Reply With Quote
Old 2nd February 2008, 08:42 AM   (permalink)
Experienced Member
 
simrantogether is a jewel in the roughsimrantogether is a jewel in the rough
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   Reply With Quote
Old 2nd February 2008, 08:57 AM   (permalink)
Experienced Member
 
futz is a name known to allfutz is a name known to allfutz is a name known to allfutz is a name known to allfutz is a name known to allfutz is a name known to all
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 online now   Reply With Quote
Old 2nd February 2008, 09:09 AM   (permalink)
Experienced Member
 
bananasiong is a glorious beacon of lightbananasiong is a glorious beacon of lightbananasiong is a glorious beacon of lightbananasiong is a glorious beacon of light
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.
__________________
Superman Returns..
http://www.supermanhomepage.com/imag...an-returns.gif

My friend created this account for me.. LOL
http://bananasiong.myminicity.com
oh.. somemore
http://bananasiong.myminicity.com/env
bananasiong is offline   Reply With Quote
Old 29th March 2008, 05:38 AM   (permalink)
fza
New Member
fza is on a distinguished road
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   Reply With Quote
Old 29th March 2008, 05:59 AM   (permalink)
Experienced Member
mvs sarma is a name known to allmvs sarma is a name known to allmvs sarma is a name known to allmvs sarma is a name known to allmvs sarma is a name known to allmvs sarma is a name known to all
Send a message via MSN to mvs sarma Send a message via Yahoo to mvs sarma
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   Reply With Quote
Old 7th April 2008, 07:07 PM   (permalink)
New Member
LED DRIVER is on a distinguished road
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   Reply With Quote
Old 8th April 2008, 02:51 AM   (permalink)
Experienced Member
 
Blog Entries: 1
Gayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of light
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.

http://www.electro-tech-online.com/m...light=led+fade
__________________
Gayan
Forum Supporter
Gayan Soyza is offline   Reply With Quote
Old 19th April 2008, 12:28 PM   (permalink)
New Member
ullaskmr is on a distinguished road
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 With Quote
Reply

Bookmarks

Thread Tools
Display Modes


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



All times are GMT. The time now is 11:46 PM.


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