Author Topic: Finding cheap ADC  (Read 2210 times)

0 Members and 1 Guest are viewing this topic.

Offline nemesis_567Topic starter

  • Contributor
  • Posts: 16
  • Country: pt
Finding cheap ADC
« on: January 22, 2022, 03:21:08 pm »
So I'm looking for a cheap 8 channel ADC for my project and I just can't find anything sub $1.

What's weird is that I can find an MCU like the ATTINY404 or 88 for sub $1 that contains an 8 channel ADC.

I'm new to this, so am I missing something obvious?

Thank you!
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: Finding cheap ADC
« Reply #1 on: January 22, 2022, 04:27:09 pm »
More data required such as:
Sample rate?
Resolution?
Simultaneous sampling?

https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline nemesis_567Topic starter

  • Contributor
  • Posts: 16
  • Country: pt
Re: Finding cheap ADC
« Reply #2 on: January 22, 2022, 04:38:02 pm »
Basically it's used to convert sensor data to digital, data is collected every few seconds.

It doesn't need simultaneous sampling, it can sample each channel separately.

8 bit resolution is enough.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9005
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Finding cheap ADC
« Reply #3 on: January 22, 2022, 04:47:13 pm »
Supply and demand, there's not much demand for such low end ADCs apart from the ones built into microcontrollers.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 
The following users thanked this post: nemesis_567

Offline BigBoss

  • Regular Contributor
  • *
  • Posts: 115
  • Country: fr
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19482
  • Country: gb
  • 0999
Re: Finding cheap ADC
« Reply #5 on: January 22, 2022, 05:19:10 pm »
Basically it's used to convert sensor data to digital, data is collected every few seconds.

It doesn't need simultaneous sampling, it can sample each channel separately.

8 bit resolution is enough.
It appears you've answered your own question: use a cheap MCU and a few lines of code. Most MCUs also have a built-in analogue multiplexer, which enables one ADC to be used for multiple channels.

So I'm looking for a cheap 8 channel ADC for my project and I just can't find anything sub $1.

What's weird is that I can find an MCU like the ATTINY404 or 88 for sub $1 that contains an 8 channel ADC.
 
The following users thanked this post: nemesis_567

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8167
  • Country: fi
Re: Finding cheap ADC
« Reply #6 on: January 22, 2022, 05:21:40 pm »
What's the reason for not using the MCU's internal ADC? I guess you have an MCU there anyway, how else you would interface with the ADC you are looking for?
 

Offline nemesis_567Topic starter

  • Contributor
  • Posts: 16
  • Country: pt
Re: Finding cheap ADC
« Reply #7 on: January 22, 2022, 05:25:36 pm »
What's the reason for not using the MCU's internal ADC? I guess you have an MCU there anyway, how else you would interface with the ADC you are looking for?
I2C/SPI. I don't have an MCU.

It seems that using an MCU may be a more reasonable option after all. It's very weird since generally a dedicated IC is cheaper..


I think I'll use ATTINY404-SSNR since I have a couple of them and it has a 10 channel ADC, more than what I need. The alternatives I can find are 3-4x times as expensive with 8 channels.
« Last Edit: January 22, 2022, 05:31:30 pm by nemesis_567 »
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8167
  • Country: fi
Re: Finding cheap ADC
« Reply #8 on: January 22, 2022, 05:42:26 pm »
So what will the I2C or SPI connect to? Some DAQ system which doesn't have analog channels?

You need to make sure whatever speaks I2C or SPI, supports the ADC you are going to use. With a microcontroller, you can of course create any I2C/SPI protocol you need.

Generally, dedicated ICs are more expensive than the integrated or application-specific solutions when the integrated solution is suitable to do most of the jobs. This is simply due to economics of scale; everybody buys the integrated solutions and only few need the more basic building blocks, making them more expensive. Similarly, building a car out of car parts ends up pretty expensive.

I remember being amazed at the difference of a 16-bit tens of MSPS ADC costing just a few $ when it also included CCD readout control logic, when the bare ADC with similar analog performance but without the CCD control logic costed like $100. Same can be seen in battery management IC's, one with many ADC channels, level shifters, current sense amplifiers is cheaper than any of those subparts bought separately; simply because battery management ICs sell in gazillions.
« Last Edit: January 22, 2022, 05:47:19 pm by Siwastaja »
 
The following users thanked this post: nemesis_567

Offline nemesis_567Topic starter

  • Contributor
  • Posts: 16
  • Country: pt
Re: Finding cheap ADC
« Reply #9 on: January 22, 2022, 05:47:08 pm »
So what will the I2C or SPI connect to? Some DAQ system which doesn't have analog channels?

Yes, it connects to an RPI. I have no analog inputs.

You need to make sure whatever speaks I2C or SPI, supports the ADC you are going to use. With a microcontroller, you can of course create any I2C/SPI protocol you need.

