1 / 10
T-Scann8 / FilmGate / Fiber Optic Sensor — image 1
1 / 10

T-Scann8 / FilmGate / Fiber Optic Sensor

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

Replacement for the T-Scann8 UV LED/phototransistor FilmGate setup.

Rating
0 / 5
Likes
1
Downloads
2
Makes
0
Views
16
Reviews
0

Updated at source:

Model information

Category
Electronics
License
Creative Commons — Attribution — Noncommercial — Share Alike

This is a complete replacement for the T-Scann8 original FilmGate, instead of the UV LED/phototransistor it uses a fiber optic amplifier in combination with a coaxial fiber optic head to detect the perforation in the film.

One major advantage of this system is that it is easy to scan film that is transparent at the edge where the perforations are located, this is close to impossible with the UV/transistor setup.

Recommended Parts
(you can easily find alternative sellers for the same part):

FX-551 Dual Digital Display Fiber Optic Sensor Amplifier NPN Output
https://www.aliexpress.com/item/1005009734337876.html
Make sure to pick M3-RARF / M3 Right-Angled Reflective

Optical Fiber Sensor Focus Lens
https://www.aliexpress.com/item/1005003429217293.html
G-415 (M3)

Other hardware needed:
Two springs from ballpoint pens, about 20mm long.
Two M3x20mm screws
Two M3x18mm screws
Two M3x6mm screws
Six M3 Nut Inserts
Aluminum tape

Insert Nut Kit Set https://www.aliexpress.com/item/1005007830343925.html
M3 Nuts and Bolt Set https://amzn.eu/d/0j1vUcx9

Printing:
All parts should be printed as they import to your slicer.
Turn on "Bridge Counterbore hole" for:
* FG_Optical_GroundGate
* FG_Optical_FilmGate_TOP

You can reuse your existing Bottom Plate, I have included one without the adjuster.

Assembly:
It should be fairly obvious how everything is to be assembled.
Mount the FX-551 unit in an easily accessible location, you must be able to operate the buttons.
Connect 
Make sure to apply shiny/reflective aluminum tape to the surface where the film travels, both to create a smooth surface and to ensure good light reflection into the fiber optics.

Connect the FX-551 wiring according to the diagram:
Brown: +12V / Blue: GND / Black: Arduino A3-pin
Ensure the Arduino GND and FX-551 GND are connected together!
If you are using Torulf's original PCB, there is an unused pad for A3; use that one.
IF you intend to modify the Arduino C code to use "digitalRead" instead of "analogRead," you can use the Arduino's built-in pull-up resistor. However, you can also install a resistor yourself and forgo the built-in one, in that case, a 10k resistor should be placed between A3 and +5V.

Code:
In "ALT-Scann8-Controller.ino" change I/O-pin to A3, on line 33:

const int PHOTODETECT = A3;

If you have connected an external pull-up resistor, that is all you need to change.
Upload the new .ino file to your Arduino and perform a test run.

More Advanced Code:
Replace GetLevelPT(); we no longer need the Arduino to perform any threshold calculations on the PT input level (everything is now handled by the FX-551), so we can replace the entire GetLevelPT function.
Starting at line 869, replace the entire code block for GetLevelPT() with:

int GetLevelPT() {
    unsigned long CurrentTime = millis();
// Read the digital pin. 
// FX-551 outputs LOW (0V) or HIGH (5V).
// Maps to 1023 (Hole/Light) or 0 (Film/Dark) depending
// on L-ON / D-ON settings.
PT_SignalLevelRead = digitalRead(PHOTODETECT) ? 1023 : 0;

// Evaluate film presence timeout based on signal activity
if (CurrentTime > FilmDetectedTime) 
    NoFilmDetected = true;
else if (film_detected(PT_SignalLevelRead))
    FilmDetectedTime = millis() + MaxFilmStallTime;

return(PT_SignalLevelRead);

}


This new GetLevelPT() uses digitalRead; if you have NOT connected the external 10 kΩ resistor, you must set pin A3 as an input_pullup to use the Arduino's internal pull-up resistor.

Add the following to the existing pinMode configurations inside void setup():

pinMode(PHOTODETECT, INPUT_PULLUP); // Activates internal pull-up to 5V

Links:
T-Scann8 by Torulf Holmström: https://tscann8.torulf.com/index.html
ALT-Scann8 by Juan: https://github.com/jareff-g/ALT-Scann8

Tags