📱 Components

The ElectroLab is a board that may look complex at first sight because of the density of components in the layout. However, once you get familiarized with the different parts, it’s pretty simple and intuitive.

_images/General.png

Let’s start by exploring the different sections that form the ElectroLab, how they work and what to do with them.

Power

_images/Power_top.png

Top side view

_images/Power_bottom.png

Bottom side view

The ElectroLab is powered internally at 3.3V (volts). Since the board is battery powered, the most convenient way (and therefore avoiding step-up converters) was to adapt the components to a 3.3V working range.

The internal circuit for charging the battery (which can be consulted on the schematic) is ready to handle the nominal 5V from the USB-C port.

There is a resetable fuse and a voltage regulator (LDO) after the battery, in order to prevent the rest of the electronic components to receive the 4.2V of the LiPo

Once the board is powered, not only the Integrated Circuits (IC) are being energized, but also the 3.3V bar gets its voltage with respect to the GND bar. The only exception is the Gas sensor, that needs the 5V from the USB-C, and that will only work when the board is wired to a 5V source.

The 3.3V & GND bar are separated by 4 rows of other pinheads. These headers are interconnected vertically, forming nodes of 4 points for those applications that requires multiple connections in one node.

_images/BusBar_top.png _images/BusBar_bottom.png







Resistors

_images/Resistors_top.png

Top side view

_images/Resistors_bottom.png

Bottom side view

The resistors array, located in the left side of the ElectroLab, consist on three columns of 10 resistors per row, giving a total of 30 resistors. As experience has showed us, the value of 10kΩ is specially useful (for pull-down/pull-up circuits), and that is why there are two columns with the same value. Apart from this exception, the rest of rows has its own individual value.

As it can seen on the board’s back, each resistor is connected to two male pinhead, so the access to each terminal of each resistor is clear.

The resistors have no polarity, meaning that any of the terminals can go to the positive or negative side of a circuit.

Resistors values:

100Ω

100Ω

100Ω

470Ω

470Ω

470Ω

1kΩ

1kΩ

1kΩ

4.7kΩ

4.7kΩ

4.7kΩ

10kΩ

10kΩ

10kΩ

10kΩ

10kΩ

10kΩ

15kΩ

15kΩ

15kΩ

47kΩ

47kΩ

47kΩ

100kΩ

100kΩ

100kΩ

470kΩ

470kΩ

470kΩ


Capacitors

_images/Capacitors_top.png

Top side view

_images/Capacitors_bottom.png

Bottom side view

The capacitors array, located under the resistors array, consists on two columns of 10 capacitors each. In this case each row has its own value, giving a total of 20 capacitors, 10 different values.

The first 8 rows (or values) are formed by ceramic capacitors, that have no polarity. However, the last two rows (values 100 μF and 1mF) are tantalum capacitors, with polarity.



Capacitors values:

10pF

10pF

100pF

100pF

1nF

1nΩ

10nF

10nF

50nF

50nF

100nF

100nF

1μF

1μF

10μF

10μF

100μF

100μF

1mF

1mF

Warning

It’s important to pay attention how the polarized capacitors are connected in the circuit before powering it, making sure that the side with the + symbol never goes to the GND.


Diodes

_images/Diodes_top.png

Top side view

_images/Diodes_bottom.png

Bottom side view

The ElectroLab comes with a 4 diodes set, in this case, located in the upper right side of the board, between the 7 segments display and the transistors.








Transistors

_images/Transistors_top.png

Top side view

_images/Transistors_bottom.png

Bottom side view

There are two types of transistors integrated in the ElectroLab: PNP & NPN. Both of them are placed on the top right side of the board. Due to the limited space on the board and the more extended use of the NPN, there is one more of this type: 3 NPN in total and 2 PNP type.

Attending to the white printed silkscreen on the board, it is easy to identify each terminal of the transistor to be used on the circuit.




Operational Amplifier

_images/OpAmps_top.png

Top side view

_images/OpAmps_bottom.png

Bottom side view

The Op.Amp. IC that the ElectroLab mounts is a LM2902DT. Each IC contains up to 4 independent Op.Amp., giving a total of 8 for the ElectroLab board, located on the right side of the board.

