Arduino to cc3d

im trying to connect an arduino to a cc3d flight controller so that i can send commands to the flight controller. i want to add some ultrasonic sensors to my arduino and use it for an obstacle avoidance system.

as i understand it, i can use pwm or ppm to do this however was hoping someone was able to give me more advice, examples or reading to help me with this?