This is probably my favourite tourist attraction in Edinburgh. It has several different floors with lots of interactive exhibits. The tour starts at the top floor with the actual camera obscura exhibit which is fun and then you can go out on the rooftop before exploring the other floors. Try googling this, you can sometimes find discount codes.