Laser pointer discussion. Read/write reviews of laser pointers and laser pointer companies. Learn about all types of laser pointers and lasers





Welcome to Laser Pointer Forums! If you are looking for a laser pointer or want to compare different laser pointer companies, you may want to check out the LPF Laser Pointer Company Database. The link will open in a new window for your convenience.








Green Laser Pointers by Category Blue Laser Pointers by Category Red Laser Pointers by Category
Yellow Laser Pointers by Category Violet Laser Pointers by Category Orange Laser Pointers by Category
Top Laser Pointers by Power - 1 Watt+ Top Laser Pointers by Power - 500mW+ Top Laser Pointers by Power - 250mW+
Laser Pointer Database High Power Laser Pointers Laser Pointer Diodes
Laser Technology Laser Pointer Parts Lasers by Wavelength
Top 10 Laser Pointer Companies Laser Pointer Company Database Visible Beam Laser Pointers


One laser store meets all your needs

























Go Back   Laser Pointer Forums - Discuss Laser Pointers > Lasers > Laser Measurements



LPF List of Laser Pointer Companies (link opens new window)



Reply
 
LinkBack Thread Tools Display Modes
Old 04-08-2012, 03:35 AM #1
Seoul_lasers's Avatar
Class 3R Laser
 
Join Date: Jul 2008
Location: Victoria, British Columbia
Posts: 2,313
Rep Power: 5175
Seoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond repute
Send a message via Skype™ to Seoul_lasers
Seoul_lasers Seoul_lasers is online now
Class 3R Laser
Seoul_lasers's Avatar
 
Join Date: Jul 2008
Location: Victoria, British Columbia
Posts: 2,313
Rep Power: 5175
Seoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond repute
Send a message via Skype™ to Seoul_lasers
Thumbs up Laserbee raw output now visible in OSX environment

Doing some experimenting with data acquisition/ software for Arduino environment today and
got raw data capturing from my Laserbee II 3.2W pro today working.

CAUTION:
The output is in the format 0,0 -- 100mW looks like 100,100. The first digits are mW the second being current in mA.

I need to figure out how to separate these numbers and run time vs output in mW.



Instructions:

This is what I did so that OSX can see raw output from the laserbee.

Download the driver for the USB to serial adapter.

Download Arduino Environment from their website. Its about a 70Mb download.
Alternatively you can also use Zterm 2.0 or even FunTerm OSX This also works.

Alright, follow these instructions carefully.
This one is using the arduino program.

Go into usb to serial monitor mode inside the arduino environment ( under tools) and connect at 9600 baud

immediately you'll see 0,0 appearing on the monitor window.

use you laserbee like you'd do normally. You'll now see the output in mW as the laserbee

sees it. You'll start to see a string of numbers appearing representing raw data coming from

your meter. Once finished measuring. stop the meter and highlight your number string and
cut and past into numbers or Excel... done.

This is was a test to see if MacOS X10.7 can see the laserbee's output.

I think making a MacOSX laserbee app for OSX will be quite simple.

My hope is that a MacOSX based completely opensource Laser app could be made
so that everyone can record in realtime with precision the output of their LPMs, Laserbee, Kenometer, and even the DIY'ers.

An idea? This post is in no way meant to undermine developers. It is meant to allow flexibility utilizing multiple platforms.
Attached Files
File Type: mov Screen Recording.mov (2.62 MB, 105 views)


__________________
650nm ~350mW DVD 20x diode RyanSoh3 Class IIIb
650nm ~350mW DVD 22x 3.5mm labby build 2010 Class IIIb
532nm 10mW-15mW DPSS Module IR filtered(S.Korea)RyanSoh3 Class IIIb
450nm CarbonFiber ElectricPlasma build 9mm +6W Class IV
445nm 3.49W pk ~3.15W av. Sinner Cypreus II +DTR 9mm 445nm Class IV
445nm RHD Saber Twins 2.7W ~2.35W pk Class IV
445nm A140 module x2 Maxsink Class IV
405nm Daguin Kryton Groove SO6J 700mW build. Class IV
405nm Olike 560mW-600mW pen sold Scopeguy20
Class IV
337.1nm TEA Nitrogen laser project 2011 Class IIIb
---------------------------------------------------
Die4Drivers 1.3v lab laser/projector driver

