How do you add a QR code bitmap file to your board?

How do you add a QR code bitmap file to your board?

donpVCJWQ
Enthusiast Enthusiast
3,421 Views
9 Replies
Message 1 of 10

How do you add a QR code bitmap file to your board?

donpVCJWQ
Enthusiast
Enthusiast

How do you add a single color QR code bitmap file to your board?

0 Likes
Accepted solutions (4)
3,422 Views
9 Replies
Replies (9)
Message 2 of 10

didrik.madheden
Advocate
Advocate

You can import BMP files using a ULP script. In the board editor, click the ULP toolbar icon, select the import-bmp script in the list, click ok, and follow the provided instructions.


I'm a regular forum user, and not affiliated with Autodesk, but I like contributing to the forums to learn new things about Eagle. If this post answered your question, feel free to mark it as a solution. If something needs clarification, feel free to ask.
Message 3 of 10

donpVCJWQ
Enthusiast
Enthusiast

Didrik, I followed the suggestion but the result is "bmp file contains more than 256 colors, reduce colors before use." There are only black and white colors in the bitmap. There are grey vertical bars too, but that's it.

I attached the file for you to review.

 

Thanks. Don.

0 Likes
Message 4 of 10

didrik.madheden
Advocate
Advocate
Accepted solution

The BMP file needs to be in what's called indexed or palette mode. In Photoshop or Gimp, this setting should be somewhere like the menu image, mode, indexed. You may be able to achieve the same thing in MS Paint by re-saving the file as a 256 or 16 color image, assuming MS Paint still supports those settings.


I'm a regular forum user, and not affiliated with Autodesk, but I like contributing to the forums to learn new things about Eagle. If this post answered your question, feel free to mark it as a solution. If something needs clarification, feel free to ask.
Message 5 of 10

jorge_garcia
Autodesk
Autodesk
Accepted solution
MS Paint still does. I tend to prefer using monochrome bitmap images. Just two colors black and white, perfect for a QR code.



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
Message 6 of 10

donpVCJWQ
Enthusiast
Enthusiast
Accepted solution

Didrik

 

I took your suggestion as well as Jorge Garcia's. Working with Win10 MS Paint ended up being simpler so I saved the file as a B&W monochrome .bmp. When I created a new schematic sheet for the existing schematic, the file was created as a device I presume but in blue and green, not B&W. Anyway, when I navigate to the board, the device is not there. Is there a step I'm missing?

Thanks. Don.

 

0 Likes
Message 7 of 10

donpVCJWQ
Enthusiast
Enthusiast
Accepted solution

I found a Youtube video on the next step and it resolved my issue. Thanks to everyone for their help. Don.

0 Likes
Message 8 of 10

blaisebarrette
Advocate
Advocate

Hi all!

I created a ULP that generates a QR Code directly in Fusion. You enter the URL, dimension, layer and position and it is drawn directly in the canvas.
You can find it on my GitHub!
https://github.com/blaisebarrette/QRCode-ULP-for-Fusion-electronics 

 

UPL.png

 

Hope that helps!

 

- Blaise

0 Likes
Message 9 of 10

blaisebarrette
Advocate
Advocate

I made a separate version for Mac OS and Windows.
I have no way of testing the Windows version so if you get a chance to test it. Let me know!
Mac version seems to be working flawlessly on my machine.

https://github.com/blaisebarrette/QRCode-ULP-for-Fusion-electronics 

Thank you!

- Blaise

0 Likes
Message 10 of 10

blaisebarrette
Advocate
Advocate

I created a very simple tu use ULP that creates a QR code on your board.

As far as I know it hasn’t been tested in Eagle yet but if it works in Fusion, it should work with Eagle.

 

All you have to do is enter the URL, the wise and choose the layer you want it on.

 

if you try it, let me know if it works in Eagle I’m curious!

 

https://github.com/blaisebarrette/QR-Code-generator-ULP-for-Fusion-electronic

 

- Blaise

0 Likes