ADC as DAC

Thread Starter

Kitt.Rainbolt

Joined Jan 16, 2026
36
Here's what I'm getting from everything I've read:
- Filtered PWM is the best version of all the contraptions I'm imagining
- There are some DAC ICs that I should check out

(Also, yes - I'm fine with serial or parallel DAC input)

I do want to use through hole components because I'm trying to create a product that is easy to repair. I'm sticking with mainly CMOS logic. I am open to surface mount components with decently large pin pitch.

Now I'm interested in high frequency PWM via a dedicated chip with it's own oscillator so as not to overburden my microprocessor. Maybe something with a serial input and latch. What kind of part is this? A class D amp?
 

Ian0

Joined Aug 7, 2020
13,158
I find 1.27mm pitch surface mount much easier to repair than through hole, especially plated through holes. Far too difficult to desolder compared to heating it with hot air and lifting it off.
0.635mm pitch is about on a par.
0.5mm pitch and I would prefer struggling with getting pins out of throughplated holes
 

Thread Starter

Kitt.Rainbolt

Joined Jan 16, 2026
36
I find 1.27mm pitch surface mount much easier to repair than through hole, especially plated through holes. Far too difficult to desolder compared to heating it with hot air and lifting it off.
0.635mm pitch is about on a par.
0.5mm pitch and I would prefer struggling with getting pins out of throughplated holes
This is really good to know - but I plan to use IC sockets.
 

Thread Starter

Kitt.Rainbolt

Joined Jan 16, 2026
36
i like that, it would need to be EP variant such as PC33EP32GP502ISP and it is very nicely priced.
What's your goto marketplace for finding dsPics? I looked that one up by model number and I'm not seeing the DAC on the datasheet but now I really want to find one. A microcontroller like that would be 100% ideal for my use case.
 

panic mode

Joined Oct 10, 2011
5,056
i checked Mouser.ca since I am in Canada. it is one of major electronics distributors i commonly use (along with DigiKey, Newark, Futurlec etc.).
for searching across multiple suppliers (check stock, compare prices) i use crawler Octopart.com but this is not the only one.
you can ask google or whatever search engine you use to list alternatives (https://www.findchips.com/ etc)
there are more in the other parts of world like https://www.unikeyic.com/


1772044098308.png
 
Last edited:

Thread Starter

Kitt.Rainbolt

Joined Jan 16, 2026
36
That’s the one.

The next question is where is the data coming from?
Well, it's a Eurorack format control voltage sequencer for audio synthesis use. It will have 8 rotary encoders (quadrature) and a series of momentary switches connected via interrupt-capable IO expanders. It will also have a TFT screen that has a built-in SD card slot for storage.

In short, from dsPIC's RAM. It will likely be floats but I will end up optimizing it for the architecture of the dsPIC, so it could be integers. There will be some basic signal processing applied to the values.

Edit: The DAC need to output sharp transitions but the actual sampling rate can be variable.
 

Thread Starter

Kitt.Rainbolt

Joined Jan 16, 2026
36
What's everyone using for PIC programming? Is there a place I can go to find compatibility with various PIC ICs? I assume I'll be using MPLAB. I'm a hobbyist C++ programmer so I think I'll be fine on the software side.

Just wanted to say again - this community has been so freakin helpful. Thank you!
 

panic mode

Joined Oct 10, 2011
5,056
to qualify for sample programs one usually must register using "official" email like school or work - not the web mails like Gmail, hotmail, Yahoo mail.
 

BobTPH

Joined Jun 5, 2013
11,567
What's everyone using for PIC programming? Is there a place I can go to find compatibility with various PIC ICs? I assume I'll be using MPLAB. I'm a hobbyist C++ programmer so I think I'll be fine on the software side.

Just wanted to say again - this community has been so freakin helpful. Thank you!
MPLAB the free version of their C compiler.
 
Top