Monday, 31 October 2022

A faster experiment to find and study topological materials

Researchers have found an efficient way to identify 'topological' materials, whose surfaces can have different electrical or functional properties than their interiors. The approach should make it easier uncover materials that could be the basis of next-generation computer chips or quantum devices.

Breakthrough: World's smallest photon in a dielectric material

Researchers have developed a nanostructure that compresses the light to become 10,000 times thinner than a human hair. This fundamental scientific breakthrough can be important for multiple fields, including energy-efficient computers and quantum technology.

Thursday, 27 October 2022

'Kagome' metallic crystal adds new spin to electronics

Researchers have found that a novel metallic crystal displays unusual electronic behavior on its surface, thanks to the crystal's unique atomic structure. Their findings open up the possibility of using this material to develop faster and smaller microelectronic devices.

The S-R Latch

The S-R latch is a key circuit in digital storage units. In this tutorial, you will learn how it works, its truth table, and how to build one with different logic gates.

S-R Latch Symbol
S-R Latch Symbol

What is an S-R Latch?

Before starting with the S-R latch you need to know what a latch is. A latch is an asynchronous circuit (it doesn’t require a clock signal to work), and it has two stable states, HIGH (“1”) and LOW (“0”), that can be used for storing binary data. Many sequential circuits and larger storage devices, such as shift registers, use latches as their principal building block.

The simplest latch is the Set-Reset (S-R) latch. You can build one by connecting two NOR gates with a cross-feedback loop.

Schematic of S-R Latch with NOR gates
S-R Latch with NOR gates

This feedback path is crucial to storing one bit of data as long as the circuit is powered. In this circuit, the upper gate has the S input and the main output Q, while the lower gate has the R input and the inverted output Q̅.

How does the S-R Latch work?

First of all, let’s define the truth table of the S-R latch:

Input S Input R Output Q
0 0 Previous State
0 1 0
1 0 1
1 1 0 (Invalid)
S-R Latch truth table

Now, let’s analyze how the S-R latch works using its truth table and its circuit with NOR gates. Remember that the NOR gate only gives “1” when both inputs are “0”, with any other input combination the output is “0”.

You can see in the truth table that when both inputs S and R are equal to “0”, the output Q remains the same as it was. This is the memory function of the S-R latch because it saves the previous value. Suppose the Q output is “1” in the present state. If you now place both inputs in “0”, then the output will remain “1” as follows:

S-R latch with NOR gates case 1

Then, how would you “Reset” the Q output to “0”? Well, as you can see in the truth table, you need a “1” in the R input and a “0” in the S input.

S-R latch with NOR gates case 2

But, if you want to “Set” a “1” in the Q output just follow the truth table and place a “1” in the S input and a “0” in the R input. 

S-R latch with NOR gates case 3

Finally, the S and R inputs should never be “1” at the same time because the NOR gate only gives “1” when both of its inputs are “0”, but if one input is “1”, then the output will be “0”. As a result, if S and R are “1”, both latches’ outputs will be “0” at the same time, something that violates this latch’s working principle.

SR-LATCH WITH NAND GATES

The S-R Latch can also be built using two NAND gates:

Schematic of S-R Latch with NAND gates
S-R Latch with NAND gates

In the above circuit, you might have noticed slight differences from the one with NOR gates. Now the inputs have been swapped, with the S input in the upper gate and the R input in the lower gate. In addition, the inputs have been negated.

It works the same way as with NOR gates, just that the inputs are inverted. Here’s the truth table:

Input S Input R Output Q
1 1 Previous State
1 0 0
0 1 1
0 0 0 (Invalid)
Truth table for S-R Latch with NAND gates

Example Circuit

As a practical example, you can build an SR latch using the CD4001 chip. Below you can see how the CD4001 has four NOR gates inside, making it ideal for this kind of application.

The circuit works as follows: when the button PB2 is pushed, the LED L2 turns on and stays on even after PB2 is released, while the LED L1 remains off. LED L2 turns off when the button PB1 is pressed, whereas LED L1 turns and stays on even after PB1 has been released. To assemble the above circuit you need:

  • The CD4001 chip
  • Two push buttons (PB1 and PB2)
  • Two LEDs
  • Two 10 kΩ resistors (R1 and R2)
  • Two 330 Ω resistors (R3 and R4)

Questions?

Do you have any questions about S-R Latch? Let me know in the comments below.

Copyright Build Electronic Circuits

Wednesday, 26 October 2022

Building with nanoparticles, from the bottom up

Researchers created a technique for precisely arranging nanoparticles onto surfaces in arrays with arbitrary shapes that does not cause damage to the material's surface. The scalable technique could help make higher-performance devices like lasers, LEDs, sensors, and actuators.