Laserbee 3.2W Deluxe LPM
ARGMeter 1.1v
Ophir 20C-A sensor

Peregrine 1.5.0 is working now on MacOSX Yay!!

Last edited by Seoul_lasers; 04-08-2012 at 03:00 PM.
Seoul_lasers is online now   Reply With Quote







LPF List of Laser Pointer Companies (link opens new window)







Old 04-17-2012, 02:30 PM #2
Seoul_lasers's Avatar
Class 3R Laser
 
Join Date: Jul 2008
Location: Victoria, British Columbia
Posts: 2,313
Rep Power: 5175
Seoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond repute
Send a message via Skype™ to Seoul_lasers
Seoul_lasers Seoul_lasers is online now
Class 3R Laser
Seoul_lasers's Avatar
 
Join Date: Jul 2008
Location: Victoria, British Columbia
Posts: 2,313
Rep Power: 5175
Seoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond repute
Send a message via Skype™ to Seoul_lasers
Default Re: Laserbee raw output now visible in OSX environment

Ok...

Anyone know how to filter the results so that 0,0 looks like 0.

How do I filter the incoming data stream in Zterm or FunTerm?
__________________
650nm ~350mW DVD 20x diode RyanSoh3 Class IIIb
650nm ~350mW DVD 22x 3.5mm labby build 2010 Class IIIb
532nm 10mW-15mW DPSS Module IR filtered(S.Korea)RyanSoh3 Class IIIb
450nm CarbonFiber ElectricPlasma build 9mm +6W Class IV
445nm 3.49W pk ~3.15W av. Sinner Cypreus II +DTR 9mm 445nm Class IV
445nm RHD Saber Twins 2.7W ~2.35W pk Class IV
445nm A140 module x2 Maxsink Class IV
405nm Daguin Kryton Groove SO6J 700mW build. Class IV
405nm Olike 560mW-600mW pen sold Scopeguy20
Class IV
337.1nm TEA Nitrogen laser project 2011 Class IIIb
---------------------------------------------------
Die4Drivers 1.3v lab laser/projector driver

Laserbee 3.2W Deluxe LPM
ARGMeter 1.1v
Ophir 20C-A sensor

Peregrine 1.5.0 is working now on MacOSX Yay!!
Seoul_lasers is online now   Reply With Quote
Old 04-17-2012, 02:48 PM #3
bobhaha's Avatar
Class 3B Laser
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
bobhaha bobhaha is offline
Class 3B Laser
bobhaha's Avatar
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

You will need to parse the input to the serial monitor. Use the ',' character to split the data in order to ignore the first part of the input and only read the last part.

You can write the same code into Processing and turn it into a Java applet so you can use it as a standalone program.

It will also be able to export to CSV which can be imported to excel and turned into a graph or can also generate its own graph and export as a jpg image.

There are a lot of options.
__________________
Lasers!
10.6um - >40W CO2 Laser - 25W RF excited CO2 Laser*
685nm - Being built!
660nm - 250mW LOC PowerLight B50 Host - 100mW WL pulsar
635nm - 430mW C6 Host*
632.8nm - Red He-Ne laser ~1mW
593.5nm - Regal 5
542.8nm - Green He-Ne laser ~2.5mW
532nm - 620mW+ lasersman Firedragon III* - 100mW PGL-III-M from JETLASERS* - 70mW Rayfoss Host*
~~~ - 175mW Rayfoss Host - <5mW WL Core - 55mW DinoDirect review laser*

488nm - On the hoist
473nm - 2x CNI lab lasers ~40mW
445nm - 3W Big Boyz Laser - >1.1W Cree C6 Host - 650mW WL Arctic
405nm - 65mW GLP-405 Aquarius host - 160mW 6x Blu-ray MXDL Host
Total: 71,868.5 mW

