This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PGA460-Q1: PGA460 Communication

Part Number: PGA460-Q1
Other Parts Discussed in Thread: PGA460

I an using UART communication with PGA460 using Arduino, and I want the ultrasonic measurement result to be transferred to another microcontroller. So can I use UART and two-wire communication simultaneously in PGA460?

  • Hi Chethan,

    Please correct me if I am wrong, but my understanding of your hardware configuration is that the Arduino's UART and TWI-I2C ports share the same pins, and you are asking if TW-I2CI communication will impact or interfere with the PGA460. If my understanding is correct, then you can use this implementation because the PGA460 will always ignore the TWI-I2C read/write commands, and only respond to the UART commands packaged in the PGA460 compatible format.

    I assume you are using the same Arduino pins for both the PGA460 and external MCU, and are switching the pin configuration between UART and TWI-TCI to switch between the PGA460 and the additional micro controller. This will work as long as the logic levels for all devices are the same (either 3.3 or 5V).

    You can even have multiple UART devices with multiple PGA460 devices share the same UART bus from the Arduino; the PGA460 only acknowledges and responds to PGA460 specific commands.