Printable circuits that can work on fabric, plastic and even fruit

Remember iron-on decals? All you had to do was print something out on special paper with a home printer, then transfer it onto a T-shirt using an iron. Now, scientists have developed a very similar scheme, but instead of family photos or logos, it prints circuitry. The method can print functional circuits onto items ranging from ukuleles to teacups.

Tuesday, 25 October 2022

Miniaturized infrared detectors

Extreme miniaturization of infrared (IR) detectors is critical for their integration into next-generation consumer electronics, wearables and ultra-small satellites. Thus far, however, IR detectors have relied on bulky (and expensive) materials and technologies. A team of scientists has now succeeded in developing a cost-effective miniaturization process for IR spectrometers based on a quantum dot photodetector, which can be integrated on a single chip.

Wednesday, 19 October 2022

Blocking the buzz: MXene composite could eliminate electromagnetic interference by absorbing it

A recent discovery by materials science researchers might one day prevent electronic devices and components from going haywire when they're too close to one another. A special coating that they developed, using a type of two-dimensional material called MXene, has shown to be capable of absorbing and disbursing the electromagnetic fields that are the source of the problem.

Tuesday, 18 October 2022

Halloween Electronics Project: Useless Machine

This year’s Halloween project is a useless machine built with 555 timers. It’s a coffin with a switch. When you flip it off, a dark force rises from the coffin and flips it back on.

Controlling a Servo with 555 Timers

The idea for this project came after we published the simple 555 PWM circuit that controls a DC motor using a PWM signal created by a 555 Timer. I started thinking about the idea of controlling a servo instead.

After some experimentation, I realized that the frequency changed too much when I changed the duty cycle. So my servo would only move at random times.

I decided to use two 555 timers instead: one in astable mode to set the frequency to a steady 50 Hz. And one in monostable mode that would set the duty cycle. With this setup, I was able to control the servo without any issues.

Two 555 timers controlling a servo motor

The value of the resistors R3 and the capacitor C2 sets the standard duty cycle. This position is when the arm is hidden.

When you push the pushbutton SW1, R4 is connected in parallel with R3 which reduces the duty cycle and moves the servo to its other position. This is the position that should make the arm flip off the toggle switch.

I used a pushbutton for this experiment. But in the useless machine setup, SW1 would be a toggle switch.

Adding a Delayed “button push”

The switching between the two positions happened a bit too fast. I was barely able to remove my finger before the servo arm moved into position to flip the switch back off. So I needed a way to delay things before the arm switched positions.

I tried a few different things before I ended up with the following: A pMOS to replace SW1. And a capacitor and resistor to add a delay from the toggle switch is flipped to the pMOS turns on.

Circuit for delaying R4 being placed in parallel with R3.

Basically, what this circuit does is that it places R4 in parallel with R3, just like SW1 did before. But it does so after a short delay of a couple of seconds. The values of C3 and R5 sets the delay time.

The Final Circuit

The delay circuit worked perfectly. And below you can see the full schematic for this project:

Schematic of useless machine with 555 timers

The only part of the circuit that is not shown above is a 7805 voltage regulator that converts my 9V battery to 5V, which was the VCC voltage I used to make everything compatible with my servo.

Components Needed

  • 2 x 555 Timer
  • 1 x pMOS transistor
  • 5 x Resistors (See below for values)
  • 3 x Capacitors (See below for values)

To choose values for the first 555 timer, use this 555 calculator in astable mode and try different values until you find the frequency you want.

Note that the time low you get will be the lowest possible duty cycle.

To choose values for the second 555 timer, use this 555 calculator in monostable mode and try different values until you find the resistance you need for the two different servo positions.

Use the highest resistance value for R3. Figure out what R4 needs to be in order to get the lowest resistance value (this calculator might be of help).

Drawing of useless machine circuit soldered

Copyright Build Electronic Circuits

Friday, 14 October 2022

Changing direction: Research team discovers switchable electronic chirality in an achiral Kagome superconductor

Whether or not an object is indistinguishable from its mirror image has important consequences for its physical behavior. Say you watch a basketball player in a mirror. The ball, the player and their surroundings are, at first glance, just the same in the mirror as in real life. But if observed closely, some details are different. The ball in the player’s right hand now appears in their left hand in the mirror. While the mirror image still shows the same hand, it has clearly changed from a left to a right hand or vice versa. Many other physical objects also have mirror images that differ in a key aspect, just like hands, which is why scientists call them handed or chiral (from Greek Image = hand). Others, like the ball, cannot be distinguished from their mirror image, which makes them achiral.

