Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
1130 Discussions

How to convert an Analog voltage to Digital and display it to 10 LED using DE10-lite

fmala
Beginner
507 Views

Hi,

I need help on how to convert an analog output voltage of a potentiometer to digital then display the digital value, per bit, to LED red (LEDR = DigitalVal[11:2]). I know how to code and how to display to LEDR but what I want to know is how to convert the Analog to Digital. I need the digital value. Could you please guide me on how to setup?

There is already a question on how to setup the DE10-lite for ADC but it didn't help.

0 Kudos
3 Replies
YuanLi_S_Intel
Employee
412 Views

Hi Francis,

 

You will need an IP which converts analog input to digital for internal logic usage.

 

FOr MAX 10, i would suggest you to use MAX 10 ANalog to digital converter.

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/max-10/ug_m10_adc.pdf

 

Please refer the user guide above for the usage of this IP.

 

Thank You.

fmala
Beginner
412 Views

Hi SooY_Intel,

 

Thank you for the reply. To be honest, I have difficulty understanding all the information on your provided link. Is there any sample tutorial that shows a step-by-step procedure on how to setup/program the FPGA DE10-lite for ADC application like rotating a potentiometer and outputs its equivalent voltage on 7-segment? Can't find any. Just wanted to used it to my class, but it lacks resources.

 

Thank you.

YuanLi_S_Intel
Employee
412 Views

Hi Francis,

 

We do have sample design in our design store. Perhaps you can take a look. It might help you.

https://fpgacloud.intel.com/devstore/platform/15.1.0/Standard/gpio-qspi-flash-uart-adc-leds-switches-design-example/

 

Design Store example with ADC:

https://fpgacloud.intel.com/devstore/?page=2&search=adc

 

Thank You

Reply