<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>mic</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/" />
    <link rel="self" type="application/atom+xml" href="http://blog.hardcore.lt/mic/atom.xml" />
   <id>tag:blog.hardcore.lt,2012:/mic/2</id>
    <link rel="service.post" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2" title="mic" />
    <updated>2012-11-30T20:44:49Z</updated>
    <subtitle>Atplauks padvodkė ir visus išgelbės</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 3.35</generator>
 
<entry>
    <title>Chirp!</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011131.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11131" title="Chirp!" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11131</id>
    
    <published>2012-11-28T11:37:52Z</published>
    <updated>2012-11-30T20:44:49Z</updated>
    
    <summary> Tai toks žemės drėgmės matuoklis, kuris, kai žemė išdžiūna, sako &quot;čirp!&quot; This is a plant watering alarm I&apos;ve made. It&apos;s available for sale on wemakethings.net....</summary>
    <author>
        <name></name>
        
    </author>
            <category term="digital corpse" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p><img alt="top.jpg" src="http://blog.hardcore.lt/mic/top.jpg" width="600" height="450" /></p>

<p><img alt="pile.jpg" src="http://blog.hardcore.lt/mic/pile.jpg" width="600" height="450" /></p>

<p>Tai toks žemės drėgmės matuoklis, kuris, kai žemė išdžiūna, sako "čirp!"</p>

<p>This is a <a href="http://wemakethings.net/chirp">plant watering alarm</a> I've made. It's available for sale on <a href="http://wemakethings.net">wemakethings.net</a>.</p>]]>
        
    </content>
</entry>
<entry>
    <title>CatNip</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011120.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11120" title="CatNip" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11120</id>
    
    <published>2012-10-05T07:07:46Z</published>
    <updated>2012-10-05T07:08:02Z</updated>
    
    <summary>Na štai, pirmoji mano kinų gaminta plokštė. Kinija - tai toks didelis 3D printeris, veikiantis pagrinde ant wetwaro....</summary>
    <author>
        <name></name>
        
    </author>
            <category term="digital corpse" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p>Na štai, pirmoji mano kinų gaminta plokštė. Kinija - tai toks didelis 3D printeris, veikiantis pagrinde ant wetwaro.</p>

<p><img alt="IMG_7433.JPG" src="http://blog.hardcore.lt/IMG_7433.JPG" width="600" height="800" /></p>]]>
        
    </content>
</entry>
<entry>
    <title>Eagle to SketchUp to RS485</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011116.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11116" title="Eagle to SketchUp to RS485" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11116</id>
    
    <published>2012-09-16T18:33:40Z</published>
    <updated>2012-09-16T18:58:58Z</updated>
    
    <summary> Kažkaip vakar įvaldžiau plokščių eksportą į 3D modelį. Tam padeda skriptas EagleUp. Dar sužinojau apie standartą RS485 - geras dalykas šitas, sako, jei negreit, tai galima duomenis siųst kabeliu, kurio ilgis iki 300m. Iškart užsisakiau draiverių iš Linear Technology...</summary>
    <author>
        <name></name>
        
    </author>
            <category term="digital corpse" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p><img alt="encoder%20sensor%20top.png" src="http://blog.hardcore.lt/mic/encoder%20sensor%20top.png" width="800" /></p>

<p><img alt="encoder%20sensor%20bot.png" src="http://blog.hardcore.lt/mic/encoder%20sensor%20bot.png" width="800" /></p>

<p>Kažkaip vakar įvaldžiau plokščių eksportą į 3D modelį. Tam padeda skriptas <a href="http://eagleup.wordpress.com">EagleUp</a>.</p>

<p>Dar sužinojau apie standartą RS485 - geras dalykas šitas, sako, jei negreit, tai galima duomenis siųst kabeliu, kurio ilgis iki 300m. Iškart užsisakiau draiverių iš Linear Technology ir Maxim-IC. </p>

<p>Konkrečiai šitas prietaisas dviem fototranzistoriais nuiminės besisukančio ratuko greitį ir kryptį ir siųs pulsus mikrovaldikliui maždaug 30 metrų ilgio kabeliu. Kas faina, kad tuo pačiu kabeliu galima paduot ir maitinimą.</p>

