<?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>Hackerbot Labs &#187; Electronics</title>
	<atom:link href="http://www.hackerbotlabs.com/category/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hackerbotlabs.com</link>
	<description>Our blog. Let us show you it.</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:33:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ethernet Switches For Sale</title>
		<link>http://www.hackerbotlabs.com/2011/07/ethernet-switches-for-sale/</link>
		<comments>http://www.hackerbotlabs.com/2011/07/ethernet-switches-for-sale/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 03:45:36 +0000</pubDate>
		<dc:creator>lklafleur</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.hackerbotlabs.com/?p=710</guid>
		<description><![CDATA[Lots of ethernet switches!!! Used for things like gaming parties, so 50 of your closest friends can come over and play WoW. Or Quake. Maybe some StarCraft. You know, bring your tower and CRT. Perhaps your basement gold mining operation. Also for dorms, boarding houses, sweatshops, 419 scams, and other places where a multitude of [...]]]></description>
			<content:encoded><![CDATA[<p>Lots of ethernet switches!!! Used for things like gaming parties, so 50 of your closest friends can come over and play WoW. Or Quake. Maybe some StarCraft. You know, bring your tower and CRT. Perhaps your basement gold mining operation. Also for dorms, boarding houses, sweatshops, 419 scams, and other places where a multitude of unwashed masses are kept. Which is different than your aforementioned LAN party. Can buy as a set (if you have lots of friends) or as individual units (if you.. well.. don&#8217;t).</p>
<p>Contact <strong>HBL.stuff@gmail</strong> if you&#8217;re interested!</p>
<p><img src="http://www.hackerbotlabs.com/wp-content/uploads/2011/07/e985-6622-small.jpg" alt="Example Switch" /></p>
<p>Specs:<br />
12 x HP ProCurve Switch 4000M boxes each w/ one switch engine module with varying number of 10/100 ethernet modules and gigabit fiber modules.<br />
Ethernet modules are 10/100 Base-T Module and come with 8 ethernet ports</p>
<p>6 ethernet modules + 1 &#8220;100Base-FX Module&#8221; ($55)<br />
8 ethernet modules (0 fiber) ($70)<br />
10 ethernet module (fan is missing) ($80)<br />
5 ethernet modules + 1 &#8220;100Base-FX Module&#8221; ($50)<br />
6 ethernet modules + 2 &#8220;100Base-FX Module&#8221; ($60)<br />
1 ethernet modules + 1 &#8220;100Base-FX Module&#8221;+ 1 unidentified fiber module ($30)<br />
1 ethernet modules + 1 &#8220;Gigabit-SX Module&#8221; ($30)<br />
1 ethernet modules (no faceplates) ($20)</p>
<p>2 x 9 ethernet module + 1 &#8220;Gigabit-SX Module&#8221; ($80)<br />
2 x 4 ethernet module + 1 &#8220;Gigabit-SX Module&#8221; ($40)</p>
<p>we have a box of HP ProCurve Switch 4000M switch engine modules (one free with each purchase)</p>
<p><img src="http://www.hackerbotlabs.com/wp-content/uploads/2011/07/e985-6616-small.jpg" alt="Fisheye Switch" /></p>
<p>we also have:<br />
1 x HP ProCurve Switch 1600M<br />
with a &#8220;1000Base-FX Module&#8221; and 16 x 10/100 ethernet ports<br />
($30)</p>
<p>1 x HP ProCurve Switch 1600M<br />
with 16 x 10/100 ethernet ports<br />
($20)</p>
<p>and<br />
1 x hp procurve switch 2512<br />
12 Ethernet ports + holes for transceiver ports (nothing there)<br />
($20)</p>
<p>and<br />
1 x Cisco Systems Catalyst 5509 rack containing:<br />
1 x WS-X5530<br />
1 x WS-X5224, 4 ports of 1000 Base SX gigabit ethernet<br />
6 x WS-X5012A<br />
1 x 10/100 Mbsp ethernet, 12 ports<br />
($50)</p>
<img src="http://www.hackerbotlabs.com/?ak_action=api_record_view&id=710&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hackerbotlabs.com/2011/07/ethernet-switches-for-sale/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mad science garage sale!</title>
		<link>http://www.hackerbotlabs.com/2011/03/mad-science-garage-sale/</link>
		<comments>http://www.hackerbotlabs.com/2011/03/mad-science-garage-sale/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 05:29:04 +0000</pubDate>
		<dc:creator>3ricj</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Explosions]]></category>

		<guid isPermaLink="false">http://www.hackerbotlabs.com/?p=606</guid>
		<description><![CDATA[Hackerbot Labs of Seattle is having a garage sale! http://www.hackerbotlabs.com We are a community of people with a passion for science and a bunch of stuff we need to get rid of. When? This Saturday, 03/12/11. We open at noon and go until 6pm. Where? Hackerbot Labs: 4660 East Marginal Way S. We are right [...]]]></description>
			<content:encoded><![CDATA[<p>Hackerbot Labs of Seattle is having a garage sale!</p>
<p>http://www.hackerbotlabs.com</p>
<p>We are a community of people with a passion for science and a bunch of stuff we need to get rid of.</p>
<p>When? This Saturday, 03/12/11. We open at noon and go until 6pm.<br />
Where? Hackerbot Labs: <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=4660+east+marginal+way+south,+seattle,+wa&#038;aq=&#038;sll=47.207201,-122.549495&#038;sspn=0.007128,0.01929&#038;ie=UTF8&#038;hq=&#038;hnear=4660+East+Marginal+Way+S,+Seattle,+King,+Washington+98134&#038;t=h&#038;z=16">4660 East Marginal Way S. </a>We are right next to Arena Sports on the intersection with South Alaska Street.  </p>
<p>Some items:<br />
* EEG machine w/ time plotter<br />
* Gorilla suit<br />
* ethernet switches<br />
* microwaves<br />
* rockets<br />
* HV giant capacitors!!!!!<br />
* audio equipment<br />
* data card printer<br />
* ethernet switches<br />
* misc. servers and computers<br />
* microscopes<br />
* wifi equipment<br />
* surgical lights<br />
* extension cords!!<br />
* mouse balls<br />
* weather balloons<br />
* kiln<br />
* mystery box!<br />
* centrifuge<br />
* UPS<br />
* telescopes pelican cases<br />
* diathermy machine<br />
* high voltage power supplies<br />
* tools<br />
* lots of books, technical engineering and other kinds<br />
* a powerful and impressive Hitachi mill. and also deadly.<br />
* AND MUCH MORE!</p>
<img src="http://www.hackerbotlabs.com/?ak_action=api_record_view&id=606&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hackerbotlabs.com/2011/03/mad-science-garage-sale/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Laser Box</title>
		<link>http://www.hackerbotlabs.com/2009/03/the-laser-box/</link>
		<comments>http://www.hackerbotlabs.com/2009/03/the-laser-box/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 05:18:58 +0000</pubDate>
		<dc:creator>Gnewt</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[lasers]]></category>
		<category><![CDATA[shinp]]></category>

		<guid isPermaLink="false">http://www.hackerbotlabs.com/?p=326</guid>
		<description><![CDATA[Parts list: SHINP CL-16RGY OpenDMX USB dongle A while ago I was given a SHINP CL-16RGY by 3ric, to play with. We had no software for it, no experience with the box, and no clue what we could make it do. Here&#8217;s the story of what I did to make it work, and what we&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl>
<dt> </dt>
<dt><img class="size-full wp-image-343" src="http://www.hackerbotlabs.com/wp-content/uploads/2009/03/gnewt.jpg" alt="This is a long-exposure photo of me being scanned by the laser." width="450" height="299" /></dt>
</dl>
</div>
<p>Parts list:</p>
<ul>
<li>SHINP CL-16RGY</li>
<li>OpenDMX USB dongle</li>
</ul>
<p>A while ago I was given a <a href="http://szshinp.com/en/products.asp?nsid=4&amp;pid=13" target="_blank">SHINP CL-16RGY</a> by 3ric, to play with. We had no software for it, no experience with the box, and no clue what we could make it do. Here&#8217;s the story of what I did to make it work, and what we&#8217;re going to use it for in the future.</p>
<p>First, I needed to install a driver the Enttec Open DMX USB dongle. This is how we send signals to the laser. The first bit of info I found was <a href="http://www.opendmx.net/index.php/LLA_and_Q_Light_Controller_Ubuntu_Tutorial">here</a>, a tutorial on exactly the USB dongle we have. One problem: it&#8217;s for a Linux box. I have a Windows laptop. I fired up my Ubuntu virtual machine and got to work.</p>
<p>Compiling the driver was fairly easy. Mentioned in the tutorial I linked to is a driver from erwinrol.com. All I had to do was run a git command, make, copy the driver into the right directory, and then depmod. Voila, plugged the dongle into my laptop and it was recognized by Ubuntu as /dev/dmx0. Perfect! Next step was figuring out how to send it commands. I found some sample code somewhere (though unfortunately I can&#8217;t remember where). It looked like this:</p>
<pre>#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
#include &lt;fcntl.h&gt;

int main()
{
  unsigned char buffer[513];
  int fd;

  memset(buffer, '\0', 513);

  fd = open("/dev/dmx0", O_WRONLY, 0);
  while (1) {
    write(fd, buffer, sizeof(buffer));
  }
}</pre>
<dl>
<dt><img class="size-full wp-image-329" src="http://www.hackerbotlabs.com/wp-content/uploads/2009/02/cl-16.jpg" alt="The CL-16RGY from szshinp.com" width="450" height="310" /></dt>
</dl>
<p>This worked to prove that the driver was working. The laser box has a little green LED on the back which signifies DMX512 data being received. It was blinking furiously. I thought &#8220;well, since it&#8217;s receiving data, everything after this will be easy.&#8221; I was very wrong. The manual told me that certain channels controlled certain things (channel 1 for X position, channel 2 for Y position, etc), and I assumed that the information would be correct. No. Of course not. It can&#8217;t be that easy.</p>
<p>I nearly gave up the project at this point. The terrible layout of the buffer was pissing me off. After a while though, I found a Windows DMX program. It didn&#8217;t work how I would have liked it do, but it let me adjust the channels in realtime, so I could figure out what things were. I squealed with joy (on the inside, of course) and took note of which channels corresponded to which functions. At the time, my code was in Python, so I edited the Python file and ran it. LAZOR WORKING! I tried editing a few of the channel values to make sure I was editing the correct positions in the buffer, and it worked just like it should.</p>
<p>My code at this time was in Python though, and I wanted the end result in C. I pretty much recreated the same code in C, implemented getopt, and cleaned up the code. It ended up being beautiful! Here is the sourcecode, a binary, and the CL-16RGY manual:</p>
<p><a href="http://www.gnewt.at/lazor/">http://www.gnewt.at/lazor/</a></p>
<img src="http://www.hackerbotlabs.com/?ak_action=api_record_view&id=326&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hackerbotlabs.com/2009/03/the-laser-box/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Use your waist to find North</title>
		<link>http://www.hackerbotlabs.com/2009/01/fake-feature-use-your-waist-to-find-north/</link>
		<comments>http://www.hackerbotlabs.com/2009/01/fake-feature-use-your-waist-to-find-north/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 10:53:32 +0000</pubDate>
		<dc:creator>Lara Sobel</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://soko.hackerbot.com/wordpress/?p=190</guid>
		<description><![CDATA[Phil prototyping his compass belt. Xander on signage. Photo by Æther]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://farm2.static.flickr.com/1090/1429813647_098ad75b71.jpg?v=0" alt="" width="375" height="500" /></p>
<p>Phil prototyping his compass belt. Xander on signage. Photo by <a href="http://www.flickr.com/photos/ladysafety/">Æther</a></p>
<img src="http://www.hackerbotlabs.com/?ak_action=api_record_view&id=190&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hackerbotlabs.com/2009/01/fake-feature-use-your-waist-to-find-north/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Electronics category has posts about electronics</title>
		<link>http://www.hackerbotlabs.com/2009/01/new-category-electronics/</link>
		<comments>http://www.hackerbotlabs.com/2009/01/new-category-electronics/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 09:53:59 +0000</pubDate>
		<dc:creator>Lara Sobel</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://soko.hackerbot.com/wordpress/?p=163</guid>
		<description><![CDATA[This is an example of a post about some electronics. Here is where you would see the latest blog post about some electronics that came about from activities at Hackerbot Labs. It may have a link for downloading, or it may have a screenshot. First poster in this category please delete this example post]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-162" title="electronics-generic-icon" src="http://www.hackerbotlabs.com/wp-content/uploads/2009/01/electronics-generic-icon.jpg" alt="electronics-generic-icon" width="100" height="60" />This is an example of a post about some electronics. Here is where you would see the latest blog post about some electronics that came about from activities at Hackerbot Labs. It may have a link for downloading, or it may have a screenshot. First poster in this category please delete this example post</p>
<img src="http://www.hackerbotlabs.com/?ak_action=api_record_view&id=163&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hackerbotlabs.com/2009/01/new-category-electronics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

