Preview

Circuit Debugging Tips

Good Essays
Open Document
Open Document
859 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Circuit Debugging Tips
ECE348 Circuit Debugging Tips
These guidelines may be useful to you if your circuits are not working as planned:

Check the Microcontroller Control Register Settings
Sometimes you have to configure multiple control settings before you can enable a pin for a particular purpose (input, output, A/D conversion, etc). Section 2.3.2 of the MCU datasheet describes the control registers related to various ports. Sometimes you may have to look in other parts of the datasheet (for example, the A/D section) for more details on enabling / setting a particular peripheral.

Check Your IDE Settings
Verify that the file you are editing is the same one the compiler is set to compile and the debugger/serial monitor is set to load to the correct target. This can be a problem if you have multiple targets or multiple projects open.

Check Your Debugger
Remember that you have to press the Green Arrow / F5 / Run > Start command in the debugger before the program you’ve loaded will begin executing.

Point-to-point Wiring Check
Wiring mistakes are easy to make. If possible, have someone other than the person who wired the circuit check it for mistakes. This procedure will give you a methodical way to check the wiring. This method is more reliable than tracing wires, especially if there are a lot of overlapping wires on your board, or many that are the same color.
Start with a schematic of your circuit. If you don’t have a circuit, draw one out. No circuit is “too simple” to need a schematic. If the circuit is simple, the schematic should be easy to draw.
Verify each connection on the circuit using the multimeter. Some multimeters have a continuity checker which will ring when a low-resistance connection is made. Even if your multimeter doesn’t have this feature, set it for the lowest resistance setting. If you read 0 (or very low number of ohms) between the test leads, they are wired together.
Use a highlighter to mark each connection on the schematic as your

You May Also Find These Documents Helpful

  • Good Essays

    1310 unit 4

    • 440 Words
    • 2 Pages

    Continuity tester: A toll used to determine whether an electrical circuit can be made between to points.…

    • 440 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Phy 101 Lab 9

    • 568 Words
    • 3 Pages

    Purpose: The purpose and objectives of this lab was to be able to draw completed electrical circuits using the correct symbols for selected electrical components, including batteries and diodes. Another focus was to calculate the proper resistance using Ohm’s law, use proper electrical currents and quantities, and lastly measure voltage and resistance in an electrical circuit using a multimeter.…

    • 568 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 4

    • 1317 Words
    • 6 Pages

    WWW.SPEEDOMETERMASTER.COM PRICELIST $4,199.00 Ask a question about this product FCN1: 2F 01 40 00 00 13 0C 0C FCN2: 4F DC F6 FA 51 D0 90 00 FCN3: 5F FF FF FF FF FF FF FF To see vehicles covered click on FCN Numbers above This software package includes: Software: Updates FREE. Accessories: OBD2 Adapter.…

    • 1317 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    Follow the instructions to create different types of circuits. As you create each circuit, you will be asked to make measurements and record observations to gain understanding about the circuit and its components. Let us begin by investigating two components that are commonly used in circuits. They are resistors and Light Emitting Diodes (LEDs).…

    • 1662 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Brandico Barr Module 3

    • 608 Words
    • 3 Pages

    Design a circuit and draw a circuit diagram using the proper symbols. Your circuit must contain a battery, a light bulb (if you would like to substitute another item that uses electrical power you may), a switch, an ammeter, and a resistor. After you draw your circuit, complete the questions which ask you to describe the circuit that you have created. You may hand draw the circuit and scan or fax the worksheet to submit for grading. Or you may use a…

    • 608 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    pt1420 lab 63 answers 1

    • 1193 Words
    • 8 Pages

    include detailed repair information, such as a circuit diagram. Pt1420 Lab 6.3 Answers for simpler…

    • 1193 Words
    • 8 Pages
    Satisfactory Essays
  • Better Essays

    -Cleaning the wire loop before starting the actual experiment. I ensured the wire loop was not contaminated by dipping the wire loop into hydrochloric acid or nitric acid, followed by rinsing with distilled water. If colour…

    • 1369 Words
    • 4 Pages
    Better Essays
  • Good Essays

    This diagram shows how we carried out our experiment, by connecting 2 wires to the ohmmeter and attached the wires to the samples we used in our experiment.…

    • 1097 Words
    • 5 Pages
    Good Essays
  • Good Essays

    The Working of Wires

    • 2582 Words
    • 11 Pages

    3. Unhook any wire and then bring it back as close as you can to where it was connected — without actually making contact. Do this slowly and…

    • 2582 Words
    • 11 Pages
    Good Essays
  • Good Essays

    errors may occur in few hours, minutes or second depends on the type of the circuit.…

    • 366 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    scientific report

    • 371 Words
    • 2 Pages

    Place the cuvette firmly into the machine and then press the green button to take a reading. This should be done 5 times.…

    • 371 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Step 7: To know which wire connects to which pins, see the motherboard documentation or look for cryptic labels imprinted on the motherboard near the banks of pins. Sometimes the motherboard…

    • 437 Words
    • 2 Pages
    Good Essays
  • Good Essays

    For part B connect the voltage follower input (with the 0.1 F capacitor) to the 5 V supply on the breadboard unit. Touch momentarily the same positive Minigrabber TM to…

    • 1006 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Then the process of writing the code that was needed for the circuit to operate as desired begun.…

    • 2020 Words
    • 9 Pages
    Good Essays
  • Good Essays

    We measured the resistance per foot of a wire using setups of both two and four test leads in tandem with a digital voltmeter (DVM) and compared their accuracy. While resistance can be determined by measuring voltage and current separately, it can also be measured more simply and directly using the resistance measuring feature available to some digital voltmeters, such as the Agilent 34401A we employ here. Plugging two test leads into the DVM and placing them in series with the device under test (DUT) can be sufficient, but only if the DUT has a resistance of at least an order of magnitude larger than the internal and contact resistances within the leads. If one forgets about these resistances, they may be led to believe that two leads are always sufficient for accurate resistance measurements. A four-lead setup adds two more test leads that divert current flow from the original two, therefore eliminating the voltage drops caused by the leads’ internal resistances and their contact resistances with the DUT. Here, both setups were tried and their accuracy and practicality compared. A two-foot long 22 American Wire Gauge copper wire’s resistance per foot was measured to be 49.2 m/ft (206% from the accepted value of 16.1/ft) and 16.6 m/f (3.11% from the accepted value) using the two-wire and four-wire techniques, respectively.…

    • 526 Words
    • 2 Pages
    Good Essays