<p>Žiūrėsim, kai dugną dėsim.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Kaip bičas daro radijo lempas rankomis nuo nulio</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011074.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11074" title="Kaip bičas daro radijo lempas rankomis nuo nulio" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11074</id>
    
    <published>2012-05-03T10:38:58Z</published>
    <updated>2012-05-03T10:40:55Z</updated>
    
    <summary>Fabrication d&amp;#039;une lampe triode von F2FO via Dangerous Prototypes i don&apos;t even......</summary>
    <author>
        <name></name>
        
    </author>
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p><iframe frameborder="0" width="480" height="360" src="http://www.dailymotion.com/embed/video/x3wrzo_fabrication-d-une-lampe-triode_tech"></iframe><br /><a href="http://www.dailymotion.com/video/x3wrzo_fabrication-d-une-lampe-triode_tech" target="_blank">Fabrication d&#039;une lampe triode</a> <i>von <a href="http://www.dailymotion.com/F2FO" target="_blank">F2FO</a></i><br />
via <a href="http://dangerousprototypes.com/2012/05/03/homebrew-electronic-tubes/">Dangerous Prototypes</a></p>

<p>i don't even...</p>]]>
        
    </content>
</entry>
<entry>
    <title>PH7.62-16x64RG+C LED module protocol reverse - engineered</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011068.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11068" title="PH7.62-16x64RG+C LED module protocol reverse - engineered" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11068</id>
    
    <published>2012-04-16T20:15:02Z</published>
    <updated>2012-04-16T20:36:14Z</updated>
    
    <summary> ...just another chinese LED board. Modules are PH7.62, built based on 74HC245 as a buffer, 74HC595 as a shift register and 74HC138 as a decoder. Modules have input pinout of A, B, C, D, STB, CLK, R, G, EN,...</summary>
    <author>
        <name></name>
        
    </author>
            <category term="srautas" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p><img alt="turim.jpg" src="http://blog.hardcore.lt/mic/turim.jpg" width="648" height="486" /></p>

<p>...just another chinese LED board. Modules are PH7.62, built based on 74HC245 as a buffer, 74HC595 as a shift register and 74HC138 as a decoder. </p>

<p>Modules have input pinout of A, B, C, D, STB, CLK, R, G, EN, GND, where A, B, C, D specifies a line (0 to 15); R,G,CLK,STB are two inputs for red and green leds of every pixel - clock R and G values, then pulse STB to latch them to outputs of 595. Line is turned on when EN is brought low. Oh yes, R and G inputs are inverted too - you have to clock 0 to turn leds on. Lines are driven by APM4953 dual P-channel mosfets which are too wimpy to light up full line of both leds for more than 0.3 sec.</p>

<p>I use LPC1343 to drive the modules and SD card to store the data. Data is uploaded via USB using a program written by me.</p>

<p>Contact me if you are interested in the details.</p>]]>
        
    </content>
</entry>
<entry>
    <title>I accidentally a linear voltage regulator. Is it bad?</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011064.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11064" title="I accidentally a linear voltage regulator. Is it bad?" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11064</id>
    
    <published>2012-04-01T20:00:56Z</published>
    <updated>2012-04-01T20:48:38Z</updated>
    
    <summary>On my ongoing effort to create a high end microcontroller controlled universal car battery charger / power supply i accidentally a linear regulator: Well, not exactly accidentally. At first this fucked my brain: http://www.tuxgraphics.org/electronics/200707/bench-power-supply-unit.shtml; me, being a programmer by education...</summary>
    <author>
        <name></name>
        
    </author>
            <category term="srautas" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p>On my ongoing effort to create a high end microcontroller controlled universal car battery charger / power supply i accidentally a linear regulator:</p>

<p><img alt="linear_regulator1.jpg" src="http://blog.hardcore.lt/mic/linear_regulator1.jpg" width="360" height="480" /></p>

<p>Well, not exactly accidentally.  At first this fucked my brain: <a href="http://www.tuxgraphics.org/electronics/200707/bench-power-supply-unit.shtml">http://www.tuxgraphics.org/electronics/200707/bench-power-supply-unit.shtml</a>; me, being a programmer by education and by practice, i was instantly fascinated by the idea - no analog electronics, microprocessors are fast, they have Analog to Digital converters, they have PWM and means to make cheap Digital to Analog converters, it's wonderful, i can program my power supply (and believe me, i know how to program). The deeper i went, the less i liked the idea. </p>