As printed in the silkscreen, the inputs to the Op.Amp. are placed on the upper side, while the outputs are under. With a little bit of zoom it can be appreciated in the silkscreen which input is the Inverting (-) and which one is the Non-Inverting (+)

As commented in the power section, these Op.Amp. are powered as soon as the ElectroLab is powered, making them ready to be used.




Logic gates

_images/LogicGates_top.png

Top side view

_images/LogicGates_bottom.png

Bottom side view

Moving on to the 100% digital circuits, ElectroLab integrates a set of 3 different logic gates: 4 AND, 4 OR and 6 NOT. The set of gates are placed on the right side of the board, directly under the Op.Amp. and divided by columns (according to the gate type).

Attending to each type of logic gate, the used IC are the following:

  • AND gates: SN74LV08ADR.

  • OR gates: SN74LV32ADR.

  • NOT gates: SN74LV04ADR.

When working with 3.3V levels, the definition of a bit (1 or 0) is done by voltage levels. For avoiding the background electrical noise to interfere with our logic processes, all the logic gates inputs are pulled-down through a 10kΩ resistor array.




Flip Flops

_images/FlipFlops_top.png

Top side view

_images/FlipFlops_bottom.png

Bottom side view

Continuing with the digital circuits, and located under the logic gates, the ElectroLab integrates 4 JK FF thanks to two 4027D IC.

The FF are, like in the case of the logic gates, ready to be used.




Signal generator

_images/555_top.png

Top side view

_images/555_bottom.png

Bottom side view

The ElectroLab integrates a square signal generator, the well-known 555 Timer oscillator IC, placed on the bottom right side of the board.

This common IC can provide square signals (0-3.3V) and depending on the assembled circuit the integrated 555 can be configured as monostable or astable multivibrator. This is because the pin 5 of the 555 IC is internally connected to a 0.01μF capacitor, as it is required for any monostabe or astable configuration.




Audio

Warning

The speaker has polarity. When assembling this device, pay attention to the marks under the sensor.

_images/Audio_top.png

Top side view

_images/Audio_bottom.png

Bottom side view

Next to the signal generator, also on the bottom right side of the board, there is a class-D audio amplifier based on the PAM8403 IC.

This filter-less 3W stereo amplifier is internally prepared to provide a ready-to-use interface, it can input the left (L) and/or right (R) channels. It is important to connect correctly the GND from the jack to the GND of the amplifier.



_images/Audio_ampli_top.png

Top side view

_images/Audio_ampli_bottom.png

Bottom side view

As part of the audio laboratory there are two more components: 2 jack connectors and 1 speaker, located on the upper side of the ElectroLab.






Opto-electronics

Warning

The RGB LED has polarity. When assembling this device, pay attention to allign the plain side of the device with the marks on the board.

_images/OptoElectronics_top.png

Top side view

_images/OptoElectronics_bottom.png

Bottom side view

Next to the speaker, and continuing with the non-electric signals the ElectroLab can output, the opto-electronics section can be found: 3-colors LED bar, RGB & 7 segments display.

The light bar is just a set of 9 LEDs (with their correspondent resistance internally connected to the anode) pulled to the ground. This way, when a voltage is applied to each LED pin, this will turn on, as simple as that. The bar has 3 different colors, green, yellow and red (from left to right), of 3 LEDs each color.

The RGB LED is an opto-electronic device that packs in a compact way 3 different LEDs of 3 different colors: red, green and blue (RGB). These 3 LEDs are connected by the cathode to the ground and each anode of them is already connected to the appropriate resistors, so the user can just input the voltage individually: you can replicate almost any color of the light spectrum.

The seven segments (7s) LED display is the last, but not least, component of the section, located between the RGB LED and the diodes. The 7 segments display, name that receives because of the amount of bars that conform each digit of the display, is internally connected to a BCD decoder IC: the CD4511.

This BCD to seven segment decoder has 4 input and 7 output lines. This output is given to the 7 segment display, through the required resistors, so it displays the decimal number depending on the inputs.




Push-buttons

