question:
Would it be possible and feasible for a beginner to use Verilog HDL and an Altera DE2 board to read input from a weight sensor's HX711 ADC (see below), and if so:- What kind of data am I reading?
- Where/how do I connect it?
链接已复制
2 回复数
Hello Lingyueqing,
The fastest and simplest way to go is use VHDL. If you know Verilog, VHDL is just a matter of syntax. If you want to go the processor way, then you will have to learn how to implement a soft processor on your board and on top of this ARM assembly language. What your chances are depends on your experience and drive. Best regards, Johi.I would think you could completely skip using the Arduino and connect the HX711 directly to your DE2 board via the latter GPIO pins, making
sure that the DE2 and HX711 are using the same voltage level. Then program the Verilog in the Cyclone FPGA to calibrate and read the HX711, perform the needed computations in Verilog, and display the output on the 7 segment display of the DE2. The datasheet for the HX711 shows that it is a simple GPIO serial interface. You would need one or more load cells, in addition to the HX711, to make a complete system. I would ask somebody locally to help you out, like a graduate teaching assistant, a fellow student, or a professor. Most graduate students are happy to help other students.