<p>At first i've made a small prototype - an arduino charging a NiCad battery. It worked, but all i can say - default 256 bit PWM resolution on arduino totally sucks - there was no way to set the current on the exact level i wanted it to be. And 10 bit ADC sucks for the task too. OK, let's get beefier hardware - i've made myself ARM LPC1343 devboard from <a href="www.microbuilder.eu/projects/LPC1343ReferenceDesign/">microbuilder.eu</a> the chip rocks, (the devboard has it's own sucking, but it does not matter here), and i've got several external DAC and ADC chips as free samples from several suppliers.</p>

<p>I've decided to change the tuxgraphics design - they use BJT transistors and that sucks, as the total current, the power supply can ouput, depends on particular transistor configuration and there are limitations. That's becaus BJTs are current controlled devices and micocontroller can not put out enough current and you have to chain them and calculate impedances, etc. MOSFETs are voltage controlled devices, low pass filtered PWM is a voltage, put a mosfet on filtered PWM and you're golden. You wish. It appears, MOSFETs have a very narrow voltage range from threshhold to saturation. For any MOSFET you choose it's about 1.5volts. That's too narrow! I have to scale / cram my DAC output to this 1.5 and then it varies on temperature. There are MOSFETs with wide ohmic region, but they are used in audio and rare and expensive. That sucks. Besides PWM DAC sucks - i checked it on the scope. It's either noisy either slow. BTW, i was able to control the mosfet via PWM directly, event shorted them out and let them melt my breadboard, but the feeling was that i'm not doing it right...</p>

<p>Yeah, slow. If you look at LM317 transient response graph - it recovers in somewhat 5 microseconds. I'd have to cash out big time for DAC and ADC chips to try to achieve something like that in microcontroller... and fail... At that time i've already known enought about opamps to think, wait, what if i set a control voltage in one of opamps inputs and put it's output to gate of mosfet and get a feedback from source of mosfet... wait, whats the block diagram for a linear regulator? oh well...</p>

<p><img alt="linear_regulator2.jpg" src="http://blog.hardcore.lt/mic/linear_regulator2.jpg" width="640" height="480" /></p>

<p>to be continued...</p>]]>
        
    </content>
</entry>
<entry>
    <title>Katės pašildymo padukas</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011063.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11063" title="Katės pašildymo padukas" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11063</id>
    
    <published>2012-04-01T19:14:07Z</published>
    <updated>2012-04-01T19:18:49Z</updated>
    
    <summary>Kad katė negulėtų ant laptopo, padariau jai šildomą paduką. 25 voltai, 130 omų, maždaug 3 metrai nichromo vielos. 25 * 25 / 130 = ~5W šildytuvas. Using nichrome wire I&apos;ve made a cat heating pad. 3m of wire ~130 ohms....</summary>
    <author>
        <name></name>
        
    </author>
            <category term="srautas" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p>Kad katė negulėtų ant laptopo, padariau jai šildomą paduką. 25 voltai, 130 omų, maždaug 3 metrai nichromo vielos. 25 * 25 / 130 = ~5W šildytuvas.</p>

<p><img alt="2012.04.01-cat_heater7.jpg" src="http://blog.hardcore.lt/mic/2012.04.01-cat_heater7.jpg" width="640" height="480" /></p>

<p>Using nichrome wire I've made a cat heating pad. 3m of wire ~130 ohms.</p>

<p><a href="http://wemakethings.net/2012/04/01/cat-heater">http://wemakethings.net/2012/04/01/cat-heater</a><br />
</p>]]>
        
    </content>
</entry>
<entry>
    <title>Variable frequency drive for AC induction motor</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011040.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11040" title="Variable frequency drive for AC induction motor" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11040</id>
    
    <published>2012-01-16T22:28:45Z</published>
    <updated>2012-01-19T16:59:33Z</updated>
    
    <summary>This is a VFD design available as open hardware. It has some caveats -- it&apos;s not a true bullet-proof industry-strength VFD, but it works as a driver for a low power 200W motor and can be extended. The story began...</summary>
    <author>
        <name></name>
        
    </author>
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p>This is a VFD design available as open hardware. It has some caveats -- it's not a true bullet-proof industry-strength VFD, but it works as a driver for a low power 200W motor and can be extended.</p>

<p>The story began when my friend offered me to take a part in building a throwing wheel for another friend of ours. I'm fairly new to electronics and have never built any high power device, so it was a challenge for me.</p>