_images/Pushbuttons_top.png

Top side view

Moving to the board’s inputs side, we can easily recognize the push-buttons array on the bottom area next to the capacitors.

Individually, a push-button connects the two terminals it has if it is pressed, like a switch, letting the current flow.

On the assembled array, each of the push-buttons, if pressed, connects one of the upper pins with one of the lateral pins, depending on the column and the row.




Potentiometers

_images/Potentiometers_top.png
_images/Potentiometers_bottom.png

A potentiometer is a resistor whose values can be changed by a manual action. In the case of the ElectroLab, there are two different types of integrated potentiometers: 2 rotary and 1 linear, located on the bottom side, next to the audio amplifier circuit and the flip flops.

In both cases, the resistance range the mounted potentiometers is 0 to 10kΩ. The minimum values are reached, naturally, when the knob/slider, are in the left position, and the maximum when they are in the right position.

Warning

If you are assembling any circuit non-listed in the official tutorials of the ElectroLab, please make sure that there is some minimum resistance (>100Ω) in series with the used potentiometer. This is recommended because if the potentiometer is moved to the minimum resistance values, the current flowing through the potentiometer increases, which can damage irreversibly the component.




Sensors

Despite two types of input components have already been presented, these cannot be considered as sensors. A sensor, or transducer, is a device that converts a physical parameter (such as acceleration, light or temperature) to a measurable electrical signal.

The area where the sensors are placed extends from the center of the board (under the GND pinhead row) to the bottom edge, forming a “T”.

Microphone

Warning

This device has polarity. When assembling this device, pay attention to the marks under the sensor.

_images/Microphone_top.png

Top side view

The electrec microphone is placed on the left side of the sensor’s area. The CMEJ-0627-42-P is an omnidirectional microphone with a -42dB sensitivity.

Warning

As the electrec microphone is a component with polarity, it’s important to pay attention to the + and - printed signs on the silkscreen of the ElectroLab




LDR

_images/LDR_top.png

Top side view

The LDR is placed next to the microphone. The used component is the GL5528.







Thermistor

_images/NTC_top.png

Top side view

The thermistor component integrated in the ElectroLab, next to the LDR, is a NTC type. This means that the resistance decreases as temperature rises.





Accelerometer

_images/Accelerometer_top.png

Top side view

_images/Accelerometer_bottom.png

Bottom side view

The ElectroLab integrates a tri-axial analog accelerometers, placed on the right side of the sensor’s area. The chosen device is the ADXL337 transducer from Analog Devices, able to measure up to ±3g.

As the accelerometer IC works with 3V, a voltage regulator is connected internally to provide the required power to the IC. The sensor outputs 3 signals, according to each axis, from 0 to 3V that corresponds to the range from -3g to +3g. This means that, for example, when the device’s Z axis is vertical (aligned with the local gravity) the X and Y axis of the sensor should read 0g, providing an output signal of ~1.5V.




Gas sensor

Note

This sensor is the only one requiring 5VDC to work. Therefore it will only work when there is a USB powering the board. You can verify this sensor is working through the LED close to the sensor.

_images/Gas_top.png

Top side view

_images/Gas_bottom.png

Bottom side view

Despite you can mount any other MQ sensor series, the one by default is the MQ-2. This device is a MOS sensor. Metal oxide sensors are also known as Chemiresistors because sensing is based on the change in resistance of the sensing material when exposed to gasses.

In the case of the MQ-2, the MOS reacts to LPG, Smoke, Alcohol, Propane, Hydrogen, Methane and Carbon Monoxide concentrations, ranging from 200 to 10000 ppm.



Hint

In the case of a sensor reading of 100 ppm of CO it would mean that only 100 molecules (out of 1 million) present on the gas would be CO, and the other 999900 would be any other gas.


Tactile sensor

_images/Tactile_top.png

Top side view

The tactile sensor is based on conductivity (or resistivity). It works by measuring the conductivity of any item in contact with the top’s layer expoded pad. The sensor is formed by a 2 sets of horizontal lines interconnected vertically. If any conductive item (like a drop of water or a finger) is in contact with the layer, the resistance in between the two pins decreases.