SlideShare une entreprise Scribd logo
1  sur  6
COMPASS
            PROJECT




            Devry Capstone Project:
6/15/2012   How to build, program, and modify
            an electronic compass.

            Professor: Christine Halsey

            Project by Timothy D. Heath
Compass Project



                     This document is intended to explain how to

                     assemble a compass circuit kit, program the

                     pic16f72 chip, and modify the circuit board, and

                     program resulting ina fully functional compass.




                              TABLE OF CONTENTS




Introduction ……………………………………………………………                            pg2

  Hardware List

        a.   Compass kit
        b.   Computer
        c.   Eblock EB006 programmer board with power supply
        d.   USB A/B male cable
        e.   9v battery


  Software List

        a.   PPP V.3 PIC micro programmer
        b.   Flowcode

Project Description………………………………………………pg2 , pg3


                                                                   1|Page
Compass Project

    Assembly and Initial programming

             a.     Compass kit-
             b.     Flowcode
             c.     PPPv3

    Modifications

             a.     Hardware Modifications
             b.     Software Modifications



Conclusion……………………………………………………………                                           pg 4




Compass Project
DEVRY CAPSTONE PROJECT:
HOW TO BUILD, PROGRAM, AND MODIFY AN ELECTRONIC
COMPASS.



Introduction

The compass kit is ordered form Devry bookstore, upon delivery all parts were accounted
for. The kit has a compass module that changes resistance depending on orientation to
magnetic north. The signal from the module is then controlled by the program in the
picf72 microchip. After the program has executed a signal is sent to the appropriate LED
light’s on the display.




Page   2
Compass Project

   Hardware List
     a. Compass kit
     b. Computer
     c. Eblock EB006 programmer board with power supply
     d. USB A/B male cable
     e. 9v battery
   Software List
     a. PPP V.3 PIC micro programmer
     b. Flowcode

Project Description

   Assembly and Initial programming
     a. Compass kit- the compass kit needs to have all components soldered onto the
        circuit board. No schematic is supplied. Student must assemble with
        information given which is a parts list and picture of completed board.
        Additionally my professor added videos of how to get compass module easily
        installed. I made a mistake and installed JP2 connector to the top of the circuit
        board when it should have been installed on the bottom. The JP2 connects the
        compass circuit to the EB006 programmer. That mistake cost me a lot of time
        and I actually damaged several traces on circuit board while correcting this
        problem. The damage had to be fixed by soldering an extra wire for each of the
        broken traces. I would suggest to anyone assembling this kit to double check
        each component before soldering begins.
     b. Flowcode-was accessed through Citrix platform and a working program is
        available in Doc Sharing tab of course. The original program needs to be
        compiled to .hex before it can be used by programming software.
     c. PPPv3-I had enormous difficulty getting the correct driver installed and
        functioning properly. I went to Matrix Multimedia web site and manually tried
        each driver until I found one that worked with a 64bit system. I still had further
        difficulties getting the computer to recognize the EB006 board and picf72chip
        on board compass circuit. These problems were eventually fixed through trial
        and error. The problem would not let me go the normal route defined in the

                                                                                3|Page
Compass Project
               course description of installation. After resolving problems the process is
               simple take the Hex file created in flowcode, select the appropriate chip from
               the expert menu, then download program to chip.
     Modifications
           a. Hardware Modifications- This was fairly simple 3 connections were missing
               from circuit board. This was listed on the supplied circuit diagram for the
               pic16f72 as pin 11,13, and 14 were labled NC(not connected). These three pins
               correspond to port C0,C1, and C2. The LED display also has 3 pins not
               connected pin 4, 14, and 15. These unconnected pins on display correspond to
               LED M, J, and K. I remedied this problem by soldering the wires onto the circuit
               board as follows:
                  PIC           Display
                  11pin         4pin

                  13pin         15pin

                  14pin         14pin

           b. Software Modifications- The software modifications were requested to change

               the display from its original program of N-E-S-W to an arrow       that always
               points north. This modification requires the program to be altered by changing
               which LED’s are lit up on the display for each respective direction. The display
               has ports of PIC program (ports B0-B7 and ports C0-C7) that correspond to
               each segment of display which is designated as a letter (A B C D E F g1 H g2 J
               K L M N) . A truth table makes quick work of figuring out which port goes to
               what segment. The following truth table is a partial representation of how I
               programmed the segments to light up.


