Contact solderless field
The DIY kit is an ideal tool for getting acquainted with electronics and programming. It includes an expansion board for the micro:bit with a solderless contact pad, which allows you to easily connect all the components included in the kit. Thanks to the contact pad, you can easily assemble circuits and learn the functions of individual electronic components without the need for soldering.
At the beginning, it is advisable to first design the circuit layout on a printed contact field plan. Once we have verified the correctness of the connection, we can transfer it to the actual field. The components are connected using dupont wires, which are part of the kit.
Function
The figure on the right shows the arrangement of the connections in the contact array. The connections determine which rows and columns are conductively connected. The power rails marked in red (+V) and blue (–V) run horizontally, while the remaining columns in the main part of the array are connected vertically. This arrangement makes it easy to connect components and saves on the amount of connecting wires.
Schematic symbols
Function
To work in the contact field, it is important to know basic electronic components and be able to handle them correctly.
To start, we recommend creating projects according to the attached diagrams. The electronic diagram serves as a clear diagram of the connection of individual components and helps to understand the structure of the electrical circuit. All electrical engineers use it as a guide. Once you have mastered the basics, you can try to design your own diagram or get inspiration from the Internet.
The figure shows the schematic symbols of the basic components. For each component, its name, the graphic symbol used in the diagrams, and its real appearance are given. For some components, it is necessary to observe the polarity (direction of connection) or the value (e.g. the size of the resistance).
For example, for a resistor, we determine the value using colored stripes. For an LED, it is important to connect the correct polarity - the longer leg (anode) is connected to the positive voltage (+V), the shorter (cathode) to the negative. It is always necessary to carefully verify this information so that the connection works correctly.
LED
Function
- Cathode – negative electrode
- Anode – positive electrode
Specifications
- Tension: ± 2V
- Maximum current: 20 mA
- Performance: 100 mW
- Diode diameter: 5 mm
- Beam angle: 20°
- Diode lens: transparent, green
Connection
Diagram
To connect the LED we also need to use a resistor, because the internal resistance of the diode is very small. This would cause a short circuit. In our case we will use a resistor with a resistance of 470 Ohm. WARNING! Different resistor values need to be used for different LED colors because they create different voltage drops.
Resistor selection
At supply voltage UCC = 3,3V and voltage drop across the diode UF = 2V left for resistor UR = 1,3V, because it is connected in series. According to Ohm's law, we calculate the resistance for the required current - the maximum current through the diode is higher than the micro:bit pin can handle (max. 5 mA), so we choose a lower current, e.g. 3 mA. Calculation: R = UR / I = 1,3 / 0,003 = 433,3 ΩThe nearest higher value from the resistance series is 470 Ωwhich we will use.
Warning: Different resistor values need to be used for different LED colors because they create different voltage drops.
Programme
Basic program
Button
Function
This button is designed for easy and reliable use in various electronic devices. It has a compact size and low profile, which allows it to be easily integrated into printed circuit boards. It is equipped with a microswitch that ensures accurate and reliable detection of pressing. Thanks to this, the button responds sensitively to user inputs.
The function of the button is simple - when released, the circuit is open, when pressed, the circuit is short-circuited and connected. This behavior is also clearly shown in the schematic symbol.
Specifications
- Switch type: microswitch
- Number of positions: 2
- Maximum load: 0,05A / 24VDC
- Mechanical durability: 1 cycles
- Button height: 5 mm
Connection
The button simply connects two points in the circuit - when pressed, it creates a connection between the micro:bit pin and power (or ground, depending on the wiring).
Diagram
In this case, it is enough to place the button between pin P0 and the ground – pin GND. Pressing it will cause a short circuit, which in this case does not pose a danger to the micro:bit, because these GPIO type pins are adapted for this use.
Programme
Basic program
Potentiometer
Function
A potentiometer is a special type of resistor that is used as a sensor. With it, we can control electrical circuits, especially controlling volume, brightness, speed and other parameters. This potentiometer is equipped with one channel with a resistance of 10 kOhm. It is designed for easy wiring and mounting on printed circuit boards. It has a standard size and is a typical rotary potentiometer with 3 terminals.
A potentiometer is basically a resistor whose resistance can be adjusted by turning the knob. More precisely, it functions as a voltage divider, where we set the ratio of the resistors. The nodal point between the resistors is a slider, which is connected to the knob that we turn.
Specifications
- Potentiometer type: axial
- Value: 10 kΩ
- Progress: linear
- Rotation angle: 300°
- Performance: 125 mW
Connection
Diagram
Programme
Basic program
The micro:bit is also able to measure analog values, not just logical 1 and 0 (on/off, lit/unlit). We will measure voltage on pin P0. The maximum value of the measured voltage is 3,3 V, which is read as 1023. The minimum value of 0 V is read as 0.
To better represent the measured voltage level, we will use the bar graph block from the LED screen library. The displayed value is the number read from pin P0. The maximum value is 1023.
Specifikace
- Napájení: 3 V
- Spektrální citlivost: 540 nm
- Odezva: 20 ms (náběžná hrana), 30 ms (sestupná hrana)
- Provozní teplota: –30 až 70 °C
- Maximální napětí: 150 V DC
- Maximální výkon: 150 mW
Zapojení
Program
Základní program
Analogová hodnota
Transistor BC547
Information
This is an NPN type bipolar transistor. It is often used in electronic circuits to amplify signals or control current.
This transistor has the ability to switch and regulate electric currents in circuits connected to its electrodes. It is suitable for various applications, such as the manufacture of amplifiers, switches or voltage stabilizers. It is characterized by low gain, low oversaturation voltage and is easily available.
Function
The basic property of a transistor is its ability to amplify – a small current at the input causes a large current at the output. If a small current flows into the input, a current 200 to 800 times greater than the output can flow (depending on the type of transistor).
If we reach the maximum current value at the output, the transistor will turn off. amplification mode gets to switching mode. Then we say that the transistor is saturated. Any increase in input current will no longer change the output current.
Specifications
- Transistor type: NPN
- Maximum current: 100 mA
- Maximum voltage: 45 V
- Amplification: from 200 to 800
Connection
A transistor has 3 electrodes (legs): base, emitter, and collector. The base is the control electrode, which represents the input to the transistor. The emitter and collector are the controlled output electrodes.
Bipolar transistors are controlled by the current flowing into the base. Therefore, a resistor must always be connected to the base electrode.
Diagram
Using
For example, if we wanted to control a laser diode, we cannot connect it directly to the micro:bit pin because this output is very weak and is only used for control. Therefore, we have to use a transistor. Thanks to it, the output pin is only used for control and the laser diode can be connected to the power supply.
Laser diode
Function
This is an electronic device that generates a thin beam of laser light. This laser is powered by a voltage of 3 V. Its optics focus the light to a single point, other types can create different patterns and effects.
It is important to remember that laser equipment must be used with caution and under adult supervision, as direct contact with the eyes can be dangerous.
A laser with optics is generally used in presentations, demonstrations of optical principles, and more.
Specifications
- Power supply: 3 V
- Laser color: Red (650nm)
- Laser class: IIIA
- Output power: < 5 mW
- Beam shape: bod
Connection
A laser diode is an electronic component that emits a narrow and focused beam of light, usually in the red region of the spectrum. Unlike conventional LEDs, it produces coherent light, which is suitable for precise aiming, optical transmissions or distance measurement.
Diagram
Programme
Basic program
Transistor BD911
Information
This is again a bipolar NPN transistor, but it is designed for higher voltage and can transfer a higher current value. Compared to the BC547, it is larger and has a metal back, thanks to which it can be cooled better. In addition, it has the option of mounting an additional heat sink.
Again, it is used in devices such as amplifiers, switches, voltage stabilizers, and more.
Connection
It should be noted that this transistor has a different electrode arrangement than the previous BC547. To test higher amplification, we will not use a laser diode, but will test a speaker.
Speaker
Function
Specifications
- Impedance: 8 Ω
- Performance: 0,5 W
- Dimensions: 36 × 5 mm
Connection
A loudspeaker is an electromechanical component that converts electrical signals into sound. It uses a magnet and a coil to move a diaphragm, which creates pressure waves in the air - audible sound. It is used to reproduce music, voice, or other audio output in various electronic devices.
Diagram
Programme
Basic program
DC engine
Function
Specifications
- Tension: 3-5 V
- No-load current: 0,35-0,4A
- Number of revolutions: 18 000 RPM
- Body diameter: 20 mm
- Axle diameter: 2 mm
Connection
A DC motor is an electromechanical component that converts electrical energy into rotational motion. It works on the principle of the interaction between a magnetic field and a current flowing through a coil, which causes a shaft to rotate. It is used to drive wheels, fans, or mechanical parts in various electronic and robotic devices.
Diagram
Programme
Basic program
LED RGB
Function
Specifications
- Diode type: LED
- Diode color: RGB
- LED current: 20 mA
- Voltage (red): 1,8 - 2,6 V
- Voltage (green): 2,7 - 3,6 V
- Voltage (blue): 2,7 - 3,6 V
- Diameter: 4,9 mm
Connection
Diagram
Programme
Basic program
7-segment LED display
Function
Specifications
- Display type: LED
- LED voltage: 1,8 V
- Display type: 7-segment
- Character height: 14,2 mm
- Color: Green
- Number of characters: 1
Connection
Diagram
Programme
Basic program
LED display TM1637
Function
This display is used to display values in the form of numbers or characters. Unlike the previous display, this display has the ability to display up to 4 characters next to each other. In addition, there is no need to worry about connecting individual segments and their subsequent control. The display is equipped with its own unit for communication with the micro:bit. Connection then becomes very easy.
It is suitable for displaying values of electrical and physical quantities, such as time, voltage, current, and others.
The display can be connected to the OMG Robotics expansion boards MB1, MB2 and MB3 using Dupont wires, making it much easier to connect to the micro:bit.
Specifications
- Power supply: 3-5 V
- Number of characters: 4 characters
- Body dimensions: 66 × 27 × 10 mm
- Display dimensions: 50 × 19 × 7 mm
- Backlight color: Red
- Weight: 15 gr
Connection
Diagram
Using four Dupont wires, you just need to connect the display to the power supply (3V3) and ground pin (GND). The other two pins are used for communication.
Pin description:
- CLK (clock): pin for clock signal (I2C communication)
- DIO (data): data pin (I2C communication)
- VCC (voltage): positive pin for power supply
- GND (ground): negative pin for power, ground
Programme
Basic program
We will need a library TM1637, which is already imported in the test program.
Initialization
In the first step, you need to create an object tm, which represents our display. When creating the object, we define the pins for communication - according to the diagram, these are the pins P0 for data signal (DIO) and P1 for the clock signal (CLK). Next, we set the backlight intensity (maximum 8, default is 7) and the number of characters the display will display (LED count).
We will also create a variable pocet, which will store the number of times the A button is pressed. Then we call the function turn on, which activates the display. We need to pass the object to the function tm.
Displaying values
To display the values, we will use the function show number, which works similarly to the micro:bit display command from the core library. We pass a variable to the function pocet.
Number of presses
We will use the block When pressing the A button, in which we will be the variable pocet add 1. Also try adding a block for button B that starts from the variable pocet subtracts 1.
IR Sensor
Function
This sensor is able to determine whether there is an obstacle in front of it. It works on the principle of a receiver and a transmitter. The transmitter sends a light signal in front of itself. The receiver then detects how much light has returned. If an obstacle appears in front of the sensor, the light is reflected from it and hits the receiver. The signal is in the form of light, but in the infrared spectrum, which is why it is called IR, or infrared.
Such technology is used in industry for automation of production lines, automatic gates, motion sensing and other applications.
The intensity of light may not only change with the presence of an obstacle, but also with the color of the surface from which it is reflected. This allows the sensor to know whether the surface in front of it is white or black.
The sensor is equipped with a potentiometer, which allows us to determine at what intensity its output switches from logical 1 to logical 0. If your sensor is unable to detect the presence of an obstacle, try adjusting this level by turning the potentiometer.
Specifications
- Sensor: IR diode, IR photodiode
- Comparator: LM393
- Logic current: > 15 mA
- Power voltage: 3-5 V
- Size: 32 × 14 mm
- Detection range: 1--15mm
Connection
Diagram
The sensor can be easily connected to the OMG Robotics MB3 expansion board using Dupont wires. The following pins need to be connected:
- VCC – power supply (3–5 V)
- GND - the earth
- DO – digital output for communication with micro:bit
Programme
Basic program
Light sensor
Function
Specifications
- Sensor: photoresistor
- Comparator: LM393
- Logic current: > 15 mA
- Power voltage: 3-5 V
- Size: 32 × 14 mm
Connection
Diagram
The sensor can be easily connected to the OMG Robotics MB3 expansion board using Dupont wires. The following pins need to be connected:
- VCC – power supply (3–5 V)
- GND - the earth
- DO – digital output for communication with micro:bit
Programme
Basic program
Servomotor
Function
Specifications
- Operating voltage: 3-7,2 V
- Wire length: 150 mm
- Speed: 0,12 sec / 60 °
- Torque: 1,2 kg cm
- Temperature range: -30 to 60°C
Connection
Diagram
Programme
Basic program
IR diode and IR photodiode
IR diode
The IR diode works the same as an LED, the main difference is
the radiation it emits. We are not able to detect this type of radiation
visible to the human eye, as it is in the infrared range
spectrum.
IR photodiode
Specifications
- Diode diameter: 5 mm
- Performance: 100 mW
- Beam angle: 20°
- Diode lens: transparent, blue
Connection
Diagram

