Elektor_Mag_-_January-February_2021

([email protected]) #1
34 January & February 2021 http://www.elektormagazine.com


  1. In many cases it is possible to adjust the parameters of a
    component such as colour, type or dimensions by clicking on it
    in the working area. This opens a small dialogue box showing the
    settings that can be changed. Click on the power supply and set
    the Voltage to ‘5’. You can also use a decimal point for this value if
    required.

  2. Place the components and the wiring on the breadboard.
    In the diagram you will see which values can be changed for each
    component.
    7. A common connection to the GND pin on the Arduino is also
    required (black line running off to the right) as well as the (blue)
    connection to pin A2..
    8. When you have finished building the circuit you can test its
    electrical functions and simulate it. Just click on Start Simulation at
    the top of the screen. A brief animation will show the USB plug be-
    ing plugged into the Arduino to show that it is now being provided
    with power, and the ‘ON’ LED will light. At the moment, however,
    there is no program for the Arduino to execute. The power supply
    will also show its output voltage and the instantaneous current be-
    ing drawn.
    9. You can click with the mouse on the controls of the pow-
    er supply and drag them around. The main part of the circuit will
    withstand up to around 18 V, but not the Arduino connected over
    the blue wire. In real life you would destroy the microcontroller like
    this, but in this simulation you cannot do any damage. The piezo
    sounder will emit a spluttering sound if you have a loudspeaker
    connected to your PC. You can use the mouse to adjust the blue
    potentiometer at the top left of the breadboard: as you turn it, the
    sound will change.

Free download pdf