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



445nm Pointer build with Laser Lock security system

boscoj

New member
Joined
Jun 12, 2010
Messages
451
Points
0
Patent it and sell it to WL
 



sportcoupe

New member
Joined
Aug 13, 2008
Messages
361
Points
0
Did anyone notice the burn marks on his work table? :D
That's an awesome build.
 

Asherz

New member
Joined
Jan 18, 2009
Messages
1,625
Points
0
Very nice build, also really like your flame thrower build, it looks and runs fantastically.

I would really like to get into programming things like that but have yet to come across anything, the PIC controller looks very nice, do you program it using a kind of flow chart system or purely writing out code?

Cheers :) +rep as well, very nice start to the forum, hopefully you stick around for a few more builds :)
 

Morgan

New member
Joined
Feb 5, 2009
Messages
2,178
Points
0
I'd like to see PL reactions to this! Surely they must be impressed?

Really nice build Everett!

+1 too.

M
:)
 

Everett

Member
Joined
Oct 2, 2007
Messages
12
Points
13
do you program it using a kind of flow chart system or purely writing out code?

I usually plan out my code with a flowchart, but the programming is all done in assembly language (code). Most people find it pretty unintuitive, but I have grown to like it much more than higher level languages. Working in assembly puts the programmer much closer to the actual operation of the processor. Here's an example of some assembly code-it's the loop that runs while the switch is down after Laser Lock has been armed (everything after a semicolon is a comment):

clickloop
call getswitch
ifset switchflag ;if switch has been released
goto clicktest ;go take action
decfsz presstimer,f ;count down press time
goto $+2 ;normally jump ahead
bcf clickflag ;if press time was too long, clear the click flag
decfsz blinktimer,f
goto clickloop ;not zero, continue looping
movfw GPIO ;blink timer was zero, so
xorlw b'00000001'
movwf GPIO ;toggle the led
movlw blinktime2
movwf blinktimer ;reload the blink timer
goto clickloop ;stay in the loop

If you are interested in working with PICs, this is a great place to start: Gooligum Electronics
 

lasersbee

Well-known member
Joined
Sep 20, 2008
Messages
17,680
Points
113
Very impressive.... Well executed and very useful...
Keep up the innovations...:gj:

Jerry
 

CrazyMonkey

New member
Joined
Jun 13, 2010
Messages
102
Points
0
I prefer asm to the higher level language stuff for micro-controllers as well. I only use it in PC programs when the function needs to be fast. :shhh: Haven't used pic's though. When I first started out I liked the SX Ubicom/Parallax. Its 75 MIPS / 75 MHz. Of course performance is not a constraint in you application, so smaller and cheaper is better.
 

Asherz

New member
Joined
Jan 18, 2009
Messages
1,625
Points
0
I usually plan out my code with a flowchart, but the programming is all done in assembly language (code). Most people find it pretty unintuitive, but I have grown to like it much more than higher level languages. Working in assembly puts the programmer much closer to the actual operation of the processor. Here's an example of some assembly code-it's the loop that runs while the switch is down after Laser Lock has been armed (everything after a semicolon is a comment):

clickloop
call getswitch
ifset switchflag ;if switch has been released
goto clicktest ;go take action
decfsz presstimer,f ;count down press time
goto $+2 ;normally jump ahead
bcf clickflag ;if press time was too long, clear the click flag
decfsz blinktimer,f
goto clickloop ;not zero, continue looping
movfw GPIO ;blink timer was zero, so
xorlw b'00000001'
movwf GPIO ;toggle the led
movlw blinktime2
movwf blinktimer ;reload the blink timer
goto clickloop ;stay in the loop

If you are interested in working with PICs, this is a great place to start: Gooligum Electronics

Thanks for link, I'll get reading through it today and see how I get on.

Hopefully I can get into this, there's so much potential with the ability to program electronics :) Lot's of ideas I want to get made.

Thanks!
 

cmak

Active member
Joined
Jan 12, 2010
Messages
733
Points
28
Amazing! +1

Now let's see how WL's "Smart Switch" turns out compared to this excellently designed system...

-Chris
 

dereileak

New member
Joined
Jun 25, 2010
Messages
78
Points
0
Not only is this amazing, but your video on the "The Prometheus Device" on youtube was amazing, dude you are awesome!!
 

anselm

New member
Joined
Nov 22, 2010
Messages
2,470
Points
0
:eek::eek:
I know some people frown upon necromancy, but this needs to be seen more!
Such a pity that the builder, Everett, doesn't seem to hang out much...
Is that circuit available to buy anywhere?
It would make a great addition to many a handheld build!

Heck, ALL high powered pointers should have this!
 

Everett

Member
Joined
Oct 2, 2007
Messages
12
Points
13
Hi Anselm,

Thanks for your interest in my project. I'm still around. Yes, I have built up a few Laser Lock boards to sell, and I can customize passwords to whatever the buyer wants.

everett
 

wee40811

New member
Joined
Apr 5, 2010
Messages
196
Points
0
Good Job dude!!
Your laser let me think of one of my flashlight
It's UI is too complicated they have to use flowchart to show it.
and that chart is three times bigger than this laser's.
 




Top