b7         b6      b5      b4      b3     b2    b1      B0

F          H       E       N       G1     A     L       g2

W1 1               1       1       1      O     O       O



Page   4
Compass Project

N0     0       0      1      0      0       1      0

S0     0       0      0      0      1       0      0

C7     C6      C5     C4     C3     C2      C1     C0

D      C       C1     C2     J      K       B      M

W0 0           0      0      0      0       0      0

N1     0       0      0      0      0       0      1


     Conclusion

       After completing this project I feel more confident in building, programming, and
       modifying a circuit. Of course these things I have already learned from my own
       experiences, and previous courses I have completed at Devry. What I more
       importantly take away from this class project is improved ability to clearly explain
       and demonstrate both process and progress of technical information.




                                                                                  5|Page

Contenu connexe

Similaire à Build, program and modify an electronic compass

Study and Development of PIC Microcontroller to PC Communication via USB
Study and Development of PIC Microcontroller to PC Communication via USBStudy and Development of PIC Microcontroller to PC Communication via USB
Study and Development of PIC Microcontroller to PC Communication via USBijtsrd
 
Engineering Portfolio of Isaac Bettendorf
Engineering Portfolio of Isaac BettendorfEngineering Portfolio of Isaac Bettendorf
Engineering Portfolio of Isaac BettendorfIsaac Bettendorf
 
5_2018_08_07!07_51_31_AM.pdf
5_2018_08_07!07_51_31_AM.pdf5_2018_08_07!07_51_31_AM.pdf
5_2018_08_07!07_51_31_AM.pdfBizuayehuDesalegn
 
Larson and toubro
Larson and toubroLarson and toubro
Larson and toubroanoopc1998
 
Portfolio - Muhammad Ismail Sheikh
Portfolio - Muhammad Ismail SheikhPortfolio - Muhammad Ismail Sheikh
Portfolio - Muhammad Ismail SheikhM. Ismail Sheikh
 
Advanced view pic microcontroller projects list pic microcontroller
Advanced view pic microcontroller projects list   pic microcontrollerAdvanced view pic microcontroller projects list   pic microcontroller
Advanced view pic microcontroller projects list pic microcontrollerWiseNaeem
 
Blaz_Remskar_2012-2015
Blaz_Remskar_2012-2015Blaz_Remskar_2012-2015
Blaz_Remskar_2012-2015Blaž Remškar
 
Vlsilab13
Vlsilab13Vlsilab13
Vlsilab13Krish s
 
Display a Character on a 7 Segment Display
Display a Character on a 7 Segment DisplayDisplay a Character on a 7 Segment Display
Display a Character on a 7 Segment DisplayRihab Rahman
 
Syllabus 3 month pclr
Syllabus 3 month pclrSyllabus 3 month pclr
Syllabus 3 month pclrchiptroniks
 
Engineering Assignment
Engineering AssignmentEngineering Assignment
Engineering AssignmentNeilOw87
 
Final project presentation ea
Final project presentation eaFinal project presentation ea
Final project presentation eaEric Ayala
 
Laptop syllabus 1 month
Laptop syllabus 1 monthLaptop syllabus 1 month
Laptop syllabus 1 monthchiptroniks
 
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...IRJET Journal
 
Laptop Chip level repairing(CPU section)
Laptop Chip level repairing(CPU section)Laptop Chip level repairing(CPU section)
Laptop Chip level repairing(CPU section)chiptroniks
 
laptop repairing institute
laptop repairing institutelaptop repairing institute
laptop repairing institutechiptroniks
 
