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

  • 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

    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

    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
  • Powerful Essays

    arm Board details

    • 8207 Words
    • 33 Pages

    Stellaris® LM4F120 LaunchPad Evaluation Board User Manual Literature Number: SPMU289B August 2012 – Revised July 2013 Contents 1 Board Overview 1.1 1.2 1.3 1.4 1.5 .................................................................................................................. 4 Kit Contents .................................................................................................................. Using the Stellaris LaunchPad ............................................................................................ Features ......................................................................................................................…

    • 8207 Words
    • 33 Pages
    Powerful 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

    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
  • 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
  • Satisfactory Essays

    programming problem

    • 980 Words
    • 5 Pages

    Complete the programming problems 1 and 2 as described below. DO NOT COMPLETE THE PROBLEMS FROM THE TEXT…

    • 980 Words
    • 5 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
  • 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
  • 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
  • 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

    Emcgrabs Readme

    • 2216 Words
    • 9 Pages

    If the EMCgrab is run with the -autoexec feature enabled and the host uses naviseccli…

    • 2216 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Electronics and Electrical

    • 7362 Words
    • 30 Pages

    Course No. CH101 CH110 EE101 MA101 ME110/ PH 110 ME 111 PH101 SA 101 Course Name Semester - 1 Chemistry Chemistry Laboratory Electrical Sciences Mathematics - I Workshop /Physics Laboratory Engineering Drawing Physics - I Physical Training -I NCC/NSO/NSS 3 0 3 3 0 0 2 0 0 11 Semester 3 MA201 EE200 EE201 EE220 HS2xx EE202 SA201 Mathematics - III Semiconductor Devices and Circuits Digital Circuits and Microprocessors Signals, Systems and Networks HSS Elective - I Digital Circuits Laboratory Physical Training - III NCC/NSO/NSS Semester 5 Digital Signal Processing Control Systems Electrical Machines Electrical Power Systems HSS Elective - III Communication Laboratory Electrical Machines Laboratory Semester 7 Electrical Power Systems Operation and Control Dept. Elective - I Dept. Elective - II Open Elective - II Advanced Electrical Engineering Laboratory Project - I 3 3 3 3 3 0 0 0 15 EE320 EE350 EE380 EE382 HS3xx EE331 EE381 3 3 3 3 3 0 0 15 EE480 EExxx EExxx XXxxx EE482 EE498 3 3 3 3 0 0 12 1 0 0 1 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 2 2 3 0 0 0 0 0 3 3 6 0 0 0 0 3 6 9 8 6 6 8 6 3 0 0 37 6 6 6 6 6 3 3 36 Semester 8 6 6 6 6 3 6 33 EExxx EExxx EExxx HS4xx XXxx EE499 Dept. Elective -III Dept. Elective - IV Dept. Elective - V HSS Elective - IV Open Elective - III Project - II 3 3 3 3 3 0 15 0 0 0 0 0 0 0 0 0 0 0 0 6 6 6 6 6 6 6 6 36 EE340 EE351 EE360 EE385 XXxxx EE304 EE371 Semester 6 Electromagnetic Theory Advanced Control Systems Embedded Systems Power Electronics and Drives Open Elective - I Design Laboratory Control and Instrumentation Lab EE203 EE221 EE230 EE270 HS2xx EE 204 SA 202 1 0 1 1 0 0 1 0 0 4 0 3 0 0 3 3 0 2 2 9 8 3 8 8 3 3 6 0 0 39 BT101 CS 101 CS110 EE102 MA102 ME101 PH102 PH 110/ ME 110 SA 102 L T P C Course No. Course Name Semester -2 Modern Biology Introduction to…

    • 7362 Words
    • 30 Pages
    Satisfactory Essays