Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

LPF Donation via Stripe | LPF Donation - Other Methods

Links below open in new window

ArcticMyst Security by Avery

On-time recorder for lasers

Zom-B

0
Joined
Mar 25, 2008
Messages
895
Points
28
Hi

I noticed people always try to 'guess' how long they have used their laser, because this value seems somehow important to the well-being of the diode (especially for blu-ray and PHR diodes). This guessing is very difficult, because some people use a laser for 30 seconds duty cycle for 5 minutes per day, others claim to use it 30 minutes per day. To resolve this, I designed a recorder that records how long a laser has been on.

It consists of a small board (slightly smaller than a Flexdrive) with three SMD components (one microcontroller IC) and two connectors. One connector is connected to the laser host and the other can be used to read out the recorded value with an external device.

It can record the on-time of both fixed lasers (on-off type) and variable lasers, in which case it starts recording at a certain current threshold. For this, it has two analog inputs and one digital. The analog inputs are compared and if one (the sense) is higher than the other (the threshold) it can start recording. It will also only start recording when the digital input is LOW (inverted input because most hosts have the tailcap switch in the "-" line). If either the digital input is high or the sense input lower than the threshold input, it will store the value and go into power saving mode. For this to work, the recorder should always remain powered. In power saving mode it consumes about 125[ch956]A.

The clock's accuracy is 0.1%, so that's less than 10 seconds error per 24hr.

The value is read back in binary, with one switch and one LED. Every time the switch is pressed, the next bit is shown. Use windows calculator to convert it back to seconds.

There's one glitch; if you remove the supply while it is recording, then it can not store the value and the next time it is recording it starts counting from the previously stored value. This can only be circumvented with additional components that would make it almost twice as large.


Here's a rough functional schematic for the recorder

block.png


And some photos.

hpim4544_small.jpg


hpim4545_small.jpg


The next version may have one pin less on the right side because the readout device may not need a "+" line.


Here's how I built it into an MXDL for a violet diode. It literally 'sits' on op of a Flexdrive:

HPIM4561_small.jpg


HPIM4563_small.jpg

Note that I needed to solder a wire to the "-" pole of the batteries because the recorder should always remain powered.

Hpim4565_small.jpg


And here's how I read the recorded value from it. The board with all the stuff you see on the left was actually my development board on which I developed the recorder, but only one switch and the LED are connected through the wire. I will think about making a smarter readout device with a microcontroller and decimal readout. If so, then the next version will still require the fourth pin on the readout connector.
Hpim4569_small.jpg




I'm not planning on making these for the masses, so if people want them badly enough, I could consider jointly making them with someone else with experience and who can make PCBs (drlava comes to mind).
 





IgorT

0
Joined
Oct 24, 2007
Messages
4,177
Points
0
PCBs are very cheap to make, where i live. I always use this one factory for work.. Too bad that thing won't fit into my lasers.. :( But i would love to use it for experiments...
 

Zom-B

0
Joined
Mar 25, 2008
Messages
895
Points
28
I designed a smaller version without the analog inputs. Would 0.4x0.3x0.15 inch fit?

recorder400300layout.png


recorder400300top.png
recorder400300bottom.png


The black pads are for soldering wires for connections in the host (I dunno why they are black :-?)
The three holes are for reading it out
 

Zom-B

0
Joined
Mar 25, 2008
Messages
895
Points
28
Even smaller than small!

I built the circuit on double sided experimentation PCB (those with the hole grid) and I was able to cut some corners to safe space (literally)

I built this one also in an MXDL and used thick wires in a twisted way to mount it securely and prevent it from touching the lavadrive.

(with a laser diode for size comparison)
Hpim4657_small.jpg


HPIM4655_small.jpg


Hpim4644_small.jpg


Hpim4646_small.jpg


Hpim4648_small.jpg


Hpim4651_small.jpg




As it's purpose is to record laser usage, here's some data from my lasers:

166mW violet - 45 days - 10032 seconds (= 2:47 hr) - on average 3:43 min per day.

A 'new' laser is always more intensively used than when it is not new anymore:

200mW violet - 2 days - 1507 seconds (= 0:25 hr) - on average 12:30 min per day.
 

Switch

0
Joined
Dec 9, 2007
Messages
3,327
Points
0
Wow, this is pure awesomeness.This is the one thing that everyone should have, then we could gather data and make statistics. :D Maybe in the future we'll have them built into drivers.

Your work deserves a +rep.
 

Zom-B

0
Joined
Mar 25, 2008
Messages
895
Points
28
Thanks about thinking about it like that


I'm ordering 90 etched PCB's, 36 big and 54 small ones (ordering one or ordering a lots makes almost no price difference), and I'm thinking about selling them to the people here too.
 

Benm

0
Joined
Aug 16, 2007
Messages
7,896
Points
113
Sounds like a very cool idea... though i think it could be done even simpler!

If you'd take a microcontroller (like a PIC series) and just connect it over the laser power supply, that'd be all that is required. This pic would have to be programmed such that it increments a value in its internal eeprom every second (or whatever resolution needed). The benefit of this is that the value will be accurate even if the batteries die or are removed while counting - at least to the nearest increment chosen.

Readout could be done with I2C, and optionally that could allow resetting the value as well (in case of a diode swap).
 

c4r0

0
Joined
Mar 22, 2009
Messages
101
Points
0
A Compass 315M-100 laser head that I own has something like this built in :) There's a PIC based running time counter, it's sending the time in kind of serial data stream through an IR LED when the laser is turned off.
 




Top