Smart materials: Metal cations-recognizable thermoresponsive polymers

Scientists have created a novel thermoresponsive polymer by adding divalent cations to polymers and water solvents. They also succeeded in controlling thermoresponsive properties by changing the type and mixing ratio of ionic species. This new polymer type is expected to be applied as an analytical reagent for ion-sensing devices and as a material for drug delivery systems.

Thursday, 13 October 2022

'Smart plastic' material is step forward toward soft, flexible robotics and electronics

Scientists have developed a new material that can change from soft and stretchy to hard and rigid after exposure to a catalyst and visible light.

Friday, 7 October 2022

Disposable electronics on a simple sheet of paper

Discarded electronic devices, such as cell phones, are a fast-growing source of waste. One way to mitigate the problem could be to use components that are made with renewable resources and that are easy to dispose of responsibly. Now, researchers have created a prototype circuit board that is made of a sheet paper with fully integrated electrical components, and that can be burned or left to degrade.

Half Adder Circuit – How it Works

A Half Adder is a digital circuit that adds binary numbers. In this tutorial, you will learn how it works, its truth table, and how to implement one using logic gates. 

Half Adder Circuit
A Half Adder Circuit

What is a Half Adder?

A Half Adder is a digital circuit that carries out the addition of binary numbers. It’s the simplest of digital adders and you can build one using only two logic gates; an XOR gate and an AND gate.

The Half Adder can add only two 1-bit numbers. The difference between a Half Adder and a Full Adder is that the first one does not have a Carry input.

All the possible combinations of 1-bit binary additions are shown below:

All the possible combinations of 1-bit binary additions

You need two bits to represent the result since the highest possible result of adding two 1-bit numbers is 2 (“10” in binary).

You can add this into a truth table using the four possible combinations of 1-bit binary additions given before. The adder takes two inputs, A and B, and generates two outputs, one for the Sum (S) and another for the Carry (C). So the truth table becomes:

Input A Input B Output S Output C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Half Adder Truth Table

How does the Half Adder work?

To understand how to create a Half Adder circuit you can use its truth table. The first thing you need to do is separate the S output and build its own truth table.

Input A Input B Output S
0 0 0
0 1 1
1 0 1
1 1 0
Sum (S) output Truth Table

If you know your logic gates, you might notice that this looks exactly like the truth table of an XOR gate. And you’re right. So to implement the Sum (S) output, you’ll need an XOR gate:

XOR gate for S output

Next, it’s time to focus on the C output:

Input A Input B Output C
0 0 0
0 1 0
1 0 0
1 1 1
Carry (C) output Truth Table

If you examine it carefully, you’ll see that it behaves the same as an AND gate since it only returns one when both inputs are one. This means that to create the C output you can use an AND gate:

AND gate for C output

Finally, you can combine the circuits for producing the S and C outputs to build the complete Half Adder circuit diagram:

Combining the gates for S and C outputs

Half Adder simulation

To demonstrate this adder circuit works, you’ll find a simulation below. Simple switches represent the A and B inputs. The S and C outputs are represented by LEDs, where a lit LED means “1” and an unlit LED means “0”.

Half Adder simulation

Questions?

Do you have any questions about how this adder circuit works? Let me know in the comments below.

Copyright Build Electronic Circuits

Thursday, 6 October 2022

Wednesday, 5 October 2022

Phosphate's electrical signature helps detect important cellular events

Analyzing the post-translational modification of proteins can help us get a closer look at cellular events. A novel single-molecule detection assay that can do so using electrical measurements has now been developed.

Tuesday, 4 October 2022

Improving wearable medical sensors with ultrathin mesh

On-skin medical sensors and wearable health devices are important health care tools that must be incredibly flexible and ultrathin so they can move with the human body. In a recent paper, researchers demonstrated how an important component of the sensors called a thermistor can be constructed using an ultrathin fiber-mesh.

How to Build a Touch Sensor Circuit

In this project, you will build a touch sensor circuit. It’s a cool and simple circuit that allows you to control an LED with the touch of a finger. And you only need three components, how cool right?

You can build this circuit if you’re a total beginner.

The Touch Sensor Circuit Diagram

You only need a resistor, a transistor, and an LED to build this project. Below you’ll find the schematics for the touch sensor circuit:

Touch sensor circuit schematic

Components Needed

  • 9V Battery
  • 9V Battery Clip
  • Breadboard
  • Jumper Wires
  • 470Ω Resistor
  • Red LED
  • NPN Transistor (BC546/547/548 or similar)

These are all standard components you can find at most electronics shops.

How It Works

Your body has electric resistance. You can check by measuring the resistance between your fingers with a multimeter.

