How a Potentiometer Varies the Voltage
Connect the potentiometer to the micro:bit:
1.5V battery and LED connections:
Write the code to program the microcontroller and start the simulation.
A Basic Transistor Circuit
Add and connect the 1.5V Battery and Pushbutton:
Add the LED and make the connections:
Add the first resistor and make the connections:
Add the transistor and make the connections:
Add the second resistor and make the connections:
Start the simulation and when you press the Pushbutton, the LED will light up.
Build a DC Motor – Resistor Circuit
Add the potentiometer and make the connections:
Create a two battery case:
Add the transistor and the resistor:
Add the DC motor and make the connections:
Finally, write the code below and start the simulation.
What is a linear potentiometer?
Find the most common example of a device with linear potentiometers. Why do you think we use this type of potentiometer for this device?
What do you need to do to fix it?
why do we use the functions pins.analog_write_pin
How are NPN transistors used in an electronic circuit?
How does this change affect the DC Motor?