{"product_id":"original-usb-to-i2c-spi-uart-serial-converter-adapter-multifunction-usb-iss-module-for-devantech","title":"Original USB to I2C SPI UART Serial Converter Adapter Multifunction USB-ISS Module for Devantech","description":"\u003cdiv\u003e\u003cb style=\"background-color: rgb(255, 255, 0);\"\u003eProduct Description:\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003eThe USB-ISS Multifunction USB Communications Module provides a complete interface between a PC and I2C, SPI, and Serial buses, as well as general-purpose analogue inputs and digital I\/O. Powered directly via USB, the module supports selectable operating voltages of 3.3V or 5V and can supply up to 80mA at 5V to external circuitry when connected to a standard 100mA USB port.\u003cbr\u003e\u003cbr\u003e\u003cb style=\"background-color: rgb(255, 255, 0);\"\u003ePin Descriptions:\u003c\/b\u003e\n\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-01.jpg\" style=\"width: 884px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\n\u003cb style=\"background-color: rgb(255, 255, 0);\"\u003eMore Information:\u003c\/b\u003e\u003cbr\u003e\u003cb\u003eI2C Mode\u003c\/b\u003e\n\u003c\/div\u003e\u003cdiv\u003e* The USB-ISS always operates as an I2C bus master. I2C mode provides a range of commands for accessing I2C devices with 0, 1, or 2 internal address bytes, as well as for creating your own custom I2C sequences. These commands include:\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-02.jpg\" style=\"width: 858px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* The USB-ISS module handles all I2C bus requirements, including start, restart, and stop conditions, as well as acknowledgement cycles. You only need to provide a sequence of bytes to instruct the module what to do.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eWriting a Single Byte to an I2C Device Without Internal Addressable Registers\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* These devices include components such as the PCF8574 I\/O expander for Philips. After sending the I2C_SGL command, you send the device's I2C address followed by the data byte.\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-03.jpg\" style=\"width: 718px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* This 3-byte sequence sets all bits of the PCF8574 I\/O expander chip to LOW. All three bytes must be sent to the USB-ISS in a continuous sequence. Any delay between bytes will cause the USB-ISS to restart its internal command synchronization cycle and ignore the message. Once all bytes have been received, the USB-ISS performs an I2C write operation to the PCF8574 and sends one byte back to the PC. If the write command fails, the returned byte will be 0x00 (zero); if the write is successful, a non-zero value will be returned. The PC should wait for this response byte before proceeding with the next transaction, with a timeout of 500ms.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eReading a Single Byte from an I2C Device Without Internal Addressable Registers\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* This operation is similar to writing, except that you must add 1 to the device address to make it an odd number. For example, to read from a PCF8574 at address 0x40, you would use 0x41 as the address. (When the address is transmitted on the I2C bus, setting the least significant bit to 1 indicates a read operation.)\u003c\/div\u003e\u003cdiv\u003e* The following is an example of reading inputs from a PCF8574 I\/O expander:\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-04.jpg\" style=\"width: 371px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* The USB-ISS module performs an I2C read operation on the I2C bus and sends a single byte (the PCF8574 input data) back to the PC. The PC should wait for the returned byte before proceeding with the next transaction, with a timeout of 500ms.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eWriting Multiple Bytes to a Device Without Internal Address Registers\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* Very few actual devices operate this way, if any, but some users have programmed their uControllers to work in this manner. The following example shows how to send four bytes to a device at I2C address 0x30.\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-05.jpg\" style=\"width: 792px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* Once all bytes have been received, the USB-ISS performs an I2C write operation on the I2C bus and sends one byte back to the PC. If the write command fails, the returned byte will be 0x00 (zero); if the write is successful, a non-zero value will be returned. The PC should wait for this response byte before proceeding with the next transaction, with a timeout of 500ms.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eReading Multiple Bytes from an I2C Device Without Setting a New Address\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* This command is used with devices that do not have internal register addresses but return multiple bytes of data. The ASDX DO Series pressure sensor for Honeywell is an example of such a device. This command can also be used with devices that have an internal address that automatically increments between read operations and does not need to be set each time, such as EEPROMs. In this case, use the I2C_AD1 or I2C_AD2 command for the first read, followed by the I2C_AD0 command for subsequent reads.\u003c\/div\u003e\u003cdiv\u003e* The following example shows how to read two bytes of pressure data from an original sensor for Honeywell.\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-06.jpg\" style=\"width: 562px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* The USB-ISS performs an I2C read operation on the I2C bus and, in the case of the ASDX sensor, sends two bytes back to the PC, starting with the high byte. The PC should wait for both bytes to be returned before proceeding with the next transaction, with a timeout of 500ms.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eWriting to an I2C Device with a 1-Byte Internal Address Register\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* This applies to almost all I2C devices. After sending the I2C_AD1 command, send the device's I2C address, followed by the internal register address to be written to and the number of data bytes to be written. The maximum number of data bytes should not exceed 60 to prevent the USB-ISS internal buffer from overflowing.\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-07.jpg\" style=\"width: 860px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* This 5-byte sequence initiates the SRF08 at address 0xE0. All five bytes must be sent to the USB-ISS in a continuous sequence. Any delay between bytes will cause the USB-ISS to restart its internal command synchronization cycle and ignore the message. Once all bytes have been received, the USB-ISS performs an I2C write operation to the SRF08 and sends one byte back to the PC. If the write command fails, the returned byte will be 0x00 (zero); if the write is successful, a non-zero value will be returned. The PC should wait for this response byte before proceeding with the next transaction, with a timeout of 500ms.\u003c\/div\u003e\u003cdiv\u003e* Here is another write example, this time using an 8-byte sequence to initialize the MD22 motor driver:\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-08.jpg\" style=\"width: 867px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* If the write operation is successful, the USB-ISS will return a non-zero value; otherwise, it will return zero. A failure indicates that no acknowledgement was received from the I2C device.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eReading from an I2C Device with a 1-Byte Internal Address Register\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* This operation is similar to a write operation, except that you must add 1 to the device address to make it an odd number. For example, to read from an SRF08 at address 0xE0, use 0xE1 as the address. (When the address is transmitted on the I2C bus, a 1 in the least significant bit position indicates a read operation.) The maximum number of data bytes requested should not exceed 60 to prevent the USB-ISS internal buffer from overflowing. The following example shows how to read a two-byte bearing value from a CMPS03 compass module:\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-09.jpg\" style=\"width: 863px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* The USB-ISS performs an I2C read operation on the I2C bus and sends two bytes back to the PC, starting with the high byte. The PC should wait for both bytes to be returned before proceeding with the next transaction, with a timeout of 500ms.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eWriting to an I2C Device with a 2-Byte Internal Address Register\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* This is primarily used with EEPROMs ranging from the 24LC32 (4K x 8) to the 24LC1024 (2 x 64K x 8). After sending the I2C_AD2 command, send the device's I2C address, followed by the device's 2-byte internal register address (high byte first for EEPROMs), and then the number of data bytes to be written. The maximum number of data bytes should not exceed 59 to prevent the USB-ISS internal 64-byte buffer from overflowing.\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-10.jpg\" style=\"width: 1135px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* This 37-byte sequence writes the last 32 bytes to address 0x0000 in the EEPROM. All 37 bytes must be sent to the USB-ISS in a continuous sequence. Any delay between bytes will cause the USB-ISS to restart its internal command synchronization cycle and ignore the message. Once all bytes have been received, the USB-ISS performs an I2C write operation and sends one byte back to the PC. If the write command fails, the returned byte will be 0x00 (zero); if the write is successful, a non-zero value will be returned. The PC should wait for this response byte before proceeding with the next transaction, with a timeout of 500ms.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eReading from an I2C Device with a 2-Byte Internal Address Register\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* This operation is similar to a write operation, except that you must add 1 to the device address to make it an odd number. For example, to read from an EEPROM at address 0xA0, use 0xA1 as the address. (When the address is transmitted on the I2C bus, a 1 in the least significant bit position indicates a read operation.)\u003c\/div\u003e\u003cdiv\u003e* The maximum number of data bytes requested should not exceed 64 to prevent the USB-ISS internal buffer from overflowing. The following example shows how to read 64 (0x40) bytes from internal address 0x0000 of an EEPROM at I2C address 0xA0.\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-11.jpg\" style=\"width: 1130px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* The USB-ISS performs an I2C read operation on the I2C bus and sends 64 bytes back to the PC. The PC should wait for all 64 bytes to be returned before proceeding with the next transaction, with a timeout of 500ms.\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb\u003eI2C_DIRECT Command\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* The I2C_DIRECT command is used to create custom I2C sequences.\u003c\/div\u003e\u003cdiv\u003e* Send the I2C_DIRECT command (0x57), followed by as many sub-commands as required. These sub-commands are:\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-12.jpg\" style=\"width: 487px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e* The I2C_Read sub-command can read up to 16 bytes. 0x20 reads 1 byte, 0x21 reads 2 bytes, and 0x2F reads 16 bytes. All read bytes are buffered and sent back after all sub-commands have been processed.\u003c\/div\u003e\u003cdiv\u003e* The I2C_Write sub-command can write up to 16 bytes. 0x30 writes 1 byte, 0x35 writes 6 bytes, and 0x3F writes 16 bytes. The data bytes to be written must immediately follow the write sub-command. Make sure to provide the exact number of bytes specified by the sub-command.\u003c\/div\u003e\u003cdiv\u003e\n\u003cimg src=\"https:\/\/www.comseek.com\/image\/catalog\/106552\/106552-13.jpg\" style=\"width: 1005px;\"\u003e\u003cbr\u003e\n\u003c\/div\u003e\u003cdiv\u003e\u003cb style=\"background-color: rgb(255, 255, 0);\"\u003ePacking List:\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* 1 x USB-ISS Module\u003c\/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\u003cdiv\u003e\u003cb style=\"background-color: rgb(255, 255, 0);\"\u003ePackaging Details:\u003c\/b\u003e\u003c\/div\u003e\u003cdiv\u003e* Package weight: 0.25kg\u003c\/div\u003e","brand":"Thanksbuyer","offers":[{"title":"Default Title","offer_id":41680374825009,"sku":"106552","price":77.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0578\/4790\/6353\/files\/20261120173217_5ffcb20f.jpg?v=1795418345","url":"https:\/\/www.thanksbuyer.com\/fr\/products\/original-usb-to-i2c-spi-uart-serial-converter-adapter-multifunction-usb-iss-module-for-devantech","provider":"Thanksbuyer Online,SDR Radio, Testers and Measurement devices, Astronomy products,  Audio Amplifer and Decoders","version":"1.0","type":"link"}