I am Mickaël and I am trying to build a DIY 3D Scanner: DIY 3D Scanner (Arduino, 3D Printing, PCB Design, Stepper Motors, IR Sensing) - Super Make Something - YouTube.
I use an Arduino Pro Micro to control the 2 step motors and for saving the data. I am having a hard time about the last one.
The code can be find at: GitHub - SuperMakeSomething/diy-3d-scanner: MATLAB/Arduino code for DIY 3D Scanner Project featured in Super Make Something Episode 8 or in the attachments (scannerCode_Alex).
The 2 step motors work quite well. But the SD card is always empty. It supposed with the help of the Sharp GP2Y0A51SK0F save the distance in a .txt file.
I attach a .pdf (figure 1) to show the serial monitor.
My SD card: figure 2. Note: I already try another SD card and the problem remains.
I tried to do the same steps in the video:
Board: Arduino Ýun
Port: Com 10 (Arduino Ýun)
I am not sure about this one - Programmer: Atmel JTAGICE3 (ISP mode)
I tried another code (attached to .pdf) : Create a .txt file in the SD Card. But it does not work either. The serial monitor is in the figure 3.
I really appreciated any tips/help. I already spend a lot of hours to resolve the problem. I attach several images in the .pdf. Maybe, it will help.
Anyway, I wish you a very good day and thanks for your time,
Arduino - Mickael.pdf (1000 KB)
scannerCode_Alex.ino (7.37 KB)