Goggles!
Laser glow LSG-532-Sport protective eye goggles OD 7+ 190-532nm HIGHLY RECOMMENDED!!
Jetlasers wrap around 190-540nm OD4+ goggles*
Eagle Pair Red OD4+ goggles
Scopeguy20 Blublockers for 405nm lasers!

* indicates a review has been done, on this item.

Check out my How to Build a Selectable Dummy Load Thread!
bobhaha is offline   Reply With Quote
Old 04-17-2012, 02:54 PM #4
Trevor's Avatar
Class 3B Laser
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Trevor Trevor is offline
Class 3B Laser
Trevor's Avatar
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

Quote:
Originally Posted by bobhaha View Post
You can write the same code into Processing and turn it into a Java applet so you can use it as a standalone program.
...I didn't know you could do that. I'll need to look into it.

I'll start Googling things... if you have suggestions for required reading, I'm all ears.

Viva open-source.

Trevor
Trevor is offline   Reply With Quote
Old 04-17-2012, 03:01 PM #5
bobhaha's Avatar
Class 3B Laser
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
bobhaha bobhaha is offline
Class 3B Laser
bobhaha's Avatar
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

I assume you know arduino's programming language?

If so, its almost the same thing, but with added graphics capability.

I guess the best place to start is here...

Tutorials \ Processing.org

Then try some more complex things... use this as a source.

Extended Language (API) \ Processing.org

-Adrian
__________________
Lasers!
10.6um - >40W CO2 Laser - 25W RF excited CO2 Laser*
685nm - Being built!
660nm - 250mW LOC PowerLight B50 Host - 100mW WL pulsar
635nm - 430mW C6 Host*
632.8nm - Red He-Ne laser ~1mW
593.5nm - Regal 5
542.8nm - Green He-Ne laser ~2.5mW
532nm - 620mW+ lasersman Firedragon III* - 100mW PGL-III-M from JETLASERS* - 70mW Rayfoss Host*
~~~ - 175mW Rayfoss Host - <5mW WL Core - 55mW DinoDirect review laser*

488nm - On the hoist
473nm - 2x CNI lab lasers ~40mW
445nm - 3W Big Boyz Laser - >1.1W Cree C6 Host - 650mW WL Arctic
405nm - 65mW GLP-405 Aquarius host - 160mW 6x Blu-ray MXDL Host
Total: 71,868.5 mW

Goggles!
Laser glow LSG-532-Sport protective eye goggles OD 7+ 190-532nm HIGHLY RECOMMENDED!!
Jetlasers wrap around 190-540nm OD4+ goggles*
Eagle Pair Red OD4+ goggles
Scopeguy20 Blublockers for 405nm lasers!

* indicates a review has been done, on this item.

Check out my How to Build a Selectable Dummy Load Thread!
bobhaha is offline   Reply With Quote
Old 04-17-2012, 03:07 PM #6
Trevor's Avatar
Class 3B Laser
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Trevor Trevor is offline
Class 3B Laser
Trevor's Avatar
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

I'll get right to work.

Trevor
Trevor is offline   Reply With Quote
Old 04-17-2012, 04:13 PM #7
Class 4 Laser
 
Join Date: May 2007
Location: Queensland, AU
Posts: 7,549
Rep Power: 1100
Things has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond repute
Things Things is offline
Class 4 Laser
 
Join Date: May 2007
Location: Queensland, AU
Posts: 7,549
Rep Power: 1100
Things has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond reputeThings has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

I don't have a laserbee so I can't test it, but try this:

EDIT: Oops, I see you need a program for the computer, not on Arduino. Oh well, it's here anyway

Code:
boolean mAmode = false;

