Discussion: Laser Direct Imaging Of PCBs And The Propeller

1235»

Comments

  • @Mike
    I am not sure about you 6 buttons.

    If you can highlight or mark one item in the list, you need 2 buttons to scroll and one to select.

    confirm could be the same as select, just pressed again.

    back to parent is just selecting directory ".."

    reset to current? what is that supposed to do?


    As previously mentioned, it has been a while since I wrote and tested that code, but if I remember correctly, a single selection starts at the top of the list, then with each down button press, the selection is progressed with each down button press, until the bottom of the display is reached. When the bottom of the display has been reached, the items in the directory are scrolled upward upon each down button press, until the end of the directory has been reached.

    According to the header file, there are six button command handlers, which are:
    void on_scroll_up_lcd();
    void on_scroll_down_lcd();
    void on_sel_file_dir();
    void on_confirm_sel();
    void on_reset_root();
    void on_up_level();

    After thinking about what you said and looking at the command button handlers, I would have to agree that it could all be done with three buttons.
    on_sel_file_dir() just makes the current selection blink

    on_confirm_sel() could be moved to on_sel_file_dir() which would monitor for a second press

    on_reset_root() could be eliminated, but it is a nice feature if the directory structure is complex and you are deep into the structure.... With one button press, you are back at the root

    on_up_level() is unnecessary and could also be eliminated. The same result could be accomplished by scrolling back up the display and selecting ".." However, the same as above, it saves a bunch of scrolling

    I believe "reset to current" must have been eliminated.

    I suppose the root could be reset by pressing and holding the scroll up button.

    Anyhow, thanks for taking the time to comment, because it certainly got me to thinking about the code with more in depth thought. There is definitely some bloat as far as the handlers go :) and file navigation could easily be accomplished with just three buttons, as you have indicated.


    @Jason

    I have to agree, that is pretty darn slick for menu handling. I was researching your suggestion before heading off to sleep this morning, but I would have never imagined any menu handling like that shown in the video.

    Going back to a previous comment of mine:
    At this point, I am beginning to think that I should supply the machine code via USB from a PC as compared to obtaining the machine code from a microSD card.

    Perhaps, until I can prove whether the machine works or not, I should hold off on any interface for now, and just be content with reading a single file from an SD card. If it does work well enough for further experimentation, then I would also like to be able to control current to the laser, pulse width, etc... In which case, that rotary encoder would be a very nice solution, for setting a variety of machine parameters.

    Thank You Mike and Jason


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • potatoheadpotatohead Posts: 8,799
    edited May 19 Vote Up0Vote Down
    I use a device with a wheel button. Love it.

    Card nav is simple.

    Use wheel to pick card function.

    Press button to use file, or enter directory.
    Use wheel to select parent directory icon, press to go to that directory.

    Exit card menu, reenter for card root, or navigate back using parent directory function
    Do not taunt Happy Fun Ball! @opengeekorg ---> Be Excellent To One Another SKYPE = acuity_doug
    Parallax colors simplified: http://forums.parallax.com/showthread.php?123709-Commented-Graphics_Demo.spin<br>
  • potatohead
    I use a device with a wheel button. Love it.

    Do you have a link to the device you are talking about?

    Going back to a previous discussion between us.... After looking for a flat piece of sheet stock to use as the bed plate, I could not find anything that was even close to acceptable, unless I was to build a rigid frame, to pull out warpage, which I may do...

    The other option is something similar to this: https://mcmaster.com/#3511t131/=17p7881

    Pretty freakin' expensive


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • T ChapT Chap Posts: 3,593
    edited May 20 Vote Up0Vote Down
    Use a 4.3 LCD cap touch screen. Create your own graphics for any number of buttons, up down menu etc. Rayman has an LCD interface module to connect to the Prop, example code, apps to convert 1bpp bitmaps to DAT for easy use with maybe 6 colors. There is an app called Pixelformer that is easy to make simple graphics for buttons, export as bitmap then load into Raymans app called 1 Bit Bitmap to convert to dat then load in spin very easily and place the graphic where you want. It is then easy to define the touch points on the screen and assign a touch to do what you want. You cannot go wrong learning how to put graphics on an LCD. It is then easy to scroll through text, jump to end, jump to top, go down 10, edit a line, save, save as, load. All very easy stuff. All the hard work has been done already. You can then have many buttons, scroll bars, etc.

    http://www.rayslogic.com/propeller/Programming/1-BitBitmap/1-Bit Bitmaps.htm


    If you don't have enough pins left over after driving the LCD, you can easily connect one Prop/LCD to another that is doing all the motor work.

    1145 x 643 - 210K
    1083 x 641 - 102K
  • idbruceidbruce Posts: 5,518
    edited May 20 Vote Up0Vote Down
    T Chap

    That also seems like a nice interface.
    Rayman has an LCD interface module to connect to the Prop

    I looked, but I couldn't find the interface module. I will look again later.
    You cannot go wrong learning how to put graphics on an LCD.

    I agree 100%, especially on a cap touch screen, just never took the time or invested the funds to do that, but still, I agree.

    Much of this project depends on how the initial results turn out, especially in determining how much effort and money I will dump into it. There are many times that I get tempted to over-complicate issues during the test phase of a project and I believe the interface issue is currently one of them.

    At this point, I think that I have most of the parts needed to make a bare bones machine and test, and perhaps that is what I should strive for, instead of more planning. Either way, thanks for sharing the info, because I have always liked the touch screens.


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • During my research, I discovered that the laser must be held firmly, to provide any kind of decent output. So instead of going with single row V-groove bearings for the laser carriage, I decided to go with double row radial ball bearings, because I certainly want as little slop as possible for this carriage. To make a long story short, there will be a total of eight bearings for the carriage, with each bearing having a 1/4" ID, a 5/8" OD, and a 0.196" width, and two bearing sets, along with a spacer for each set, will be pressed into (4) steel V-groove sleeves, which I am currently turning on a wood lathe. The OD of each sleeve will be 7/8", the width of each sleeve will be 0.4545", and each sleeve will have an 80 degree V-groove cut across the center.

    In the image below, you will see a side view of my carriage assembly, with the V-groove sleeves being cross sectioned. The laser housing, the laser module clamp, and the carriage are already made, and all I need to finish the carriage is those v-groove sleeves. Making those steel v-groove sleeves on a wood lathe is a real treat. So much fun, I can hardly control my excitement

    Various issues have hindered my progress, but more specific to the machine, I have redesigned a couple areas of the machine, and additionally I had two failures at making the v-groove sleeves. The two failures were due to the learning curve, after which, I developed a specific process for making the sleeves and altered the v-groove angle to 60 degrees.

    I am happy to say that I now have 4 v-groove sleeves for housing 8 bearings, all turned and bored from 1" 1018 steel. All in all, I would have to say that they turned out fairly well and accurate, with small discrepancies in the width between the four sleeves, averaging a couple thousandths, which will be rectified by shims or various post lengths, to make them properly align with the guide rail.

    With the v-groove sleeves now complete, I must now make four shims to place in between each of the two bearings that will be pressed into each v-groove sleeve. It is my hope to have 4 complete double row v-groove bearing assemblies by sometime tomorrow afternoon, and if so, I will take and post some photos of these homemade baby bearings.
    Final Specs...
    Bore: 0.25 in.
    O.D.: 0.875 in.
    Width: 0.4375 in.
    V-Groove: 60 degree centered across width
    Rows: 2
    Seals: Double Sealed Bearings

    I just wish I could have found something similar that was commercially available, because it sure would have made life a little simpler :)


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • potatoheadpotatohead Posts: 8,799
    edited May 30 Vote Up0Vote Down
    I find this dang thing hard to source. I'll look Bruce. Gonna have to take a cover off and get an identifier.
    Do not taunt Happy Fun Ball! @opengeekorg ---> Be Excellent To One Another SKYPE = acuity_doug
    Parallax colors simplified: http://forums.parallax.com/showthread.php?123709-Commented-Graphics_Demo.spin<br>
  • Do not taunt Happy Fun Ball! @opengeekorg ---> Be Excellent To One Another SKYPE = acuity_doug
    Parallax colors simplified: http://forums.parallax.com/showthread.php?123709-Commented-Graphics_Demo.spin<br>
  • potatoheadpotatohead Posts: 8,799
    edited May 30 Vote Up0Vote Down
    After looking for a flat piece of sheet stock to use as the bed plate, I could not find anything that was even close to acceptable, unless I was to build a rigid frame, to pull out warpage, which I may do...

    Really flat stock is super expensive. This is because someone has to do the work. It's either you, or you pay for it.

    Know someone with a mill?

    You could use points of contact, if your confidence in the flatness of the PCB is high. Mine would not be, but... three points of contact can be matched up with manual methods. For your test, this may well yield big bang for the effort.

    Otherwise,

    Get a dial indicator, height gauge, or make a fixture. Run it over the surface. Put real time into your fixture, should you do that. It matters, needs to be rigid. Hopefully you have a granite plate to work with.

    If you get stock that is close, you can use abrasives on one surface, adjustable mounts on other surfaces.

    This is no joke. Get something large and as flat as you can manage. Heavy, if you can get it. Then use abrasives in tandem with it, and the dial indicator. Will take a while.

    I've done this with an orbital sander. Measure. Use sharpie to find high spots. Apply orbital sander, until you are just moving the problem around. Under. 002" or so. This takes a fixture. Also, and ideally, just don't move the target piece. Work in place, one surface flatness is all you really need.

    Switch to flat, heavy thing, finer grit, and manually polish off high spots. Go finer, measure, check.

    Or mill, or pay.

    Facing off some metal doesn't take long. Ask around. You might get it done for a song, depending. Recommended as the whole bed can be square. Makes a lot of things much easier.

    It's very likely the thickness of stock varies quite a bit. Few thousandths. A frame to stress that away won't leave it flat. It will just be more uniform in whatever shape it actually has.

    The longer your laser focal length is, the less critical the bed is.

    :D

    Do not taunt Happy Fun Ball! @opengeekorg ---> Be Excellent To One Another SKYPE = acuity_doug
    Parallax colors simplified: http://forums.parallax.com/showthread.php?123709-Commented-Graphics_Demo.spin<br>
  • potatoheadpotatohead Posts: 8,799
    edited May 30 Vote Up0Vote Down
    Random thought. Got one of those granite places nearby?

    They leave scrap and blemished pieces out. Primary surface will often be very flat. Serious inertia though. Not for moving bed.

    Some industrial supply places will sell flat stock too. The one near me has water jet and mill. They will do basics cheap. Maybe you have similar near you.

    Do not taunt Happy Fun Ball! @opengeekorg ---> Be Excellent To One Another SKYPE = acuity_doug
    Parallax colors simplified: http://forums.parallax.com/showthread.php?123709-Commented-Graphics_Demo.spin<br>

  • potatohead

    Those are some very interesting switches :) I especially like the black one (TSWB-3N-CB222 LFS) mouser.com/ProductDetail/CK-Components/Tsw-B-3n-Cb222-Lfs/?qs=sGAEpiMZZMsFLoxuNbFfpYmm8mOv8s5tIfIjgYU977U%3d

    For $5.56, that is a compact solution, although a tad bit larger than I had hoped, but I believe I can still make it look good. With only 4 IO pins left and provisions for an I2C MCP23008 IO expander, I have to determine my best route for making it operational. I will definitely be ordering one the next time I make a purchase with Mouser.

    Nice find and thank you very much.

    As for the bed plate, I think I am just going to bite the bullet and order the "supposed" precision plate. I believe that is my best route to save myself aggravation and stress.

    Thanks again for finding that part for me, I truly appreciate it.

    Bruce


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • Cool. Yeah, I like using those things myself. No worries.
    Do not taunt Happy Fun Ball! @opengeekorg ---> Be Excellent To One Another SKYPE = acuity_doug
    Parallax colors simplified: http://forums.parallax.com/showthread.php?123709-Commented-Graphics_Demo.spin<br>
  • idbruceidbruce Posts: 5,518
    edited June 6 Vote Up0Vote Down
    UPDATE:

    I must now admit that the double row v-groove bearings are/were a little more complex to make than I initially believed, but I have learned several things through my first attempts. The main thing that I learned is that the sleeve and the shim must be VERY precise, otherwise binding will occur, and of course, the larger the discrepancy, the greater the bind. This setup is way more complicated than a single bronze bushing :)

    At this point, I have assembled and disassembled the v-groove bearings at least a couple of times, and I have reviewed a couple of documents pertaining to bearing assemblies. With one assembly out of four, now working pretty darn smoothly, I am now confident that I have discovered the recipe of the secret sauce. :)

    As you may have guessed, with all the assembly and disassembly taking place, the bearings, sleeves, and the shims have all taking a serious beating, so I have decided to remake all the assemblies.

    During the course of all this trial and error, I have made several tools to both assemble and disassemble these v-groove bearing assemblies. Considering that I will most likely use these v-groove assemblies for various projects, I will have to consider the making of these tools a worthy time investment or at least I hope so.

    Another hard lesson that I learned is that high speed steel tooling is much easier and less expensive to work with, as compared to tungsten carbide tipped bits. I am certain that tungsten carbide tipped bits have their uses for very tough metals, but when it comes to softer metals, high speed steel is definitely the way to go, because it produces a much better finish, there is a lot less tool chatter, and it is much easier on the old wallet. Harbor Freight sells a 5 piece M2 High Speed Steel packet for $4.49 (https://harborfreight.com/5-piece-m2-high-speed-steel-mini-tool-bits-for-metalworking-lathes-40641.html), as compared to a single 1/4" tungsten carbide tipped bit, for approximately the same price. All things considered, you can really do quite a bit of stuff with the 5 piece packet from Harbor Freight. I just wish they also included a 60 degree threading point for cutting my v-grooves, instead of having to grind one of the pieces down.

    Anyhow, it is now time for the second round, only this time, I will enter the ring equipped with better knowledge, better tooling, and of course the recipe for the secret sauce. DING DING let the bell ring.


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • idbruceidbruce Posts: 5,518
    edited June 6 Vote Up0Vote Down
    In reference to my last post, as I see it, the previously mentioned v-groove bearing assemblies and smoothness of operation are extremely critical to any possible success pertaining to my design of a direct laser imaging machine, and considering my discussion of HSS and carbide cutters, a HSS 60 degree threading point is also therefore critical to any success. Additionally and also as previously mentioned, I would also like to have a HSS 60 degree threading point available, just so that I can create these bearing assemblies, whenever I may need them for other small projects, requiring linear travel, without having to build a complex linear actuator.

    Anyhow, one of the other key features of buying the HSS blanks from Harbor Freight, is that I can grind and sharpen them whenever necessary. In the case of a tungsten carbide 60 degree threading point, when they get dull they are a pain to sharpen, and if you chip the carbide, well the ball game is over, or at least until you have another one shipped. For left or right turning, or for facing or parting, grinding your own HSS bits is no big deal, requiring only a little knowledge, practice, and a steady hand, but a 60 degree point is pretty darn precise. I don't believe that I want to attempt grinding this point in free hand style, so instead I have been designing a jig to bolt up to the grinder, so that I may create this point or sharpen a point rather quickly.

    I will be making this jig from a couple short pieces of 1/4" key stock, several screws, a 1/4" X 2" aluminum plate, and a custom made bracket, for attaching it to the grinder. Basically a 1/4" HSS blank will be pushed along one section of key stock into the grinding wheel to create one angle and then it will be moved to the opposing key stock to finish creating the 60 degree angle. I have attached a rough sketch just to give you the concept.

    And since I am talking about the subject of lathe tooling and Harbor Freights HSS package, I suppose I should also mention another product from Harbor Freight, which I have found to be indispensable for sharpening both tungsten carbide and HSS tooling, and that product would be their 4 sided diamond hone block for $12.99 (https://harborfreight.com/catalogsearch/result/index/?dir=asc&order=EAScore%2Cf%2CEAFeatured+Weight%2Cf%2CSale+Rank%2Cf&q=hone). This is a great tool for any workshop. In addition to sharpening lathe bits, I also use this hone to sharpen exacto blades, razor blades, utility knife blades, etc... I would recommend this hone for any serious tinkerer.

    Anyhow, that is enough rambling for now :)


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • OOOPSS... I forgot the sketch in my last post, so here is a rough draft of my 60 degree point grinding jig :)

    762 x 390 - 24K


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • I ended up redesigning the grinding jig a little and here is a couple pics of the outcome. I could not get a very good pic of the 60 degree angle ground into the HSS, but it came out beautifully.
    Dscn2199.jpg
    Dscn2204.jpg
    Dscn2205.jpg
    365 x 274 - 20K
    365 x 274 - 13K
    365 x 274 - 15K


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

Sign In or Register to comment.