Lab 5, making and understanding basic circuits
The purpose of this lab is to understand how to model circuits in tinkercad, as well as
understand how they work. This lab has several parts, some of which are similar to previous
assignments. Work is mostly done in either tinkercad or on a sheet of scratch paper, though
there was some coding involved as well.
Part A - Resistors
Resistor values;
1. 1kΩ + 5%
2. 10Ω + 5%
3. 4.7kΩ + 10%
4. 56kΩ + 5%
5. 22Ω + 10%
6. 470kΩ + 10%
7. 5.6MΩ + 10%
8. 3.3MΩ + 5%
9. 510kΩ + 5%
10. 3.3MΩ + 5%
11. 8.2MΩ + 5%
12. 0Ω
Question 2;
A; 150Ω
B; 1MΩ
Question 3;
(r1r2r3)/((r1r2)+(r2r3)+(r1r2))
Question 4;
import matplotlib
rformat = matplotlib.ticker.EngFormatter(unit='Ω', places=3, sep='')
one = 1.0
x = float(input("Enter the first resistor value: "))
y = float(input("Enter the second resistor value: "))
z = float(input("Enter the third resistor value: "))
a = float(input("Enter the fourth resistor value: "))
sum = rformat (one/(one/x + one/y + one/z +one/a))
print("Value of the resistors in paralell =", sum)
Part B - LEDs
Question 1;
x1
x2
LED1
LED2
HIGH
LOW
on
off
HIGH
HIGH
off
off
LOW
LOW
off
off
LOW
HIGH
off
on
Question 2;
X1
X2
X3
LED1
LED2
LED3
LED4
LED5
LED6
LOW
LOW
LOW
OFF
OFF
OFF
OFF
OFF
OFF
LOW
LOW
HIGH
off
ON
off
ON
off
ON
LOW
HIGH
LOW
off
ON
ON
off
off
off
LOW
HIGH
HIGH
off
on
off
on
off
on
HIGH
LOW
LOW
on
off
on
off
on
off
HIGH
LOW
HIGH
on
off
off
on
off
off
HIGH
HIGH
LOW
on
off
on
off
on
off
HIGH
HIGH
HIGH
OFF
OFF
OFF
OFF
OFF
OFF
Question 3;
because they have different things making the light, or they have to filter out different kinds of light.
Different kinds of light are made with different levels of efficiency, so some have more resistance
than others.
Part C - Tinkercad Circuits
A;
B;
10k+1/(1/10k+1/(5k+5k))+5k+5k
10k+10k/2+10k
25k ohms equivalent resistance.
C;
This is the multiple resistor diagram, I couldn’t get it working right on the breadboard, so I just made
it without one. Definitely not realistic, but better than a totally inaccurate simulation.
The total current was 360 x 10-6 ohms, which works with a 9v source and a 25kohm total resistance.
The current across both sides of the parallel portion, which is also consistent with what calculated
the resistance of either side to be, which is 10kohms each. The voltage drops are 3.6v for r1, 1.8v
for r5 and r6, and .9v r2, and .45v for r3 and r4.
4;
LED diagram in tinkercad
Part D - Here I did get it working on the breadboard, though it’s a little messy, it works the way it’s
supposed to. I did use the other side positive/negative ports for the LEDs, which was mostly
because it makes it look nicer and I wouldn’t have to go down below where there’s room.
Part D;
Here’s the LED holder, with a few different angles included.
In conclusion, this lab showed how to calculate resistances from the color band codes on the
resistor, and how to use tinkercad to make modeled electrical circuits. One thing I had some issues
with was understanding how the breadboard worked, the pin slots that were connected weren’t
always the ones I expected to be, and the built in highlighting of the lines in tinkercad made the
whole process a lot easier. I also learned that in tinkercad’s 3d modeling software, two objects don’t
have to be connected to make them an object. That’s how I made the 2 holes in the LED holder
consistent and centred, I made them one object the right distance apart, and then I centred that in
the little cup area. I also really liked this lab, since it’s a mix of different things, so it doesn’t get
momotonus at all.