For sometime now I hear Honk saying that analog sensors are better, they can be sampled faster and some others argument,
There is a couple of new member here that are Hardware wise guy, Martyn and mindThomas, and there was an interesting conversation going on the IRC. So, I find it interesting and would like to start a thread about it to see people argue to have a better idea by the end.
[18:08] <mindThomas> Martyn: What would you prefer to use, Digital or Analog sensors?
[18:42] <Martyn> I prefer digital sensors
[18:42] <Martyn> analog sensors are really terribly subject to noise
[18:42] <Martyn> digital sensors can be places at the FAR periphery of a board, using i2c or SPI
[18:42] <Kenny9999> AHHHHHH
[18:42] <Martyn> or even placed -off- board, which is key
[18:42] <Martyn> Plus, analog sensors are subject to A/D conversion noise and errors
[18:43] <Martyn> So people keep telling me. I'll make an account on AQ forums then
[18:43] <Martyn> also, the faster the processor, the more important it is to use digital vs/ D/A
[18:43] <Kenny9999> Ah nice, continue, I like it...
[18:43] <@kha> Martyn: not true...
[18:44] <Martyn> because you can buy digital sensors of ALL kinds of resolutions, and using I2C or SPI means you can have -arbitrary- precision on your sensor
[18:44] <Martyn> but on analog, you're stuck with whatever the hell D/A converter the manufacturer decided to give you, plus you're limited in the number of sensor channels
[18:44] <Martyn> one SPI bus beats the hell out of 8 A/D channels
[18:44] <Martyn> kha : I'd like to see your reasoning on this one
[18:44] <@kha> Martyn: a digital sensor just has the A/D converter in it
[18:45] <Martyn> kha : Yes, and it's a DIFFERENT a/d converter per device. You're not limited by number -or- precision.
[18:45] <@kha> and in many cases it's a far more limited A/ converter than you can have externally
[18:46] <Martyn> kha : For example, I have a photomultiplier with IR sensitivity and full 16 bit A/D, capable of taking 20k samples/sec
[18:46] <@kha> Martyn: read the data sheets... and check some quality A/D:s out there
[18:46] <Kenny9999> some argument already!
[18:47] <Martyn> kha : But I also have a sonar sensor array that can return anything from 10bit to 16bit depending on how it's programmed
[18:47] <Martyn> kha : I'm sorry, but there is no way in hell having one particular A/D converter on-chip is going to beat the flexibility of what I can buy in the market with SPI/I2C
[18:55] <@kha> Martyn: who said a on chip A/D (they are crap)[18:55] <@kha> (most of the time)
So, what you thing is the best, with my monkey brain, I vote for digital sensors!!!