Trevor
0
- Joined
- Jul 17, 2009
- Messages
- 4,386
- Points
- 113
Introducing the open source LaserBee SDK!
While it's true I've handed the reins to Ellipis to new management, I wanted to contribute one final tool to developers who wish to work on the LaserBee.
To avoid having any questions raised about legality, the code linked in this thread is cut down to pretty bare bones. This is to ensure that it does not infringe on any territory of the original LaserBee firmware that might be considered a "trade secret," such as the calibration math and nonlinearity adjustment. The aforementioned code contains only common, simple embedded programming to run the most basic functions of a circuit.
I spent today putting it together and here it is - the completed LaserBee SDK!
What does it do?
It provides an interface to each component in the LaserBee system - the buttons, the LCD and backlight, the analog-to-digital converter (ADC), and the serial port. It is a codebase that includes sample code to drive all of the electronics and facilitate development of new firmware for the LaserBee platform.
What doesn't it do?
The LaserBee SDK does not include any of the math that derives a reading in milliwatts from a raw ADC value. That information is available elsewhere on LPF, but it is not included in the SDK.
Usage
You'll need a PIC programmer, the HI-TECH PICC Compiler, and MPLab X. Add the source files to a new MPLab project, and it will compile and flash just fine. I have the CanaKit PIC Programmer, which cost me $70 if my memory serves. Fairly reasonable!
Application Notes
The version linked here only includes the address of the ADC for the LaserBee I; to run a build on a different LaserBee product you will need to determine the I2C address of the ADC.
If you have any trouble getting this set up or running on a LaserBee, please don't hesitate to drop me a PM!
Demo
Fine Print
To save Jerry the trouble of posting it here, here's his disclaimer.
License
This section is lifted from my OpenLPM thread.
The LaserBee SDK is under the GNU GPLv3. The simple English version of Wikipedia gives a rather nice, concise explanation of what this license means.
If you’re selling a product, any recipient of the product must be given the source code, because a compiled binary must always be accompanied by its source code.
Any derivative of the LaserBee SDK must be under GNU GPLv3.
Downloads
Version 1.0 - https://www.dropbox.com/s/ke38qmw0nk05b5j/LaserBeeSDK_1_0.zip?dl=0
Support
If you find this useful, please consider contributing a small amount. It takes time to maintain these projects, and every bit helps.
Conclusion
So, there you have it! Open source software available for the most popular and widespread hobbyist LPM.
Hope someone gets some use out of it!
Trevor
While it's true I've handed the reins to Ellipis to new management, I wanted to contribute one final tool to developers who wish to work on the LaserBee.
To avoid having any questions raised about legality, the code linked in this thread is cut down to pretty bare bones. This is to ensure that it does not infringe on any territory of the original LaserBee firmware that might be considered a "trade secret," such as the calibration math and nonlinearity adjustment. The aforementioned code contains only common, simple embedded programming to run the most basic functions of a circuit.
I spent today putting it together and here it is - the completed LaserBee SDK!
What does it do?
It provides an interface to each component in the LaserBee system - the buttons, the LCD and backlight, the analog-to-digital converter (ADC), and the serial port. It is a codebase that includes sample code to drive all of the electronics and facilitate development of new firmware for the LaserBee platform.
What doesn't it do?
The LaserBee SDK does not include any of the math that derives a reading in milliwatts from a raw ADC value. That information is available elsewhere on LPF, but it is not included in the SDK.
Usage
You'll need a PIC programmer, the HI-TECH PICC Compiler, and MPLab X. Add the source files to a new MPLab project, and it will compile and flash just fine. I have the CanaKit PIC Programmer, which cost me $70 if my memory serves. Fairly reasonable!
Application Notes
The version linked here only includes the address of the ADC for the LaserBee I; to run a build on a different LaserBee product you will need to determine the I2C address of the ADC.
If you have any trouble getting this set up or running on a LaserBee, please don't hesitate to drop me a PM!
Demo
Fine Print
To save Jerry the trouble of posting it here, here's his disclaimer.
lasersbee said:Legal Disclaimer
Please be advised that this disclaimer is for Legal reasons and
to be absolutely clear.
J.BAUER Electronics is the sole designer and manufacturer of all
the LaserBee Laser Power Meter products and is the sole owner
of all copyrights and trademarks for the LaserBee™ LPM products
and the EagleEye™ software.
Anyone that implements/uses any unauthorized nor approved nor
tested (by J.BAUER Electronics) 3rd party firmware on any of our
products will unconditionally void any Warranty and/or any present
or future Customer Service for their LaserBee product.
This or any future unauthorized 3rd part mimicking of our Intellectual
Property (IP) and work product is not recognized, recommended
or approved to be used on any LaserBee product ever manufactured
by J.BAUER Electronics.
Jerry Bauer Pres.
J.BAUER Electronics
License
This section is lifted from my OpenLPM thread.
The LaserBee SDK is under the GNU GPLv3. The simple English version of Wikipedia gives a rather nice, concise explanation of what this license means.
So, even if you’re giving it away a modified copy of the LaserBee SDK, the recipient must be given the source code or instructions on where to download it – and it also must carry the GPL license.There are two main terms to the license. Both apply to giving the program away or selling it.
If the user does not agree to follow the GPL, they can still use the software under copyright laws. They can use it and make copies or changes to it for themselves, but they cannot give it away or sell it. They also cannot change the license.
- A copy of the source code or written instructions about how to get a copy must be included with the software. If the software is able to be downloaded from the internet, the source code must also be available for downloading.
- The license of the software cannot be changed or removed. It must always use the GPL.
If you’re selling a product, any recipient of the product must be given the source code, because a compiled binary must always be accompanied by its source code.
Any derivative of the LaserBee SDK must be under GNU GPLv3.
Downloads
Version 1.0 - https://www.dropbox.com/s/ke38qmw0nk05b5j/LaserBeeSDK_1_0.zip?dl=0
Support
If you find this useful, please consider contributing a small amount. It takes time to maintain these projects, and every bit helps.
Conclusion
So, there you have it! Open source software available for the most popular and widespread hobbyist LPM.
Hope someone gets some use out of it!
Trevor
Last edited: