![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| hi guys... i'm a electrical and comp sys engineering student doing a design project.. this is my 1st dealing with microcontrollers ... but now i got no idea about it at all... i'm using PIC18F452.. i read the data sheet from microchip.com but i cant get anything idea... can anyone help me?? i need to learn bout it ... | |
| |
| | (permalink) |
| There are countless number of tutorials on the net..though I recommend have a good look ay Nigel's Tutorials. Also if are a first timer tp the PIC start learning with 16F Midrange PICs. | |
| |
| | (permalink) |
| thanx a lot for the reply.... but i've been given the 18F series to do the project... so i cant learn the 16F series 1st due to time constraint.. thanx alot anyway | |
| |
| | (permalink) |
| another question ..bout nigel's tute... he's talking bout the 16F series .. does it apply to 18F series??? | |
| |
| | (permalink) | |
| Quote:
Almost all the PIC code you find on the net is for the 16 series PIC's, the new 18 series is fairly poorly represented so far. Probably a good idea would be to try and get my 16F tutorials working on your 18F chip, then once you do, improve them by using 18F specific commands. | ||
| |
| | (permalink) |
| And once you know your way around PIC18 assember you can download the C18 compiler from microchip (free student edition)... | |
| |
| | (permalink) | |
| Quote:
wat's the difference between 16F and 18 F that i need to be aware of ?? | ||
| |
| | (permalink) | |
| Quote:
There's an instruction list in the datasheets, or you can find one on the PICList at http://www.piclist.com/techref/micro...routines%2Ehtm. The configuration fuse settings are also VERY different, with the 16F having them spread over multiple bytes - one thing you do need to be aware of is tables, the 18F series handles them very differently. Again, consult the datasheets for both series to compare them. Ax Exo suggested, you might like to consider the C compiler?, assuming you are fluent in C? (I'm not!), the 18F instruction set is far more optimised for C programming. However, I would suggest you get some assembler knowledge first!, otherwise you tend to struggle in high level languages. | ||
| |
| | (permalink) | |
| Quote:
Everything you need to know is there, or has a link to it there. Go make some coffee and start reading | ||
| |
| | (permalink) |
| Nigel ... my project is using potentiometric sensor to move a wheelchair.. could u give me a rough idea on how will it work ?? is it same like IR communication ?? | |
| |
| | (permalink) | |
| Quote:
From the name I presume it's a sensor which works like a potentiometer?, in which case it could simply feed into an ADC in the PIC. | ||
| |
| | (permalink) |
| guys im really confused seeing so many things in piclist.com ... where do u think i should start ?? Nigel's tutes or piclist.com i just browse thru piclist.com .. i dont reallt get how to start from and from where.. thanx for being so patient with me.... thanks alot guys.. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| looks like it seems so obvious i'm in a hurry ... "parallely you should work with understanding the compiler" and how do i do that?? u mean compiling with mplab?? i feel im asking stupid questions.... | |
| |
| | (permalink) | |
| Quote:
http://www.piclist.com/techref/piclist/begin.htm Then move on to Nigel's tutorials. One of the very first steps is to actually choose and build a PIC programmer. As others have said, take it easy. You are not going to figure out all of this by the end of the day | ||
| |