Overview of Programmable Logic Devices

These are devices that are used in electronic circuits to make reconfiguration of the same possible. The logical gates that are normally used perform a fixed function; however, the Programmable Logic Devices (PLD) do not perform any predefined task when manufactured and need to be programmed before they can be used.Before the introduction of PLDs, ROM (Read Only Memories) was used. EPROM could be programmed using any standard hardware for that device and hence, did not require any other peripheral hardware. Another advantage of ROMs is that a particular binary code stored in it could be obtained on any of the n output lines available. Thus, they can be programmed in any way one wishes to. However, ROMs have some disadvantages when they are used as PLDs. They do not produce the outputs as quickly as other devices; they are not very dependable as far as asynchronous inputs are concerned; they require more power, etc. The first PLD was the programmable logic array developed from ROAM (Read-Only Associative Memory) by modification of one of its metal layers and 17 inputs and 18 outputs.

Continue reading

Modelling different types of Biomedical Devices

Biomedical devices are those electrical devices that are used in medicine to carry out various tests on the human body. A lot of research has been performed in this field, and as a result, these devices have become indispensable as far as medicine is concerned. Let us have a look at some of the tasks that are performed by making use of these devices: For diagnosis of various diseases or abnormalities. In the prevention of these diseases, their cure, mitigation, etc. In many cases, some parts of the human body malfunction and are no longer able to perform their respective tasks. In such cases, these devices may be used as a replacement for those body parts. For example, a pacemaker is used for a person who has a weak heart. Based on the type of function that they perform and on other characteristics, these devices have been classified into the following three types: The first-class devices relatively cause less harm to the user and have been designed using simple techniques. These devices include ordinary items such as surgical gloves, tongue depressors, other hand-held instruments used in surgery, etc. The devices that belong to the second class have certain specialized applications…

Continue reading

Audio Signal Processing

Processing of audio signals is one of the most important and widely used applications of digital signals processing. It is being used in many fields such as communication, broadcasting audio signals for radios, television etc. It primarily includes analysis of audio signals that fall in the human hearing frequency by mathematical. The audio signals that fall in the human auditory range depend both on physical and psychological factors. A separate branch has been introduced to study the same and is called psychoacoustics. Wherever signals are concerned, one has to deal with two different viz. digital and analogue types. The techniques that are used to deal with these two types of audio signals are different. In analogue audio signals, the pressure transformations are usually represented electrically in the form of voltage levels.

Continue reading

Classification of USB chips and microcontrollers

Even though USB is life on for more than 10 years – electronic amateurs move towards it relatively slowly. The main reasons are that many electronics work with relatively old computers where the RS232 port is actively used. Even when buying a new PC, I was looking that the motherboard was equipped with at least one COM port. But the situation is more complicated with Laptops where COM or LPT ports are not used anymore due to limited space and other reasons. The only way is to adapt to USB in one way or another. One temporary solution may be using USB to RS232 adapters. But again, this is the only emulation of COM port, and not all programs may understand it correctly, like PonyProg doesn’t work with virtual COM ports. Today companies producing electronics components have been pushing lots of types of USB chips to market. In order not to get lost, there is some classification made. So USB chips may be classified as follows: Microcontrollers with build-in USB interface; Microcontrollers with USB emulated program; USB converters or USB bridges; Hub controllers; Host controllers; Dual role controllers, OTG (On-The-Go); USB transceivers, USB switches

Continue reading

Programming AVR ADC module with avr-gcc

Most AVR microcontrollers have Analog to Digital Converter (ADC) integrated into to chip. Such a solution makes embedded designers’ life much easier when creating projects and programming them. With no need for external ADC, PCB takes less space, easier to create programs – it saves time and money. As an example, let’s take the Atmega8 microcontroller, which has up to 8 ADC inputs, most with a 10-bit resolution(excluding ADC4 and ADC5 inputs that are 8-bit). All features of AVR internal ADC can be found on official ATMEL AVR datasheets, but most important to mention are: ±2 LSB accuracy – so measurements aren’t very accurate. If AREF voltage is 5V, then the error may reach ±0.04V, but this is still good results for most of the tasks; Integral nonlinearity ±0.5 LSB; Conversion speeds up to 15kSPS at maximum resolution. This is far not enough for 20kHz audio signal sampling.

