logo elektroda
logo elektroda
X
logo elektroda

8-port ADC / DAC / GPIO for Raspberry Pi Zero

Anonymous 

Hello colleagues.

For one projector I needed several ADC and DAC channels but unfortunately I didn't find any hat that would combine it, so I decided to make my own.

I used AD5592
The first approach was like this:

then soldered on the prototype board:

In my makerspace some people got interested in it, so I decided to make a plate:


This DIP chip is simply an optional quad op amp in a voltage follower configuration for four of the eight ports.
I also added (more as a marketing gimmick) a field for prototyping.

And release http://kck.st/2kCToFY on Kickstarter as such a tiny product, without even believing in success. But in 3 days, I was able to do 100%.

I wrote libraries for Python - in several versions:
- as pure Python
- library in C to Python with or without SPI driver module.

and for C in the configuration as above.
This is what it looks like from the code side (the notes in red have a marketing purpose, of course):


Just for fun, you can turn on the 5V system power supply (risking theoretically burning the raspberry), but at least it worked for me - giving me the option to measure and DAC up to 5V. But rather, I'll break it out of the plate for customers just in case.

A small self-test video below. I connected the pins like this:


And this was the result (please rewind to the end of the movie about 33 seconds, because it's an advertising film).
[movie: 923b68b38a] https://filmy.elektroda.pl/16_1487605526.mp4 [/ movie: 923b68b38a]

About Author
Anonymous wrote 16757054 posts with rating 39339 , helped 356 times. Been with us since 1978 year.

Comments

Zigus 20 Feb 2017 21:36

Great project ;) If you want to do something faster, I recommend it: https://digibird1.wordpress.com/raspberry-pi-as-an-oscilloscope-10-msps/ [Read more]

Anonymous 20 Feb 2017 21:39

I have already done. My next IO card for RPi, you can do these things between yawns. And this one was created for something completely different :) [Read more]

podly 21 Feb 2017 09:31

Cool, I like it very much :) There is a typo on the kickstarter website: [...] almost any embedded device Tou can: control engines read potentiometers [...] [Read more]

Anonymous 21 Feb 2017 09:43

Thanks - I'll correct. [Read more]

oshii 21 Feb 2017 10:13

@ Piotrus_999 just out of curiosity, what will the implementation look like in practice? You order the tiles yourself and then you play with sending it around the world, or do you outsource the production... [Read more]

Anonymous 21 Feb 2017 10:25

Normal as any activity. You are subject to the laws of the country in which you conduct business. [Read more]

oshii 21 Feb 2017 10:33

Yeah, but theoretically you get money from donors , These are not paid orders per se . So there is zero VAT (because there is nothing to add it to)? The fundraiser is a normal income like any other?... [Read more]

Anonymous 21 Feb 2017 10:35

Theoretically there are - hint: kickstarter fulfillment center - but it pays off with larger quantities. I don't know about the rules in Poland [Read more]

krisRaba 02 Mar 2017 16:16

Apart from the bad temperature formula in DS, did you have any problems or surprises with the AD5592? [Read more]

Anonymous 02 Mar 2017 16:20

no [Read more]

Olivka7 12 Mar 2017 14:15

Everything's cool, but why only greet your friends? ;-) [Read more]

Anonymous 12 Mar 2017 14:59

And of course my girlfriends too :) - Or rather, Girlfriends first of all http://obrazki.elektroda.pl/8027094100_1489327180_thumb.jpg [Read more]

%}