void setup(){
  Serial.begin(9600);
}
  
  void loop(){
  char t;
   int mW;
   int mA;
  

   if(Serial.available() > 0) // If there is data to read
   {
     mA = 0;
     mW = 0;
     mAmode = false;
	    while(Serial.available() > 0) // While there is still data
	    {
		 t = Serial.read(); // Read character

		 if(t == ','){
                    mAmode = true;
		 }
                 if(t >= '0' && t <= '9') { // If it's a number
                   if (mAmode == true){
		      mA *= 10; // Multiply previous value by 10
		      mA += t - '0'; // Add the new digit
		   } 
                    else {
                      mW *= 10; // Multiply previous value by 10
		      mW += t - '0'; // Add the new digit
                   }
                 }    
		 else
		    break;
		 delay(50);
	    }
            Serial.print("Time: ");
            Serial.println((millis() / 1000));
            Serial.print("mW: ");
            Serial.println(mW);
            Serial.print("mA: ");
            Serial.println(mA);
	 }
   }
Dan

Last edited by Things; 04-17-2012 at 04:16 PM.
Things is offline   Reply With Quote
Old 04-17-2012, 04:37 PM #8
Seoul_lasers's Avatar
Class 3R Laser
 
Join Date: Jul 2008
Location: Victoria, British Columbia
Posts: 2,313
Rep Power: 5175
Seoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond repute
Send a message via Skype™ to Seoul_lasers
Seoul_lasers Seoul_lasers is online now
Class 3R Laser
Seoul_lasers's Avatar
 
Join Date: Jul 2008
Location: Victoria, British Columbia
Posts: 2,313
Rep Power: 5175
Seoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond repute
Send a message via Skype™ to Seoul_lasers
Default Re: Laserbee raw output now visible in OSX environment

That's nice. How do I see the 0,0 as just 0 or for example 123,123 as 123?
I'm using FunTerm or ZTerm in MacOSX.
No way to parse the data?
__________________
650nm ~350mW DVD 20x diode RyanSoh3 Class IIIb
650nm ~350mW DVD 22x 3.5mm labby build 2010 Class IIIb
532nm 10mW-15mW DPSS Module IR filtered(S.Korea)RyanSoh3 Class IIIb
450nm CarbonFiber ElectricPlasma build 9mm +6W Class IV
445nm 3.49W pk ~3.15W av. Sinner Cypreus II +DTR 9mm 445nm Class IV
445nm RHD Saber Twins 2.7W ~2.35W pk Class IV
445nm A140 module x2 Maxsink Class IV
405nm Daguin Kryton Groove SO6J 700mW build. Class IV
405nm Olike 560mW-600mW pen sold Scopeguy20
Class IV
337.1nm TEA Nitrogen laser project 2011 Class IIIb
---------------------------------------------------
Die4Drivers 1.3v lab laser/projector driver

Laserbee 3.2W Deluxe LPM
ARGMeter 1.1v
Ophir 20C-A sensor

Peregrine 1.5.0 is working now on MacOSX Yay!!
Seoul_lasers is online now   Reply With Quote
Old 04-17-2012, 05:15 PM #9
bobhaha's Avatar
Class 3B Laser
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
bobhaha bobhaha is offline
Class 3B Laser
bobhaha's Avatar
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

ZTerm and FunTerm are a terminal program right?

As far as I know most can not be programmed, but if it can, just parse the input. Similar to what Things did, but in the language the terminal program understands.
__________________
Lasers!
10.6um - >40W CO2 Laser - 25W RF excited CO2 Laser*
685nm - Being built!
660nm - 250mW LOC PowerLight B50 Host - 100mW WL pulsar
635nm - 430mW C6 Host*
632.8nm - Red He-Ne laser ~1mW
593.5nm - Regal 5
542.8nm - Green He-Ne laser ~2.5mW
532nm - 620mW+ lasersman Firedragon III* - 100mW PGL-III-M from JETLASERS* - 70mW Rayfoss Host*
~~~ - 175mW Rayfoss Host - <5mW WL Core - 55mW DinoDirect review laser*

488nm - On the hoist
473nm - 2x CNI lab lasers ~40mW
445nm - 3W Big Boyz Laser - >1.1W Cree C6 Host - 650mW WL Arctic
405nm - 65mW GLP-405 Aquarius host - 160mW 6x Blu-ray MXDL Host
Total: 71,868.5 mW

Goggles!
Laser glow LSG-532-Sport protective eye goggles OD 7+ 190-532nm HIGHLY RECOMMENDED!!
Jetlasers wrap around 190-540nm OD4+ goggles*
Eagle Pair Red OD4+ goggles
Scopeguy20 Blublockers for 405nm lasers!

