how to get an anakog input


robert

Recommended Posts

The Spartan FPGAs have no A/D converters built in so there in no easy way to sample an analog voltage directly. There are hacks where you could use a couple of pins and some external logic to make an A/D but frankly your best bet is to buy an A/D converter. I suggest you look at http://digilentinc.com in their PMOD section and buy something suitable. I have personally purchased a PmodAD2 which is a serial (SPI) A/D based on a AD7991 chip with four analog inputs and I would recommend that.

 

Also I should say that since the Papilio can't accept PMODs directly you need some accessories such as these to hook up PMODs to the board.

TILE_2PinMTE_150.jpg  TILE_6PinMTE_150.jpg and TILE_1x6header_150.jpg

Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.