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

  • Satisfactory Essays

    This is an item of electrical test equipment used to determine if an electrical path can be established between two points; that is if an electrical circuit can be made. The circuit under test is completely de-energized prior to connecting the tester. The tester consists of an indicator in series with a source of electrical power - normally a battery, terminating in two test leads. If a complete circuit is established between the test-leads, the indicator is activated (the indicator may be an electric light or a buzzer).…

    • 256 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The switches in the diagram booted at the same time. Based on the information provided in the diagram fill in the chart below:…

    • 326 Words
    • 5 Pages
    Satisfactory Essays
  • 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

    Nt1330 Unit 4

    • 920 Words
    • 4 Pages

    3. The following command was copied and pasted into configuration mode when a user was telnetted into a Cisco switch:…

    • 920 Words
    • 4 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

    Phy 101 Lab 9

    • 568 Words
    • 3 Pages

    3. When using the multimeter to measure, start with the highest scale and work down to the scale that provides the most readable voltage value. Record the data found in an Excel spreadsheet.…

    • 568 Words
    • 3 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

    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

    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