Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI2C Sensor reading only zero
PS remove slashes from https in links to access, forum wont let me post them
Hello all, I'm working on a project using the DE2 board. I made my system in SOPC builder using the OpenCores I2C-Mster core. The one with wishbone connections etc. I have the SCL and SDA connected to GPIO pins in which I am connected to a SENSIRION SHT21 sensor. (h/ttp://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/Humidity/Sensirion_Humidity_SHT21_Datasheet_V3.pdf) As I run my program, when I check for the retrieved data, the memory location only has 0's. Is there possibly something I am missing? See screenshots of SOPC and my program below. Any help would be amazing PS remove slashes from https in links to access, forum wont let me post themNo RepliesBe the first to reply