필터 지우기
필터 지우기

Reading INA 219 sensor through Arduino

조회 수: 3 (최근 30일)
Vasco Sampaio
Vasco Sampaio 2018년 2월 22일
편집: Gongyan Du 2020년 5월 18일
Hey guys,
I'm trying to read data from my INA 219 current sensor, through ARDUINO UNO.77 I'm new to I2C communication so I'm getting hard time getting significant data out of it. I guess my issue is with the sensor itself and not so much the programming part. Anybody with experience in INA219 who can give me an hint of what I should do. Maybe there's a couple of configurations I'm skipping. Thanks in advance!
  댓글 수: 2
Marcin Kozusznik
Marcin Kozusznik 2019년 7월 1일
You need to send and receive 'uint16' not uint8. INA has 16 bit communication interface.
Gongyan Du
Gongyan Du 2020년 5월 18일
편집: Gongyan Du 2020년 5월 18일
@Marcin Kozusnik, @Vasco Sampaio:
I make such a result according to your program code.
40761 65535
40761 65535
40761 65535
40761 65535
40761 65535
40761 65535
40761 65535
I would like to ask how to display the current value
Thanks you!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by