Bird
0
0
PCB Designbi_tool~10 mins

Wiring connections between components in PCB Design - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to connect the resistor to the capacitor using the correct net name.

PCB Design
connect(resistor1, capacitor1, net=[1])
Drag options to blanks, or click blank then click option'
AGND
BVCC
CNC
DSIGNAL
Attempts:
3 left
💡 Hint
Common Mistakes
Using VCC instead of GND for ground connections.
2fill in blank
medium

Complete the code to define a wire connecting pin 3 of IC1 to pin 3 of IC2.

PCB Design
wire = create_wire(start=IC1.pin[1], end=IC2.pin[1])
Drag options to blanks, or click blank then click option'
A3
B2
C4
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing pin numbers between start and end.
3fill in blank
hard

Fix the error in the wiring code to correctly connect the LED to the resistor.

PCB Design
connect(LED1, resistor1, net=[1])
Drag options to blanks, or click blank then click option'
AGND
BSIGNAL
CVCC
DPOWER
Attempts:
3 left
💡 Hint
Common Mistakes
Using VCC or GND instead of SIGNAL net.
4fill in blank
hard

Fill both blanks to create a dictionary mapping component pins to nets.

PCB Design
pin_net_map = { 'R1_pin1': [1], 'C1_pin2': [2] }
Drag options to blanks, or click blank then click option'
A'GND'
B'VCC'
C'SIGNAL'
D'NC'
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the nets between pins.
5fill in blank
hard

Fill all three blanks to define a wiring function with parameters for source, destination, and net.

PCB Design
def wire_connect([1], [2], [3]):
    return f"Connecting {source} to {destination} via {net}"
Drag options to blanks, or click blank then click option'
Asource
Bdestination
Cnet
Dcomponent
Attempts:
3 left
💡 Hint
Common Mistakes
Using generic names like component instead of specific ones.