Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| pmod:pmodisns20:reference-manual [2022/09/13 17:39] – changed forum.digilentinc.com to forum.digilent.com jeff.greenberg_ni.com | pmod:pmodisns20:reference-manual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Pmod ISNS20 Reference Manual ====== | ||
| + | <WRAP round info 650px> | ||
| + | ===Note=== | ||
| + | The Pmod ISNS20 is retired and no longer available for purchase in our store. | ||
| + | </ | ||
| + | |||
| + | The Digilent Pmod ISNS20 (Revision A) is a small current sense module with a digital SPI interface. The board combines an Allegro ACS722 Hall Effect current sensor with a 12-bit analog-to-digital converter from Texas Instruments. The Pmod ISNS20 is quick, accurate, and easy to use for a variety of applications. | ||
| + | |||
| + | {{Digilent Image Gallery | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | }} | ||
| + | |||
| + | == Download This Reference Manual == | ||
| + | * {{: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Features ===== | ||
| + | * High accuracy current sensor | ||
| + | * Measure current with 120Hz/ | ||
| + | * ±20A DC or AC input | ||
| + | * Accurate to within ±2% | ||
| + | * 12-bit ADC | ||
| + | * 6-pin Pmod port with SPI interface | ||
| + | * Follows Digilent Pmod Interface Specification Type 2 | ||
| + | |||
| + | ---- | ||
| + | =====Functional Description ===== | ||
| + | The Pmod ISNS20 is designed to send current data over [[: | ||
| + | |||
| + | ---- | ||
| + | ===== Interfacing with the Pmod===== | ||
| + | The Pmod ISNS20 communicates with the host board via the SPI protocol. The 12 bits of digital data are sent to the system board in 16 clock cycles with the most significant bit first. For the ADC7476, each bit is shifted out on each falling edge of the serial clock line after the chip select line is brought low with the first four bits as leading zeroes and the remaining 12 bits representing the 12 bits of data. The datasheet for the ADC7476 recommends that for faster microcontrollers or DSPs, the serial clock line is first brought to a high state before being brought low after the fall of the chip select line to ensure that the first bit is valid. | ||
| + | |||
| + | |||
| + | {{ : | ||
| + | ==== Pinout Description Table ==== | ||
| + | ^ Header J1 ||| | ||
| + | ^ Pin ^ Signal | ||
| + | | 1 | CS | Chip Select | ||
| + | | 2 | (NC) | Not Connected | ||
| + | | 3 | MISO | Master-In-Slave-Out | ||
| + | | 4 | CLK | ||
| + | | 5 | GND | ||
| + | | 6 | VCC | ||
| + | |||
| + | The Pmod ISNS20 uses three wires to communicate with the host board. | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | The scaling value at the beginning of the equation was derived using the provided sensitivity of 66mV/A off of the ACS722 data sheet. Note that the provided sensitivity is based on a reference voltage of 3.3V to the sensor and our design provides a regulated 3.0V for a cleaner signal, so some more correction may be needed if absolute accuracy is needed. See the provided [[pmod: | ||
| + | |||
| + | Table 2 below shows how to configure the sampling rate frequency. The current sensing chip allows either 20khz or 80khz sampling rate which is configured with Jumper 2. Enabling Jumper 1 turns on an analog filter to bring it down to 120Hz. The lower frequency is useful to keep noise down on <120Hz AC circuit applications, | ||
| + | |||
| + | ^ Sample rate frequency configuration | ||
| + | ^ Rate ^ JP1 ^ JP2 | | ||
| + | | 120 Hz | Enabled | ||
| + | | 120 Hz | Enabled | ||
| + | | 20 kHz | Disabled | ||
| + | | 80 kHz | Disabled | ||
| + | |||
| + | In order to read the amperage flowing through the ISNS20, the power source will need to be wired in series through the green terminal block, noting proper polarity indicated by the silkscreen on the PCB. An example of this is seen below. When using the ISNS20 for measuring Alternating Current (such as from mains), absolute care should be taken. Improper use of the ISNS20 on mains power can result in fire, injury, and even death – extreme caution should be taken. | ||
| + | |||
| + | Any external power applied to the %%Pmod ISNS20%% must be within 3.0V and 3.6V; however, it is recommended that Pmod is operated at 3.3V. | ||
| + | |||
| + | ---- | ||
| + | ===== Physical Dimensions ===== | ||
| + | The pins on the pin header are spaced 100 mil apart. The PCB is 1.3 inches long on the sides parallel to the pins on the pin header and 0.8 inches long on the sides perpendicular to the pin header. | ||
| + | |||
| + | ---- | ||
| + | ===== Additional Information ===== | ||
| + | The schematics of the %%Pmod ISNS20%% are available {{reference: | ||
| + | |||
| + | Example code demonstrating how to get information from the %%Pmod ISNS20%% can be found [[pmod: | ||
| + | |||
| + | If you have any questions or comments about the %%Pmod ISNS20%%, feel free to post them under the appropriate section (" | ||

