<?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>Biobug.org &#187; hardware</title>
	<atom:link href="http://biobug.org/index.php/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://biobug.org</link>
	<description>Projects, notes, etc by Will O'Brien</description>
	<lastBuildDate>Sat, 04 Feb 2017 13:43:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Motherboard bios updating for fun and profit</title>
		<link>http://biobug.org/index.php/2012/10/26/motherboard-bios-updating-for-fun-and-profit/</link>
		<comments>http://biobug.org/index.php/2012/10/26/motherboard-bios-updating-for-fun-and-profit/#comments</comments>
		<pubDate>Fri, 26 Oct 2012 16:09:35 +0000</pubDate>
		<dc:creator>willo</dc:creator>
				<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://biobug.org/?p=356</guid>
		<description><![CDATA[My Gigabyte ga-z68x-ud3h-b3 was due for some updating. It was trivial to use QFlash to update to the latest Award Bios, but it took a little extra work to get it up to the new UEFI bios. Here&#8217;s how I did it. Follow the bootable dos usb tutorial here. Download the appropriate bios updater and [...]]]></description>
			<content:encoded><![CDATA[<p>My Gigabyte ga-z68x-ud3h-b3 was due for some updating. It was trivial to use QFlash to update to the latest Award Bios, but it took a little extra work to get it up to the new UEFI bios. Here&#8217;s how I did it.</p>
<p>Follow the bootable dos usb tutorial <a href="http://www.sevenforums.com/tutorials/46707-ms-dos-bootable-flash-drive-create.html">here</a>.</p>
<p>Download the appropriate bios updater and unzip it on the flash drive you used.</p>
<p>Boot your machine. The bios update starts automatically. <img src='http://biobug.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Follow the boot/power instructions and enjoy your new bios.</p>
]]></content:encoded>
			<wfw:commentRss>http://biobug.org/index.php/2012/10/26/motherboard-bios-updating-for-fun-and-profit/feed/</wfw:commentRss>
		<slash:comments>1110</slash:comments>
		</item>
		<item>
		<title>CNC machine/robotic cable management</title>
		<link>http://biobug.org/index.php/2012/09/11/cnc-machinerobotic-cable-management/</link>
		<comments>http://biobug.org/index.php/2012/09/11/cnc-machinerobotic-cable-management/#comments</comments>
		<pubDate>Tue, 11 Sep 2012 14:35:11 +0000</pubDate>
		<dc:creator>willo</dc:creator>
				<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://biobug.org/?p=341</guid>
		<description><![CDATA[Since I&#8217;ve been building my mecha-shapeoko, I&#8217;ve been looking into parts that make the build really clean. If you recall the Happy Monkey snowboard CNC machine, it had some really nice cable management that kept the cabling clear of the machine during operation. With my machine going large scale, I wanted to get some. My [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;ve been building my <a href="http://powercordlabs.com/1200mm-x-1200mm-shapeoko-build/">mecha-shapeoko</a>, I&#8217;ve been looking into parts that make the build really clean. If you recall the Happy Monkey snowboard CNC machine, it had some really nice cable management that kept the cabling clear of the machine during operation. With my machine going large scale, I wanted to get some. My initial searches turned up some horribly priced parts.</p>
<p><a href="http://biobug.org/blog/wp-content/uploads/2012/09/drag-chain.jpg"><img class="alignright size-full wp-image-342" title="drag-chain" src="http://biobug.org/blog/wp-content/uploads/2012/09/drag-chain.jpg" alt="" width="400" height="400" /></a></p>
<p>It turns out that the trick is to search for &#8216;Cable Drag Chain&#8217; and you&#8217;ll find the inexpensive pricing that we&#8217;ve all come to know and love on ebay. I picked up some 40&#8243; 10mm x 15mm for about $12.</p>
]]></content:encoded>
			<wfw:commentRss>http://biobug.org/index.php/2012/09/11/cnc-machinerobotic-cable-management/feed/</wfw:commentRss>
		<slash:comments>887</slash:comments>
		</item>
		<item>
		<title>Cheap Wifi Thermostat with a JSON API</title>
		<link>http://biobug.org/index.php/2012/04/09/cheap-wifi-thermostat-with-a-json-api/</link>
		<comments>http://biobug.org/index.php/2012/04/09/cheap-wifi-thermostat-with-a-json-api/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 14:08:58 +0000</pubDate>
		<dc:creator>willo</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Toys]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[home automation]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[JSON]]></category>

		<guid isPermaLink="false">http://biobug.org/?p=316</guid>
		<description><![CDATA[I updated my thermostat to one of these. It&#8217;s made by Homewerks (Home depot sells a filtrete branded version.) It&#8217;s not as cool as the NEST, but it&#8217;ll do the job of controlling a furnace/AC. The interesting part of this device is that the wifi interface can be cloud managed, making it possible to control [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://biobug.org/blog/wp-content/uploads/2012/04/wifi-thermostat.jpg"><img class="alignnone size-full wp-image-317" title="wifi-thermostat" src="http://biobug.org/blog/wp-content/uploads/2012/04/wifi-thermostat.jpg" alt="" width="300" height="300" /></a></p>
<p>I updated my thermostat to one of <a href="http://www.amazon.com/exec/obidos/ASIN/B004YZFU1Q/cj708-20">these</a>. It&#8217;s made by Homewerks (Home depot sells a filtrete branded version.) It&#8217;s not as cool as the <a href="http://www.sparkfun.com/tutorials/334">NEST</a>, but it&#8217;ll do the job of controlling a furnace/AC. The interesting part of this device is that the wifi interface can be cloud managed, making it possible to control the thermostat via my iPhone, iPad (or android) from anywhere with data connectivity.</p>
<p>It&#8217;s actually a fairly decent device for the money. It has a JSON api that allows you to get and set variables via web interface. There&#8217;s a fantastic PDF on the API that shows examples using curl (available on linux, mac, etc). What&#8217;s really interesting is that with a JSON interface, you could easily write your own application for mobile phones or just script up some commands from your choice of computing platform.</p>
<p>Wiring was interesting. On my ancient furnace (built by chrystler) I discovered some new details. The fan wire wasn&#8217;t connected at all! At some point, some A/C tech had installed a honeywell fan controller and the fan is activated by either the cooling or heating wires being engaged. (there is a manual switch inside the furnace. Argh!) However, I was able to re-use the fan wire as a C wire to deliver both sides of the 24v a/c transformer power to the thermostat. Wifi eats more power, and you need an external supply to feed that radio.</p>
<p>Setup is pretty neat. I loaded the radio thermostat App on my iPad, and once it discovered the thermostat, I had to join the &#8216;stats wifi network. Then I could configure my WPA2 network (excellent! Thanks for supporting proper protocols!) as well as a dynamic or static ip address. I opted for static the last time I configured it. &#8211;I reconfigured it a few times while I played around with wiring options.</p>
<p>The hardware in the device is rather interesting. It&#8217;s the first one I&#8217;ve seen with a wifi <a href="http://www.usnap.org/Default.aspx">USNAP module</a>. I&#8217;d expect to see more of these devices on the market. The price point is fairly low and the curl api is ideal. Hmm, arduino USNAP shield, anyone?</p>
<p>Resources:</p>
<p>Wiki (unknown owner) for developing: <a href="http://central.isaroach.com/wiki/index.php/Main_Page">http://central.isaroach.com/wiki/index.php/Main_Page</a></p>
<p>PDF Documenting the <a href="www.radiothermostat.com/documents/RTCOAWiFIAPIV1_3.pdf">Thermostat API</a>. (local copy <a href="http://biobug.org/lj/RTCOAWiFIAPIV1_3.pdf">here</a>) This is the interesting one.</p>
]]></content:encoded>
			<wfw:commentRss>http://biobug.org/index.php/2012/04/09/cheap-wifi-thermostat-with-a-json-api/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Amazing engineering &#8211; ebikes gone wild</title>
		<link>http://biobug.org/index.php/2012/02/10/amazing-engineering-ebikes-gone-wild/</link>
		<comments>http://biobug.org/index.php/2012/02/10/amazing-engineering-ebikes-gone-wild/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 14:21:21 +0000</pubDate>
		<dc:creator>willo</dc:creator>
				<category><![CDATA[Electric Vehicle]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Motorcycle]]></category>
		<category><![CDATA[biike]]></category>
		<category><![CDATA[electric bike]]></category>

		<guid isPermaLink="false">http://biobug.org/?p=307</guid>
		<description><![CDATA[Recently I started working on an electric bicycle. Financially they&#8217;re quite viable and the performance you can get out of today&#8217;s batteries is finally worth the effort! In my research, I ran across a build log by a interesting fellow named greyborg. He makes custom bikes (in Croatia I believe) and has done some steller [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I started working on an electric bicycle. Financially they&#8217;re quite viable and the performance you can get out of today&#8217;s batteries is finally worth the effort! In my research, I ran across a build log by a interesting fellow named greyborg. He makes custom bikes (in Croatia I believe) and has done some steller work:</p>
<p><img class="alignnone" title="Greyborg stealth" src="http://biobug.org/lj/greyborg.jpg" alt="" width="500" height="666" /></p>
<p>This is his hand built version of a <a href="http://www.stealthelectricbikes.com/">Stealth Electric Bike</a> (Those start at $8k each!). Check out his build logs for this bike <a href="http://www.greyb.org/assembler.html">here</a> and <a href="http://www.greyb.org/assembler2.html">here</a>. He even made the hub motor. The chassis is laser cut steel that he welded together and it&#8217;s powered by a custom pack of LifePo cells. Given the motor and voltage, this bike is capable of something like 50-60mph!</p>
<p>Be sure to check out part 2 which details the friggin liquid cooled motor, internal temperature monitoring and some huge phase wires for the brushless motor.</p>
<p>After I&#8217;d read this build &#8211; and was just amazed by it, I found out that Greyborg is actually a serious Ebike manufacturer who produces and sells motors, bikes and other parts. (Which explains the resources he could put into the build) I have to say that I definitely admire this guy. If he didn&#8217;t live on another continent I would take a road trip just to meet him and check out his creations!</p>
]]></content:encoded>
			<wfw:commentRss>http://biobug.org/index.php/2012/02/10/amazing-engineering-ebikes-gone-wild/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SMS remote start usability update</title>
		<link>http://biobug.org/index.php/2011/12/17/sms-remote-start-usability-update/</link>
		<comments>http://biobug.org/index.php/2011/12/17/sms-remote-start-usability-update/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 20:51:35 +0000</pubDate>
		<dc:creator>willo</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[SMSresponder]]></category>

		<guid isPermaLink="false">http://biobug.org/?p=296</guid>
		<description><![CDATA[Ok, so it&#8217;s been a week since I installed the SMS interface. I took the car out to Winter Park for a week of sliding down the mountain and gave the system a real world test. (Tried it from my hotel room while the car was outside) and it worked! I just gave it another [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so it&#8217;s been a week since I installed the SMS interface. I took the car out to Winter Park for a week of sliding down the mountain and gave the system a real world test. (Tried it from my hotel room while the car was outside) and it worked!</p>
<p>I just gave it another test run and the car started perfectly. Now that the system has stayed working, I&#8217;m planning to develop the backend code a bit more. In addition, I have some more tricks up my sleeve&#8230; <img src='http://biobug.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://biobug.org/index.php/2011/12/17/sms-remote-start-usability-update/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SMSresponder interface schematic</title>
		<link>http://biobug.org/index.php/2011/12/17/smsresponder-interface-schematic/</link>
		<comments>http://biobug.org/index.php/2011/12/17/smsresponder-interface-schematic/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 20:42:37 +0000</pubDate>
		<dc:creator>willo</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[SMSresponder]]></category>

		<guid isPermaLink="false">http://biobug.org/?p=289</guid>
		<description><![CDATA[I whipped up a clean schematic for my current version of the SMS responder. I left out the iphone dock connector because I used a breakout board &#8211; and really, it&#8217;s easier that way, you can cable over to the iphone. Click to view the entire schematic &#8211; my blog trims the images (I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I whipped up a clean schematic for my current version of the SMS responder. I left out the iphone dock connector because I used a breakout board &#8211; and really, it&#8217;s easier that way, you can cable over to the iphone. Click to view the entire schematic &#8211; my blog trims the images (I don&#8217;t like scaling them!)</p>
<p><a href="http://biobug.org/blog/wp-content/uploads/2011/12/SMSresponder.png"><img class="alignnone size-full wp-image-290" title="SMSresponder" src="http://biobug.org/blog/wp-content/uploads/2011/12/SMSresponder.png" alt="" width="899" height="481" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://biobug.org/index.php/2011/12/17/smsresponder-interface-schematic/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>SMS Remote Start &#8211; working prototype</title>
		<link>http://biobug.org/index.php/2011/12/11/sms-remote-start-working-prototype/</link>
		<comments>http://biobug.org/index.php/2011/12/11/sms-remote-start-working-prototype/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 01:01:25 +0000</pubDate>
		<dc:creator>willo</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[SMSresponder]]></category>

		<guid isPermaLink="false">http://biobug.org/?p=280</guid>
		<description><![CDATA[A quick update on the SMS remote start using my old iPhone&#8230; It works! I can now start my Subaru outback via SMS command from wherever I am. I used an older Arduino simply because I wanted a quick and dirty 3.3v source for the iphone to arduino serial interface. The perfboard has a tip120 [...]]]></description>
			<content:encoded><![CDATA[<p>A quick update on the SMS remote start using my old iPhone&#8230; It works! I can now start my Subaru outback via SMS command from wherever I am.</p>
<p><a href="http://biobug.org/blog/wp-content/uploads/2011/12/Image.jpg"><img class="alignnone size-full wp-image-281" title="iPhone SMS Remote interface" src="http://biobug.org/blog/wp-content/uploads/2011/12/Image.jpg" alt="" width="800" height="582" /></a></p>
<p>I used an older Arduino simply because I wanted a quick and dirty 3.3v source for the iphone to arduino serial interface. The perfboard has a tip120 to drive the remote start, all the interface wiring for the car, power supply and the iphone interface. I tossed in a .01 cap at the power source just for extra filtering. The power supply is a switching charger from a broken iphone car charger. Efficient and free!</p>
<p><a href="http://biobug.org/blog/wp-content/uploads/2011/12/Image-1.jpg"><img class="alignnone size-full wp-image-282" title="SMS remote start schematic" src="http://biobug.org/blog/wp-content/uploads/2011/12/Image-1.jpg" alt="" width="800" height="500" /></a></p>
<p>This is my quick build schematic. (Click to see the entire thing) The voltage divider on the left is so that the arduino can report the system voltage. it&#8217;s made of 3 10k resistors since I always have those on hand. The result is 1/3 of the 12-14v DC that the car has. From this, we can infer the state of the car: &gt;13 is started. I plan to toss in a ds180 1 wire temp sensor later on as well. The pink highlighter was used as I wired things up.</p>
<p>Important: There&#8217;s an error in the schematic &#8211; I fixed it on my board but forgot to update it! The diode should connect on the other side of the resistor that connects the iphone serial RX and the Arduino 3.3v source. If you connect it this way, you won&#8217;t get any serial input on the iphone. It&#8217;s not lethal, just important!</p>
<p>(update 2: You can get the clean version of the schematic <a href="http://biobug.org/index.php/2011/12/17/smsresponder-interface-schematic/">here</a>: )</p>
<p>Requirements:</p>
<p>An old jailbroken iPhone, an Arduino, iphone breakout board (I used a <a href="http://www.sparkfun.com/products/10645">PodBreakout Mini</a>) 4x 10k resistors, 1x TIP120, a 5 volt switching supply cell charger (easier than building one), some wiring ability and a general understanding of unix/perl/arduino. (See the packages on my dev phone in <a href="http://biobug.org/index.php/2011/11/28/iphone-dev-smsresponder/">this</a> post.</p>
<p>The code:</p>
<p>You can get the code to make it all work <a href="../../code/SMSresponder/">here</a>. (SMSresponder.pl, com.SMSresponder.startup.plist and</p>
<p>SMSresponder is a perl script that runs in a loop. Every 30 seconds it checks for a new message since the last time it ran. place it in /var/root/bin/ (you&#8217;ll need to create that directory) as this is where the startup system looks for it. You can put it somewhere else, just edit the plist to match.</p>
<p>Make it work all the time:</p>
<p>Copy com.SMSresponder.startup.plist to /System/Library/LaunchDaemons on the phone. This will start the script at boot.</p>
<p>The Arduino:</p>
<p><a href="../../code/SMSresponder/RemoteStartController.pde">RemoteStartController.pde</a> is a quick program that I wrote based on all sorts of other source I already had on hand. Notably, most of the code was adapted from Motokomp. I&#8217;ve added hooks for additional commands, but haven&#8217;t updated the iPhone perl script to do anything with the output.</p>
<p>How it works in real life:</p>
<p>I send a text message from my phone with the phrase: &#8220;Start 1234&#8243; (1234 would be the password in the phone script). The phone gets the text then tells the arduino via serial interface to start. The arduino grounds the wire to the remote start that activates it. Meanwhile, the phone sends back a SMS saying &#8216;Executed&#8217; to let me know that it got the message and is acting on it. In the future it&#8217;ll send back a message confirming that the start was executed as opposed to the I told him to do it method.</p>
<p>Project comments:</p>
<p>This thing works very well. I can probably get away with reducing the polling time on the iPhone, but I wanted to conserve resources. I spent two weeks testing the SMSresponder script running on the phone with perfect results every time. I still need to add some handshaking between the iphone and arduino, (iPhone: start dude. Arduino: OK!, iPhone: great let me sms that back to the man in charge.) Right now, the iphone sends the command and prays that the arduino got the message.</p>
<p>The remote start I&#8217;m using is an Avatal 3117 purchased via Amazon. (There are additional things added to make the subaru&#8217;s computer happy about missing the key) the main reason I bought this remote start is that it has an input wire for starting! When you ground it, the remote start will start the car. If you ground it again, the car will turn off. That&#8217;s how the arduino activates the remote start. In reality, there&#8217;s also a serial interface on most RS units today, but getting documentation on them seemed difficult. Besides, who wants to implement a new protocol just for a one-off build?</p>
<p>I&#8217;m seriously considering building a kit version of this hardware. It would include the iphone dock connector, programmed atmega, etc: it would tie all the prototype hardware into a single build &#8211; and maybe add a nice box and harness to make it work. (I used extra wiring bits from my remote start install to add a nice modular connector to the prototype)</p>
]]></content:encoded>
			<wfw:commentRss>http://biobug.org/index.php/2011/12/11/sms-remote-start-working-prototype/feed/</wfw:commentRss>
		<slash:comments>4398</slash:comments>
		</item>
		<item>
		<title>Cheap connectivity for your gsm project.</title>
		<link>http://biobug.org/index.php/2011/11/20/cheap-connectivity-for-your-gsm-project/</link>
		<comments>http://biobug.org/index.php/2011/11/20/cheap-connectivity-for-your-gsm-project/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 16:14:21 +0000</pubDate>
		<dc:creator>willo</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[telemetry]]></category>

		<guid isPermaLink="false">http://biobug.org/?p=271</guid>
		<description><![CDATA[I tried to get a telemetry sim via the diydrones guys, but they were out! I opted for my old friend, the pay as you go t-mobile setup. I just picked up a $20 phone at walmart, then activated the sim with the iphones imei. You don&#8217;t have to do that. You can activate the [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to get a telemetry sim via the diydrones guys, but they were out! I opted for my old friend, the pay as you go t-mobile setup. I just picked up a $20 phone at walmart, then activated the sim with the iphones imei. You don&#8217;t have to do that. You can activate the new phone and update the imei later on. If  you have a questionable project phone, you should activate the new cheap pay as you go phone then move the sim. You need a working phone to get the login to manage the account!</p>
<p>Costs:</p>
<p>$20 phone &#8211; I got around $4 in line credit with the phone. Sometimes they include extra minutes in the deal making it even better.</p>
<p>Buy at least $10 for the pay as you go plan. SMS will cost $.10/each. Not the best, but nice for low investment. $10 gets you 100 messages.</p>
<p>However, if you find that you&#8217;re using the heck out of it, you can upgrade to a $15/month plan that gives you UNLIMITED TEXT.</p>
]]></content:encoded>
			<wfw:commentRss>http://biobug.org/index.php/2011/11/20/cheap-connectivity-for-your-gsm-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->