Forum: FPGA, VHDL & Verilog DE0-Nano G-forces

Author: sindre an (sindredit)
Posted on:

Rate this post
0 useful
not useful
Can anyone help to read x,y and z possition of the DE0-Nano card?

I found these:

-- Accelerometer and EEPROM
I2C_SCLK     : out STD_LOGIC;
I2C_SDAT     : buffer STD_LOGIC

Author: PittyJ (Guest)
Posted on:

Rate this post
0 useful
not useful
You should get the datasheet of the G-sensor. The type should be 
documented in the handbook of the board. On the datasheet often is 
described, what register have to be set and read to get the G-values.

If you evaluated this, simply write a I2C communication to the chip and 
read the registers. There are a lot of cores on opencores.org, which you 
can use as example.

Hope this helps.


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.