* indicates a review has been done, on this item.

Check out my How to Build a Selectable Dummy Load Thread!
bobhaha is offline   Reply With Quote
Old 04-18-2012, 12:31 AM #10
Trevor's Avatar
Class 3B Laser
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Trevor Trevor is offline
Class 3B Laser
Trevor's Avatar
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

Okay, so I spent a few hours today learning the ins and outs of making an interface in processing, and this is what I've got so far:



That Arduino is running a LaserBee emulator.

It will run on PC/Mac/Linux. Autoranging graphing area, etc. I'm going to grab a cup of coffee and keep working on it.

Trevor

Last edited by Trevor; 04-18-2012 at 12:31 AM.
Trevor is offline   Reply With Quote
Old 04-18-2012, 04:50 AM #11
Seoul_lasers's Avatar
Class 3R Laser
 
Join Date: Jul 2008
Location: Victoria, British Columbia
Posts: 2,313
Rep Power: 5175
Seoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond repute
Send a message via Skype™ to Seoul_lasers
Seoul_lasers Seoul_lasers is online now
Class 3R Laser
Seoul_lasers's Avatar
 
Join Date: Jul 2008
Location: Victoria, British Columbia
Posts: 2,313
Rep Power: 5175
Seoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond reputeSeoul_lasers has a reputation beyond repute
Send a message via Skype™ to Seoul_lasers
Lightbulb Re: Laserbee raw output now visible in OSX environment

Quote:
Originally Posted by bobhaha View Post
ZTerm and FunTerm are a terminal program right?

As far as I know most can not be programmed, but if it can, just parse the input. Similar to what Things did, but in the language the terminal program understands.
Yes, those are terminal programs.
I was messing around earlier on today with an application called qtdmm.It's free. It can see the laserbee as a DMM and read and parse the data real time. However the saved file is useless for doing any kind of graphing.
9600Baud, 2stop bits, 14bytes ASCII polling metex voltcraft, 2000 digits. Once connected it will show laserbee as a DMM in real time. Logging doesn't seem to work. Date stamp and time stamp is added but the output is 9,9 9,9.... ??? DUnno what happend there.
__________________
650nm ~350mW DVD 20x diode RyanSoh3 Class IIIb
650nm ~350mW DVD 22x 3.5mm labby build 2010 Class IIIb
532nm 10mW-15mW DPSS Module IR filtered(S.Korea)RyanSoh3 Class IIIb
450nm CarbonFiber ElectricPlasma build 9mm +6W Class IV
445nm 3.49W pk ~3.15W av. Sinner Cypreus II +DTR 9mm 445nm Class IV
445nm RHD Saber Twins 2.7W ~2.35W pk Class IV
445nm A140 module x2 Maxsink Class IV
405nm Daguin Kryton Groove SO6J 700mW build. Class IV
405nm Olike 560mW-600mW pen sold Scopeguy20
Class IV
337.1nm TEA Nitrogen laser project 2011 Class IIIb
---------------------------------------------------
Die4Drivers 1.3v lab laser/projector driver

Laserbee 3.2W Deluxe LPM
ARGMeter 1.1v
Ophir 20C-A sensor

Peregrine 1.5.0 is working now on MacOSX Yay!!
Seoul_lasers is online now   Reply With Quote
Old 04-18-2012, 01:27 PM #12
Trevor's Avatar
Class 3B Laser
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Trevor Trevor is offline
Class 3B Laser
Trevor's Avatar
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

...and this is what a few more hours of work yielded:



To do:
- Finish X-axis labels.
- Add a data display.
- Add graph/log saving.
- Add session management.
- ...some other things that I'm forgetting.

Trevor
Trevor is offline   Reply With Quote
Old 04-18-2012, 02:16 PM #13
bobhaha's Avatar
Class 3B Laser
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
bobhaha bobhaha is offline
Class 3B Laser
bobhaha's Avatar
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