<p>Then I've got a comment to one of my posts that was posted on hackaday.com - it was from Ryan Gibson, SEO consultant at farnell.com. After some googling I've found many similar comments on other blogs, it sounded like some spam scheme, but I responded anyway. And it seems that Ryan Gibson is legit! I got an offer from farnell.com to order<br />
some free stuff in exchange for a blog post. So here it goes :)</p>

<p>I've got <a href="http://export.farnell.com/freescale-semiconductor/mc3phacvpe/ic-motor-control-unit-3ph-dip28/dp/1148374?Ntt=MC3PHAC">MC3PHAC</a> as a controller and <a href="http://export.farnell.com/international-rectifier/irams06up60a-2/power-module-plug-n-drive-06up60/dp/1080649?Ntt=IRAMS06UP60A">IRAMS06UP60A</a> as a power stage from farnell.com.</p>

<p>The driver is straight forward - MC3PHAC generates six PWM channels that are fed to IRAMS06UP60A which uses PWM to open and close three IGBT half bridges to drive three phases of motor. If you are interested, there are <a href="http://www.google.lt/search?q=variable+frequency+drive+pwm+induction+motor&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">vast amounts</a> of pages that explain how all this works and how AC induction motor works. MC3PHAC has options to select frequency of mains power for which the motor was built, PWM frequency, dead time, PWM polarity, acceleration and speed. IRAMS06UP60A is a power stage, it has thermal shutdown protection built in, the same pin of it can be used for over-current protection shutdown.</p>

<p>After more <a href="http://www.google.lt/search?q=IRAMS06UP60A+mc3phac&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">googling</a> i've found out that it's fairly easy to toast a power stage in the same combination of controller and power driver as mine so i put some effort in following datasheets and application notes as closely as possible, so here goes my insights:</p>

<p> - add pullups or pulldowns (depending of PWM polarity of power stage inputs) to outputs of controller so inputs of power stage are never left floating.</p>

<p> - calculate size and power capabilities of DC bus decoupling capacitor. This is a good paper explaining everything about the matter: <a href="http://www.ecicaps.com/pdf/whitepapers/IEMDC_2009_11310_Final_Rev_4.pdf">Selecting Film Bus Link Capacitors<br />
For High Performance Inverter Applications</a></p>

<p> - if motor in your application can work as a voltage generating device, add a DC bus over voltage protection (MC3PHAC has a DC bus voltage sense pin and Rbrake pin for that) -- add a resistor divider to scale DC bus voltage down to level acceptable by controller. Or you could use a varistor across DC bus.</p>

<p> - put in EMI filters. I used this app note: <a href="www.irf.com/technical-info/appnotes/an-1095.pdf">Design of the Inverter Output Filter for Motor <br />
Drives with IRAMS Power Modules</a></p>

<p> - add overcurrent protection. Because the power of the motor i was using is relatively low, and i was already eager to build something, i've omited low side current sensing opamp over shunt resistor leaving that for v2 or the driver.</p>

<p> - MC3PHAC is VERY picky about clock source, i've tried zillion crystal and load cap combinations and couldn't get it to work untill i got an exact crystal resonator as specified in datasheet.</p>

<p>The driver board:<br />
<img alt="motor%20driver%20-%20driver.jpg" src="http://blog.hardcore.lt/mic/motor%20driver%20-%20driver.jpg" width="600" height="629" /></p>

<p>The power stage board<br />
<img alt="motor%20driver%20-%20power.jpg" src="http://blog.hardcore.lt/mic/motor%20driver%20-%20power.jpg" width="600" height="436" /></p>

<p>The whole setup view:<br />
<img alt="motor%20driver%20-%20whole.jpg" src="http://blog.hardcore.lt/mic/motor%20driver%20-%20whole.jpg" width="600" height="450" /></p>

<p>Zalgo cat is helping me to debug:<br />
<img alt="motor%20driver%20-%20zalgo.jpg" src="http://blog.hardcore.lt/mic/motor%20driver%20-%20zalgo.jpg" width="600" height="450" /></p>