laptop repairing institute
laptop repairing institutelaptop repairing institute
laptop repairing institutechiptroniks
 
Shivaprakash_KR_Resume
Shivaprakash_KR_ResumeShivaprakash_KR_Resume
Shivaprakash_KR_ResumeShiva Prakash
 

Similaire à Build, program and modify an electronic compass (20)

Study and Development of PIC Microcontroller to PC Communication via USB
Study and Development of PIC Microcontroller to PC Communication via USBStudy and Development of PIC Microcontroller to PC Communication via USB
Study and Development of PIC Microcontroller to PC Communication via USB
 
Engineering Portfolio of Isaac Bettendorf
Engineering Portfolio of Isaac BettendorfEngineering Portfolio of Isaac Bettendorf
Engineering Portfolio of Isaac Bettendorf
 
5_2018_08_07!07_51_31_AM.pdf
5_2018_08_07!07_51_31_AM.pdf5_2018_08_07!07_51_31_AM.pdf
5_2018_08_07!07_51_31_AM.pdf
 
Larson and toubro
Larson and toubroLarson and toubro
Larson and toubro
 
Portfolio - Muhammad Ismail Sheikh
Portfolio - Muhammad Ismail SheikhPortfolio - Muhammad Ismail Sheikh
Portfolio - Muhammad Ismail Sheikh
 
Advanced view pic microcontroller projects list pic microcontroller
Advanced view pic microcontroller projects list   pic microcontrollerAdvanced view pic microcontroller projects list   pic microcontroller
Advanced view pic microcontroller projects list pic microcontroller
 
Blaz_Remskar_2012-2015
Blaz_Remskar_2012-2015Blaz_Remskar_2012-2015
Blaz_Remskar_2012-2015
 
Vlsilab13
Vlsilab13Vlsilab13
Vlsilab13
 
Display a Character on a 7 Segment Display
Display a Character on a 7 Segment DisplayDisplay a Character on a 7 Segment Display
Display a Character on a 7 Segment Display
 
Syllabus 3 month pclr
Syllabus 3 month pclrSyllabus 3 month pclr
Syllabus 3 month pclr
 
Engineering Assignment
Engineering AssignmentEngineering Assignment
Engineering Assignment
 
Poster
PosterPoster
Poster
 
Final project presentation ea
Final project presentation eaFinal project presentation ea
Final project presentation ea
 
Laptop syllabus 1 month
Laptop syllabus 1 monthLaptop syllabus 1 month
Laptop syllabus 1 month
 
circuit diagram
circuit diagramcircuit diagram
circuit diagram
 
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
 
Laptop Chip level repairing(CPU section)
Laptop Chip level repairing(CPU section)Laptop Chip level repairing(CPU section)
Laptop Chip level repairing(CPU section)
 
laptop repairing institute
laptop repairing institutelaptop repairing institute
laptop repairing institute
 
laptop repairing institute
laptop repairing institutelaptop repairing institute
laptop repairing institute
 
Shivaprakash_KR_Resume
Shivaprakash_KR_ResumeShivaprakash_KR_Resume
Shivaprakash_KR_Resume
 

Dernier

E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxJackieSparrow3
 
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ EscortsDelhi Escorts Service
 
西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做j5bzwet6
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 AvilableCall Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilabledollysharma2066
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 

Dernier (9)

E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptx
 
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
 
西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
 
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 AvilableCall Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 

