Hey!
I've been looking to do the same thing! How did you go in your research?
I've found a video about using an Arduino to create the PPM for communicating with a flight controller. There is a link to sketches that contain the code you are looking for in the description of the video.