Google Books has scanned the 507 Mechanical Movements book, although their search engine is terrible at finding things like that on their own site; one copy is available from http://www.pdnotebook.com/wp-content/themes/thesis_16/custom.... The other, longer book is harder to find via HTTP, although Libgen has a scan of the 2007 reprint. Timothy Schmidt scanned the original 1899 edition in 2008 and uploaded it to The Pirate Bay, which seems to not have it now: http://builders.reprap.org/2008/12/1800-mechanical-movements....
US patents are also a wonderful source of public-domain diagrams of machinery, and they are generally better explained (especially before about the 1980s, at which point their writing quality took a nosedive and they descended into nearly-unreadable jargon) but I'm not aware of an easily downloadable repository of scanned patents.
http://www.pdfarchive.info/pdf/H/Hi/Hiscox_Gardner_Dexter_-_...
"507 Mechanical Movements: Mechanisms and Devices" by Henry T. Brown, from 1868: http://www.amazon.com/507-Mechanical-Movements-Mechanisms-De...
"1800 Mechanical Movements, Devices and Appliances" by Gardner D. Hiscox, first published in 1899. This is the 16th edition from 1921: http://www.amazon.com/Mechanical-Movements-Devices-Appliance...
There is also a website that has all the illustrations and text from the Brown book, and has added animated versions of many of them: http://507movements.com/about.html