“miceuz” have set up this little experiment to gain a better understanding how does a SAR analog to digital converter work. Go to http://wemakethings.net/2013/02/25/how-does-adc-work/… for more info and Arduino code.
How does an ADC work? - [Link]
The MAX31855 performs cold-junction compensation and digitizes the signal from a K-, J-, N-, T-, S-, R-, or E-type thermocouple. The data is output in a signed 14-bit, SPI-compatible, read-only format. This converter resolves temperatures to 0.25°C, allows readings as high as +1800°C and as low as -270°C, and exhibits thermocouple accuracy of ±2°C for temperatures ranging from -200°C to +700°C for K-type thermocouples. For full range accuracies and other thermocouple types, see the Thermal Characteristics specifications in the full data sheet.
MAX31855 – Cold-Junction Compensated Thermocouple-to-Digital Converter - [Link]
This project explains how to use an FPGA or CPLD to take input from one device (an ADC) and then output appropriate signals to a motor controller IC, that provides precise control over the DC motor’s speed and direction.
Since we now know how to create PWM output with a CPLD or FPGA and we also know how to understand dynamic analog input using an A-to-D converter, we can actually combine these two functions together and create an FPGA DC motor controller!
Even though I have written many, other, motor control articles, none of them used a CPLD or FPGA as the main controller. This article will focus on explaining how to use a CPLD to take input from one device and then output appropriate signals to a motor controller IC, that will give us precise control over the DC motor’s speed and direction.
FPGA DC Motor Control - [Link]
I’d really like to know how to “”convert”” an analog value to a digital one. In a word : I have an Arduino, a photoresistor, with a pull-down resistor. I want to know if the light is above or below a given threshold.
I know how to read the value with analogRead(photoResPin), and compare it to my threshold (in code), but I’d like to do that without software (only using digitalRead), handling that threshold in hardware.
Can you help me ?
I guess I can use a transistor, but don’t know how to “”precisely”” set the threshold (by changing the pull-down resistor value ?).
How can I convert an analog value to a digital one? - [Link]
Toumas decided to code his own capacitive touch sensors based on a closed source Atmel example where a single ADC pin is used for capacitive sensing. He reverse engineered it, and documented his results: [via]
I’ve been thinking of a project that needs a little bit more elegant user interface than your usual push buttons. Partly inspired by a video blog on Dave Jones’ EEVblog, I decided to look into capacitive touch buttons. The big issue unfortunately for me was that you usually need a separate chip for capacitive touch sensing. With some tricks, you can however use a normal microcontroller to do the job. Even using only a single pin and resistor.
Capacitive touch sensing with a single ADC pin - [Link]
The MAX11209 can do 18 bits at sample rates up to 120 Hz (true) or 480 Hz (4x oversampled). It has both external analog and internal digital scaling. There is +Vref and -Vref, as well as +Vin and -Vin, so you can set your own full-range scale and offset via analog voltages (many ADCs have only +Vref, so you can’t set your own analog offset above ground). Maximum Vin = 3.6 V. The data sheet claim that CS/ can be tied low is apparently false (must be brought high after each SPI transaction).
The 11209 is part of a family, some other variants do 24 bits (although there I think some bits will be just noise). With the 11209 I can so far confirm that the input noise is less than 2 uV at a 15 Hz rate. Datasheet claims 0.57 uV RMS at 10 Hz.
Using the MAX11209 18bit ADC - [Link]
Free online data conversion handbook from Analog Devices. It covers everything you’ll need to get started with analog-to-digital and digital-to-analog converters. It’s not just reference designs, but also theory on how various architectures function – [via]
The Data Conversion Handbook, edited by Walt Kester (Newnes, 2005), is written for design engineers who routinely use data converters and related circuitry. Comprising Data Converter History, Fundamentals of Sampled Data Systems, Data Converter Architectures, Data Converter Process Technology, Testing Data Converters, Interfacing to Data Converters, Data Converter Support Circuits, Data Converter Applications, and Hardware Design Techniques, it may be the ultimate expression of product “augmentation” as it relates to data converters. The last chapter discusses practical issues, including common pitfalls and solutions related to the non-ideal properties of passive components.
App note: Analog and digital conversion handbook - [Link]
Here is an app note from Microchip explaining how to interpret various analog to digital converter specifications. This article covers how attributes of ADCs are calculated and how they apply to it’s performance and precision - [via]
The purpose of this application note is to describe the specifications used to quantify the performance of A/D
converters and give the reader a better understanding of the significance of those specifications in an application.
App note: Understanding ADC specifications and attributes - [Link]
This is a simple application of internal 10-bit ADC (analog to digital converter) of PIC16F676 microcontroller.you can use this circuit to measure up to 30 v dc. the possible applications are on bench top power supply or as a panel meter in various system.
MICROCHIP’S PIC16F676 is the heart and brain of this circuit .the internal adc of the mcu with a resistor network voltage divider is used to measure the input voltage . then 3 digest of comm anode 7 segment display is used to display final converted voltage. as you can see in the schematic the displays are multiplexed with each other . means we switch on one display and put the corresponding digit on this while other two displays are off this cycle go for each of the display.
Panel Voltmeter Using PIC16F676 - [Link]
This is a simple application of internal 10-bit ADC (analog to digital converter) of MSP430G2231 microcontroller.you can use this circuit to measure up to 30 Vdc. the possible applications are on bench top power supply or as a panel meter in various system.
TEXAS INSTRUMENTS MSP430G2231 is the heart and brain of this circuit .the internal adc of the mcu with a resistor network voltage divider is used to measure the input voltage . then 3 digest of comm anode 7 segment display is used to display final converted voltage. as you can see in the schematic the displays are multiplexed with each other . means we switch on one display and put the corresponding digit on this while other two displays are off this cycle go for each of the display.
MSP430 based 30V voltmeter - [Link]