Updates from charliex Toggle Comment Threads | Keyboard Shortcuts

  • charliex 3:07 pm on July 30, 2015 Permalink | Reply  

    KB3045324 failed to install 


    I had a MSSQL Express security update always fail in windows update, so I downloaded the download center version, that didn’t work but it pointed me to a log

    Instance SQLEXPRESS overall summary:
      Final result:                  The patch installer has failed to update the shared features. To determine the reason for failure, review the log files.
      Exit code (Decimal):           -2054422498
      Exit facility code:            1420
      Exit error code:               30
      Exit message:                  The specified directory, "C:\Program Files (x86)\Microsoft SQL Server\", for the INSTALLSHAREDWOWDIR parameter is not valid because this directory is compressed or is in a compressed directory. Specify a directory that is not compressed.
      Start time:                    2015-07-30 07:57:55
      End time:                      2015-07-30 07:58:12
      Requested action:              Patch


    So it was just that, I’d compressed the c:\program files (x86) folder and it doesn’t support it, I changed the compression on the Microsoft SQL Server folder and it installed fine.

    Some reasoning behind it


    Also probably the most specific and helpful error message I’ve ever seen.

  • charliex 5:28 pm on July 5, 2015 Permalink | Reply  

    Setting up SmoothieBoard on Windows 7. 

    First out I use jpsofts take command, instead of cmd shell, http://jpsoft.com there is a LE version that’s free and fine, cmd might work but it might not. it’s a much better shell than cmd and its been around forever.

    clone the git repo, I use https://tortoisegit.org


    open a shell inside the folder you checked out too, in my case f:\code\smoothie\

    use this


    stop after win_install.cmd, I used this just fine from the shell.

    edit the file


    mine said

    SET PATH=F:\code\Smoothie\;F:\code\Smoothie\..\..\build\win32;F:\code\Smoothie\gcc-arm-none-eabi\bin\;%PATH%

    I changed it too

    SET PATH=F:\code\Smoothie\;F:\code\Smoothie\build\win32;F:\code\Smoothie\gcc-arm-none-eabi\bin\;%PATH%

    then I ran

    make clean all

    This generated the elf. It wants a git.exe in the path as well.

    [F:\code\Smoothie]dir *.elf/s

    Volume in drive F is data           Serial number is 7275:a00c

    Directory of  F:\code\Smoothie\bootloader\*.elf

    7/05/2015  10:00         242,061  DFU-Bootloader.elf
               242,061 bytes in 1 file and 0 dirs    245,760 bytes allocated

        Total for:  F:\code\Smoothie\bootloader\*.elf
               242,061 bytes in 1 file and 0 dirs    245,760 bytes allocated

    Directory of  F:\code\Smoothie\LPC1768\*.elf

    7/05/2015  10:30       7,509,384  main.elf
             7,509,384 bytes in 1 file and 0 dirs    7,512,064 bytes allocated

        Total for:  F:\code\Smoothie\LPC1768\*.elf
             7,509,384 bytes in 1 file and 0 dirs    7,512,064 bytes allocated

        Total for:  F:\code\Smoothie\*.elf
             7,751,445 bytes in 2 files and 0 dirs    7,757,824 bytes allocated
       892,891,717,632 bytes free

  • charliex 6:18 pm on October 27, 2014 Permalink | Reply
    Tags: , esp8266, , psoc4, rgb led strip, wifi, ws2811   


  • charliex 7:45 pm on June 21, 2014 Permalink | Reply
    Tags: avr. attiny2313, , ebay, k40, laser, m415b, , stepper   

    LightObject Z Table for the K40/EBAY Chinese lasers. 

    Editors Note: This ztable doesn’t actually fit in my particular Chinese laser, it is too tall… I’m seeing if they have shorter threaded rods available. my lasers gantry is about 93mm to clear, ztable is 105mm. le sigh….

    Note 2: see bottom for updates.


    I Picked up a motorised Z table from light objects for my Chinese cheapo laser cutter, it’d make it a lot more useful.


    Of course first time I saw it, I didn’t pick It up and it was out of stock the next day, so a few months later I saw them back again and ordered one, arrived a few days later. First thing I noticed no instructions, but simple enough. A week or so later I got an email from them saying there might be a cable missing, I wasn’t sure it was meant to come with one but either way, they sent it out and got it a few days later, so good service there.

    Of course I thought I had stepper drivers around, but didn’t so I went back to LO and bought the M415 driver. So put it together and waited for them to arrive.


    After hooking up the motors  and stepper to my frequency generator, I got nada, the motor wasn’t holding , stepping , buzzing or anything..

    I probed the motor wires with an ohm meter and they were open circuit, so I prodded the pins on the motor and found the two coils, the cable was wired incorrectly.

    I fed the info back to lightobject, who are a super nice place to deal with, just had to move two wires on the connector from position 1, to 2 and from 6 to 5.


    Correct wiring.

    I used the M415 driver, tried out a few speeds from 1khz to 16khz to see what gave the best results, 6khz seemed fine (16 steps) I also set the current of off/on/off or 1.05A measuring the power draw on my PSU it was about 0.4A which the datasheet for the motors its mean to be claim, the driver manual notes that the current on the coils might be less than you set, and it reduces the current by about 60% when idle. Though these might be different motors, they are not getting hot.





    The Electronic Goldmine had a sale on miniswitches, I want to type mini microswitches, but that seems wrong, Stock # 61690B so I picked up a 100 or so they’re right angled pcb thru hole mount lever style, I wanted them for various things like cnc limit switches, so I’ll add them to this and see what happens


    So then I needed something to drive it , poked through my dev board boxes and found a Cypress CY8CKIT-042 (as well as a stepper motor driver! ). It’s the PSOC4 Pioneer board




    I did a quick test app


    These are the pins I used.

    If either of the switches are pressed, the table goes up and down, the limit switches will stop the current direction, but allow it to go the other way.

    I set the PWM to period 32/16 count , that gave me just about 6khz

    The pins I choose make the RGB LED on the board change colour when up/.down is selected

    Pulse is wired to PUL on the m415 and Dir to DIR, common ground.


    I could use the capsense to do a slider for the speed it moves at, but I think a fast/slow button set is easier.


    Now all I have to do is mount the limit switches, and thenfit it into the laser


    Remove the old bed is just four screws

    and then remove these posts (and all the gunk)


    One of the four posts on the z table gets in the way of the smoke extractor. so I removed the post, we’ll see what the effect of that is.


    I haven’t decided how best to install it yet. I’ll update when I do.


    The CY8CKIT is about $25, so instead I decided to make it for about $2


    Decided to try to redo one of the old cylon boards to see if I can make a mini controller. The ATTIN2313A is a pretty neat chip. I modded my cylon to look like this, its got extra ports too. its about 2.6cm x 2.6cm

    and a short while later (This is actually a rougher version I recut it)


    With some rubout (potatocam)


    Wired up.


    Momentary pushes ( all my black ones were not working correctly, so I used two red) one easy way to wire up the limits is to use a microswitch with NC connections, normally closed  vs NO normally open. Wire the limit in series with the switch, so when its engaged the control button won’t be able to close the circuit, so you can only use the down one.


    The downside to doing that way, rather than using the microprocessors inputs is that its harder to override if for some reason you need too, but if you’ve got limited IO space, and makes the wiring simpler, plus don’t really have to worry about noise/debounce.


    Mounted onto the driver. since it’s a double sided board and I only cut one side, the blue kynar is doing ground, I couldn’t route it single but I might drop one of the io’s and add a ground on the rear pins. The cap is 1uF 0805 it won’t work properly without this


    And there we have it, now to mount it in the laser, the tedious part!


    Z table


    The wiring is really simple.

    Two phases to the motor, 24Vish to the motor driver, common ground, 5V to the opto and the controller board. The switches are common ground, then to the controller board, pins 2 and 3, pulse and dir to the controller, 8 and 9.


    with notes.



    Making the table shorter

    The threaded rod is M6 x 1.0 pitch. So now I need a lathe, any excuse to buy tools right? So I did !


    I figured I’d need some better measuring tools as I go along, so thread per inch measuring tool (doesn’t do metric aye aye aye ) mitutoyo gauges with SPC , very nice.



    Since I also had gift cards lying around on amazon from bitcoin, I thought what the hell and bought one of those teen tiny lathes, its exactly what you’d expect it to be. I’m still deciding which real lathe to actually buy.



    took the table apart


    Marked the aluminium posts and cut them with a hacksaw, about 1 cm,  to fit my laser.


    Then I marked the area to remove from the threaded rods, hacksawed them down.


    On one of these the brass gear was loose, so I popped it off and filled it with thread locker then put it back on , that held it.

    Next measured how much to remove for the bearings, I used the brass parts as a marker.


    Then I squared off the aluminium posts and drilled holes in the middle.


    Test fit


    Now to see if it clears the gantry



    I found it easier to remove the side bars while it was in the machine to get the threaded rods into the bearings


    Poking around the laser for power, we need 18-24V, and 5V for the CPU.


    This switch on the right has 5V, but if it’s a moshi board, there is an easier place.

    This white connector with the four green, and red/black wires coming off the power supply, its marked 24V G 5V L , so that’s all we need.


    The other side plugs into the moshi driver board.


    Moshi marked it so bottom is gnd, 24v, 5v, L, I tapped into those by removing the pins and soldering to them. just pressing a pointed thing into the teeth and gently removing it. Solder the wires and then push the tooth out a little and snap it back in.


    Next I drilled a couple of holes for the up/down switches.


    And that’s more or less it, plugged in the stepper and tested it, all good.


    I don’t have any tap/die sets so  I didn’t tap the posts , and I wanted to keep the original setup, plus again more excuses to buy more tools.


    Made sure it was all working before I started bolting it all down.


    Laser is almost running again, the pump I bought from lowes to replace the original chinese one fell apart so have to fix that now.


    I might make a change to the software so if you press up, hold it then press down it’ll go faster (or slower),, and vice a versa.

  • charliex 7:05 pm on May 12, 2014 Permalink | Reply  

    Replacing an amerilite/pentair pool light, short version. 

    I had to swap out the pool light at home, the wire runs under ground in a tube. I didn’t take pictures of it unfortunately, mostly because i had to get in the pool to change it.

    Remove the old fixture, its usually one screw at the top, the light should have the wire coiled up behind it.

    This is an old amerilite, from before when pentair bought them out, they’re still going. Initially i changed out the gasket but even though i found the original OEM part, it was too thick and it leaked even worse, but even though i could have fixed that the rear side was leaking and its filled with an amber epoxy that you could somehow dig out and replace, but i deemed it not worth it. I pulled it apart and scrubbed it clean, replaced the gasket and sank it to the bottom of the pool with a weight, it didn’t leak, as soon as i raised it to the top to check, a stream of bubbles came out the front and back so time to replace it.

    The niche is the hole it fits into, luckily for me the amerilite/pentair is the standard fitting so i swapped it out for a hayward which is what the local pool place had, about $290 but it foes come with a 50 foot cable, which if you look at pentair/amerilite how much they charge for a longer cable its ridiculous, the shortest one looked around 15 feet, which is usually enough.

    Anyway these are generally installed in an open pipe that runs from the niche up to ground level or higher and a GFCI if you do not have a GFCI, add one or something equivalent for a 120V fitting. 12V is different. The water will sit at the natural level.

    I picked up wire lube, instead of electricians grease but don’t get the yellow stuff since it might react, i got http://www.lowes.com/pd_146594-12704-31-388-6_0__?productId=1017915 which is more than enough for this project, and it cleans up well and doesn’t react with most things, the yellow stuff does react to certain plastics etc.

    After disconnecting and checking all the power was cut off, I filled up the bottom of the box at the power side of the cable, then pulled the cable back from the light side, added more of the lube pulled it back on the power side, and repeated that a dozen or so times til it moved freely , ours has been in there at least a decade and freed up quickly, its best to go into the pool and have two people, the cable gets snagged if it enters the niche at the top so feeding it by hand makes all the difference.

    Once it was moving back and forth freely i took the light to the surface and cut the wire off at the the entry way to the lamp. Then i soldered the new wires to the old wires and covered it with a heat shrink to make it smooth.

    Next i pull tested the connection to see if it’d be strong enough, you do no want this to break mid pull.  So don’t be afraid to try to break it during testing, you get one shot.

    Next i fed the new cable from the pool while the wife pulled it from the power side into the electrical box, she wore gloves since its goopy and lots of dirt and stuff. After that put the light back up onto the side of the pool so there is enough cable that you can later take the light out and change the bulb if needed, you’ll coil this extra cable around the lamp during install.

    I then cut the cable to size and wired it to the GFCI making sure you only test it when its in the water, a very short on/off is ok but these lights are cooled by the water.

    Then i coiled the cable around the lamp and reinstalled it into the niche, its tough to get it to sit in place and screw it back in but a pair of swim goggles and someone to hold you in place helps.

    I cleaned out all the lube from the electrical box, this stuff is conductive so do that, and check it again in a few days/week to see if any came out of the conduit/pipe.

    Incidentally the LED versions of these lamps were on sale at $699 (for the whole unit) this is insanity do not buy them at that price, they are having a laugh, you can find P40 replacement LED lamps on ebay for a lot cheaper. Most of them are made in China anyway.

    Maybe  a 12V LED lamp would be better, there’s no GFCI as such since its DC 9the ac/dc convertor will have one), but then there is also no transformer etc inside the LED lamp side in the water and its now lower voltage , but still a decent amount of current, but there should be some protection on the supply side. Also we have a 500W light, so the LED ones are way less, they’ll claim otherwise but the lumens/W tests for lights/ and LEDS are different. A 100W LED lamp equivalent likely does not give off as much as a 100W incandescent lamp especially for distance, and LED’s can get noticeably dimmer over time, also replacement costs, MTBF specs don’t mean your lamp will last that long. But they sure do look purty, and the man at the pool store assures me people swim more with a coloured pool light that is fancy colours and patterns, than a plan old white one.

  • charliex 6:51 pm on March 18, 2014 Permalink | Reply
    Tags: irritrol, RD1200, repair, sprinker   

    Irritrol–RD1200 Sprinkler controller repair 

    I always have issues with water, I’ve flooded a couple of houses over the years. So the new house’s sprinkler system is no surprise, we have almost 150PSI of water pressure going into an old metal pipe sprinkler system, and I’ve been slowly replacing the pipe and reducing the pressure under concrete and all that,. This week i noticed a large dome shape on the front lawn and it turned out there was a few hundred gallons of water under the turf, and another broken pipe. Also the new flowers I planted had started to die off while I’d been out of town. the people I’d used to replace some of the bad pipes had missed one sprinkler output which had covered these flowers, so it goes on. I went out to repair these and I noticed the sprinkler solenoid  was chattering. 

    Checking out the rest of them, they were all chattering, so its obviously a problem at the controller and not the solenoids. I checked the output of the transformer, about 26VAC, so that was fine, watching the sprinkler output it was swinging from about 6VAC to 18VAC, when it hit 12VAC or so the solenoids would chatter.

    So I opened up the control box. Remove, power, Remove the ribbon cable, me plastic tabs that just pop out, then two screws hold the PCB down, which keeps the flexible LCD connector in place.  it just lifts out after the screws are removed.


    A few minutes inspection revealed the issue.


    The electrolytic capacitor is slightly swollen and leaking, its a 220uF 35V axial style, radio shack carries them for about $1.40. Changed it out and  its all working again, but make sure when you reassemble the box that the ABC switch gets on top of the PCB mounted switch, otherwise you’ll be doing what i have to do tonight and take it apart again.

    • Russ & Beth 7:52 pm on June 22, 2014 Permalink | Reply

      Awesome-just fixed my irritrol rd1200 after reading your site. We had the exact same ticking sound in all solenoids. Replaced the capacitor and instant fix! Was just getting ready to spend $200.00. Thanks!

    • Gabriel 8:39 pm on August 30, 2014 Permalink | Reply

      Charliex, thank you for your post. After selonoid chatter on one valve (of 12), out gardener recommended replacing the valve. After realizing te next three valves also had the same problem, he recommended replacing all four for a total of $ $1,400. After I pointed out that the next couple of valves also had the same problem, he recommended I change out the entire control unit. I got one quote for $375 installed (Irritrol RD-1200). I called the Irritrol service center and mentioned the issue; chattering selonoids on all valves. They knew about the problem and recommended a new controller. I called another service center in Van Nuys, CA and they have more detail staring that it was a $1.63 capacitor that usually fails on these units. I ran to Radio Shack and picked up the part. Thanks to your instructions, I was a able to take the system apart, replace the capacitor and now all valves work. Thank you so much for taking the time to post this, take pictures and take your time in outlining your resolve. Watering by hand takes over 1.5 hours. This fix not only saved us money, but valuable time. Again, thank you.

    • Laxheavy 7:23 pm on September 22, 2014 Permalink | Reply

      I am so glad I stumbled upon your fix. It worked great.

      Thank you very much.

      • charliex 7:31 pm on September 22, 2014 Permalink | Reply

        no problem! glad everyone’s getting so much use out of this post.

    • TWX 4:17 pm on February 22, 2015 Permalink | Reply

      Just did this repair on an Irritrol Rain Dial RD-900, worked like a charm. I’d found some exchange places around town that will take your core and sell you a refurb for $60; good business to be in if all you have to do is change one cap.

      The PCB has Toro printed on it, I wonder how many of other products are vulnerable to this?

      • charliex 5:21 pm on February 22, 2015 Permalink | Reply

        unfortunately caps failing is all too common, there was a rash of bad manufacturing a few years ago, then there people under spec them, and then they’re just prone to wearing out.

    • tommymc 1:47 am on June 17, 2015 Permalink | Reply

      My RD-1200 started getting really flaky, and finally stopped working although the display stayed on when a battery was in. No power from the transformer was getting to the controller box. Mine is from around ’07 and it turns out that because of the switch to lead-free solder around that time (which is awful stuff) the solder connections for the terminal strips were all cracked. Without turning the screws that tight, they will still crack the solder. The connections will still work at first, but over time as the solder oxidizes all the connections will become very intermittent and eventually most will fail.

      Re-soldering all the terminal strip connections on the back of the board (preferably with good ol’ leaded solder) fixed everything.

    • RJ 1:35 am on July 27, 2015 Permalink | Reply

      Thanks for the fix. Worked perfectly. I had the chattering solenoids and had to keep replacing batteries.

  • charliex 11:00 pm on December 29, 2013 Permalink | Reply  

    Making PCB stencils with CadSoft Eagle and MoshiDraw 2013 

    This got me a useable stencil with the K40/ecpur style “40W” lasers


    Eagle DRC using ITEADs ( doesn’t really matter which )


    First shrink the tCream pads.



    2 or 3mil worked  in the  min//max cream settings, rectangles that are part of packages aren’t affected by this setting, only auto tCream from pads.


    Next switch off all layers except tCream or bCream.


    Print the layer as a PDF ( requires adobe’s driver /mill). Use solid, black scale of 1, bottom left



    Save that as a PDF

    Load it into Illustrator, then Save it as an AI format file Version 8



    Import the AI into MoshiDraw



    Output to Machine


    I use 10 10 speed for engrave and move. Cut just doesn’t work well, 16 speed will work, but I got the best results with a slower speed.

    I did my test cuts between 30 and 45 power, 45 worked fine but 30-35 is probably better, I used dura-lay uncoated mylar sheets 4 mil. I also used air assist from a silentaire supersilent compressor.



    Another way to do it, which does seem to generate a more accurate mask is to print it directly to the MoshiPrint driver, though it leaves a black bar at the bottom for me, so that has to be edited out, which you can set the page size, it seems to ignore it.

    Select the MoshiPrint, and have MoshiDraw running and it’ll print it directly to the software. You can also get it it to temporarily write to a file but it’ll delete it quickly.

    Printing to a BMP then editing it with a bitmap editor like Cosmigo’s ProMotion lets you go in and touch up pads that you can’t control easily in Eagle. You then import that BMP into MoshiDraw, MoshiDraw doesn’t use the same pixel to mm conversion size on Import that it does for printer driver, so you have to fix it up afterwards, the default conversion is 600 DPI so do (pixels/600) [in->mm] then set that size in MoshiDraw after its imported. Change the Destination X and Y pixel width/height to the MM conversion you do.

    So for a image that’s 2000×1000 width/height at 600 DPI, you’d do

    Destination X = ( (2000/600) * 25.4 ) = 84.66mm
    Destination Y = ( (1000/600) * 25.4 ) = 42.33mm

    The lasers smallest step is 0.025mm but the kerf of the cut is probably  a lot bigger than that.


    This image has a different resolution.



    I believe the Chinese below “Overlay” is an aspect ratio lock

    You can also just print directly from the image software to MoshiDraw, but watch out for software that halftones or dithers when it prints.

    MoshiDraw does not work well with large images, above 600 DPI it really chokes.


    MoshiPrint tabs





    What we really need is a smart engrave mode where the laser travels either –X X+ or –Y Y+ direction depending on the length of the engrave, so a [___] shape would cut left to right but a || cut would be up/down. MoshiDraw has an option to change the direction of the cut, but it rotates the image too, what we want is same table orientation and position, but head travels in a different direction

  • charliex 7:11 pm on December 21, 2013 Permalink | Reply  

    Chinese 40W eBay engraving laser 

    I ended up trading some LTC/BTC for a 40W laser from china, even though I have a 100W laser at Null Space but I wanted something for making PCB stencils and so on. I fully expected to get back a hodge podge machine that would need work, since it was $599.


    They took just over a week from purchase on eBay to shipping via Fedex, it arrived in a few days, going from China, to Japan, to Hawaii, Oakland, to LA. The box just about made it, when I unpacked it, the box was being held together with the cling film outer wrapper.

    My phones SD card was corrupted, but this is the top of the box



    That blue box notes the first problem I noticed, its 220V/50hz and USA uses 110V/60Hz, the eBay listing wasn’t super clear but there was an image with the 220V shown on the label.

    Quick trip to Frys and I picked up the 2000W step up transformer, this will be plenty. 

    The left side is 110V, that’s plugged into the water pump (see later)

    Inspecting the machine is the first order of the day, and for good reason.


    This terminal block sends 220V to the rear panel for the water pump and squirrel fan. The two terminals on the left side in the middle are loose, they’re never been actually connected, so they didn’t come loose in shipping, how do I know? the screws on the terminal are screwed down tight. So first easy fix, but not a great start.


    I noticed the Y direction had a small plastic tube and o-ring as the hard stop



    But its not long enough, so the mirror adjustment screws hit the frame before this stop works, so add a short length of tube til it no longer hits the frame.

    One the back the pump and fan are connected, they won’t sit together, shave off some of the squirrels plastic and it’ll sit better, but they’re the wrong style plugs (also 220V) for a better fir they need to be the round style of metal pin not the flat blade type, they just fall out otherwise.



    water pump and air assist hookups



    laser tube, interesting mounts


    The water pump I got with the machine, couldn’t pump the water not sure if a problem with the Hz difference, or just a crap pump, luckily as with most hackers I had at least one water pump in the garage, and not only that the plastic fittings were exactly the same so I swapped it out, since it’s a 110V pump I didn’t use the rear panel. this pump is also very quiet and pumps a lot more water. Make sure you get all the air bubbles out of the laser, so as not to make hot spots.


    The squirrel fan didn’t boot either so, but it was just stuck so cleaned it out and it was fine, not the most powerful fan but its quiet.


    The transformer came with a small blade to pin adapter, it worked really well with the rear panel and fan.

    I have a spare laser tube in the background that I’d picked up a couple of years ago, I believe it should fit.


    Interestingly the wires for the LED crosshair runs through the tube, it limits the airflow I found, so I rerouted it to the outside. Also there is a hole,a nd a slice in the tube at the quick connects for the wire to get into, so the air leaks there too.




    runs back here


    unwrapped the spiral wrap


    mark the wires so you know which polarity is used.


    I undid them and unwound the orange pipe, this makes it easier to remove the ribbon cable from inside the tube



    hole in the tube


    I cut the tube to remove both holes and rewound, then reattached it so that it didn’t foul.


    the original tie wrap routed the tube so it limited air flow, so I moved it.



    Lightly tightened to allow it to move a little.


    This is how I mounted the cable, til I pick up some new wiring, I’m planning to change out all the wiring since most of it seems to low a gauge for the voltages used.



    rewrapped and tied back


    the air flow is much better now, but the end needs a new nozzle to help jet the air


    The mirror adjustment is interesting


    jumping around a bit, i ‘d engraved some plastic sheet


    interesting clip art that moshidraw is supplied with.


    I’ll add more to this as I go along, there are a few blogs already about these styles of laser cutters , most people replace the moshi electronics, as moshidraw is probably some of the worst  software you’ll use. Though I’ve never had software that’s had a specific icon for Mongolian text.


    I downloaded and installed MoshiDraw 2012, that works a lot better there are some warnings about MoshiDraw 2013 bricking controllers or USB drivers, my interface board is v4.6 so it seems to be earlier versions that are affected, there’s a debricker for the 2013 version too. I’ll try the 2013 version later today.




    I haven’t had to use it yet. MoshiDraw 2012 stopped once during an engrave, but only once so far. The software writers though have used the wrong windows message handler for the numerical input boxes though, so every time you type a character into the move control, it sends it to the machine instead of waiting for the input box to be moved away from or enter press, it’s a common windows GUI newbie mistake that affects a lot of software though you may never notice, but its critical for CNC stuff, you can change 80.000 to 80000 by mistake, and the machine will try to move to 80000mm. A side effect is if you type 8 0 , it’ll move to 8, then 80 but since it’s a quick move, the machine wont respond correctly and you get an error. I’m going to see if I can change the message handler code.

    No need to change it, moshidraw 2013 fixes that problem, but it introduces another one, I’ve done two engraves and its only made it through about 20% of the task. I reset the machine on one of the crashes tasks, and the laser immediately came on and cut a diagonal line from home til I turned it off again… One of the reasons I’m going to add a defeat switch on the main panel lid and laser tube access panels. 

    Yep tried a few times, only makes it part way through the job before stopping and homing or just stopping altogether., might be a buffer size issue?

    With MoshiDraw 2012 you can use the machine as laser cutter, and not just a laser engraver though, the MoshiDraw 6/7 that comes with it will really only engrave, if you draw a line, it’ll draw around it, if you draw a circle it rasterises it so you get the draw left, move , draw right, move back, down, draw left, move, draw right.


    Air assist as you’d expect, really helps keeps the flames down and improves the cuts no end. I just have to change out from my supersilent aire airbrush compressor which can’t keep up the air demand, to a cheap diaphragm compressor which can, just make the tubes long enough so it acts as a reservoir and stops the putt putt airflow.


    I pulled the 8051 and tried to read it back in an eprom programmer. its likely locked or not the atmel/win AT89 but its definitely a variant, schematics match up , it has a serial 4 pin isp port on the board too..


    So far it cuts just fine. Engraves nice too.


    Primarily I wanted to use this for eagle solder stencils.


    I used cream-dxf.ulp which outputs two dxf’s of tcream and bcream. Since its primarily designed for vinyl cutters , I click off the cut two times, and set shrink to 0.1mm ( None of the other DXF outputters I used could import properly)



    After that I open it into Illustrator, set the scale to 1:1 millimeters, watch out when you select mm, it’ll change the Units(s) number



    My board is centered at 0,0, so I move the artwork to the bottom left, which is where AI has its coordinate system.

    Then “Save As”  .AI format, version 8



    Then I import it into MoshiDraw 2013, File/Import




    For the 40W I set speed 20-30 and power 25.0 to 20.0 (on the cutters control) 25 I find scorches and melts the plastic sheet, you want the fastest with the least amount of power.


    I’m still fine tuning the power/speed and reduction settings, on the TQFP64 its removing too much I need an inner cut of the pad..  But its real close.


    Oh and if you just output HPGL directly from an Eagle CAM job, you’ll get this…

    The HPGL is one contiguous line.So the laser never turns off, Etch-A-Sketch style


    mmca suggested not using air assist.

    Straight off the cutter. Like I said needs some tuning. I do these stencils on our bigger GWeike 100W laser no problem.

    • James Scott 2:13 pm on December 27, 2013 Permalink | Reply

      Maybe a bottle of some form of shielding gas rather than air will do a better job of eliminating flames and making cleaner cuts/etches? Straight up CO2 would work, Nitrogen is also pretty cheap. Doubt anything extreme like actual full on welding gas ie Argon would be any better. You wouldn’t even need a pump since the gas is regulated out of a compressed container.

      • charliex 12:02 am on December 29, 2013 Permalink | Reply

        yeah we tried o2 assists on our other laser, i think this one is just a crappy nozzle design and not enough air, also the plastic sheets weren’t that great. i just picked up some duralar 4mil uncoated sheets, gonna give that atry

    • John Wasser 2:37 pm on March 17, 2014 Permalink | Reply

      On the side of the internal power supply you should find the 220/110 switch.

    • Cesar 3:45 pm on June 5, 2014 Permalink | Reply

      Have you tried CAMBAM? Here is my workflow. CAD to DXF to CAMBAM to DXF to Moshidraw.
      For some reason, the rest of the softwares out there export DXF differently compared to CAMBAM. From CAMBAM there are no issues importing.

      Also, image 4th from below, where it show the preview of your image. You noticed that you have a lot of white space?, you have to ungroup the layers first. all of it. And try it again, this will show you the the max view of what you are plotting and without the white space.

      Hope this works for you.

      I will try your AI ver 8 approach.

      • charliex 7:56 pm on June 5, 2014 Permalink | Reply

        I haven’t, the mosihiprint has been working the best so far, since DXF is such a poor format and so many pieces of software have different abilities with it.

        I literally go straight from eagle into moshidraw now, what i want though is laser driver software that can do the passes left to right for cut outs that are wider than they are longer, and then up down cuts for objects that are longer than they are wider, it’ll generate much better output that way, even our big laser suffers from that too.

        The only issue i have with moshidraw is the black bar it generates on the print, its doing it on 2014 too.

        The whitespace you can get rid of by just changing the worksize on the top, it doesn’t really affect anything.


  • charliex 12:15 am on December 3, 2013 Permalink | Reply
    Tags: error 1747, windows 7   

    Error 1747 : The Authentication Service is Unknown 

    I had a Windows 7 machine in one of the racks with a bunch of services not starting, no networking so not much of anything since its headless and graphics are network remote, so I pulled it out and switched its graphics cards to see what was going on.

    Really slow to boot windows, after login black screen with mouse, sluggish response.
    dhcp, lass, service showing ‘starting’ and can’t be stopped or restarted
    ping etc gives no network, or various network errors
    Event logs stop working with “Error 1747 : The Authentication Service is Unknown”
    Even a BSOD on a reboot

    sfc /scannow  no issues, fsck, no issues. hardware all looked ok.

    As usual MVP advice is reformat and re-install, so sad.  So i did this instead

    From admin shell, cmd

    netsh winsock reset

    and rebooted, totally fine after that. sigh…

  • charliex 11:54 pm on November 23, 2013 Permalink | Reply  

    Power Toy Calculator in windows 7 x64 

    .text:01001FD3 55                                      push    ebp
    .text:01001FD4 8B EC                                   mov     ebp, esp
    .text:01001FD6 83 EC 24                                sub     esp, 24h
    .text:01001FD9 56                                      push    esi
    .text:01001FDA E8 81 FF FF FF                          call    sub_1001F60
    .text:01001FDF 85 C0                                   test    eax, eax

    .text:01001FE1 0F 84 B9 00 00 00                       jz      loc_10020A0

    .text:01001FE7 83 65 DC 00                             and     [ebp+Msg.hwnd], 0
    .text:01001FEB 8B 75 08                                mov     esi, [ebp+hInstance]
    .text:01001FEE 57                                      push    edi


    nop out the bolded instruction.


    0x13e1 9F 84 B9 00 00 00

    change to

    0x13e1 90 90 90 90 90 90


    that’s it.


    All it does is ignore the results of sub_1001f60 which is a windows version check.

    You can install the msi using XP sp3 compatibility mode.

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc

Get every new post delivered to your Inbox.