A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
|
Vaishnavi236, Although I won't write the program for you, I will help and guide you however I can. Let me know what you need to do first. Regards, Jim > Hello , > I am doing a project using PIC MICROCONTROLLER . I > have finished with the hardware part . I am finding difficulty in > software part. > I have to write programs for > 1. PWM WITH TIMER1 FOR ON TIME AND TIMER0 FOR OFF TIME > 2. ADC > 3. LED DISPLAY FOR SHOWING THE BATTERY CONDITIONS DEPENDING ON > THE PWM OUTPUT > Battery conditons are : > a. low charge condition when it is less than 10.8 v > b. high charge condition when it is more than 14 .8v > > THESE PROGRAMS ARE TO BE WRITTEN IN ASSEMBLY LANGUAGE AND THEN > SIMULATED BY MPLAB. > PLEASE GUIDE ME WRITING THESE PROGRAMS SINCE I AM NOT WELL VERSED IN > WRITNG PROGRAMS . please suggest any websites which I can refer to > while writing these programs > > I have to submit the project this month end . please reply as soon as > possible. > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> Send the freshest Valentine's flowers with a > FREE vase from only $29.99! Shipped direct from the grower with a 7 day > freshness guarantee and prices so low you save 30-55% off retail! > http://us.click.yahoo.com/_iAw9B/xdlHAA/3jkFAA/dN_tlB/TM > ---------------------------------------------------------------------~-> > > to unsubscribe, go to http://www.yahoogroups.com and follow the > instructions Yahoo! Groups Links |
|
Hello , I am doing a project using PIC MICROCONTROLLER . I have finished with the hardware part . I am finding difficulty in software part. I have to write programs for 1. PWM WITH TIMER1 FOR ON TIME AND TIMER0 FOR OFF TIME 2. ADC 3. LED DISPLAY FOR SHOWING THE BATTERY CONDITIONS DEPENDING ON THE PWM OUTPUT Battery conditons are : a. low charge condition when it is less than 10.8 v b. high charge condition when it is more than 14 .8v THESE PROGRAMS ARE TO BE WRITTEN IN ASSEMBLY LANGUAGE AND THEN SIMULATED BY MPLAB. PLEASE GUIDE ME WRITING THESE PROGRAMS SINCE I AM NOT WELL VERSED IN WRITNG PROGRAMS . please suggest any websites which I can refer to while writing these programs I have to submit the project this month end . please reply as soon as possible. |
|
|
|
check here http://www.geocities.com/doyourownwork123/learnonyourown.html --- In , "vaishnavi236" <vaishnavi236@y...> wrote: > Hello , > I am doing a project using PIC MICROCONTROLLER . I > have finished with the hardware part . I am finding difficulty in > software part. > I have to write programs for > 1. PWM WITH TIMER1 FOR ON TIME AND TIMER0 FOR OFF TIME > 2. ADC > 3. LED DISPLAY FOR SHOWING THE BATTERY CONDITIONS DEPENDING ON > THE PWM OUTPUT > Battery conditons are : > a. low charge condition when it is less than 10.8 v > b. high charge condition when it is more than 14 .8v > > THESE PROGRAMS ARE TO BE WRITTEN IN ASSEMBLY LANGUAGE AND THEN > SIMULATED BY MPLAB. > PLEASE GUIDE ME WRITING THESE PROGRAMS SINCE I AM NOT WELL VERSED IN > WRITNG PROGRAMS . please suggest any websites which I can refer to > while writing these programs > > I have to submit the project this month end . please reply as soon > as possible. |
|
|
|
Haha nice Phil i was going to say that!
--- Phil <> wrote: --------------------------------- check here http://www.geocities.com/doyourownwork123/learnonyourown.html --- In , "vaishnavi236" <vaishnavi236@y...> wrote: > Hello , > I am doing a project using PIC MICROCONTROLLER . I > have finished with the hardware part . I am finding difficulty in > software part. > I have to write programs for > 1. PWM WITH TIMER1 FOR ON TIME AND TIMER0 FOR OFF TIME > 2. ADC > 3. LED DISPLAY FOR SHOWING THE BATTERY CONDITIONS DEPENDING ON > THE PWM OUTPUT > Battery conditons are : > a. low charge condition when it is less than 10.8 v > b. high charge condition when it is more than 14 .8v > > THESE PROGRAMS ARE TO BE WRITTEN IN ASSEMBLY LANGUAGE AND THEN > SIMULATED BY MPLAB. > PLEASE GUIDE ME WRITING THESE PROGRAMS SINCE I AM NOT WELL VERSED IN > WRITNG PROGRAMS . please suggest any websites which I can refer to > while writing these programs > > I have to submit the project this month end . please reply as soon > as possible. to unsubscribe, go to http://www.yahoogroups.com and follow the instructions Yahoo! Groups Sponsor ADVERTISEMENT --------------------------------- Yahoo! Groups Links To __________________________________________________ |
|
--- In , "vaishnavi236" <vaishnavi236@y...> wrote: > Hello , > I am doing a project using PIC MICROCONTROLLER . I > have finished with the hardware part . I am finding difficulty in > software part. > I have to write programs for > 1. PWM WITH TIMER1 FOR ON TIME AND TIMER0 FOR OFF TIME > 2. ADC > 3. LED DISPLAY FOR SHOWING THE BATTERY CONDITIONS DEPENDING ON > THE PWM OUTPUT > Battery conditons are : > a. low charge condition when it is less than 10.8 v > b. high charge condition when it is more than 14 .8v > > THESE PROGRAMS ARE TO BE WRITTEN IN ASSEMBLY LANGUAGE AND THEN > SIMULATED BY MPLAB. > PLEASE GUIDE ME WRITING THESE PROGRAMS SINCE I AM NOT WELL VERSED IN > WRITNG PROGRAMS . please suggest any websites which I can refer to > while writing these programs > > I have to submit the project this month end . please reply as soon > as possible. Although there will be no one to do your project for you, and you will probably not find what you want on the Internet (Professors are funny in assigning projects for new chips) This might be of some help. http://www.xs4all.nl/~smit/asm01001.htm http://doorknob.t35.com/asm_tutorial.html And of course the most inportant http://www.microchip.com/download/lit/pline/picmicro/families/12f6xx/4 1190c.pdf But I'm betting that your professor has already given you the tools needed to do the project. I bet next semestor it will be for the 12F683 using most of the 2k memory. Just to be different. Dave |
|
|
|
First get the data sheet. Read all of it and re-read the sections dealing with the hardware features you want to use. Read until you understand what is written. It is real tough to program the hardware if you do not know how it works. Break the project (any project) into small steps. With the aid of the data sheet learn how to configure the GPIO to drive your led's. Then learn how to configure/operate Timer0. Use the led's to show its operation. Then how to configure/operate Timer1. Then link them together and you have accomplished the PWM requirement. Then take on the ADC module and you have the project completed. MPLAB includes assembly code templates for most processor versions. Use this to get your code moving off TDC. Use the template to learn the MPLAB enviroment. Microchip has a lot of examples/application notes to study as well. Nobody is going to write the code for you. This project is meant to be an educational element for you. Project management skills should also be learned here, not just how to wire up a 675 and program a few of its features. These PM skills will be useful in all future projects big and small. pr --- In , "vaishnavi236" <vaishnavi236@y...> wrote: > Hello , > I am doing a project using PIC MICROCONTROLLER . I > have finished with the hardware part . I am finding difficulty in > software part. > I have to write programs for > 1. PWM WITH TIMER1 FOR ON TIME AND TIMER0 FOR OFF TIME > 2. ADC > 3. LED DISPLAY FOR SHOWING THE BATTERY CONDITIONS DEPENDING ON > THE PWM OUTPUT > Battery conditons are : > a. low charge condition when it is less than 10.8 v > b. high charge condition when it is more than 14 .8v > > THESE PROGRAMS ARE TO BE WRITTEN IN ASSEMBLY LANGUAGE AND THEN > SIMULATED BY MPLAB. > PLEASE GUIDE ME WRITING THESE PROGRAMS SINCE I AM NOT WELL VERSED IN > WRITNG PROGRAMS . please suggest any websites which I can refer to > while writing these programs > > I have to submit the project this month end . please reply as soon > as possible. |
|
|
|
> This project is meant to > be an educational element for you. Project management skills should > also be learned here, not just how to wire up a 675 and program a few > of its features. These PM skills will be useful in all future > projects big and small. > > pr Excellent review ! What is missed or learned at this stage is a building block to fall thru or build on later. As for study, look up every word you do not understand ! Write down every word you needed to look up in the event you have to come back to them when you get another definition. It has been theorized that one can understand a subject strictly and only by COMPLETE understanding of the words. Not memorizing, not stuff you have to think to remember. A comparison might be how you print your name. (hopefully) you don't 'think' about how to form the letters. Dave |
|
> But I'm betting that your professor has already given you the tools > needed to do the project. Yeah, he even said specifically which resources to use and what to do with them. Its funny how even when handled all the building blocks people want to be told what to do. I'm always amazed by much effort people put in to avoid doing work. > I bet next semestor it will be for the 12F683 using most of the 2k > memory. Just to be different. Gawd, I hope so, but its amazing how lazy some professors are in that they recycle last year's assignment knowing full well there is rampant copying going on. By the way, over 25 years as a hiring manager, I've interviewed literally thousands of engineer applicants, at least half being new college grads. I ALWAYS ask them to explain their school projects and ask lots of questions about why, how, what would they do differently, etc. People that didn't figure it out for themselves fail miserably at this and dont get a job offer. If you can't tell me the details of your projects, I dont want you... So take the time now to learn it. Figure it out on your own. Sure its ok to seek help when you are stuck but you still have to learn it. |