Very new to arduino here. I am trying to set up an installation that uses both ultrasonic sensor and pulse sensor which then sends data to different touchdesigner projects from one pc. I was wondering if I should use two arduino boards or a 8:1 serial port expander since I'll be sending different codes to the arduino board?
You should be able to use one arduino to send data from two sensors to a computer.
Here's an example of using an arduino to do several things at the same time:
If you want to add more things, such as reading independent sensors and printing data to the serial port, you would add additional functions for each independent sensor, something like the readButton() function.