Week 1  Week 2  Week 3  Week 4  Week 5  Week 6  Week 7  Extension Activity BBL Tasks Assessment guidance

The LED Torch - Circuit Design

 
 

1 Using Circuit Wizard

Learn It

  • We're now going to design our LED Torch.
  • The first thing we'll need to do is design a circuit and a PCB. To do this we use a program called Circuit Wizard.

Design It

  • Find the Circuit Wizard application and open it.
  • Click on File in the menu bar and then New from the context menu.
  • Choose Circuit with GENIE Flowchart from the dialogue box and click OK.

CW1.png

  • On the far right of the screen you'll see a gallery of components you can use.

CW2.png

  • Choose Power Supplies and then find the symbol for a Cell

CW3.png

  • Drag a single Cell onto the page, and then another one.
  • You should arrange them so that they are connected together.

CW4.png

  • When we connect up cells in this way, we are making a battery. Our LED Torch will be powered by 2 1.5V Cells, giving us a total Voltage of 3V.
  • Next we need an LED. In the Gallery, find the Light Emitting Diodes.

CW5.png

  • Drag an LED onto your page and rotate.

CW6.png

  • Now we need to connect up the LED to the cells.
  • You can do this by clicking and dragging on the end points of the LED, to create a wire.

CW7.png

Try It

  • It's up to you to finish the circuit now.
  • You'll need to put in a Push To Make switch and a resistor, and then connect it back up to the cells.
  • You'll need to change the resistor value to 3Ω. To do this, double click on the resistor to reveal it's properties. Make sure it's not 3kΩ
  • It should look like this when you are finished.

CW8.png

 

Run It

  • Let's try out our circuit.
  • From the menu choose Project –> Simulation and turn on explosions.
  • In the tool bar at the top of the screen is a play button.

CW9.png

  • Click the button and then test out your circuit by pushing the switch.
  • Now let's make it more realistic.
  • Now run your circuit and see what happens.

2 Protecting your LEDs

Learn It

  • You've seen that LEDs and resistors both allow charges to flow through them. You also know that resistors limit the current that flows through them.
  • LEDs are different though, they have an all or nothing approach to electric current. In one direction nocurrent can flow, while in the other direction they'll more or less allow all the current that can be provided by the power supply to flow through them.
  • This can be a problem. At high currents there are lots of collisions going on inside the LED, and this produces a lot of heat. This can cause the LED to burnout or even explode

Learn It

  • To protect our LEDs we always put them in series with a resistor, to ensure we are limiting the current flowing through them.

3 Assessment

Badge It - Silver

Progress ladder Green, Describe the operation of a given simple circuit, in terms of its components.

  • In your own words, explain what happened when you simulated the circuit.
  • Describe how you could make sure this doesn't happen.

4 Using Circuit Wizard

Learn It

  • Different LEDs can take larger currents than others.
  • Change your resistor back to 3Ω if you altered it, and double click the LED and change it to a WhiteLED.
  • Now simulate the circuit and you should see that everything works as expected.

5 Preparing to design a PCB

Learn It

  • A PCB is a Printed Circuit Board. This is a laminate material with copper printed on the surface. Because the copper parts are metal they allow electric current to flow through them.
  • The PCB you'll be using in your LED Torch looks like this

PCB1.jpgPCB2.jpg

  • Let's use Circuit Wizard to design the PCB
  • Click on the icon shown in the toolbar to start the PCB wizard.

PCB3.png

  • Click on Next

PCB4.png

  • Choose the option Single-Sided; Thin Tacks and don't forget to check the tick box at the bottom, so we can customise the layout

PCB5.png

  • We now get to choose the size of the board, but we can edit this later so let's simply click on Next

PCB6.png

  • On the next screen we can customise the types of components we get to use.

PCB7.png

  • The default for the switch is a terminal block, this will need to be changed to a 6X6 PTM switch.
  • Uncheck the Terminal Blocks and then double click on the switch and choose the 6x6 Push to make switch from the options provided. Then you can click Next

PCB8.png

  • Next you can choose the types of copper pads you want to use by default. We're best off going for Standard sized pads, to help use keep our soldering neat.

PCB9.png

  • The next screen allows us to decide if we want Circuit Wizard to place components for us. This can be useful sometimes, but most of the time, it won't do as nice a job as a human can. Uncheck the box and click Next.

PCB10.png-The last screen prompts us to Convert our circuit, so go ahead and click it.PCB11.png

6 Designing a PCB

Design It

  • Your PCB should look something like this.

PCB12.png

  • Place your components on the board, so it looks something like this.

PCB13.png

  • Now we need to place some pads on the board, so that we can connect up our cells.
  • Select the pad icon from the toolbar.

PCB14.png

  • Place pad close to the bottom of the switch as shown below.

PCB15.png

  • Now we'll need to connect up our components. Choose the tracks icon from the toolbar.

PCB16.png

  • Now draw on the tracks as shown below.

PCB17.png

  • The PCB would work as it is, but we're going to make a few modifications to help us out when it comes to soldering and assembling the torch.
  • Firstly we're going to add in a second resistor. This won't have any current flowing through it, but it will help to keep our board flat when it is in the case.
  • Find the resistors from the component menu and place it to the right of the switch.

PCB18.png

  • We can finish off by adding a few extra tracks in. These help make sure that our pads are secured to the surface of the PCB and are less likely to lift off when we solder them.
  • Lastly we can re-size out board, so that we don't waste material.

PCB20.png

7 Assessment

Badge It - Gold

Progress ladder Yellow, Design a PCB layout for a simple circuit, with assistance.

  • The design of the digital torch PCB is by no means the absolute correct way of laying out the components.
  • See if you can come up with your own design for the PCB, this must still include all of the same components as above.
  • The smaller you can make the board, the happier your budget will be.