Preview

Pic Microcontroller Programming

Powerful Essays
Open Document
Open Document
6341 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Pic Microcontroller Programming
Contents
Introduction ............................................................................................................................................ 2 Peripheral set-up..................................................................................................................................... 4 Timer1 ................................................................................................................................................. 4 Timer2 ................................................................................................................................................. 4 Discussions .............................................................................................................................................. 5 Task 1; Binary Counter: Counter delay ............................................................................................... 5 Task 2 – LED increment counter using Timer1 as delay...................................................................... 6 Task 3 – Morse code generator .......................................................................................................... 7 Task 4:Writing the group number to the EEPROM ............................................................................. 8 Burglar alarm .................................................................................................................................... 10 Controlling the brightness of an LED using PWM ............................................................................. 12 Conclusion ............................................................................................................................................. 13 References ............................................................................................................................................ 13 Appendices



References: [1] Microchip. (n.d.). Tips and Tricks. [2] PIC16F62X Datasheet. (n.d.). Microchip . [3] Predko, M. (2007). Programming and Customising the PIC microcontroller. McGraw Hill. [4] Velleman. K8048 Manual. Velleman.

You May Also Find These Documents Helpful

  • Powerful Essays

    Microsoft, (2006), Knowledge base article 99588, Hardware abstraction layer (HAL), Retrieved July 21, 2007 from: http://support.microsoft.com/kb/99588…

    • 2709 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Programing Problems

    • 721 Words
    • 3 Pages

    IT 210 13 Programming Problems Pseudocode for chapter 2 checkpoint Frank T. Hartman IT 210 13 Programming Problems Pseudocode for chapter 2 checkpoint Frank T. Hartman Programming Problem 1 Main Module Declare SalesAmount As Real Declare CommissionRate As Real Declare CommissionEarned…

    • 721 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    code program

    • 317 Words
    • 2 Pages

    (Compilation screenshot) - Insert here a screenshot of the result of compiling the above source code: NetBeans IDE 7.3.1 compiles but it did not go to the screen so I could see it, this is why I sent you a message yesterday to let you know this. But the program did run without any problems.…

    • 317 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PICO Question

    • 421 Words
    • 2 Pages

    The PICO statement will provide a framework for your Capstone Project (The project students must complete during their final course in the RN-BSN program of study). Review the PICO article "Evidence-Based Practice, Step by Step: Asking the Clinical Question" (2010)…

    • 421 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    PICOT Question

    • 834 Words
    • 3 Pages

    Only a few studies in nursing research provide some kind of study that looks into experiences of patients who choose to undergo bariatric surgical procedures or investigation. Within the growth of science in bariatric nursing, there is that need of information to support both the patient that is receiving the care and the physician that is providing the care and the support. In this time of continues growth in this bariatric procedures, it is a most that all healthcare providers initiate and Evaluate necessary changes in practice that will enhance the well-being and health of patients that undergo this procedure. With the current increase in the rate of obesity, people have now turned to bariatric surgery because they have tried all the other methods and find it not that helpful. Statistic shows that adults are obese or overweight with a percentage of 68.8%; 35.7% are obese. 31.8% of children and adolescents are obese of overweight; 16.9 are obese. (Olden et al.,2012). Death is a risk factor for patient undergoing this surgery and also co-morbidities like hypertension, diabetes, sleep apnea and heart problems that can affect the outcome of the surgery. After the surgical procedures, some of the problems that were identified were the lack of adequate pain management and social support system. This study shows that education of nurses on the continues need of assessment, implementation and evaluation on both the physical and psychosocial outcome of this patient is imperative to fully meet their needs.…

    • 834 Words
    • 3 Pages
    Good Essays
  • Good Essays

    PICO Assignment

    • 656 Words
    • 3 Pages

    There is a limited amount of placental transfer of vitamin K, leaving infants with an inadequate amount. Vitamin K is made from intestinal bacteria and is absorbed from the foods we eat. Newborns are unable to get adequate amounts of vitamin K due to these reasons (“Notes from the field”, 2013). Newborns have an inadequate amount of clotting factors which puts them at risk of bleeding and hemorrhaging. This is another reason the outcome portion of this clinical question is important, by finding out if a decrease in refusal rate is achieved by improved education. The comparison data is important to evaluate whether the intervention is effective or not. For this question having the current level of refusal rate is needed to know if the intervention has an impact on decreasing the refusal rate of vitamin K…

    • 656 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Programming

    • 3038 Words
    • 13 Pages

    2. Each of the flowchart segments in Figure 3-35 is unstructured. Redraw each flowchart segment so that it does the same thing but is structured.…

    • 3038 Words
    • 13 Pages
    Good Essays
  • Good Essays

    “Bartleby the Scrivener” by Herman Melville is a short story about an elderly lawyer’s experience when he hires a new scrivener for his office. The setting of the story takes place in 1853 New York City, a metropolis with Wall Street capitalism at its center. Much like the lawyer's other employees, Bartleby is described as having eccentric tendencies. Bartleby is a middle-class man, who must work to make ends meet through monotonous tasks and following orders of his employer (the Lawyer/narrator). Eventually, Bartleby ceases to follow these orders.…

    • 622 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Speed of Sound

    • 814 Words
    • 4 Pages

    | Use different frequency of signal generator which are 1000Hz, 1400Hz, 1800Hz, 2000Hz, 2500Hz, 3000Hz and 3600Hz.…

    • 814 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    chapter One Microcontroller Ic Industry Overview 1.1 Microcontroller Ic Definition(product Picture And Specifications) 1.2 Microcontroller Ic Classification And Application…

    • 1033 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    Report Ptcl

    • 9906 Words
    • 40 Pages

    2.1. PTCL landline .................................................................................................................................... 5 2.2. PTCL V-FONE ................................................................................................................................... 5 2.3. UFONE ............................................................................................................................................. 6 2.4. PAKNET limited ............................................................................................................................... 6 2.5. PTCL broadband .............................................................................................................................. 7 2.6. Smart services…

    • 9906 Words
    • 40 Pages
    Powerful Essays
  • Satisfactory Essays

    Engineer

    • 9135 Words
    • 37 Pages

    STANDARD TECHNICAL REQUIREMENTS............................................................................ 5 2.1 General............................................................................................................................... 5 2.2 Standard work ROV system. ............................................................................................. 5 2.2.1 Basic Requirements................................................................................................. 5 2.2.2 Topside facilities and control system. ....................................................................... 5 2.2.3 Umbilicals, tethers and deck cables. .......................................................................... 9 2.2.4 Handling System.…

    • 9135 Words
    • 37 Pages
    Satisfactory Essays
  • Powerful Essays

    ECT Compass report

    • 1514 Words
    • 12 Pages

    The purpose of this paper is to explain how to build a digital compass and program the pic16f72 microchip, which will result in a fully functional directional compass. Additionally, I will discuss how I then modified the circuit board, as well as the software, in order for the digital compass to display arrows that point North when rotated in every direction.…

    • 1514 Words
    • 12 Pages
    Powerful Essays
  • Satisfactory Essays

    Calculator and Ti-84 Plus

    • 101737 Words
    • 407 Pages

    Note: This guidebook for the TI-84 Plus or TI-84 Plus Silver Edition with operating system (OS)…

    • 101737 Words
    • 407 Pages
    Satisfactory Essays
  • Satisfactory Essays

    APUS/Kageorgis Lesson 2 Review Wide Area Networks The purpose of this activity is to reinforce what you have learned so far about local area networks technologies. What is a T1 circuit (Word count 15-25) ____________________________________________________________________________________________________________________________________________________________ A statistical multiplexer provides each user with (Word count 15-25) ______________________________________________________________________________ ______________________________________________________________________________ What does a SONET add/drop multiplexer do (Word count 15-25) ____________________________________________________________________________________________________________________________________________________________ Describe an ATM cell (Word count 15-25) ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ Which technologies provide affordable high-speed connections for home-based networks (Word count 15-25) ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ Match each term below with the correct definition. Answer 1 - __…

    • 508 Words
    • 3 Pages
    Satisfactory Essays