Generally, dedicated ICs are more expensive than the integrated solutions when the integrated solution is suitable to do most of the jobs. This is simply due to economics of scale; everybody buys the integrated solutions and only few need the more basic building blocks, making them more expensive. Similarly, building a car out of car parts ends up pretty expensive.

I was using an MCP3008 but it is ridiculously expensive, at least over here in comparison to these full-fledged micros. I suppose flashing a micro is takes less than a minute so it shouldn't justify the extra cost.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: Finding cheap ADC
« Reply #10 on: January 22, 2022, 06:36:31 pm »
Use a single channel ADC (e.g. MCP3021) with a cheap multiplexor on the front (CD4051B/HEF4051), drive this with 3 i/o if you are using a Pi.

As you have 5V(?) then a MAX11064 is xs Digikey. Also the MCP3208 is xs LCSC.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline nigelwright7557

  • Frequent Contributor
  • **
  • Posts: 689
  • Country: gb
    • Electronic controls
Re: Finding cheap ADC
« Reply #11 on: January 22, 2022, 06:39:37 pm »

It seems that using an MCU may be a more reasonable option after all. It's very weird since generally a dedicated IC is cheaper..


I design low cost USB scopes and either use a PIC32MX series with internal A2D or use the PIC with an external AD9201 which can sample up to about 20 Mega samples/s
Sounds like a simple PIC would do the job maybe even a low cost PIC16F series ?
 

Offline nemesis_567Topic starter

  • Contributor
  • Posts: 16
  • Country: pt
Re: Finding cheap ADC
« Reply #12 on: January 22, 2022, 07:19:49 pm »
Well at 55 cents the Attiny404 still beats it.
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 11457
  • Country: ch
Re: Finding cheap ADC
« Reply #13 on: January 22, 2022, 10:07:25 pm »
It seems that using an MCU may be a more reasonable option after all. It's very weird since generally a dedicated IC is cheaper..
LOL what? The exact opposite is the case. Tons and tons of dedicated ICs have been discontinued because it's cheaper to do in a cheap MCU. Obviously not in every instance, especially in analog stuff where the magic is in the specialized analog circuits.
 

Offline nemesis_567Topic starter

  • Contributor
  • Posts: 16
  • Country: pt
Re: Finding cheap ADC
« Reply #14 on: January 22, 2022, 10:11:19 pm »
As a newbie in the subject it seemed counter-intuitive to me that it would happen, otherwise why bother making dedicated chips if the blunter tool could solve that and many other problems at once. But I forget that historical reasons may have justified, and if not play an important role like you just described. It somewhat makes sense now.
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 11457
  • Country: ch
Re: Finding cheap ADC
« Reply #15 on: January 22, 2022, 11:16:07 pm »
The sheer volumes that MCUs can be made in, thanks to them being blank slates so to speak, allows for lower costs than a very specific low-volume IC would be.
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1901
  • Country: ca
Re: Finding cheap ADC
« Reply #16 on: January 23, 2022, 07:20:44 am »
Use a padauk mcu, it's cheap and has internal ADC, something like PFS173-S08
« Last Edit: January 23, 2022, 07:22:23 am by ali_asadzadeh »
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8167
  • Country: fi
Re: Finding cheap ADC
« Reply #17 on: January 23, 2022, 07:37:51 am »
As a newbie in the subject it seemed counter-intuitive to me that it would happen, otherwise why bother making dedicated chips if the blunter tool could solve that and many other problems at once.

Dedicated "subparts" such as ADCs are always needed in large enough quantities justifying making them.

Still, more integrated "application solutions" are needed in even larger numbers, meaning two mechanisms for lower price: large volume, and more competition.

It's worth understanding that the silicon itself costs nothing. The price is mostly defined by 1) NRE costs dominating with very low volumes, 2) basic market equations regarding supply and demand dominating with medium to high volumes. Also remember that the distributors like Digikey do not use any constant markup mechanisms, supply and demand is also at play. When you need something and don't have many choices, higher profit can be asked. You are going to buy a few thousand max anyway; if you were making a large scale product, you would be buying those more integrated parts and price would be possibly #1 competition argument.
 
The following users thanked this post: nemesis_567

Offline nemesis_567Topic starter

  • Contributor
  • Posts: 16
  • Country: pt
Re: Finding cheap ADC
« Reply #18 on: January 23, 2022, 10:04:21 am »
Use a padauk mcu, it's cheap and has internal ADC, something like PFS173-S08

There's the added cost of the programmer + emulator, so it's no longer very appealing.
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1901
  • Country: ca
Re: Finding cheap ADC
« Reply #19 on: January 23, 2022, 02:57:30 pm »
Quote
There's the added cost of the programmer + emulator, so it's no longer very appealing.
There is a thread in EEVblog that makes an opensource and cheap Programmer based on STM32F072 part.
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 
The following users thanked this post: nemesis_567


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf