Sapa ([info]sappa) wrote,
@ 2007-03-16 12:40:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:electronics

UV LED lightbox from old flatbed scanner




At first, I disassembled HP ScanJet 5c and found two boards mounted on the scanner chassis. The first one, with power supply and stepper motor driver seemd to be usable in the lightbox. The second one with SCSI logic and controller has been dropped away and replaced by my own controller board. 3 plastic slide blocks has been unscrewed from unmounted carriage (with CCD, optics and lamp).



These slide blocks screwed to the new carriage:



I screwed one optical sensor (AKA photo interrupter) to chassis, it should be triggered when crarriage moved to the start position.

On this photo:
1. stepper motor
2. optical sensor
3. LEDs
4. plastic slider blocks
5. piece of tin for optical sensor obturation



On this photo you can see how carriage connected to the belt.



LEDs board schematics



Resistors - 200 Ohm (SMD type 1206), LEDs - Kingbright L-7113UVC.

LEDs PCB



Controller board schematics



SV1-1 to optical sensor LED anode (+)
SV1-2 to optical sensor LED cathode (-)
SV1-3 to optical sensor phototransistor collector
SV1-4 to optical sensor phototransistor emitter

Optical sensors TCST1103, TCST2103 (Vishay), KTIR0311S, KTIR0411S (Kingbright), etc.

SV2-1 to LEDs board +
SV2-2 to LEDs board -

SV3-1 to green LED (front panel) anode (+)
SV3-2 to green LED (front panel) cathode (-)
SV3-3 to button (front panel)
SV3-4 to button (front panel)

Plug ribbon cable from power supply board to connector CON1.

Controller PCB



LEDs PCB 600dpi

Controller PCB 600dpi

Firmware for PIC12F629/PIC12F675

Source code

// TBD: Description




(Post a new comment)


[info]sab123
2007-03-16 03:28 pm UTC (link)
Эта, делает-то оно что?

(Reply to this) (Thread)


[info]sappa
2007-03-16 04:48 pm UTC (link)
Печатные платы с нанесеным фоторезистом засвечивает. Но это еще не готовая статья, просто за один присест мне не понаписать...

(Reply to this) (Parent)(Thread)


[info]sab123
2007-03-16 10:08 pm UTC (link)
А почему нельзя было употребить сканер как есть? Он, поди, и так при нажатии кнопки двигал бы лампочку? Или нет?

Кстати, а что, светодиоды действительно ультрафиолетовые?

(Reply to this) (Parent)(Thread)


[info]sappa
2007-03-17 09:27 am UTC (link)
Ну во первых в свете CCFL лампы не шибко много ультрафиолета, а фоторезист чувствителен в диапазоне примерно 320-440нм, с максимумом 360-400нм. Светодиоды и вправду дают ближний ультрафиолет. Широко продаются модели от 385 до 410 нм. Бывают и 365 нм, но сильно дорогие. В видимый диапазон их излучение тоже частично попадает, то есть для невооруженного глаза они выглядят просто фиолетовыми. Кнопкой я могу регулировать скорость движения каретки и, соответственно, экспозицию (оптимальная для используего мной Cramolin POSITIV скорость - 2 см/мин). Еще один плюс по сравнению с CCFL лампой - перпендикулярность лучей к фотомаске. УФ светодиоды (почти все) имеют узкий луч, обычно +-10 градусов по уровню 50%. Это означает резкую тень от фотомаски даже при недостаточно плотном прижиме.

(Reply to this) (Parent)(Thread)


[info]sab123
2007-03-19 02:05 pm UTC (link)
Птьфу, с первого раза промахнулся. У, круто.

(Reply to this) (Parent)

Interested to work on UV Scanner
(Anonymous)
2009-02-26 02:32 am UTC (link)
Dear Sapa,

Nice to read you article and work done by you. can i know your email ID?

Regards
Neeraj

(Reply to this) (Parent)(Thread)

Re: Interested to work on UV Scanner - [info]sappa, 2009-02-26 02:40 am UTC
SCHEMATICS
(Anonymous)
2007-03-18 09:05 pm UTC (link)
Hi Sappa,

Tx for all the effort you have made to document your project. I am sure that there are numerous people disassembling their old scanners at this very moment!!

Regards
Conroy

(Reply to this)

CONNECTIONS ON CON1
[info]conroydp
2007-03-19 06:24 am UTC (link)
Hi Sappa,

Unfortunately, I am using a different type of scanner and would appreciate it if you could assist by providing pins layouts for the 14pin ribbon cable.

I have 2 more questions:
a) are you controlling the speed of the stepper motor via the PIC?
b) what are the 2 switches used for?

Regards
Conroy

(Reply to this) (Thread)

Re: CONNECTIONS ON CON1
[info]sappa
2007-03-19 10:10 am UTC (link)
Yes, I control every step (even every half-step) via the PIC. Power supply scanner board has PBL3775 stepper motor driver chip. According to datasheet this driver controlled by 2 wires (full step mode), 4 wires (half step mode) or 6 wires (modified half step mode). I use the last one because it provide most smooth movement. On my controller board schematics you can see wire names (close to CON1 pins) that correspond to PBL3775 input lines. Other scanners may use different stepper motor drivers.

(Reply to this) (Parent)(Thread)

Re: CONNECTIONS ON CON1
[info]conroydp
2007-03-19 02:20 pm UTC (link)
Hi Sappa,

Unfortunately, I do not recognise (or are able to find datasheets) on most of the IC's on the board.

The only 3 IC's I could find info on are the ES50299 (10 bit A/D converter) and the 74HC4066D (Quad bilateral switch) and a TD62003 (7 ch darlington sink driver). It does not appear to be one of these.

What I did to drive the unipolar motor is build a stpper motor driver taken from the KITSRUS site. http://www.kitsrus.com/pdf/k179.pdf

The kit has 3 external switches:
- to determine whether the pulses will be generated external or internal to the board
- to determine the direction of the motor
- external link for the STEP of the motor

I completed and tested the circuit yesterday afternoon and it seems able to control the motor at a rate of 1.5 cm/min to max speed.

I guess that it would be possible to integrate this kit as a stepper motor driver into your design.

My direct mail address is conroydp@bcx.co.za if you prefer to send mail to me directly.

Tx
Conroy

(Reply to this) (Parent)(Thread)

Re: CONNECTIONS ON CON1
[info]sappa
2007-03-19 03:50 pm UTC (link)
Can you send me photo of the PCB? May be I can determine the rest of chips. BTW, is there only one PCB? How do you plan to separate power supply and the rest of scanner schematics?
This kit (K179) can be easy integrated to UV LED lightbox schematics. It is very simple and works in full step mode only and has no current regulator, but it still should works ok. Controller board schematics can stay unchanged for using with K179, the only you need is change firmware a little bit.

(Reply to this) (Parent)(Thread)

Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-19 07:29 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-19 08:30 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-20 08:25 am UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-20 09:12 am UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-20 10:12 am UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-20 12:31 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-20 03:21 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-20 04:27 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-20 05:32 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-20 07:42 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-20 08:06 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-20 08:09 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-21 10:12 am UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-21 11:21 am UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-21 11:36 am UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-21 03:21 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-21 03:51 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-21 04:06 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-21 07:57 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-21 09:10 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-21 09:59 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-22 03:51 am UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-23 07:16 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-23 07:48 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-23 07:57 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-23 08:30 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-24 10:39 am UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-24 01:22 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-24 08:15 pm UTC
Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-03-24 08:47 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-03-24 09:13 pm UTC
Re: CONNECTIONS ON CON1
[info]sappa
2007-03-19 10:14 am UTC (link)
BTW, can you find what kind of stepper motor driver chip used in your scanner?

(Reply to this) (Parent)

Re: CONNECTIONS ON CON1
[info]conroydp
2007-03-25 08:57 am UTC (link)
Hi Sappa,

Yes, my problems I experiencing during "power-on" have been resolved.

a) should I add the follwing code to my .asm file?

init
bsf STATUS, RP0 ; Set bank 1
call 0x3FF ; Get calibration constant stored at 0x3FF
movwf OSCCAL ; write it into OSCCAL

b) I noticed that the scanner bed does not move the full length of the A4 before returning to resting position. Where do I incease the disctance travelled? Would it be by changing some of the following values:

; Maximum movement in forward direction (carriage should not stall)
FMAXSTEPS_HI EQU 0x15
FMAXSTEPS_LO EQU 0x80

; 0x10000 - maximum movement in reverse direction (protect if optical sensor failed)
RMAXSTEPS_HI EQU 0xE8
RMAXSTEPS_LO EQU 0x00

Regards
Conroy

(Reply to this) (Parent)(Thread)

Re: CONNECTIONS ON CON1
[info]sappa
2007-03-25 11:15 am UTC (link)
a) this code ALREADY in your .asm file although without such detailed comments.
b) yes, increase FMAXSTEPS_HI/FMAXSTEPS_LO value for desired movement limit during exposure.

RMAXSTEPS_HI/RMAXSTEPS_LO usually should be a bit less than 0x10000 - (FMAXSTEPS_HI*256 + FMAXSTEPS_LO). (decreasing this value will increase maximum movement during calibration. Usually these values are unused, but it is protection if optical sensor does not work properly).