<p>The eagle files to download:<br />
<a href="http://blog.hardcore.lt/mic/driver.sch">Download controller schematics</a><br />
<a href="http://blog.hardcore.lt/mic/driver.brd">Download controller pcb</a><br />
<a href="http://blog.hardcore.lt/mic/irams2.sch">Download power stage schematics</a><br />
<a href="http://blog.hardcore.lt/mic/irams2.brd">Download poer stage pcb</a><br />
<a href="http://blog.hardcore.lt/mic/power%20source.sch">Download power source schematics</a><br />
<a href="http://blog.hardcore.lt/mic/power%20source.brd">Download power source pcb</a></p>

<p>Shematics and PCB in png format:</p>

<p><a href="http://blog.hardcore.lt/mic/driver-schematics.html" onclick="window.open('http://blog.hardcore.lt/mic/driver-schematics.html','popup','width=1732,height=1526,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">controller schematics</a></p>

<p><a href="http://blog.hardcore.lt/mic/driver-board.html" onclick="window.open('http://blog.hardcore.lt/mic/driver-board.html','popup','width=611,height=546,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">controller pcb</a></p>

<p><a href="http://blog.hardcore.lt/mic/irams-schematics.html" onclick="window.open('http://blog.hardcore.lt/mic/irams-schematics.html','popup','width=1337,height=666,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">power stage schematics</a></p>

<p><a href="http://blog.hardcore.lt/mic/irams-pcb.html" onclick="window.open('http://blog.hardcore.lt/mic/irams-pcb.html','popup','width=641,height=526,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">power stage PCB</a></p>]]>
        
    </content>
</entry>
<entry>
    <title>RGB strip dimmer based on atmega88</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011037.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11037" title="RGB strip dimmer based on atmega88" />
    <id>tag:blog.hardcore.lt,2012:/mic//2.11037</id>
    
    <published>2012-01-10T17:34:53Z</published>
    <updated>2012-01-13T20:16:54Z</updated>
    
    <summary>This is a RGB led strip dimmer/color adjuster I made for my friend - he works as a technician in a theatre and needs an adjustable color/brightness light for his toolbox so that the light would not leak on the...</summary>
    <author>
        <name></name>
        
    </author>
            <category term="digital corpse" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p>This is a RGB led strip dimmer/color adjuster I made for my friend -<br />
he works as a technician in a theatre and needs an adjustable<br />
color/brightness light for his toolbox so that the light would not<br />
leak on the stage during the performance.</p>

<p>The dimmer is based on an Atmega88 MCU. I could have used three pots,<br />
but I wanted to reduce the control count to the minimum and try some<br />
new things out. The leds are controlled by three PWM channels, value<br />
from the pot is read by ADC channel.</p>

<p>The light has three controls - a rotary encoder for color, a pot for<br />
brightness and a pushbutton to turn on/turn off the white light.</p>

<p>Lessons learned:</p>

<p>- Put 100nf / 10uf caps across pushbuttons/rotary encoders to debounce them<br />
- When decoding ADC result read ADCL before ADCH<br />
- Make thicker traces when you can</p>

<p>You can see I had some traces fall off when soldering and some ad hoc<br />
capacitor bonsai as I forgot to include them when designing.</p>

<p>Transistors are TIP110 because I had them in the bin.</p>

<p><img alt="rgb%20dimmer1.jpg" src="http://blog.hardcore.lt/mic/rgb%20dimmer1.jpg" width="600" height="465" /></p>

<p><img alt="rgb%20dimmer2.jpg" src="http://blog.hardcore.lt/mic/rgb%20dimmer2.jpg" width="640" height="480" /></p>

<p><img alt="rgb%20dimmer%20pcb.png" src="http://blog.hardcore.lt/mic/rgb%20dimmer%20pcb.png" width="400" height="290" /></p>

<p><a href="http://blog.hardcore.lt/mic/rgb%20dimmer.sch">Download schematics</a><br />
<a href="http://blog.hardcore.lt/mic/rgb%20dimmer.brd">Download pcb layout</a><br />
<a href="http://blog.hardcore.lt/mic/rbg%20dimmer%20firmware.zip">Download firmware</a></p>

<p><br />
</p>]]>
        
    </content>
</entry>
<entry>
    <title>XLR cable tester - The Case</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011011.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11011" title="XLR cable tester - The Case" />
    <id>tag:blog.hardcore.lt,2011:/mic//2.11011</id>
    
    <published>2011-11-02T20:58:09Z</published>
    <updated>2011-11-02T21:01:29Z</updated>
    
    <summary> The case for the prototype is finished. Leds and a button are connected to attiny2313 and some blinkenlights program is running....</summary>
    <author>
        <name></name>
        
    </author>
            <category term="srautas" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p><img alt="Photo%2019.jpg" src="http://blog.hardcore.lt/mic/Photo%2019.jpg" width="640" height="480" /></p>