Continue reading

Batteries and cell characteristics

Batteries are a cheap, small, and relatively safe way of having a portable energy source. There are many types of batteries with different characteristics and uses. Probably many of you heard the terms battery and cell referring to the same. But from a technical perspective, these are different things – a cell is a single unit that houses a single chemical reaction and produces electricity. At the same time, a battery is a pack of cells. Nominal cell voltage and battery voltage For instance, a single AA battery can be called a cell because this is a single unit where a single chemical reaction generates a voltage of 1.5V. Still, car lead-acid battery has six cells producing 2.0V each while all battery produces 12V. The first important thing to remember is that a single cell can produce a specific nominal cell voltage that depends on a chemical reaction. In contrast, the battery voltage is a combined voltage of multiple cells connected in series (or parallel).

Continue reading

AVR internal oscillator jitter research

If you go to the AVR site and open an AVR application note AVR053, you will notice different RC oscillators installed into AVR chips during history. In the table, you can see tunable oscillator versions and their features. Simply speaking, each new version of the oscillator introduces better features and improvements. But is it true? ChaN has done exciting research on this oscillator version. He tested the output signal with fixed width and measured timing fluctuations of it. And he found out that the RC generator frequency slowly fluctuates during the time. Of course, RC oscillator fluctuations are not a problem as this type of clock source isn’t stable. In time-critical applications, it is better to use crystals. But the most exciting thing is that newer versions of tunable oscillators were generating much more jitter than older ones.

Continue reading

One click project with USBasp programmer

UASBASP is an efficient programmer for Atmel AVR microcontrollers that works under multiple operating systems, including Linux, Mac OS X, and windows. How to assemble this simple programmer read the previous article on this site or go to the original website of Thomas Fischl. As it was mentioned, USBasp has two available programming frequencies – high when the jumper disconnected and low when connected. These frequencies are 375kHz and 8kHz. To use 375kHz speed, target MCU’s clock frequency must be at least 1.5MHz – four times higher than SCK. If the target is clocked with a low-speed oscillator like 32kHz, then the jumper has to be connected as it gives 8kHz SCK, which is also 4*8kHz=32kHz. Building and preparing this programmer should not be a problem as it uses very few components. If you use 6 PIN ISP programming header, then you need a 10 to 6 adapter — Flash Atmega8 with the newest firmware found on the authors’ site. Right now latest firmware is 2007-10-23. For other details, read in the readme file.

Continue reading

Embedded Technology and the Modern Market

Embedded electronics refer to devices that can be embedded into something. They are add-ons that increase the functionality of the device in which they have been integrated. Embedded electronics can do more, and shortly, it can change the way people sell products and handle business. The Importance of Technology in Business To maximize profits and to increase production but, at the same time, to maintain a competitive price, industries from all sectors of the market rely on technology to reduce the cost incurred during business operations. Modern technology could maximize production and profit by freeing people from repetitive and laborious work and put them in places where their skills and intellect would matter. Technology makes it possible to mechanize and accelerate production, lower the cost, reinforce control mechanisms, speed up delivery, and make goods and services available to more people. These advantages also mean better, cheaper and safer products and services for the end-users.

Continue reading

Ocean Embedded Electronics Systems

Embedded systems for ocean applications comprise small, function-specific computers designed to operate in the rough environment of open water, withstand both pressure and weather, and use as little energy as possible. While the development of such technology has been ongoing for a long time, research and implementation have been stepped up due to the increased demand for ocean-based monitoring and warning systems; this demand results from the 2004 tsunami disaster. Embedded systems are also being developed for tidal power generation purposes as well as improvement of navigation systems aboard ocean-going vessels.

Continue reading