Looks good man! If you need a hand let me know... but looks like you know what your doing.

<3 open-source projects!
__________________
Lasers!
10.6um - >40W CO2 Laser - 25W RF excited CO2 Laser*
685nm - Being built!
660nm - 250mW LOC PowerLight B50 Host - 100mW WL pulsar
635nm - 430mW C6 Host*
632.8nm - Red He-Ne laser ~1mW
593.5nm - Regal 5
542.8nm - Green He-Ne laser ~2.5mW
532nm - 620mW+ lasersman Firedragon III* - 100mW PGL-III-M from JETLASERS* - 70mW Rayfoss Host*
~~~ - 175mW Rayfoss Host - <5mW WL Core - 55mW DinoDirect review laser*

488nm - On the hoist
473nm - 2x CNI lab lasers ~40mW
445nm - 3W Big Boyz Laser - >1.1W Cree C6 Host - 650mW WL Arctic
405nm - 65mW GLP-405 Aquarius host - 160mW 6x Blu-ray MXDL Host
Total: 71,868.5 mW

Goggles!
Laser glow LSG-532-Sport protective eye goggles OD 7+ 190-532nm HIGHLY RECOMMENDED!!
Jetlasers wrap around 190-540nm OD4+ goggles*
Eagle Pair Red OD4+ goggles
Scopeguy20 Blublockers for 405nm lasers!

* indicates a review has been done, on this item.

Check out my How to Build a Selectable Dummy Load Thread!
bobhaha is offline   Reply With Quote
Old 04-19-2012, 07:06 PM #14
Trevor's Avatar
Class 3B Laser
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Trevor Trevor is offline
Class 3B Laser
Trevor's Avatar
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 4,506
Rep Power: 2565
Trevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond reputeTrevor has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

Okay, so, thought I'd upload the current version to make sure this is compatible with the LaserBee-style datastream.

Windows 32-bit: http://raptureinnovations.com/projec...in32_0_2_1.zip
Mac OS X: http://raptureinnovations.com/projec...cOSX_0_2_1.zip

Trevor
Trevor is offline   Reply With Quote
Old 04-19-2012, 10:26 PM #15
Bionic-Badger's Avatar
Class 4 Laser
 
Join Date: Oct 2007
Location: Oregon, USA
Posts: 5,478
Rep Power: 3157
Bionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond repute
Bionic-Badger Bionic-Badger is offline
Class 4 Laser
Bionic-Badger's Avatar
 
Join Date: Oct 2007
Location: Oregon, USA
Posts: 5,478
Rep Power: 3157
Bionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond reputeBionic-Badger has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

See if this works in Processing. I didn't run/compile it, but I don't think there are any errors:

Code:
import processing.serial.*;

Serial port;        // The serial port

static final int PORT           = 0; // Which port in the list
static final int WIDTH          = 1023;
static final int HEIGHT         = 300;
static final int HEIGHT2        = 10;
static final int MAX_VALUE      = 2000; // Max value 
static final int DIGITS         = 4; // Digits for each field

int x = 0;
boolean on = false; // Variable for alternating colors as graph draws

int field0 = 0;
int field1 = 0;
int phase = 0;



void setup() 
{
    size(WIDTH, HEIGHT + HEIGHT2);
    println(Serial.list());
    port = new Serial(this, Serial.list()[PORT], 9600);
    background(0);
    println("begin");
}

