Scan Sations - dlx-designlab/Attune GitHub Wiki

Manual Scan Station (scoPi)

Robotic Scan Station (Jetscope)

Assembly Manual

Detailed Photos can be found here

Pre-Assembly Fabrication

  1. Laser Cutting and 3D Printing:
  1. Soldering
  • Solder X and Y Motor cable extensions (~30cm 4 core cable) Step
  • Make/Solder the DC Power Splitter Step Step
  • Solder sensors to Grove cables
    Step
  • Solder i2c cable to CNC shield.
    IMPORTANT: Flip the SDA and SCL pins of the grove connector on the Pi-GRBL-CNC shield Step
  • Solder the 3x2 header pins to the CNC board (add image).
  • Solder Reset Button / Solder Audio Jack and Socket Step
  • Re-Solder the header pins on the CNC shield > Modify TX/RX pins on the CNC sheild not to touch the header pins on the jetson (as the Jetson TX/RX pins scramble the data). Solder 2 female jumper-wires to those pins to be attached to a FTDI (TX/RX to USB) converter.
    :warning: IMPORTANT: Double-check the jumper position on the FTDI converter is on the 3V logic pins:
    Step
  • Put together the Jetson and the CNC Shield assembly on the "Electric Assembly" acrylic plate.
  • Connect Cables to the CNC shield green connectors Step
  • For RapbperryPI/Jetson-Nano Only: Solder 5V Connector to PI CNC Shield (add pictures)
  • For RapbperryPI/Jetson-Nano Only: Solder USB Breakout to Stepdown Converter (add pictures)
  • For RapbperryPI/Jetson-Nano Only: Solder Stepdown Input cable (add pictures)
  • For RapbperryPI/Jetson-Nano Only: Solder Pi Shield DC Power cable (add pictures)
  • For RapbperryPI/Jetson-Nano Only: Solder DC input cable and connector to the splitter (add pictures)
  1. Software
  • Setup the Jetson or the Pi
  • Update the G-Scope Firmware
  • Scope Tip diffuser Assembly (add pictures)
  • Pi and Electronics Assembly (add video / pictures)
  • TOF Sensor Holder Attachment (add pictures)

Mechanical Assembly

  1. Scope Stand Prep
  1. Plate Adaptor Assembly
    Make sure square nuts are pushed in as far as possible, and that they are not at an angle
    plate assembly animation Step Step

  2. Pre-Attach X,Y,Z Axis Motors to Brackets
    *This is just an initial assembly - the screws shouldn't be fastened tightly. A precise calibration will be performed later
    X motor assembly animation Y motor assembly animation Z motor assembly animation Step

  3. Y-Bracket Assembly on Stand Base

  • The linear axis bars have a tight fit - they might require some jiggling to insert all the way.
  • The central lead screw must be screwed in all the way. It might be a stuck in the beginning and the end - some pliers might be required.
  • The set screws shouldn't be screwed in too tight. The torque required should be, more or less, half of the amount needed to unscrew the cap of water bottle. Y bracket assembly animation
  1. X-Bracket Assembly
    X-Bracket assembly animation

  2. Z-Bracket AssemblyZ-Bracket assembly animation

  3. Z-Axis Scope Holder Assembly Z-axis holder assembly animation Step Step Step Step

  4. Motors Fastening, Balancing and Manual Calibration
    Coupling positioning
    Step Step
    IMPORTNANT: Don't forget to fully fasten the 4 bolts on each motor after the calibration is done

  5. Acrylic Frame to Metal Stand + Temp Sensor Attachment
    Step Step

  6. X, Y Limit Switches Assembly Step Step

  7. Mount DC and audio sockets to Enclosure Bottom (add pictures)

  8. Mount Mechanics to Enclosure Bottom Frame (add pictures)

  9. Attach Enclosure Back To Enclosure Bottom (add animation)

  10. Mounting Raspberry Pi (add pics / animation)

  11. Wiring Pi to Assembly (add pics)

  12. Fixing Scope in the Z-Axis Holder (add pics)

  13. TOF Sensor Mounting (add pics)

  14. Finger Rest Plate Assembly (add pics / animation)

  15. Calibrating Motors - See the GRBL wiki page

  16. Cable Management (add pics)

  17. Printing + Applying Labels (add pics)

Enclosure Assembly

  1. Glue Rail Guides to Acrylic Walls (add pics / animation)
  2. Glue Front Rails together (add pics / animation)
  3. Glue Front 2 front Acrylic Plates to rails (add pics / animation)
  4. Glue Acrylic Walls to Base (add pics / animation)
  5. Assemble Inner Drawer and Attach to back wall (add pics / animation)
  6. Attach Top Cover (add pics / animation)
  7. Slide in Front Rails (add pics / animation)
  8. Insert Pins into side walls and front rails (add pics / animation) enclosure assembly animation

Calibration and QA

The machine default settings are stored in the Attune/scope_control_app/scope_settings.json file.
Use this file to optimize the default machine settings.

To calibrate and check the machine works as expected, test it with several users (10-20).

  1. Remove the machine front cover to get better visibility of the microscope position and motions.
  2. Turn on the machine and connect a control device (Laptop, Tablet or Phone).
  3. For each user repeat the following steps on the pinky, ring, middle and index fingers on both hands:
    1. create a new UUID (bottom left corner of the capture app)
    2. apply mineral oil to the finger and place it all the way in the finger rest
    3. make sure the finger is relaxed and not pressed against the finger-rest (to allow natural blood circulation in the finger)
    4. for better stability, make sure the user's elbow is resting on the table or on the chair arm-rest
    5. press the "find capillaries" button in the position control panel
    6. observe the process and make notes of any fail-points
    7. manually fine-tune the X,Y,Z, Focus position the to the middle of the nail-fold.
    8. check the distance of the microscope from the finger is within a few mm range
    9. if needed, adjust the image brightness and take note of the value
    10. take note of the X,Y,Z values at the middle of the nail fold
    11. capture a single picture
    12. capture a panorama
    13. record video (only one video for one of the fingers is enough, there is no need to record a video for each finger)
  4. After testing with several users adjust the default scope settings in the scope_settings.json file based on the notes you took during the tests, and keep testing. Here are some guidelines to help you adjust the settings:
    • "Absolute Focus": Higher value = the microscope needs to be closer to the finger. You need to find a good default value for the minimum possible distance from the user's finger (for better quality images - large capillaries) while preventing the microscope from touching the user's fingers.
    • If the Find-Capillaries cycle fails before even moving along the Y-axis you might need to decrease the value of the Absolute Focus property or the scope_min_dist property. Test those settings to make sure the microscope does not touch the user's finger at any point.
    • "Brightness" property should be as low as possible to decrease the noise in the image. You will have to increase it when setting lower Absolute Focus value or higher scope_min_dist values.
    • "fnger_home_pos": The values of this property should be based on the average values you collected from the users during testing.
      • x_pos: the average nail-fold center position
      • y_pos: a good starting point for the automatic "find-capillaries" cycle. Slightly above the average oil-line where the nail texture is still well visible and not smoothed by the oil to allow an easy initial-focus.
      • z-pos: the initial height from which the TOF sensor measures the finger size. Preferably as far as possible (min value is 1)
      • If you find many users hit the Y-Axis-Limit check the Y-Axis motion range or consider re-adjusting the finger rest position
      • panorama-size: adjust those properties if the captured panoramas are too small or too big. Make sure the values do not exceed the X-axis motion limits.
  5. Report any issues detected in the issues section