EmbDev.net

Forum: FPGA, VHDL & Verilog VHDL Code For Alcohol Meter


Author: vlkntkl (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello guys,
I will make an alcohol meter for my term project but i am confused for 
the VHDL code. As it should be, I will use an adc0804 then i will 
connect it to my BASYS2 FPGA Board. As far as i know, ADC gives me some 
binary digits and i need to display it on my fpga board(there is a 4 bit 
screen). How can i do it by VHDL?

Author: Chris2k (Guest)
Posted on:

Rate this post
0 useful
not useful
I'm afraid there is nobody here that wants to do your work on your term 
project. I would suggest you get to know the basics of VHDL and ask some 
specific questions regarding problems that you run into.

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Lets try it that way:
> As far as i know, ADC gives me some binary digits
In which format? How fast? How do you get the result?

> and i need to display it on my fpga board
What display?

The whole is in deed a simple task (it will take me roughly 2 hours), 
but i am (maybe no one is) intended to do your homework.
So, do a little research on your own. When you know for sure how your 
system looks, then start with the top level of your design (ports to the 
ADC and the display and the clock and some switches...). Then add a 
component that reads data from the ADC, and one that displays numbers on 
your board.

And when you find problem during that kind of work, then you write 
exactly which one and what you assume as a solution. Then, maybe, 
someone will help you...

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.