void draw()
{
    while (port.available() > 0)
    {
        int value = port.readChar();

        // State machine to synchronize the data frames:
        switch (phase)
        {
        case 0:
            // First field.  Collect and parse numbers until a comma is found:
            if (value == ',') // A comma, ASCII = 0x2C
            {
                phase = 1;
            }
            else if ((value >= 48) && (value < 58)) // 0-9
            {
                field0 *= 10;
                field0 += (value - 48); // Remove ASCII offset
            } else {
                // Something else.  Restart the synchronization.
                field0 = 0;
                field1 = 0;
                phase = 0;
            }
            break;
        case 1:
            // Second field. Collect and parse numbers until a CR or LF is
            // found:
            if ((value == 0xD) || (value == 0xA)) // CR or LF
            {
                phase = 2;
            }
            else if ((value >= 48) && (value < 58)) // 0-9
            {
                field1 *= 10;
                field1 += (value - 48); // Remove ASCII offset
            } else {
                // Something else.  Restart the synchronization.
                field1 = 0;
                field1 = 0;
                phase = 0;
            }
        case 2:
            // Draw our graph:
            float fValue = field0; // Floating point version of value
            float h = map(fValue, 0, MAX_VALUE-1, 0, HEIGHT-1);
            stroke(0,0,0);
            line(x, 0, x, HEIGHT-1);
            if (on)
            {
                stroke(127,34,255);
            } else {
                stroke(255,128,0);
            }
            line(x, HEIGHT, x, HEIGHT - h);
            DrawBottom();

            phase = 0;
            field0 = 0;
            field1 = 0;
            break;
        }
    }
}

void DrawBottom()
{
    if (on)
    {
        stroke(128,128,128);
    } else {
        stroke(64,64,64);
    }
   
    line(x, HEIGHT, x, HEIGHT + HEIGHT2);

    if (++x > WIDTH)
    {
        x = 0;
        on = !on;
    }
}
It grabs characters from the serial port, parses them in "###,###" format (and assumes a linefeed at the end) into numeric values, and then graphs them.
__________________
You must spread some Reputation around before giving it to <person> again.
Bionic-Badger is offline   Reply With Quote
Old 04-19-2012, 10:57 PM #16
bobhaha's Avatar
Class 3B Laser
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
bobhaha bobhaha is offline
Class 3B Laser
bobhaha's Avatar
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 3,256
Rep Power: 360
bobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond reputebobhaha has a reputation beyond repute
Default Re: Laserbee raw output now visible in OSX environment

Error: Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBound***ception: 0

Code:
port = new Serial(this, Serial.list()[PORT], 9600);
Would it be because I don't have a device connected at that baud rate?
__________________
Lasers!
10.6um - >40W CO2 Laser - 25W RF excited CO2 Laser*
685nm - Being built!
660nm - 250mW LOC PowerLight B50 Host - 100mW WL pulsar
635nm - 430mW C6 Host*
632.8nm - Red He-Ne laser ~1mW
593.5nm - Regal 5
542.8nm - Green He-Ne laser ~2.5mW
532nm - 620mW+ lasersman Firedragon III* - 100mW PGL-III-M from JETLASERS* - 70mW Rayfoss Host*
~~~ - 175mW Rayfoss Host - <5mW WL Core - 55mW DinoDirect review laser*

488nm - On the hoist
473nm - 2x CNI lab lasers ~40mW
445nm - 3W Big Boyz Laser - >1.1W Cree C6 Host - 650mW WL Arctic
405nm - 65mW GLP-405 Aquarius host - 160mW 6x Blu-ray MXDL Host
Total: 71,868.5 mW

Goggles!
Laser glow LSG-532-Sport protective eye goggles OD 7+ 190-532nm HIGHLY RECOMMENDED!!
Jetlasers wrap around 190-540nm OD4+ goggles*
Eagle Pair Red OD4+ goggles
Scopeguy20 Blublockers for 405nm lasers!

* indicates a review has been done, on this item.

Check out my How to Build a Selectable Dummy Load Thread!
bobhaha is offline   Reply With Quote
Reply





Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On











Loading








Green Laser Pointers by Category Blue Laser Pointers by Category Red Laser Pointers by Category
Yellow Laser Pointers by Category Violet Laser Pointers by Category Orange Laser Pointers by Category
Top Laser Pointers by Power - 1 Watt+ Top Laser Pointers by Power - 500mW+ Top Laser Pointers by Power - 250mW+
Laser Pointer Database High Power Laser Pointers Laser Pointer Diodes






Privacy Policy | Advertising Disclaimer | Terms of Use


 


All times are GMT. The time now is 07:02 AM.


Powered by: vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
Privacy Policy | Advertising Disclaimer | Terms of Use
Copyright (C) 2017 Laser Pointer Forums, LLC