Here is a simple bracket I designed to mount an old Iphone 4S on the end of my Ultimaker Original machine in order to make use of the time lapse feature added with IOS 8. Designed to hold an Iphone 4S however could be used with devices that do not exceed a depth of 10mm. There are two holes which are given in order to secure the bracket using a size #6-32 machine screw however I found that it is not entirely necessary.
*Important note, you'll find that you need to lock the auto-focus on the iphone, do this prior to hitting the shutter button, press and hold in the center of the screen until you see a yellow box appear and the letters AE/AF at the top of the screen, this indicates the autofocus is locked.
Print two of these brackets and secure to either the front or right side of an ultimaker original machine at the top of the machine where there is a slight amount of laser cut wooden material above the top plate. Slide the iPhone 4s between the two and adjust your camera viewing location for the print.