Is there a spare I/O feature on your 3D printer driver board that could be triggered with GCode?To be honest I don't see any value in having a huge number of images on a PC (one for each layer). If the print has not been done properly there is nothing you can do about it - other than throw the part in the trash. If the images could be analyzed by some PC software immediately after they are taken then it would be possible to abort a faulty print saving both time and plastic.If the purpose is to validate the quality of a part I suspect some other form of non-destructive testing would make more sense....R
I recommend buy an usb camera with enthernet expansion boarx for arduino also may also need to buy laser with laser sensor to detect the layer when it started and to the end point so it will trigger the camera to take a picture, also if you want to be unique you may also consider to buy two stepper motor or any 12v dc motor and buy a rubber track and make it 0-180 degree with a clip to put the camera so it will capture your layers in a 3d printer. Here is the picture looks like for the camera https://bit.ly/2Jhu8q9 and stepper motor https://bit.ly/2kTjs2f and use Arduino Yun instead of arduino and here is the pic https://bit.ly/2Jkorrx
Which program are you going to use on the PC which will detect defects in each layer?How small a defect will the program be able to detect?That will determine the type of camera you need.Pete
I don't have the schematics.
I still don't have an idea which program to use
The schematics for the RAMPS 1.4 board is readily available on the web.You need to make a list of everything that is connected to the RAMPS board and which connector it is connected to and also a list of the connectors that are not used....R
Is there such a program at all?Pete