<p>The case for the prototype is finished. Leds and a button are connected to attiny2313 and some blinkenlights program is running. </p>]]>
        
    </content>
</entry>
<entry>
    <title>XLR cable tester - PCB</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011010.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11010" title="XLR cable tester - PCB" />
    <id>tag:blog.hardcore.lt,2011:/mic//2.11010</id>
    
    <published>2011-11-01T17:06:17Z</published>
    <updated>2011-11-01T17:13:05Z</updated>
    
    <summary> shitty photo is shitty The pcb is just a barebones attiny2313 breakout with place for crystal and caps, decoupling cap, reset pullup and ISP header. Eagle files are here: shematic, pcb and postscript....</summary>
    <author>
        <name></name>
        
    </author>
            <category term="srautas" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p><img alt="Photo%2017.jpg" src="http://blog.hardcore.lt/mic/Photo%2017.jpg" width="410" height="389" /></p>

<p><img alt="Photo%2018.jpg" src="http://blog.hardcore.lt/mic/Photo%2018.jpg" width="350" height="357" /></p>

<p>shitty photo is shitty</p>

<p><br />
The pcb is just a barebones attiny2313 breakout with place for crystal and caps, decoupling cap, reset pullup and ISP header.</p>

<p>Eagle files are here: <a href="http://blog.hardcore.lt/mic/cable%20tester.sch">shematic</a>, <a href="http://blog.hardcore.lt/mic/cable%20tester.brd">pcb</a> and <a href="http://blog.hardcore.lt/mic/cable%20tester.eps">postscript</a>.</p>]]>
        
    </content>
</entry>
<entry>
    <title>XLR cable tester concept</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011009.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11009" title="XLR cable tester concept" />
    <id>tag:blog.hardcore.lt,2011:/mic//2.11009</id>
    
    <published>2011-10-31T21:00:48Z</published>
    <updated>2011-10-31T21:19:35Z</updated>
    
    <summary> The aim the project is to build a functional XLR cable tester. The status is displayed by three RGB leds. The faulty pins are indicated by red leds - if pin is not connected the led is lit up,...</summary>
    <author>
        <name></name>
        
    </author>
            <category term="srautas" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p><img alt="cable%20tester.png" src="http://blog.hardcore.lt/mic/cable%20tester.png" width="523" height="622" /></p>

<p>The aim the project is to build a functional XLR cable tester. The status is displayed by three RGB leds. The faulty pins are indicated by red leds - if pin is not connected the led is lit up, if two or more pins are shorted, leds for shorted leds are lit up. </p>

<p>The device will support "heisenbug" testing mode, when cable is connected and wiggled testing for cold solder joints or breaks in the cable.</p>

<p>The device will be powered by three AA batteries.</p>]]>
        
    </content>
</entry>
<entry>
    <title>ghar ghar ghar</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/011008.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=11008" title="ghar ghar ghar" />
    <id>tag:blog.hardcore.lt,2011:/mic//2.11008</id>
    
    <published>2011-10-27T14:39:47Z</published>
    <updated>2011-10-27T14:40:07Z</updated>
    
    <summary> --&gt; --&gt;...</summary>
    <author>
        <name></name>
        
    </author>
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="300"><br />
<param name="movie" value="http://rodyk.tv/SkipperEmbed.swf"><br />
<param name="quality" value="high"><br />
<param name="bgcolor" value="#FFFFFF"><br />
<param name="allowScriptAccess" value="always"><br />
<param name="allowFullScreen" value="true"><br />
<param name="wmode" value="transparent"><br />
<param name="flashvars" value="broadcasterHandle=9f2df99b-712d-4b61-ba94-c2eeffd7991d" /><br />
<!--[if !IE]>--><br />
<object type="application/x-shockwave-flash" data="http://rodyk.tv/SkipperEmbed.swf" width="300" height="300"><br />
	<param name="quality" value="high"><br />
    <param name="bgcolor" value="${bgcolor}"><br />
    <param name="allowScriptAccess" value="always"><br />
    <param name="allowFullScreen" value="true"><br />
    <param name="wmode" value="transparent"><br />
    <param name="flashvars" value="broadcasterHandle=9f2df99b-712d-4b61-ba94-c2eeffd7991d" /><br />
