Category Archives: Electronics Tutorial

Electronics basics.

Using NVRAM in embedded projects

NVRAM(Non-Volatile Random Access Memory) is one of non-volatile memory selections. This may be alternative to EEPROM back up memory. NVRAM chips can be used for nonvolatile memory storage with many benefits comparing to EEPROM. Main benefit is that NVRAM chips work like static RAM. Actually they are RAM just they contain lithium cell battery for retaining RAM contents when main power is switched off. The backup memory can store contents as long as battery provides power. NVRAM chips doesn’t require much power, backup can be guaranteed for up to ten years.

For instance lets take Dallas NVRAM chip DS1225.

DS1225.jpg

 

It contains 64k(8k x 8) of RAM memory. Continue reading

How does RFID tag technology works

RFID introduction

RFID taging technology is successfully used among us, but we don’t notice them always and do not think about them as they are not noticeable because we do not have directly to take any actions to transfer or read any information from RFID tags. But probably everyone notices in big supermarkets, book stores two parallel frame antenas and thicker labels on products you buy, or maybe you have RFID entrance card at your work. So lets see how this technology works.

RFID is so called Radio Frequency Identification system which consists of two main parts: transmitter and receiver. The labels, access cards and even passports in some countries they have RFID transponders integrated. These transponders are called “tags”.

RFID_tagging1.jpg

Each tag has information programmed in it. This information can be read by reader via Radio Frequency link. Tags can be very miniature like thicker paper sheets. Simplest ones have only antena and diode. These tags only reflect signals incoming from transmitters. These are tags that are used in supermarkets and other places for securing goods from stealing. If signal is reflected, alarm is triggered. When tag is scanned by seller, it is simply electrically destroyed so it won’t trigger an alarm.

Continue reading

Easy way to measure motor torque

Motor torque (momentum) is one of motor ratings which is used to indicate motor rotary force produced on its output shaft. Motor torque rating is usually captured at point when motor is stalled. Torque measurement unit is (Nm) in metric system or (ft lbs) in US system. But principle is the same torque is a multiplication of lever length (r) and force(F) applied to lever:

Ï„=r x F

So there is a simple experiment on how to measure motor torque quite accurately without any fancy measuring tools.

measure_torque.PNG

 

All you need is a motor of which torque will be measured, nominal power supply of motor, thread long enough, a mass of known weight, ruler and a table or other lifted surface where motor will be fixed.

Continue reading

Testing pulse transformer with an oscilloscope

Pulse transformers are little different from regular AC transformers. In AC transformers magnetic flux alternates between negative and positive values in core while in pulse transformers magnetic flux is unipolar. Pulse transformers are used in TV, computer power supplies. If you need to test pulse transformer it may be almost impossible to do this with ohmmeter even digital one because windings of impulse transformer have very low active resistance except high voltage ones.

One way to test is to measure inductance of windings and compare them to values in specifications, but not everyone has ability to measure inductance and not always you have transformed specifications near by. So there is another way to test pulse transformers which may be acceptable to almost everyone radio-hobbyist. By using low frequency generator which works at resonance frequency of contour which consists of external capacitor and pulse transformer winding.

pulse_transformer_resounance.JPG

 

Continue reading

Measurement of electrical energy consumption today

Electromechanical energy counters were popular for more than 50 years, but today you can find them only in older houses or in low budget appliances because today electronic energy counters taking their place. And there are meny reasons to do so. For instance measurement accuracy, flexibility, multi-rate support, memory, statistics, remote reading and control, automatic register and so on. All these features can be buil in to one small chip which will serve with high reliability and low price.

Lets see how energy (active power) consumption is measured. Active power which is required in form of alternate current (AC) can be calculated as average power over one period:

power1.PNG

 

Continue reading

Oscilloscope probes for accurate signal measurements

Oscilloscope Probes

Measuring signals with oscilloscopes may be challenging task especially high frequency ones. Without proper oscilloscope probes correct measurement of high speed time domain signals wouldn’t be possible. For high speed measurement you should consider signal parameters like amplitude, source impedance, rise time and bandwidth.

oscilloscope_probe.jpg

 

