My Projects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arduino:Spin-Scan [2026/10/17 10:16] – [Parts list] tonyarduino:Spin-Scan [2026/10/20 08:44] (current) – tony
Line 35: Line 35:
  
 {{arduino:spin-scan:spinscan2.png?800|Fritzing connection illustration of Arduino, LCD, Stepper controller, stepper motor}}\\ {{arduino:spin-scan:spinscan2.png?800|Fritzing connection illustration of Arduino, LCD, Stepper controller, stepper motor}}\\
-The hardware setup consisting of the Arduino UNO with LCD shield, stepper motor controller, stepper motor, and an infrared LED for controlling the shutter on the camera.+The hardware setup consisting of the Arduino Uno with LCD shield, stepper motor controller, stepper motor, and an infrared LED for controlling the shutter on the camera.
  
 ===== Parts list ===== ===== Parts list =====
-  * Arduino Uno clone (duinotech UNO classic r3, p/n [[:electronic:boards:arduino:xc4410|XC4410]])+  * [[:electronic:boards:arduino:duemilanove|Arduino Duemilanove]]
   * LCD keypad shield clone (duinotech 2 x 16 LCD Controller, p/n [[:electronic:boards:shield:xc4454|XC4454]])   * LCD keypad shield clone (duinotech 2 x 16 LCD Controller, p/n [[:electronic:boards:shield:xc4454|XC4454]])
   * Stepper Motor controller (duinotech {{:electronic:datasheet:stmicroelectronics:ds_l298.pdf|L298N}} based, Dual Stepper Motor Controller, p/n [[:electronic/boards/xc4492|XC4492]])   * Stepper Motor controller (duinotech {{:electronic:datasheet:stmicroelectronics:ds_l298.pdf|L298N}} based, Dual Stepper Motor Controller, p/n [[:electronic/boards/xc4492|XC4492]])
Line 48: Line 48:
 ===== The program code ===== ===== The program code =====
  
-As mentioned, I started with Shapespear's [[https://cdn.instructables.com/ORIG/F59/07PC/IJUCSTEF/F5907PCIJUCSTEF.zip|3D scanner firmware]], which was a great base as I had no experience with Arduinos at this point and his code did most of what I wanted.  My code is basically the same, but I have removed the manual step-and-take-exposure button function and added a post-exposure delay selection option instead.  The other minor change is that I don't use the motor enable/disable controls.+As mentioned, I started with Shapespeare's [[https://cdn.instructables.com/ORIG/F59/07PC/IJUCSTEF/F5907PCIJUCSTEF.zip|3D scanner firmware]], which was a great base as I had no experience with Arduinos at this point and his code did most of what I wanted.  My code is basically the same, but I have removed the manual step-and-take-exposure button function and added a post-exposure delay selection option instead.  The other minor change is that I don't use the motor enable/disable controls.
  
 The program has the stepper motor and camera-type set within the code, I assume it will be used in a fairly dedicated mode.  So it would need to be recompiled and re-downloaded to use it with alternative devices ((the Arduino IDE uses the term "upload" for sending the code to the Arduino board, but in my terminology one downloads from the larger machine to the smaller machine - eg you download from the internet to your PC)). The program has the stepper motor and camera-type set within the code, I assume it will be used in a fairly dedicated mode.  So it would need to be recompiled and re-downloaded to use it with alternative devices ((the Arduino IDE uses the term "upload" for sending the code to the Arduino board, but in my terminology one downloads from the larger machine to the smaller machine - eg you download from the internet to your PC)).
Line 80: Line 80:
 I might update the code so that the manual step options are just step one stepper motor step, rather in units of stepsPerRevolution/stepChoices, as that would be more useful for aligning the photographic subject exactly where I want it. I might update the code so that the manual step options are just step one stepper motor step, rather in units of stepsPerRevolution/stepChoices, as that would be more useful for aligning the photographic subject exactly where I want it.
  
-Here is my modified version of Shapespear's code so far :\\+Here is my modified version of Shapespeare's code so far :\\
 {{arduino:spin-scan:scanner_firmware-2.ino}}\\ {{arduino:spin-scan:scanner_firmware-2.ino}}\\
 and you would need :\\ and you would need :\\