<!--<![endif]--><br />
<!--[if !IE]>--><br />
</object><br />
<!--<![endif]--><br />
</object><br />
</p>]]>
        
    </content>
</entry>
<entry>
    <title>Pink noise generator</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/010942.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=10942" title="Pink noise generator" />
    <id>tag:blog.hardcore.lt,2011:/mic//2.10942</id>
    
    <published>2011-05-22T21:02:41Z</published>
    <updated>2011-05-25T08:39:41Z</updated>
    
    <summary>pink noise yra viena iš triukšmų atmainų. visiems daugiau girdėtas yra white noise pavadinimas - tai triukšmas, kuriame visų dažnių dedamųjų yra po vienodai - toks triukšmas žmogaus ausiai yra šaižus, nes mūsų ausis aukštus dažnius girdi geriau, nei žemus....</summary>
    <author>
        <name></name>
        
    </author>
            <category term="digital corpse" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p>pink noise yra viena iš triukšmų atmainų. visiems daugiau girdėtas yra white noise pavadinimas - tai triukšmas, kuriame visų dažnių dedamųjų yra po vienodai - toks triukšmas žmogaus ausiai yra šaižus, nes mūsų ausis aukštus dažnius girdi geriau, nei žemus. audio bandymams žymiai parankesnis yra pink noise - tai triukšmas, kuriame yra proporcingai mažiau aukštų dažnių. tokį triukšmą klausyti malonu - į pink noise yra panašus jūros ošimas, medžių lapų šlamėjimas. pink noise tyliai galima pasileisti į ausines prieš miegą, kai už sienos bilda kaimynai - mūsų smegenys yra išmokusios "negirdėti" tokio triukšmo.</p>

<p>Pratimo tikslas buvo paimti <a href="http://sound.westhost.com/project11.htm">schemą</a>, sutalpinti ją į male-to-male XLR perėjimą ir naudotis mikšerinio pulto duodamu phantom power. Prietaisas turėjo gautis paprastas ir elegantiškas - įkiši ir šnypščia, jokių jungiklių, baterijų ir priežiūros.</p>

<p>Prietaisas veikia paprastai - tokiu iškreiptu būdu pajungtas tranzistorius ima skleisti baltą triukšmą, kuris yra pastiprinamas ir nufiltruojamas taip, kad per oktavą intensyvumas kristų 3dB. </p>

<p>Pagrindinis uždavinys buvo susitvarkyti su maitinimu - originali schema yra suprojektuota veikti nuo dviejų 9V baterijų, nieko nežinojau nei apie phantom power, nei kaip per XLRą atiduot signalą iš jo imant mėsą. Taigi, protingų žmonių <a href="http://sound.westhost.com/phpBB2/viewtopic.php?f=6&t=3040">paprotintas</a>, panaudojau paprastą <a href="http://www.reuk.co.uk/Zener-Diode-Voltage-Regulator.htm">zenerio</a> pagrindu veikiantį įtampos reguliatorių ir TLE2426 virtualios žemės generatorių.</p>

<p>Prietaisas turi esminę ydą - noizas eina tik per HOT liniją, t.y. signalas nėra balansuojamas, kaip kad turi būti per XLR jungiamame prietaise, be to, skiriasi HOT ir COLD linijų impedansas. Taip yra todėl, kad aš vis dar nesulaukiau balansuojačio opampo DRV134 free sample iš TI, nenorėjau jo pirkti už astronominę 25Lt kainą ir neturėjau iš kur išsilupt.</p>

<p>Detalės lituotos lituokliu, nes pagailėjau pinigų pastai. Viską sulitavau greičiau, nei būčiau gręžęs skyles ir kaišiojęs pro jas laidelius. Schema iš <a href="http://sound.westhost.com/project11.htm">Elliott Sound Products</a>, PCB - mano.</p>

<p>-----------------------------[ENGRISH]------------------------------------</p>

<p>This is a pink noise generator for audio testing. Pink noise is a special kind of noise where higher frequencies are attenuated to match the frequence sensivity of human ear. The device is fed by phantom power delivered by audio mixer via XLR connection.</p>