Build, program and modify an electronic compass

  • 1. COMPASS PROJECT Devry Capstone Project: 6/15/2012 How to build, program, and modify an electronic compass. Professor: Christine Halsey Project by Timothy D. Heath
  • 2. Compass Project This document is intended to explain how to assemble a compass circuit kit, program the pic16f72 chip, and modify the circuit board, and program resulting ina fully functional compass. TABLE OF CONTENTS Introduction …………………………………………………………… pg2  Hardware List a. Compass kit b. Computer c. Eblock EB006 programmer board with power supply d. USB A/B male cable e. 9v battery  Software List a. PPP V.3 PIC micro programmer b. Flowcode Project Description………………………………………………pg2 , pg3 1|Page
  • 3. Compass Project  Assembly and Initial programming a. Compass kit- b. Flowcode c. PPPv3  Modifications a. Hardware Modifications b. Software Modifications Conclusion…………………………………………………………… pg 4 Compass Project DEVRY CAPSTONE PROJECT: HOW TO BUILD, PROGRAM, AND MODIFY AN ELECTRONIC COMPASS. Introduction The compass kit is ordered form Devry bookstore, upon delivery all parts were accounted for. The kit has a compass module that changes resistance depending on orientation to magnetic north. The signal from the module is then controlled by the program in the picf72 microchip. After the program has executed a signal is sent to the appropriate LED light’s on the display. Page 2
  • 4. Compass Project  Hardware List a. Compass kit b. Computer c. Eblock EB006 programmer board with power supply d. USB A/B male cable e. 9v battery  Software List a. PPP V.3 PIC micro programmer b. Flowcode Project Description  Assembly and Initial programming a. Compass kit- the compass kit needs to have all components soldered onto the circuit board. No schematic is supplied. Student must assemble with information given which is a parts list and picture of completed board. Additionally my professor added videos of how to get compass module easily installed. I made a mistake and installed JP2 connector to the top of the circuit board when it should have been installed on the bottom. The JP2 connects the compass circuit to the EB006 programmer. That mistake cost me a lot of time and I actually damaged several traces on circuit board while correcting this problem. The damage had to be fixed by soldering an extra wire for each of the broken traces. I would suggest to anyone assembling this kit to double check each component before soldering begins. b. Flowcode-was accessed through Citrix platform and a working program is available in Doc Sharing tab of course. The original program needs to be compiled to .hex before it can be used by programming software. c. PPPv3-I had enormous difficulty getting the correct driver installed and functioning properly. I went to Matrix Multimedia web site and manually tried each driver until I found one that worked with a 64bit system. I still had further difficulties getting the computer to recognize the EB006 board and picf72chip on board compass circuit. These problems were eventually fixed through trial and error. The problem would not let me go the normal route defined in the 3|Page
  • 5. Compass Project course description of installation. After resolving problems the process is simple take the Hex file created in flowcode, select the appropriate chip from the expert menu, then download program to chip.  Modifications a. Hardware Modifications- This was fairly simple 3 connections were missing from circuit board. This was listed on the supplied circuit diagram for the pic16f72 as pin 11,13, and 14 were labled NC(not connected). These three pins correspond to port C0,C1, and C2. The LED display also has 3 pins not connected pin 4, 14, and 15. These unconnected pins on display correspond to LED M, J, and K. I remedied this problem by soldering the wires onto the circuit board as follows: PIC Display 11pin 4pin 13pin 15pin 14pin 14pin b. Software Modifications- The software modifications were requested to change the display from its original program of N-E-S-W to an arrow that always points north. This modification requires the program to be altered by changing which LED’s are lit up on the display for each respective direction. The display has ports of PIC program (ports B0-B7 and ports C0-C7) that correspond to each segment of display which is designated as a letter (A B C D E F g1 H g2 J K L M N) . A truth table makes quick work of figuring out which port goes to what segment. The following truth table is a partial representation of how I programmed the segments to light up. b7 b6 b5 b4 b3 b2 b1 B0 F H E N G1 A L g2 W1 1 1 1 1 O O O Page 4
  • 6. Compass Project N0 0 0 1 0 0 1 0 S0 0 0 0 0 1 0 0 C7 C6 C5 C4 C3 C2 C1 C0 D C C1 C2 J K B M W0 0 0 0 0 0 0 0 N1 0 0 0 0 0 0 1 Conclusion After completing this project I feel more confident in building, programming, and modifying a circuit. Of course these things I have already learned from my own experiences, and previous courses I have completed at Devry. What I more importantly take away from this class project is improved ability to clearly explain and demonstrate both process and progress of technical information. 5|Page