There is a wide variety of probes available – passive, active, current-measurement, optical, high voltage and differential. But let’s narrow discussion to probes that are used to measure signals with wide bandwidth and short rise times. There are also many variations on what probe is proper. As probes are potential load to measured circuit, it is important to know its sensitivity to resistive, capacitive or inductive loading. Incorrectly chosen probe (like high capacitance) can distort fast rising signal. Some circuits may not tolerate probes at all (high speed amplifiers).

Continue reading

Reliable soldering with fluxes

Reliable soldering can be achieved by soldering clean surfaces. Usually surfaces are cleaned with abrasives and solvents, but after surface is cleaned surface immediately oxides especially when heated. During oxidation surface is covered by thin oxide film which prevents solder from contacting to metal. This is why flux is used in soldering process. In order to remove/deoxidize surface flux must be applied during soldering. Flux chemically removes surface oxide when heated and makes good metal to solder contact.

solder_with_flux.GIF

 

(Image source: http://www.tpub.com/neets/book4/12o.htm)

There are several categories of soldering fluxes:

  • Acid Flux (or commonly known fluxes: Zinc chloride, hydrochloric, ammoniac);

  • Organic Flux;

  • Rosin Flux.

Each flux has their own specifics and may be used for different soldering technologies.

Continue reading

What is worst-case timing analysis

Probably many of you PC hardware people have faced similar problems when assembling computer from different parts and it seemed to work properly. But under some circumstances system just crashes without any known reason. Even in my practice I had a sound-card that that works well, but time at the time it just crashes and then computer hangs. Of course I can blame drivers or operating system, but there is another probability that there can some timing failures occur.

There are lots of complex production around us that may have a number of undefined failures due to lack of timing worst-case analysis. Failures may occur due to power supply fluctuations, thermal changes or other conditions.

Worst-case analysis encounter all available information of condition variations that can affect performance of components. Worst-case analysis shows if electronic design meets specifications under variable conditions like temperature, voltage or other variables. Only detailed analysis can prove if design will work reliable under all operating conditions.

An it is proved that it is much better to design reliable hardware than fix the problems later. In many ways worst-case analysis may be implemented in various manufacturing phases automatically. By including several simple tests may save lots of money and impact overall quality.

Continue reading

Electronic design and development process

There are so many ways of designing and developing of electronic devices, that it is hard to think which would fit your needs and desires. But there are common steps that probably fit in most cases that allow to implement the electronic system from top to bottom:

1) Defining the requirements of electronic system;

2) Collecting information on components to be used;

3) Evaluate the components with respect to the requirements;

4) Block diagram of preliminary design;

5) Do a preliminary timing and load analysis;

6) Define functionality logic;

7) Draw schematic using CAD software;

8) Do device design and simulation;

9) Perform detailed timing analysis and simulation and adjusting the design;

10) Double-check signal loadings, buffering as needed;

11) Document the design and generate a net list and bill of materials;

12) Generate layout of a printed circuit board;

13) Prototype design;

14) Program the memories and programmable logic for testing.

15) Debug and verify operations using oscilloscope/logic analyser or other debugging tools;

16) Update and complete documentation as the design changes.

Those are general steps and the order may vary or even several tasks may be performed in parallel. Usually software is written in parallel with hardware design prototyping. Usually software development takes much more time than hardware development, so software development may be ahead the hardware development process.

Chemical effects of electricity

Electronics depend on chemistry more than you can imagine. In order to generate electricity there are many methods used, one of them is chemical. Remember batteries, where electricity is generated because of chemical reactions inside cell. Also in conductors like liquids and gases electricity is carried not by electrons as it is in solid constructions(copper, aluminum, etc.), but by ions – molecules with electric charges. Even non distiled water contain enough ions to be conductive. Lets go through several chemical effects of electricity.

Electrolysis

Electrolysis is a decomposition of liquid compound by passing electric current through liquid called electrolyte(salt water, copper sulphate, sulphuric acid). Electrolysis is used very widely in industry like electroplating of metals, refining of copper and extraction of aluminum from ore. To make electrolysis happen there are two conductors used cathode(-) and anode(-).

Electrolysis.gif

 

Continue reading

New on WinAVR Tutorial New on WinARM Tutorial