<p>I've started with a design by <a href="http://sound.westhost.com/project11.htm">Elliott Sound Products</a> and had to solve the phantom power issues - the original design includes two 9V batteries - that would make a device too chunky and heavy for that simple purpose. </p>

<p>The main task was to fit everything inside XLR male-to-male connector i had lying in the junk pile - that would make the device really elegant - you just plug it, switch on the phantom and make some noise.</p>

<p>Phantom power is rated at +48V, i've used a simple <a href="http://www.reuk.co.uk/Zener-Diode-Voltage-Regulator.htm">zener voltage regulator</a> to get +24V and a TLE2426 rail splitter to get +-12V and virtual ground.</p>

<p>The transistor is connected so it's emitter-base junction is reverse biased - this creates white noise, that is amplified and filtered to get 3db power drop per octave.</p>

<p>My design has a major flaw - the output signal is not balanced and the impedance of HOT and COLD XLR signals is not matched. That is some work for future when i either get some DRV134 samples from TI or find somewhere to desolder it.</p>

<p>This was my first SMD design. I would encourage every elecronics noob (as i'm myself) to try working with SMD - it's not complicated at all, yelds smaller PCBs and can be soldered much faster than thru-hole designs. I've soldered everything by hand using soldering iron, my tips would be:</p>

<p> - use fine soldering iron tip<br />
 - clean the iron tip frequently<br />
 - add more flux<br />
 - use thin soldering wire<br />
 - don't use too much solder</p>

<p>The original design is by <a href="http://sound.westhost.com/project11.htm">Elliott Sound Products</a>, PCB layout is by me, you can find Eagle files for download below.</p>

<p><object height="81" width="100%"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F15896915&amp;show_comments=true&amp;auto_play=false&amp;color=ff7700"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F15896915&amp;show_comments=true&amp;auto_play=false&amp;color=ff7700" type="application/x-shockwave-flash" width="100%"></embed> </object>   <span><a href="http://soundcloud.com/tomas-ve/pink-phantom">Pink Phantom</a> by <a href="http://soundcloud.com/tomas-ve">Tomas Ve</a></span></p>

<p><img alt="IMG_3632-visas.jpg" src="http://blog.hardcore.lt/mic/IMG_3632-visas.jpg" width="772" height="600" /></p>

<p><img alt="IMG_3619.jpg" src="http://blog.hardcore.lt/mic/IMG_3619.jpg" width="640" height="414" /></p>

<p><img alt="IMG_3632.jpg" src="http://blog.hardcore.lt/mic/IMG_3632.jpg" width="782" height="608" /></p>

<p><img alt="IMG_3629.jpg" src="http://blog.hardcore.lt/mic/IMG_3629.jpg" width="800" height="600" /></p>

<p><img alt="schematics.png" src="http://blog.hardcore.lt/mic/schematics.png" width="849" height="469" /></p>

<p><img alt="pcb.png" src="http://blog.hardcore.lt/mic/pcb.png" width="567" height="252" /></p>

<p><a href="http://blog.hardcore.lt/mic/pink.eps">Download EPS file of PCB</a></p>

<p><a href="http://blog.hardcore.lt/mic/pink%20noise%20generator.zip">Download Eagle files</a></p>

<p><br />
</p>]]>
        
    </content>
</entry>
<entry>
    <title>Retardboard - atmega8 devboard</title>
    <link rel="alternate" type="text/html" href="http://blog.hardcore.lt/mic/archives/010858.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blog.hardcore.lt/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=10858" title="Retardboard - atmega8 devboard" />
    <id>tag:blog.hardcore.lt,2011:/mic//2.10858</id>
    
    <published>2011-02-01T11:07:06Z</published>
    <updated>2011-02-01T11:10:13Z</updated>
    
    <summary>This board is so retarded, it&apos;s no point posting about it...</summary>
    <author>
        <name></name>
        
    </author>
            <category term="srautas" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.hardcore.lt/mic/">
        <![CDATA[<p>This board is so retarded, it's no point posting about it</p>

<p><img alt="retadrboard1.jpg" src="http://blog.hardcore.lt/mic/retadrboard1.jpg" width="640" height="480" /></p>

<p><img alt="retardboard2.jpg" src="http://blog.hardcore.lt/mic/retardboard2.jpg" width="640" height="480" /><br />
</p>]]>
        
    </content>
</entry>

</feed> 

