03-08-2022 01:37 PM
Dear all,
I would like to use the power sensor INA219 to measure the heating power. So far as I know, the sensor data can be easily obtained by using an Arduino. Can I also direct sample and read the sensor data via NI USB-6210 without Arduino?
many thanks for taking your time reading.
Best wishes,
Lee
Solved! Go to Solution.
03-08-2022 09:34 PM
Of course, yes, instead of wiring the Signal to Analog pins of Arduino, you would wire them to the Analog Inputs of 6210.
03-09-2022 11:11 AM
Judging from the fritzing diagram you uploaded your INA219 uses I2C for communication. The USB-6210 is not well suited for this protocol. NI suggests you use one of their FPGA's or a USB-8451 for this task.
03-09-2022 12:40 PM - edited 03-09-2022 12:52 PM
@GovBob wrote:
Judging from the fritzing diagram you uploaded your INA219 uses I2C for communication. The USB-6210 is not well suited for this protocol. NI suggests you use one of their FPGA's or a USB-8451 for this task.
Oh pish and tosh!
WTFAYT?
Ridiculous (Unless you REALLY are competing in a Rube-Goldburg competition!)
Just wire a 1 ohm shunt resistor in place of the INA219 and use the 6210 to measure a differential Voltage across the shunt. Save yourself a bunch of money! Then use Ohms Law to calculate the load (I = E / R) Amps equals Volts divided by one.
03-09-2022 01:05 PM
I will take back my comment, no it is not straightforward, I overlooked the sensor being an I2C and just judged it to be analog output.
03-09-2022 01:18 PM
@santo_13 wrote:
I will take back my comment, no it is not straightforward, I overlooked the sensor being an I2C and just judged it to be analog output.
If you really have to use the INA219 don't even bother powering it and just read across the analog input
03-11-2022 09:19 AM
As I have already bought this 6210, my 6210 will measure data from other sensors. For the power sensor, I also bought an Arduino board to obtain the data. My question is if it's okay for my laptop use both Arduino board and the USB 6210 at the same time for obtaining the sensor data. As my laptop has only one available USB port, can I just order a USB splitter?
03-11-2022 09:59 AM
@TUDarmstadtLLX wrote:
As I have already bought this 6210, my 6210 will measure data from other sensors. For the power sensor, I also bought an Arduino board to obtain the data. My question is if it's okay for my laptop use both Arduino board and the USB 6210 at the same time for obtaining the sensor data. As my laptop has only one available USB port, can I just order a USB splitter?
USB expansion is very easy. Several manufacturers provide expansion HUBs and are readily available everywhere.