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

445nm Pointer build with Laser Lock security system






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

0
Joined
Jan 18, 2009
Messages
1,623
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

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

Really nice build Everett!

+1 too.

M
:)
 
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
 
Joined
Sep 20, 2008
Messages
17,622
Points
113
Very impressive.... Well executed and very useful...
Keep up the innovations...:gj:

Jerry
 
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

0
Joined
Jan 18, 2009
Messages
1,623
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

0
Joined
Jan 12, 2010
Messages
716
Points
28
Amazing! +1

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

-Chris
 
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

0
Joined
Nov 22, 2010
Messages
2,448
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!
 
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
 
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