Bird
0
0
PCB Designbi_tool~10 mins

Creating custom symbols in PCB Design - Interactive Practice

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

Complete the code to start creating a new symbol in the PCB design software.

PCB Design
symbol = pcb.new_symbol([1])
Drag options to blanks, or click blank then click option'
A'symbol_name'
Bcreate_symbol
Cnew_component
Dcomponent_name
Attempts:
3 left
💡 Hint
Common Mistakes
Using function names instead of a string for the symbol name.
2fill in blank
medium

Complete the code to add a pin to the custom symbol with the correct pin number.

PCB Design
symbol.add_pin(number=[1], name='Pin1')
Drag options to blanks, or click blank then click option'
A'1'
Bpin1
C1
DPin1
Attempts:
3 left
💡 Hint
Common Mistakes
Using a string instead of an integer for the pin number.
3fill in blank
hard

Fix the error in the code to set the pin type correctly.

PCB Design
symbol.add_pin(number=1, name='Pin1', type=[1])
Drag options to blanks, or click blank then click option'
A'input'
Binput
C'pin_type'
Dpin
Attempts:
3 left
💡 Hint
Common Mistakes
Using unquoted words for pin type causing syntax errors.
4fill in blank
hard

Fill both blanks to add a rectangle shape to the symbol with correct coordinates.

PCB Design
symbol.add_shape(type=[1], coords=[2])
Drag options to blanks, or click blank then click option'
A'rectangle'
B[0, 0, 100, 50]
C[0, 0, 50, 100]
D'circle'
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong shape type or incorrect coordinate format.
5fill in blank
hard

Fill all three blanks to finalize the symbol by setting its reference, value, and saving it.

PCB Design
symbol.set_reference([1])
symbol.set_value([2])
symbol.[3]()
Drag options to blanks, or click blank then click option'
A'R1'
B'10k'
Csave
Dload
Attempts:
3 left
💡 Hint
Common Mistakes
Using load instead of save or missing quotes around strings.