Wanna see something cool

Thread Starter

joeyd999

Joined Jun 6, 2011
5,034
Same sensor. 0dbm is the DC level.

First graph is TI ADS1242 24 bit delta-sigma:

Selection_052.png

The second is using the built-in 12 bit SAR A/D of the PIC18F65K90:

Selection_053.png
 

Thread Starter

joeyd999

Joined Jun 6, 2011
5,034
Don't look like it you could probably make the pic18F65K90 even look better
One can always make these things better by trading fast response time for lower noise. In this case, I made all things equal except the hardware. I was expecting seriously degraded performance by dropping from 24 to 12 bits. It doesn't happen often, but I was wrong.
 

be80be

Joined Jul 5, 2008
2,072
I would think the PIC would save even more tho in cost by less needed parts.

I was just thinking today I looked at some older PIC's with 8 bit adc I was think man I had some give a good output over sampling.

But I played with a old adc 8 bit chip I2C and it took 10 or so parts to get it up to par where it should be.

The 24 bit sounds good but with your post it really looks like a the pic could be a winner.
 

be80be

Joined Jul 5, 2008
2,072
I a side note have you tried out any of the DAC on a pic the sample code for the 5 bit outputs a good sine wave.
I was hoping to find a maybe 10 bit on one.

DSP yell guess that's why I thought it was cool too been reading up on that I want make a DSP signal generator
 

Thread Starter

joeyd999

Joined Jun 6, 2011
5,034
I a side note have you tried out any of the DAC on a pic the sample code for the 5 bit outputs a good sine wave.
I was hoping to find a maybe 10 bit on one.
Are you speaking Kentuckian? I'm having a hard time understanding you.
 

Thread Starter

joeyd999

Joined Jun 6, 2011
5,034
Yell got get that out of me lol

Have you ran into 10 bit DAC on a PIC chip 16f or 18f chip.
I don't do much analog out. I have a project that I am working that will use an Analog Devices AD5683. I needed 16 bits, so a PIC D/A wasn't an option.
 

jpanhalt

Joined Jan 18, 2008
11,087
Re: Post #9

Like some others (?) I am not sure I understand. I have have used the 5-bit DAC on a 12F1840 and got results acceptable to me creating some waveforms. Here's a burst of four "exponential decay" at about 500 kHz:
upload_2018-4-19_16-4-42.png

Probably a lot of artifact in that receiver.
 
Last edited:

BR-549

Joined Sep 22, 2013
4,928
I am not a DSPer..... joey.......is your point that you achieved close to the same resolution with the 12 bit pic, of that of the 24 bit delta?

It sure looks close to me.....but I,m not a DSPer.
 

Thread Starter

joeyd999

Joined Jun 6, 2011
5,034
It's funny: this isn't all that hard to do. But it can't be done in C (at least not without a much more capable MCU), which is why many don't.
 
Top