So when you touch the wires of the touchpad, your body behaves as a resistor. This means a small amount of current can flow from the plus of the battery, through the transistor’s base, and turn on the transistor.

When the transistor is on, current can flow from collector to emitter of the transistor and the LED will turn on. Learn more about this in the article on how transistors work.

How to Build the Touch Sensor Circuit

You will build this circuit on a breadboard. But once you’ve tested that it works properly, feel free to go a step further and solder it.

Step 1: Connect The Transistor

Start by connecting the transistor a little bit down on the board.

If you’re using a BC546/BC547/BC548 transistor, you can connect it as shown in the figure. The collector goes into row 10, the base in row 11, and the emitter in row 12.

Note: If you have a different transistor model (ex the 2N3904), you need to check the datasheet to find out which leg is which, and adjust your connections accordingly.

Breadboard with transistor

Step 2: Connect The Resistor

Next, connect the resistor. Connect it from row 1 to row 9.

Notice that it is not connected to the transistor since the transistor is connected in row 10.

(In the following images, a 220 Ω resistor is shown. But it could be a good idea to use a larger value like a 470 Ω resistor to make sure your LED can handle the current.)

Breadboard with transistor and resistor

Step 3: Place The LED And Touchpad

Now, you’re going to connect the LED and the touch-sensing part. For the touch-sensing part, you’ll need two exposed wires. You can get this from the LED. The LED has much longer legs than needed.

Cut off the legs of the LED so that only around 1 cm / 0.4 in is left on the LED. Bend the two legs that you just cut off, as shown below, so that they fit in between four columns on a row.

LED with legs cut off to make touchpad

Place one on row 4 between column A and D. And one on row 6 between column A and D. This leaves room for a jumper wire to be connected later.

Insert the LED with its positive side on row 9 column F, and the other side on row 10 column F. Now the LED is connected between the resistor and the collector of the transistor, just like in the schematics of this circuit.

Breadboard with transistor, resistor, LED, and touchpad.

Step 4: Connect The Touchpad

Now you need to connect the two touch wires to the correct points in the circuit, using jumper wires.

Connect one jumper wire from row 1 column F to row 4 column E. And one jumper wire from row 6 column E to row 11 column I.

Breadboard with the touch sensor circuit connected, without power connections.

Step 5: Touch It!

Next, connect a jumper wire from row 1 column J to the positive supply column on the right. Then connect a jumper wire from row 12 column I to the negative supply column on the right.

Connect your battery connector and plug in the battery.

Breadboard with the complete touch sensor circuit connected to battery

If everything is connected properly, nothing should happen right now.

But then, try to touch the touch wires so that your finger touches both wires at the same time, and the light will turn on.

If you can’t see the light, try making the tip of your finger wet before touching again. When the skin of your finger is wet, the resistance decreases so that more current can flow through your finger and to the base of the transistor.

What If There Is No Light?

In this circuit there are three common errors:

  • the orientation of the LED is wrong
  • the orientation of the transistor is wrong
  • you are using a PNP transistor instead of an NPN transistor
  • your finger is too dry

The NPN and the PNP transistors look exactly the same, so the only way to distinguish them is to look at what is written on the transistor. If it says BC557, it’s a PNP transistor, which is *not* correct. If it says BC546 (or BC547 or BC548) it’s NPN and it’s correct.

If you tried all of the above and it’s still not working, check the resistance value of your resistor. It should be 470 Ω. If it’s much more, it restricts the current to the LED too much. If it’s much less, it might have broken the LED.

If you have any questions about this experiment, use the comment field below.

The Result

In the video below you can see the process of building this, and the final result showing the working circuit:

Copyright Build Electronic Circuits

Monday, 3 October 2022

Stretchy, bio-inspired synaptic transistor can enhance, weaken device memories

Robotics and wearable devices might soon get a little smarter with the addition of a stretchy, wearable synaptic transistor. The device works like neurons in the brain to send signals to some cells and inhibit others in order to enhance and weaken the devices' memories.

Saturday, 1 October 2022

Exploring Jupiter's moon, Europa, possible with silicon-germanium transistor technology

Europa is more than just one of Jupiter's many moons -- it's also one of most promising places in the solar system to look for extraterrestrial life. Under 10 kilometers of ice is a liquid water ocean that could sustain life. But with surface temperatures at -180 Celsius and with extreme levels of radiation, it's also one of the most inhospitable places in the solar system. Exploring Europa could be possible in the coming years thanks to new applications for silicon-germanium transistor technology research.

Tiny, wireless antennas use light to monitor cellular communication

Researchers developed a biosensing technique that eliminates the need for wires. Instead, tiny, wireless antennas use light to detect minute...