Aberystwyth University's Electronics Online Workshop Series
We have adapted the material created for our Robotics Club for anyone to work through at home or in school.
Each of the below sessions include a video lesson from one of our staff and a set of exercises to assess your understanding. As this page is for independent learners, answers are included.
For teachers and group leaders, we hope to soon make these resources into packs freely available for schools and STEM clubs to use in our TES Shop.
Please select a session heading to get started.
Video Lesson:
Using Tinkercad:
Tinkercad is a free in-browser software we can use to create, program, and simulate circuits. It also has classroom options for teachers - see our Educators Guide to Tinkercad.
To use the software, you will need to create an account or log-in with accepted alternatives (Google, Microsoft, Apple, or Facebook).
Once logged in, select designs from the left-hand menu. Click on new and select circuit to create a new file. Alternatively, you can scroll down your designs page to find previous circuit files you've created. Tinkercad autosaves your work after every change.
Exercises:
We have created three levels (bronze, silver, and gold) of challenge for learners to start investigating and creating circuits in Tinkercad.
All learners should start with the bronze level and work their way up as far as they can.
Click on each challenge heading to expand.
Recreate this circuit:
AA batteries are 1.5V power supplies and this circuit asks for two.
Remember, negative connects to positive.
The cathode is the positive terminal on an LED.
A resistor can be connected either way round - it does not have a negative or positive terminal.
If you are still stuck, use the answer button below.
Create a new circuit file in Tinkercad (to return to the designs page click on the Tinkercad logo in the top left corner).
Recreate this circuit:
Tip: This includes an LDR (Light Dependent Resistor) which is called a 'photoresistor' in Tinkercad.
The button (round) battery is 3V, or you could use 2 AA batteries.
The LDR is a type of resistor, so it doesn't matter which way round it is wired.
If you are still stuck, use the answer button below.
Start the simulator and click on the LDR/photoresistor. This will give you a light level scale you can adjust. See what happens to the LED when the light level is increased and decreased.
You can click and slide the light level. Moving it to the right increases the light level.
Create a new circuit file on Tinkercad for this exercise.
Recreate this circuit:
Tip: The arch where the wires cross show they pass over each other instead of connecting.
Tip: The GND pin on the Micro:Bit is the negative terminal.
The Micro:Bit replaces the need for a battery in this circuit. The power required (3V) is provided by the cable plugged into it.
You can use different coloured wires for the separate loops.
If you are still stuck, use the answer button below.
When you start the simulator, only one LED lights up. This is because the 3V pin acts like the positive end of a battery whilst the GND pin acts like the negative. This means anything connected to these two pins in a circuit will receive power. The other LED is attached to a numbered pin - these are programmable pins and without a program they will not provide power.
Write a program so both lights are turned on and stay on.
Tip: You can open the coding panel using the code button next to the start simulator button. Remember to stop the simulation first - you cannot edit the program whilst it is running.
You can use the 'digital write pin' block to set an LED on ('HIGH') or off ('LOW').
You could instead use an 'write analog pin' block to set the brightness (0 is off, 255 is maximum brightness).
If you are still stuck, use the answer button below.
Change the program so the LED connected to pin 0 flashes on and off every 500ms.
The 'wait' block default measurement is seconds. You can change this to milliseconds inside the block or convert the value.
Remember, you will need a wait block after each change of the pin's value.
If you are still stuck, use the answer button below.
Create a new circuit file on Tinkercad for this exercise.
New Component: For this exercise you will be using an RGB LED. This is a LED light that can be programmed to light up in a variety of different colours. This component has 4 connection pins as labelled in the below image.
Create a circuit containing a BBC Micro:Bit, a resistor (1kΩ) and a RGB LED.
Tip: Each colour pin will need to be connected to a different programmable pin on the Micro:Bit.
The cathode is the positive terminal on the RGB LED.
The resistor will need to go between the cathode of the RGB LED and the GND pin of the Micro:Bit.
Use different coloured wires for each pin to help.
If you are still stuck, use the answer button below.
Program your circuit so the light changes colour every 2 seconds, repeating this sequence: red, green, blue.
For this, we can use the 'digital write pin' blocks.
Don't forget to turn off a colour before showing the next.
If you are still stuck, use the answer button below.
Be aware, the Micro:Bit pins used by each colour may be different for your circuit.
Change your program so the light changes colour every 2 seconds, repeating this sequence: red, magenta, blue, cyan, green, yellow, white.
Tip: Magenta, cyan, and yellow light are each made up from mixing two colours from red, blue, and green. For more information about mixing light colours please see our Science of Colour activity.
See what happens if you have red and blue both set to 'HIGH' at the same time. Repeat with blue and green, then green and red.
White light is created by having all the pins set to 'HIGH'.
Don't forget to turn off the colours not needed.
If you are still stuck, use the answer button below.
Be aware, the Micro:Bit pins used by each colour may be different for your circuit.
Video Lesson:
Exercises:
This session looks at creating circuits in Tinkercad to investigate current and voltage.
All learners should start with the bronze level and work their way up as far as they can.
Click on each challenge heading to expand.
New Information:
A circuit made up of a single loop of wires and components is called a Series Circuit.
Recreate this series circuit:
Tinkercad does not include an Ammeter, instead it has a multi-meter that can be used to measure current in the same way.
If you are still stuck, use the answer button below.
What is the current in this circuit?
If the value is negative, the meter wires are the wrong way round.
Check the mode of the multi-meter is set to Amperage.
The leds should all be lit, if not, check your wiring.
If you are still stuck, use the answer button below.
You should have a value on the meter of 5.14mA. This means the current in your circuit is 5.14 milli-Amps, or 0.00514 Amps.
What voltage does each LED use?
Tip: You will need to add two more multi-meters to the circuit.
To measure the voltage for each LED, you will need to add a multi-meter to each.
Here is the new circuit diagram for what you need to add.
Again, if you have a negative reading it means the multi-meter wires are the wrong way round.
If you are still stuck, use the answer button below.
New Information:
You can also have Parallel Circuits. These are made up of more than one loop.
Here is an example:
Circuit Diagram
Tinkercad Circuit
Circuit
From this example, we hope you can see that we connect Voltmeters in parallel circuits already, whilst Ammeters are in series.
Recreate this circuit:
Wires can only connect to terminals on components, not to each other.
Connect the second LED in the same way you would connect a Voltmeter.
If you are still stuck, use the answer button below.
Add two Voltmeters to the circuit to measure the voltage used by each LED.
Tip: This will require more parallel connections to the LEDs.
Negative values mean the wiring is wrong.
One LED will have 3 different wires connected to each terminal - using different wire colours might help.
If you are still stuck, use the answer button below.
New Information:
We have now created a circuit with two LEDs in series (the bronze challenge), and a circuit with two LEDs in parallel (the silver challenge).
What would happen in either of these circuits if one of the LEDs was broken? Would the other one light up? Why?
Series Circuit with broken lightbulb:
Parallel Circuit with broken lightbulb:
When a component breaks, the electrons can no longer travel through it. This means it breaks the circuit if all the components are in series. However, a parallel component gives the electrons a different route back to the battery.
New Component:
For this exercise, we will be using a new component, a slide-switch.
Circuit example of the switch in both the open and closed position.
Closed Switch
Open Switch
Create a new circuit file on Tinkercad for this exercise.
Create a circuit which has 3 LEDs, each in parallel, powered by a 9V battery. Then add a slide-swich so as 1 LED is always on, whilst the other 2 are controlled by the slide-switch.
Tip: You will also need to include a 1kΩ resistor.
When connecting the slide-switch, use one of the terminals (it doesn't matter which) and the common pin.
The switch will need to be after the first LED to control only 2 of the LEDs.
If you are still stuck, use the answer button below.
Insert multi-meters to measure the voltages across each of the LEDs when they are all turned on.
Voltmeters need to be connected in parallel to the component they are measuring the voltage across.
The voltage across each LED should read 1.87 Volts.
Now, open the switch and measure the voltage used by the lit LED.
The voltage should now be 1.95 Volts.
Create a new circuit file on Tinkercad for this exercise.
New Diagram Symbol: For this exercise you will be using an RGB LED. This is a LED light that can be programmed to light up in a variety of different colours. This component has 4 connection pins as labelled in the below image.
This component is represented in circuit diagrams with this:
The circuit diagram symbol shows the 4 seperate pins, labelling three with the relevant colour, with the fourth being the cathode.
Recreate this circuit in Tinkercad:
The cathode is the positive terminal on the RGB LED.
This circuit only requires the cathode and the green pin to be wired.
If you are still stuck, use the answer button below.
Change your circuit to make the RGB LED light up yellow instead.
You will need to add one more wire to the circuit.
Yellow light is made up of both green and red light.
If you are still stuck, use the answer button below.
Video Lesson:
Video Lesson:
Exercises:
This session looks at creating circuits in Tinkercad with an Arduino Uno.
All learners should start with the bronze level and work their way up as far as they can.
Click on each challenge heading to expand.
Create a circuit with an Arduino Uno R3, a breadboard, a resistor and an LED. Have it wired so the LED is always on (does not require programming).
Tip: Use the 5 Volt connection on the Arduino for this circuit.
Connect the negative row on the breadboard to one of the GND pins on the Arduino.
The positive row on the breadboard should be connected to the 5V pin on the Arduino.
We have created a circuit diagram to help:
If the LED does not light-up, check that you have the cathode connected to the negative and the anode to the positive.
If you are still stuck, please use the answer button below.
Connect another LED with a resistor to pin 2.
Tip: This will not light up in the simulator as it does not have a program yet.
This LED will be connected to the GND (negative terminal) and Pin 2.
We have created a circuit diagram to help:
If you are still stuck, please click on the answer button below.
Program the Arduino (using blocks) to have the LED on pin 2 flash on and off using a wait time of 500ms between changes.
Tip: Remember to include the wait after both turning the light on and off.
An LED is an output and the wait is a control block.
The wait block can be changed to milliseconds.
If you are still stuck, please use the answer button below
Before you start this challenge, please delete any code from your forever loop ready to create a new program.
Add two more LEDS (with resistors) to your circuit. One should connect to pin 4, the other to pin 7 on the Arduino.
We have produced a circuit diagram which may help:
If you are still stuck, please use the answer button below.
In your program, create a variable called myNumber and in the forever loop have this variable set to a random number between 0 and 3. Have this value show on the serial monitor.
Tip: The serial monitor can be opened by clicking on the serial monitor bar at the bottom of the code section.
If the numbers are being produced to quickly, add a wait block to the forever loop.
We use the serial monitor to see readings, information, and to debug our programs.
Now create a program that will light up the same number of lights as the value of myNumber.
Tip: Tinkercad blocks do not include 'else if' statements. Instead, you can use if-statements stacked inside else-statments.
Here is an example of how you can stack the else and if-statements to recreate the same effect as using an 'else if' statement.
Don't forget to turn off the LEDS when they are not needed.
You will need to put a wait at the end of the forever loop to ensure the lights have time to turn the LEDs on or off.
If you are still stuck, please use the answer button below.
Create a new circuit for this challenge.
Create this circuit on a breadboard in Tinkercad:
In this case the LDR is connected to power all the time whilst the A0 pin allows us to collect data from the component.
Here is an example of how you could connect together the LDR with the Arduino:
If you are still stuck, please use the answer button below.
In the program, create a variable and set it to the anolog reading from the LDR/Photoresistor. Have these values printed in the serial monitor. Use this to determine the full range of values the LDR can generate.
Tip: You can change the light level by clicking on the LDR/Photoresistor during the simulation and use the slider bar that appears.
Choose a suitable variable name, such as ldrValue.
Remember, you can open the serial monitor by clicking on the bar at the bottom of the coding window.
If you are still stuck, please use the answer button below.
The range of values for the LDR/Photoresistor is 6 to 679.
Add an LED to the circuit and connect it to pin 2. Program the LED to turn on when the LDR reading is less than the middle of its range.
Tip: Remember to turn the LED off when the LDR value increases above the middle range value.
Use an if and else statement for the LED to make sure it turns off when the condition is no longer true.
The middle value can be calculated using (679 - 6) ÷ 2.
If you are still stuck, please use the answer button below.
Create a new circuit, using a breadboard, that takes readings from a temperature sensor.
Add a blue, a red, and a white programmable LED to the circuit.
Write a program for your circuit that has the blue light turn on when the temperature is below 0°C, the white light when the temperature is between 0 and 35°C, and the red light when the temperature is 35°C or more.
Video Lesson:
Exercises
This session looks at creating circuits in Tinkercad with an Arduino Uno.
All learners should start with the bronze level and work their way up as far as they can.
Click on each challenge heading to expand.
Connect a potentiometer to an Arduino (using a breadboard), then write a program to print the values of the potentiometer into the serial monitor and work out its range.
Add a RGB LED to the circuit using the analog output pins. In the program, map the potentiometer input to the red pin of the RGB LED. The higher the input, the brighter the red light.
Add a second potentiometer and map it's values to the green pin of the RGB LED.
Finally, add a third potentiometer mapped to the green pin of the RGB LED.
You now have a circuit that allows you to create any colour of light by adjusting the potentiometer values.
Create a new circuit for this challenge.
Connect a push button to an Arduino using a breadboard. Write a to tell when the button is pressed.
Add a piezo buzzer to the circuit and program it to sound when the button is pressed.
Now add two more buttons and program them to play different tones using the buzzer.
You now have a simple musical instrument.
Create a new circuit for this challenge.
Create this circuit:
Write a program where pressing the button generates a different random number between 0 and 255 for each RGB LED colour pin.
Create a new circuit with an Arduino, a breadboard, and a piezo buzzer.
Program your circuit to play a tune using different tones on the piezo buzzer.