(Reply to this) (Parent)(Thread)

Re: CONNECTIONS ON CON1
[info]conroydp
2007-04-03 08:33 pm UTC (link)
Hi Sappa,

Tx to you, I finished my UV Scanner. Found that 1cm/min seems the be the best exposure with the Positiv20 spray I am using.

My friend is still busy with his scanner (waiting for the LED's to arrive from Hong Kong)

Let me try inserting a photo:
First photo is of the driver


Second photo is the driver and UV board


Tx again, much appreciated.

Regards
Conroy

(Reply to this) (Parent)(Thread)

Re: CONNECTIONS ON CON1 - [info]conroydp, 2007-04-03 08:40 pm UTC
Re: CONNECTIONS ON CON1 - [info]sappa, 2007-04-03 08:49 pm UTC

[info]lavrinenko
2007-03-19 09:04 am UTC (link)
снимаю шляпу!

(Reply to this)


(Anonymous)
2007-03-19 02:03 pm UTC (link)
У, круто.

(Reply to this)

DRIVER FOR BIPOLAR STEPPER MOTOR
[info]conroydp
2007-04-18 07:38 pm UTC (link)
Hi Sapa,

Hope you have been well since our last conversation. My latest project is to build a desktop CNC router/milling machine.

Seeing that the circuit you provided is working so well, I was wondering whether you had previously designed or built a driver circuit for a bipolar stepper motor that accepts the step and direction input from a PC parallel port.

The circuit I am after also require inputs for limit switches. Maybe it is also capable of micro-stepping? (not a requirement in my case)

Regards
Conroy

(Reply to this) (Thread)

Re: DRIVER FOR BIPOLAR STEPPER MOTOR
[info]sappa
2007-04-19 01:32 pm UTC (link)
Hi Conroy,

I never designed machines with stepper motor controlled by LPT,
but I don't see any problem there. LPT is usual CMOS level I/O
lines and you can use any stepper motor driver controlled by
CMOS level signals. You may look on http://www.bright.net/~agarb/STMD/AVR_STMD.html
for basic idea. Or even build your own driver based on 2
full bridges (8 transistors) or half-bridges. It depends on
power supply and motor you plan to use in this machine.

(Reply to this) (Parent)


(Anonymous)
2007-06-14 12:12 pm UTC (link)
Hi, I'm trying to replicate your device, and have acquired a slightly newer version of the hp scanner your using, however it uses the UND2916b dual full-bridge PWM motor driver.(power/stepper driver board still has the 14pin ribbon cable you reference) Two questions, one do I need to modify the hex or hardware to support this chip, two do you think that it is a pin for pin comparable on the ribbon cable side?

(Reply to this) (Thread)


[info]sappa
2007-06-14 01:15 pm UTC (link)
Hi,
I have never seen HP power/stepper driver board based on UDN2916B, but this driver can be used in a variety of ways. Please, trace all wires from this chip to the ribbon cable connector and show me this diagram. In this case I would be able to help you.

(Reply to this) (Parent)(Thread)


(Anonymous)
2007-06-14 10:47 pm UTC (link)
Heres where I'm at, I(12)-. .-vref2
vref1-. .-phase2
phase1-. .-I(11)
GND-. .-GND
?-. .-?
GND-. .-GND
(pin1) ?-. .-?

?= not connect to motor driver
Does this help any? if not, later i can sit down and reverse engineer the driver section of the board

(Reply to this) (Parent)(Thread)


[info]sappa
2007-06-14 11:55 pm UTC (link)
Looks very similar to previous pinout (based on PBL3775) and digital current control is not used. But anyway, trace at least I(01) and I(02). I suppose these lines either connected to I(11) and I(12) respectively or pulled up to power, but it's better to be sure.

(Reply to this) (Parent)(Thread)

(no subject) - (Anonymous), 2007-06-15 01:54 am UTC
(no subject) - [info]sappa, 2007-06-15 12:11 pm UTC
scanjet 5p
(Anonymous)
2007-10-08 09:56 pm UTC (link)
Hi, there's a Scanjet 5P for sale..do you think it's similar to yours?

(Reply to this) (Thread)

Re: scanjet 5p
[info]sappa
2007-10-08 10:22 pm UTC (link)
I am not absolutely sure, but it looks similar to my Scanjet 5c. The same body, and the same _visible_ internals. Even it has different CCD sensor and/or controller board, these components are not used it my UV light box. So, most probably 5p can be used without any changes in my schematic.

(Reply to this) (Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…