<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lwill.net &#187; Electronic Projects</title>
	<atom:link href="http://lwill.net/?cat=4&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://lwill.net</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 21 Feb 2016 19:34:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Boardtools v0.8 (FINALLY!)</title>
		<link>http://lwill.net/?p=181</link>
		<comments>http://lwill.net/?p=181#comments</comments>
		<pubDate>Sun, 17 Aug 2014 02:27:11 +0000</pubDate>
		<dc:creator>lwill</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Electronic Projects]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lwill.net/?p=181</guid>
		<description><![CDATA[I have finally gotten around to cleaning up the script I use to generate gcode from Kicad and engraving files. (Since someone finally commented on it and asked for the new version) I have completely re-written it and added a bunch of new settings. It is now one huge script instead of several smaller ones [...]]]></description>
			<content:encoded><![CDATA[<p>I have finally gotten around to cleaning up the script I use to generate gcode from Kicad and engraving files. (Since someone finally commented on it and asked for the new version)<br />
I have completely re-written it and added a bunch of new settings. It is now one <strong>huge</strong> script instead of several smaller ones and has grown nearly 3 time the size (over 3600 lines!)<br />
There is a quick README and crude INSTRUCTIONS included to help explain the changes and how it works.<br />
It is not fully tested by any means, I still keep finding, changing, and correcting things, but I &#8216;think&#8217; it is user friendly enough for others to find useful.<br />
Many of the changes and setting were done so it would work with the new mill I have and are a bit specific to it, but they may be useful in other ways as well and generally made it more flexible and capable.<br />
If you are one of the silent few who used the first version, your config files will probably not work as there are new setting that will be missing and a few renamed. You can open them in a text editor and figure out what your old settings were.<br />
There are a lot of things it can do that I haven&#8217;t documented well, but the basic instructions should get you going. If one of the settings is not clear, please ask and I will try to explain what it is for. Some may simply not make sense for your application.<br />
Please, if you give it a try and find it useful, or not, or find a bug, PLEASE let me know. If it is a &#8216;bug&#8217; and not a &#8216;feature&#8217; <img src='http://lwill.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I may try and fix it. If you have a reasonable request I think would be useful, I may try to add it in. I wrote this for my own use, and it does what I want, but you may think of something I would like it to do in the future.</p>
<p><a href="http://www.lwill.net/downloads/boardtools-08.tar.gz" target="_blank">Download: boardtools-08.tar.gz</a></p>
<p><a href="http://lwill.net/wordpress/wp-content/uploads/2014/08/screenshot.jpg" target="_blank"><img src="http://lwill.net/wordpress/wp-content/uploads/2014/08/screenshot.jpg" alt="" width="200" height="150" /></a></p>
Number of View :26500]]></content:encoded>
			<wfw:commentRss>http://lwill.net/?feed=rss2&#038;p=181</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tick, tick, tick&#8230;</title>
		<link>http://lwill.net/?p=158</link>
		<comments>http://lwill.net/?p=158#comments</comments>
		<pubDate>Fri, 11 Apr 2014 19:46:57 +0000</pubDate>
		<dc:creator>lwill</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Electronic Projects]]></category>
		<category><![CDATA[Home Projects]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rain Barrel]]></category>

		<guid isPermaLink="false">http://lwill.net/?p=158</guid>
		<description><![CDATA[My, how time flies. I need to catch up on a bunch of stuff soon. First, I have started building custom K-Cup holders called the Kupousel. Please check them out. I have spent a lot of time with my &#8220;new&#8221; CNC&#8217;ed X2 Mini-Mill. Lots of mods and stuff I hope to post about. Sill making [...]]]></description>
			<content:encoded><![CDATA[<p>My, how time flies.</p>
<p>I need to catch up on a bunch of stuff soon.</p>
<ul>
<li>First, I have started building custom K-Cup holders called the<span style="color: #ff0000;"> <a title="Kupousel" href="http://kupousel.com" target="_blank"><span style="color: #ff0000;">Kupousel</span></a>.</span> Please check them out.</li>
<li>I have spent a lot of time with my &#8220;new&#8221; CNC&#8217;ed X2 Mini-Mill. Lots of mods and stuff I hope to post about.</li>
<li>Sill making <span style="color: #ff0000;"><a title="Tonal Insanity" href="http://tonalinsanity.com" target="_blank"><span style="color: #ff0000;">Tonal Insanity</span></a></span> effects pedals. The mill is helping with them. Started using surface mounted components.</li>
<li>Got my hands on some <span style="color: #0000ff;"><a title="Arduino Leonardo compatible" href="https://www.indiegogo.com/projects/9-arduino-compatible-starter-kit-anyone-can-learn-electronics" target="_blank"><span style="color: #0000ff;">Arduino knock-offs</span></a></span> and been using them to develop other AVR stuff.</li>
<li>Built an SMD reflow oven from a toaster oven and a ATmega for a PID control.</li>
<li>Built (cobbled together) a new spindle for my old router when the Roto-Zip started to give out. It also has less run out so I can route PC board directly now, even SMD stuff.</li>
<li>Completely re-written my Board Tools program with even more options, partly to take advantage of the new spindle and mill.</li>
<li>Will be re-re-re-building the rain barrel yet again this year. Last year I tested a control using a pico-power ATtiny13a AVR. Worked well, needs a bit of fine tuning. Main reason for rebuild is the barrel cracked, I moved the garden, and I dropped the solar panel at the end of last year and broke it. <img src='http://lwill.net/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
<li>Building my daughter a loft bed &#8211; out of an old desk.</li>
<li>Rebuilt my MythTV system and got in a fight with the stupid cable box that uses XMP IR protocol. (on going)</li>
<li>Oh! It has been so long I never mentioned my new main computer: 8-core! AMD &#8220;Bulldozer&#8221; FX-8120, liquid cooled,  msi 970A-G46, 16GB RAM, 1TB HD, Bu-ray burner, 23&#8243; wide screen monitor, running Fedora 19 (20 soon). It F&#8230;&#8217;IN SCREAMS! Built Android (for A10) complete from source in a few hours! That  was why I got it thrown in on a job to modify a <span style="color: #0000ff;"><a title="Mele A2000 STB" href="http://linux-sunxi.org/Mele_A1000" target="_blank"><span style="color: #0000ff;">Mele A2000 STB</span></a></span> into a network/web based,<span style="color: #0000ff;"> <a title="Scent Palette" href="http://http://www.scentpalette.com/" target="_blank"><span style="color: #0000ff;">Scent Palette</span></a></span> controller. Builds MythTV in about 10 minutes.</li>
</ul>
<p>Hopefully I will add more info in less than the next 2 years! <img src='http://lwill.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
Number of View :9468]]></content:encoded>
			<wfw:commentRss>http://lwill.net/?feed=rss2&#038;p=158</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PC Board Tools</title>
		<link>http://lwill.net/?p=98</link>
		<comments>http://lwill.net/?p=98#comments</comments>
		<pubDate>Sat, 24 Mar 2012 04:25:56 +0000</pubDate>
		<dc:creator>lwill</dc:creator>
				<category><![CDATA[Electronic Projects]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[pc boards]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://192.168.0.75/wordpress/?p=98</guid>
		<description><![CDATA[Here are the scripts I use to convert PC boards from Kicad to G-code. http://www.lwill.net/downloads/boardtools-01.tar.gz This is the README included for information. README 03/28/20012 Tested with LinuxCNC 2.6.0~pre and KiCad (2012-01-19 BZR3256)-stable and pcb2gcode 1.1.4 ### DISCLAIMER ### CNC MACHINES CAN BE DANGEROUS!!! THOROUGHLY CHECK AND TEST ANY CODE BEFORE RUNNING!!! Files included in boardtools [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the scripts I use to convert PC boards from Kicad to G-code.<br />
<a href="http://www.lwill.net/downloads/boardtools-01.tar.gz" target="_blank">http://www.lwill.net/downloads/boardtools-01.tar.gz</a><br />
This is the README included for information.<br />
<code></code></p>
<pre>README 03/28/20012

Tested with LinuxCNC 2.6.0~pre and KiCad (2012-01-19 BZR3256)-stable and
    pcb2gcode 1.1.4

### DISCLAIMER ###
CNC MACHINES CAN BE DANGEROUS!!!
THOROUGHLY CHECK AND TEST ANY CODE BEFORE RUNNING!!!

Files included in boardtools directory:
doall.py                    GUI front end for pcbbatch
pcbbatch.py                 Batch file to run all programs using config file
boardcfgdef.py              Default config file
Etch_Z_adjust.2.2.cl.py     Modified command line version
gerber2emc2cl.py            Modified command line version
p2gdrillopt.py              For optimizing drill files
p2gpathopt.py               For optimizing paths
demo                        Directory with sample Kicad layout, gerbers, and
                            sample boardcfg.py for testing

REQUIRED:
python-argparse
pcb2gcode installed on system
EMC2/LinuxCNC 2.5+
KiCad

Optional:
opti  (from Etch_Z_adjust)  Untested, I have not used it, not included

-Quick and dirty:
Extract.
For GUI, from boardtools directory run:

$python doall.py

    You will probably need to run doall.py at least once to verify default
    file paths. Save defaults to boardcfgdef.py in installed directory.

To try demo:
    Click "Load boardcfg"
    Open the demo directory and choose boardcfg.py
    Click "Default Paths" and set to the correct locations.
    Click on "Browse" under "Board back" and reselect "demo-Back.gbl"
        to make sure the path is working directory is correct.
        This will automatically set the other files correctly.
    Click "Run boardcfg" (it will automatically ask you to save)
    Check out the generated files!

To run a config file from a project directory:

$python boardcfg.py

-The idea:
Generate ready to run g-code files from KiCad for LinuxCNC using one interface.

-The method (how I do it):
Schematic and board layout with KiCad.
    I use the Comment layer for text and draw board outline using actual tool
    path based on the bit I will be using so I can leave gaps to keep boards
    paneled together. (there is an option to use pcb2gcode for outline instead)
Generate gerbers and drill files (4). *Back.gbl, *PCB_Edges.gbr, *Comments.gbr,
    and *.drl
Use pcb2gcode to generate back and drill g-code files.
    * the paths are very "stair-steppy" which I did not like
Use gerber2emc2cl to generate text and outline g-code files.
Join the paths and text together in one file.
Use p2gpathopt to reduce "stair-step", smooth paths, and reduce moves.
    Due crude optimizing.
Use p2gdrillopt to due crude optimizing and optionally use only one drill bit.
Use Etch_Z_adjust (*modified) to do auto-leveling.

-The Solution:
Have a config / batch script to do all this automatically.
    In reality there is a script that is placed in the drawing directory
    that holds the configs (boardcfg.py) and calls another script (pcbbatch)
    that does all the hard work. This way boardcfg can be run in place when
    a board is modified without copying main script to each drawing directory.
    All needed settings needed to run are saved in the boardcfg.py file.
A GUI to select all the various setting and generate the config file and
    optionally run it.
Config file default name is boardcfg.py This can be modified by hand "at own
    risk" if desired, but may break compatibility with GUI. Undocumented.

-What does the work:
pcb2gcode

Etch_Z_adjust.2.2.cl.py
    Modified command line version. Added ability to re-run file without
    re-probing. Modified to use a separate probe instead of tool bit, and to
    set tool height automatically.(Must use EMC2/LinuxCNC 2.5+!!!!!! uses G10)
gerber2emc2cl.py
    Modified command line version. Added ability to mirror and offset.
p2gdrillopt.py
    For optimizing drill files. Allows using only one drill and does crude
    optimizing using Morton number.
p2gpathopt.py
    For optimizing paths. Smooths out pcb2gcode paths by finding the midpoint
    of each stair-step, eliminates redundant points creating straight lines
    within a set tolerance. (difference in slope &lt; .001 or about .057 degrees)
    Adds very slight deviations from original, but gives much smoother result.
    You decide.
    Also optimizes based on Morton number.

-Credit where credit is due:
While thoroughly hacked and mangled, my work is based on these previous works.
Both have no copyright/left restrictions in the files.
I likewise put no restrictions other than ask for credit if you use it.
(Please visit lwill.net)

Etch_Z_adjust from michael_m at cnczone.com

http://www.cnczone.com/forums/pcb_milling/82628-cheap_simple_height-probing-11.html#post843483

gerber2emc2 from SAMMEL Lothar on the LinuxCNC wiki

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Converting_Tools

-Other software:
KiCad

http://kicad.sourceforge.net/wiki/Main_Page

LinuxCNC

http://www.linuxcnc.org

pcb2gcode

http://sourceforge.net/apps/mediawiki/pcb2gcode/index.php?title=Main_Page

-Why my settings / method seems weird:
I actually use a coated board and a drag bit to scribe the coating, then drill
    it without removing it from the machine, then etch in FeCl. The scribe
    only needs to be offset .001. The scribe and probe mount off to the side
    of my spindle, that is the reason for the offsets. I also use
    Etch_Z_adjust for engraving other things using a normal engraving bit and
    separate probe which was the original reason for modifying it.
I used the Morton number optimizing method because it was fast and simple and
    better than nothing. I may rewrite the optimizing method later.
This is my first major attempt at Python programming, so it is ugly. It
    started simple, and 1100+ lines of code later.... So don't ask why I did
    something the way I did, the answer you will likely get is
    "Because it worked!"
More info on this and other stuff at lwill.net/blog
All comments are welcome, but I reserve the right to ignore them!

I can be contacted though lwill.net</pre>
<p>&nbsp;<br />
Screen shot of GUI:<br />
<a href="http://lwill.net/images/pcboards/screenshot.jpg" target="_blank"><img src="http://lwill.net/images/pcboards/screenshot.jpg" alt="" width="200" height="150" /></a></p>
Number of View :24197]]></content:encoded>
			<wfw:commentRss>http://lwill.net/?feed=rss2&#038;p=98</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PC Boards, My Way</title>
		<link>http://lwill.net/?p=96</link>
		<comments>http://lwill.net/?p=96#comments</comments>
		<pubDate>Tue, 06 Mar 2012 05:24:24 +0000</pubDate>
		<dc:creator>lwill</dc:creator>
				<category><![CDATA[Electronic Projects]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[pc boards]]></category>

		<guid isPermaLink="false">http://192.168.0.75/wordpress/?p=96</guid>
		<description><![CDATA[I have found a new way of making PC boards. I start with a bare board. Place a thin layer of &#8220;secret&#8221; resistant coating on it.(on a spin coater) Use my CNC router to &#8220;engrave&#8221; it with a drag scribe. With out moving it, drill it and route outline. Last etch it in ferric chloride. [...]]]></description>
			<content:encoded><![CDATA[<p>I have found a new way of making PC boards.<br />
I start with a bare board.<br />
Place a thin layer of &#8220;secret&#8221; resistant coating on it.(on a spin coater)<br />
Use my CNC router to &#8220;engrave&#8221; it with a drag scribe.<br />
With out moving it, drill it and route outline.<br />
Last etch it in ferric chloride.</p>
<p>Now this may seem odd at first. Why not just route the board with the CNC?<br />
Let me try to explain. I have always used the photo resist method with laser transparencies and pre-sensitized boards, etched then drilled. When all goes well, the results are great. The biggest problem has always been getting a good 1 to 1 print from the laser printer. Next problem is lining the board up to drill it, which gets worse if the print was not square or to scale to begin with.<br />
Now, my main reason is I am sorta cheep. I have never bought the right bits to do direct PCB routing. My router does pretty good, but I am just not sure how it would do, and hate to spend money just to break bits. I like the photo method, but bare boards are cheaper. There is also the fact I already have a bubble tank of etchant.<br />
When I first started experimenting with my method I used an old photo board I had. It was a bit old, so I just tossed it in developer with out exposing it to fix the resist first. This worked, but still expensive board and the coating is very fragile and gets scratched during drilling. More on the coating later.<span id="more-96"></span><br />
Next I made a drag engraving point out of an old carbide bit. I tried various angles and about 90 deg. works well. I mounted the point in a solid tool holder off to the side of my spindle, which is just a Rotozip, and while still fairly tight, does have a bit of play. Since I would be dragging and not spinning the bit I saw no reason to put the strain on the bearings or risk unnecessary flexing error. The bit holder is also longer than the spindle so I can leave my drill bit in and install and remove the holder between steps. (I have the offset set in EMC2)<br />
I mount the board on a piece of &#8220;foam core&#8221; sign board with double face tape like used on window film. It is very thin and very sticky. This is then stuck to my table. This gives me a well supported board with the foam core having just a bit of give and acts as a waste board underneath for drilling.<br />
I then run my code for the trace outlines. I use Kicad with pcb2gcode, but have came up with some scripts I will get into in another post* for generating my files and getting good results. I also incorporate a modified version of Etch_Z_Adjust to keep my depth consistent. I replace my scribe with a touch probe made from a micro switch and probe the surface first. I then replace the scribe and use a depth of .0015&#8243; which scores though my coating and leaves a fine line in the copper.<br />
Now I remove the scribe and reset for drilling. Since nothing has been moved, everything is already lined up.<br />
Last I do any cutout routing I want for the board shape.<br />
Once finished on the CNC it is into the ferric chloride . Here one of the complaints often heard about FeCl is actually put to use. The scribe lines are very fine, but since I lightly scored the copper, a small amount of undercutting occurs, widening the lines slightly.<br />
Does it save me any time? Well, I have ran 1.5&#8243; X 6&#8243; boards with 162 holes that take less than 10 minutes to engrave at 20 in/min. Compare with 8~12 min. exposure time and then developing, that is not bad when I do not have to realign for drilling. Etching is also quicker since I am not removing as much copper. Doing multiple boards takes longer of course, but if I make a mistake, only one gets screwed up and not a whole panel. I can also run different boards at the same time without having to make new films.</p>
<p>Once I was able to get good results, I wanted to stop using pre-sensitized boards and started looking for a coating that would work. I also needed a way to apply it consistently. I tried spray paint. Worked, but not consistent and had to be removed at the end. Tried various clear coats, polyurethane, stains, and wax with mixed results. One big problem was even coating without bubbles or dust. (like most people, I don&#8217;t work in a &#8220;clean&#8221; room!)</p>
<p>The &#8220;secret&#8221; coating I found: Future vinyl floor finish! (now sold under the Pledge with Future name)<br />
Apparently, model builders have been using it for years to coat windshields and protect decals. It is tough! Dries FAST. Nontoxic. And last, CHEEP! I add a little food coloring to make it easier to see, and a bit of alcohol to thin it just a bit. Oh, and you can easily clean it up with an ammonia based window cleaner!<br />
Now to get it on the board. I built a spin coater. A motor and a spinning disk. My first small attempts I used a muffin fan with a pot to control the speed and got good results. I up sized and can now handle a 6&#8243; X 9&#8243; board inside a bucket to contain the mess. I control the speed using EMC2 and a spare high current output on my CNC&#8217;s BOB. I came up with some custom M codes and a HAL file that let me control it like a spindle using PCM and can set the acceleration. I can now write a program to start slow while I apply the coating, spin up gently to throw off the excess, slow down to let it level and start to set, then spin the hell out of it and hit it with a heat gun to dry. The process is very quick and in less that 5 minutes I have a dry board ready to go, hardly enough time for dust to even settle on it if it could.<br />
Added benefit, when the board is done, the coating is so thin it can be soldered though without removing it first and it protects the rest of the traces from corrosion.</p>
<p>*I will be doing another post on the scripts I use once I clean them up a bit.<br />
*I will also be adding pictures the next time I run boards. I wanted to get this written up while I had a chance.</p>
Number of View :8532]]></content:encoded>
			<wfw:commentRss>http://lwill.net/?feed=rss2&#038;p=96</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forklift controller</title>
		<link>http://lwill.net/?p=66</link>
		<comments>http://lwill.net/?p=66#comments</comments>
		<pubDate>Mon, 07 Dec 2009 04:57:31 +0000</pubDate>
		<dc:creator>lwill</dc:creator>
				<category><![CDATA[Electronic Projects]]></category>

		<guid isPermaLink="false">http://192.168.0.75/wordpress/?p=66</guid>
		<description><![CDATA[This entry should pull together all the things in my web site name.Bunch of electronics, code, and some machining to make it fit. I have a 30+ year old fork lift at my shop that died. It was basically given to us to use for storing it by someone who got it for free. It [...]]]></description>
			<content:encoded><![CDATA[<p>This entry should pull together all the things in my web site name.Bunch of electronics, code, and some machining to make it fit.<br />
I have a 30+ year old fork lift at my shop that died. It was basically given to us to use for storing it by someone who got it for free.<br />
<img src="http://lwill.net/images/forklift/IMG_0618.JPG" alt="" width="200" height="266.666666666667" /><br />
It was broke when we got it and I got it working whit the original electronics. It has a blown transistor and huge diode that I replaced and it worked for about a year until it finally gave up. The main power section was made up of 16 large PNP transistors (they actually had International Harvester part numbers on them, didn&#8217;t know they did electronics!) and all of them were dead along with the 16 low ohm high wattage resisters that tied all the sections together and acted as fuses.<br />
Partial picture:<br />
<img src="http://lwill.net/images/forklift/img_0520a.JPG" alt="" width="200" height="150" /><br />
I started looking for replacements and found them at NTE for over $20 each and the resisters were no longer available. So rather than patching it back together for over $300, I decided to design my own.<span id="more-66"></span><br />
I found a simple design at <a href="http://www.zeva.com.au/speedy/" target="_blank">http://www.zeva.com.au/speedy/</a> and up-scaled and modified it for my use. This is the highest power circuit I have ever done, so it was something new for me. Also it is the first time I used an AVR. Using what I could find out about the original control, I determined I wanted about 400 amps at 36 volts. I took this from the original transistor ratings and the fact there is a 3?0 amp main fuse. (couldn&#8217;t read it) It powers the drive motor as well as the hydrolics. This is probably a bit over kill, but better to be safe. This also worked out well since I spec-ed out reasonably priced FETs that are 50A each, so 8 would give me 400A and an even number to drive.<br />
The first version was built using the heat sinks and other bits form the original control and lasted about 30 seconds.<br />
Pilot error. Looked like mini flash bombs at a rock concert! 8 FETs later and some fine tuning and I got it working for about 6 months. It finally died so I decided to take another whack at it. In the interim I ran across this tread <a href="http://ecomodder.com/forum/showthread.php/paul-sabrinas-cheap-144v-motor-controller-6404.html" target="_blank">paul-sabrinas-cheap-144v-motor-controller</a> which basically started out the same way I did but took it much further with a lot of community support.<br />
I have tried to do this on the cheap using what I have available, so I started with the heat sink that was salvaged from an old forklift charger. It also worked out since 6&#8243;x9&#8243; is the largest board I can easily etch. From there I tried to correct the errors I made on the first version.<br />
First, I totally under designed the power supply section. It got upgraded with pass transistors to give me a stable 12v gate supply. This was causing the FETs&#8217; gate siginal to be crappy and the main cause of the failures.<br />
Second, the first design had the FETs mounted on the separate heat sinks from the original controller. This gave different gate lengths and added more noise.<br />
Third I had some bad code. After looking at the &#8220;Cougar&#8221; design I found a few flaws I had.<br />
I ended up with this:<br />
<img src="http://lwill.net/images/forklift/IMG_0609.JPG" alt="" width="200" height="150" /><img src="http://lwill.net/images/forklift/IMG_0615.JPG" alt="" width="200" height="150" /><br />
I also added a serial port so I could monitor things real time.<br />
One big difference from the &#8220;Cougar&#8221; is I am using the original current shunt to measure current. My code is not as sophisticated since I am simply sensing over current or high temp and shutting things down instead of adjusting the output. I am also controlling the reversing solenoids with the micro. I do not have such large ripple caps since I am still using the HUGE ones from the original as well as the freewheel diodes in parallel with the ones on the controller.<br />
So far I got it running pretty smooth. Good power, no noise, staying cool.<br />
I&#8217;ll see how it goes and report back how it works out.<br />
Here are a few more pics of the work in progress.<br />
<a href="http://www.lwill.net/index.php?do=gallery&amp;sfpg=Zm9ya2xpZnQvKioqKiphYzY4ZjU4OWQ2YTliMjU0M2I5N2Y1M2YyYzc2MWY0ZQ" target="_blank">A few more pictures</a></p>
Number of View :3449]]></content:encoded>
			<wfw:commentRss>http://lwill.net/?feed=rss2&#038;p=66</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
