<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
	<title><![CDATA[Nathan's Blog]]></title>
	<link>http://www.foxytronics.com/blog/1-nathans-blog/</link>
	<description><![CDATA[Nathan's Blog Syndication]]></description>
	<pubDate>Sun, 27 Oct 2013 10:11:55 +0000</pubDate>
	<webMaster>customerservice@foxytronics.com (FoxyTronics)</webMaster>
	<generator>IP.Blog</generator>
	<ttl>60</ttl>
	<item>
		<title>Liberty University Jerry Falwell Library Tour</title>
		<link>http://www.foxytronics.com/blog/1/entry-61-liberty-university-jerry-falwell-library-tour/</link>
		<category></category>
		<description><![CDATA[Liberty University is building a new $50M library and the <a href='http://www.libertyrobotics.org' class='bbc_url' title='External link' rel='nofollow external'>Liberty University Robotics Club</a> had the opportunity to tour the new library and see it's robotic book retrieval system today.<br /><br />I forgot to bring a camera and used my cell to take the pictures and video below, so they're not the best quality, but hopefully you get the idea of how cool it was!<br /><br /><iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="640" height="390" src="http://youtube.com/embed/JX3Sbgi2hdc?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe><br /><iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="640" height="390" src="http://youtube.com/embed/93xGWRLV8E4?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe><br /><iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="640" height="390" src="http://youtube.com/embed/eOex8NOoH40?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe><br /><iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="640" height="390" src="http://youtube.com/embed/WY4ji1QfDQo?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe><br /><iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="640" height="390" src="http://youtube.com/embed/cYUlUEocthc?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe><br /><br />Main entrance.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img607/182/hcuy.jpg' alt='Posted Image'  /></span><br /><br />The view after walking in the main entrance.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img11/7807/dgt2.jpg' alt='Posted Image'  /></span><br /><br />Another view from the main entrance.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img850/2360/go71.jpg' alt='Posted Image'  /></span><br /><br />Lounge/computer area.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img809/3166/rmi7.jpg' alt='Posted Image'  /></span><br /><br />Unfinished stairs = FUN!<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img30/5531/w8t7.jpg' alt='Posted Image'  /></span><br /><br />2nd floor?<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img826/5163/vpd6.jpg' alt='Posted Image'  /></span><br /><br />2nd floor view of the main lobby (note: we had a bet as to who could hop down the unfinished stairs in the background, on one leg, backward, blindfolded, but although there was a generous $5 reward, there weren't any takers. Cowards.).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img19/9283/fzem.jpg' alt='Posted Image'  /></span><br /><br />Another view of the main lobby.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img837/2412/lx63.jpg' alt='Posted Image'  /></span><br /><br />Pic across campus from the 2nd floor. To the right is a lake, to the left is an underground athletic training facility/basketball court (a lawn will be laid over the top) and in the background is the new humongous eight story dorm being built.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img28/6818/xkvl.jpg' alt='Posted Image'  /></span><br /><br />Robotic book retrieval system.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img837/7513/wp9b.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img853/6497/erjp.jpg' alt='Posted Image'  /></span><br /><br />The boxes come in from the sides, at which time a diagram of the box comes up on the display showing which of the six partitions the book needing to be picked is located. After the operator picks the book, he or she scans it, sticks the receipt printed out into the book, and it's ready for pickup by the student who ordered it. Time from order (placed online) to being ready for pickup is about 10 minutes.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img542/7503/n4zy.jpg' alt='Posted Image'  /></span><br /><br />Some more pics of the retrieval system..<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img713/3739/fx0u.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img689/3615/oelv.jpg' alt='Posted Image'  /></span><br /><br />Matthew's head.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img812/4120/1uyn.jpg' alt='Posted Image'  /></span><br /><br />The retrieval system can move at about 4.7 MPH horizontally and 1.7 MPH vertically. It travels on both axis at the same time to improve picking speed.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img577/3012/9xwj.jpg' alt='Posted Image'  /></span><br /><br />It was hard not pushing these buttons...<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img34/3707/01c0.jpg' alt='Posted Image'  /></span><br /><br />... but much harder not pushing this one..<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img38/5566/bul0.jpg' alt='Posted Image'  /></span><br /><br />It makes really cool noises when it moves.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img35/8489/hxrd.jpg' alt='Posted Image'  /></span><br /><br />All these empty spaces will be filled soon..<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img18/7538/r1c2.jpg' alt='Posted Image'  /></span><br /><br />I agree, that is a SICK laser (it's used to make sure books aren't sticking above the top of the box before moving to storage).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img594/2002/ca0a.jpg' alt='Posted Image'  /></span><br /><br />Operator station (with a missing monitor).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img6/4930/kvdn.jpg' alt='Posted Image'  /></span><br /><br />The robot brings the boxes down to this level, then slides them into the station.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img6/3646/y5op.jpg' alt='Posted Image'  /></span><br /><br />Another pic of empty-but-soon-to-be-filled-spaces.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img407/8715/g7jm.jpg' alt='Posted Image'  /></span><br /><br />I like taking pictures.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img266/7098/49n4.jpg' alt='Posted Image'  /></span><br /><br />BGEVROOOMEEEEEEEEE (it sounds much cooler than that).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img593/2987/n7i7.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img198/5953/ypd4.jpg' alt='Posted Image'  /></span><br /><br />Heavy duty stuff..<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img600/7913/i3pp.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img841/236/7yok.jpg' alt='Posted Image'  /></span><br /><br />Is this company looking for interns?<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img543/6826/6c2a.jpg' alt='Posted Image'  /></span><br /><br />I was tempted to reach in and touch that back rail -- it looked like a once in a lifetime experience..<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img196/4392/2jd4.jpg' alt='Posted Image'  /></span><br /><br />The box was just transferred from the retrieval/delivery system into the station.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img546/2518/3qr6.jpg' alt='Posted Image'  /></span><br /><br />Apparently the engineers at Muratec really like lasers, because they're everywhere.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img855/6797/k4ro.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img191/914/2e8h.jpg' alt='Posted Image'  /></span><br /><br />Huge boiler room (or something-room) in the basement.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img801/2109/gd9j.jpg' alt='Posted Image'  /></span><br /><br />Pictures through an observation window on the ground floor.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img29/804/i66y.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img89/4412/ui9z.jpg' alt='Posted Image'  /></span><br /><br />Another pic out across campus.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img5/962/tqqq.jpg' alt='Posted Image'  /></span><br /><br />The lake is to the right of the above picture.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img248/2189/1xet.jpg' alt='Posted Image'  /></span><br /><br />We were not authorized to ascend these stairs. I don't like being told what to do, so I half-stepped onto the first one.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img23/1329/9jtx.jpg' alt='Posted Image'  /></span><br /><br />Mini food-court place.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img38/404/9rvm.jpg' alt='Posted Image'  /></span><br /><br />Not sure which floor this is, but you can see the books stacks on the right (stacks are on all four floors).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img844/6387/p8qf.jpg' alt='Posted Image'  /></span><br /><br />I've never been particularly fond of glass railings, but they look nice.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img513/6452/7e9w.jpg' alt='Posted Image'  /></span><br /><br />The fourth floor has glass from floor to ceiling instead of just a glass railing. Apparently it has something to do with fire suppression.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img585/3683/pyw2.jpg' alt='Posted Image'  /></span><br /><br />A view from the back of the library out into the main lobby. The stairs going up are actually just the narrow strop on the left, while what appear to be larger steps on the right will be benches. I think the guide referred to this as "the forum," or something similarly Roman, which has inspired me to reenact the assassination of Julius Caesar here (with real swords, obviously).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img443/1389/wgyj.jpg' alt='Posted Image'  /></span><br /><br />This is the somewhat-awesome staircase where the $5 bet/dare occurred, but as previously mentioned there were no takers.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img541/6674/h0nr.jpg' alt='Posted Image'  /></span><br /><br />This picture is totally unnecessary as there is an almost identical one above.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img35/9100/jx8u.jpg' alt='Posted Image'  /></span><br /><br />The stacks on the first two floors can be seen here. Unlike libraries at other universities, it is highly unlikely that students will be making out in these stacks, as there is very little privacy (clearly by design, jerks).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img812/3614/o6fh.jpg' alt='Posted Image'  /></span><br /><br />Actually, I like the glass.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img600/6955/t23k.jpg' alt='Posted Image'  /></span><br /><br />A few more pics from another observation window:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img197/9713/1cgf.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img15/3030/12pi.jpg' alt='Posted Image'  /></span><br /><br />At first glance, it may seem that the robot had become self-aware and was attempting to communicate with me via a flashing light. Unfortunately, it was my camera's flash.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img542/5011/9fpe.jpg' alt='Posted Image'  /></span><br /><br />Another picture across campus, this time with the athletic training facility, lake, and dorm all in view.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img692/4503/kwjb.jpg' alt='Posted Image'  /></span><br /><br />A few more pics from the upper floors..<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img208/4718/7knj.jpg' alt='Posted Image'  /></span><br /><br />To the girl leaning against the glass railing: see the duct tape holding it together?<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img713/1248/nclt.jpg' alt='Posted Image'  /></span><br /><br />We feel a zipline from the library to the dorm on the right would be a great addition (someone suggested monkey bars, but that's just silly).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img577/553/6y0c.jpg' alt='Posted Image'  /></span><br /><br />The main lobby again.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img692/5281/qalc.jpg' alt='Posted Image'  /></span><br /><br />One of the 40 or so group study rooms. Apparently, there's a special kind of paint on the walls that allows students to write on them with dry-erase markers. The windows, glass-top table, and people can also be written on.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img841/8522/ixz8.jpg' alt='Posted Image'  /></span><br /><br />Views of the main lobby from the second floor overpass.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img23/8776/oqca.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img4/3177/j7in.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img32/8853/6bax.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img708/982/ng62.jpg' alt='Posted Image'  /></span><br /><br />Outside the front of the library. I believe this area will be a grass mall.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img19/1983/knhq.jpg' alt='Posted Image'  /></span><br /><br />A dedicated quiet reading room. For some unknown reason, all of the books that start with the letter "p" will also be in here.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img856/4553/bht1.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img542/7531/vfk3.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img401/4151/rw6b.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img842/2688/7hxc.jpg' alt='Posted Image'  /></span><br /><br />I don't think he was supposed to go out there.. (note to self, use this as blackmail)<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img407/1445/wpik.jpg' alt='Posted Image'  /></span><br /><br />This is a picture of the reading room, not the girl, I swear.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img811/1069/45h5.jpg' alt='Posted Image'  /></span><br /><br />We weren't allowed to walk on these stairs, either, but I was actually OK with that.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img801/531/1aee.jpg' alt='Posted Image'  /></span><br /><br />Middle of the 3rd floor (I think).<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img594/9213/kotl.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img811/4868/nps9.jpg' alt='Posted Image'  /></span><br /><br />Our tour guide, who was awesome, wore a hard hat. We were not given hard hats, which some of us resented.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img407/3347/74qm.jpg' alt='Posted Image'  /></span><br /><br />One of several uncompleted terraces.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img4/1987/hzb5.jpg' alt='Posted Image'  /></span><br /><br />It's a long way down..<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://imageshack.com/a/img845/4272/kg68.jpg' alt='Posted Image'  /></span><br /><br />We had a great time touring the new library and are especially grateful for being shown the very cool robotic book retrieval system. Thanks very much to everyone involved in organizing the tour!]]></description>
		<pubDate>Fri, 25 Oct 2013 01:19:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-61-liberty-university-jerry-falwell-library-tour/</guid>
	</item>
	<item>
		<title>Arduino maze solving robot</title>
		<link>http://www.foxytronics.com/blog/1/entry-59-arduino-maze-solving-robot/</link>
		<category></category>
		<description><![CDATA[Last semester my robotic's club's goal was to build small robots that could navigate through mazes. I was able to complete the challenge, but I just realized I never posted about it on here!<br /><br /><p class='bbc_center'><iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="640" height="390" src="http://youtube.com/embed/sLwJEyHSLCY?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe></p><br />The Arduino code is available for download here: <a href='http://www.foxytronics.com/files/file/36-arduino-maze-solving-robot-code/' class='bbc_url' title=''>Arduino maze solving robot code</a>]]></description>
		<pubDate>Fri, 04 Oct 2013 16:00:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-59-arduino-maze-solving-robot/</guid>
	</item>
	<item>
		<title>Averaging HC-SR04 ultrasonic distance sensor readings in a non-blocking manner</title>
		<link>http://www.foxytronics.com/blog/1/entry-54-averaging-hc-sr04-ultrasonic-distance-sensor-readings-in-a-non-blocking-manner/</link>
		<category></category>
		<description><![CDATA[This is a reply to a facebook post. It would have been difficult to read in facebook's narrow layout, so I'm posting it here.<br /><br />In order to average three readings from a sensor in a non-blocking manner, you could either have three variables like this:<pre class='prettyprint lang-auto linenums:0'>
int ultrasonicReading0 = 0;
int ultrasonicReading1 = 0;
int ultrasonicReading2 = 0;</pre>A variable to store the average distance in:<pre class='prettyprint lang-auto linenums:0'>
int averageDistance = 0;</pre>And then another variable to keep track of which value you are currently storing:<pre class='prettyprint lang-auto linenums:0'>
int currentUltrasonicReading = 0;</pre>Or you could have an array of integers instead of three separate integers. Then, when you read from the sensor you would have something like this:<pre class='prettyprint lang-auto linenums:0'>
if(currentUltrasonicReading == 0)
{
    ultrasonicReading0 = (pulseIn(utlrasonic2EchoPin, HIGH)/2)/29;
    currentUltrasonicReading++;
}
else if(currentUltrasonicReading == 1)
{
    ultrasonicReading1 = (pulseIn(utlrasonic2EchoPin, HIGH)/2)/29;
    currentUltrasonicReading++;
}
else if(currentUltrasonicReading == 2)
{
    ultrasonicReading2 = (pulseIn(utlrasonic2EchoPin, HIGH)/2)/29;
    currentUltrasonicReading++;
}
else
{
    averageDistance = (ultrasonicReading0 + ultrasonicReading1 + ultrasonicReading2)/3;
    currentUltrasonicReading = 0;
}</pre>This may seem like an overly complicated way of doing things, but non-blocking code is always better even if it adds complexity to your program. Also, I'm sure the above code could be optimized, I just came up with this quickly as an example.]]></description>
		<pubDate>Mon, 08 Jul 2013 03:48:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-54-averaging-hc-sr04-ultrasonic-distance-sensor-readings-in-a-non-blocking-manner/</guid>
	</item>
	<item>
		<title>Measuring RPMs with Arduino</title>
		<link>http://www.foxytronics.com/blog/1/entry-51-measuring-rpms-with-arduino/</link>
		<category></category>
		<description><![CDATA[I was asked whether an Arduino would be capable of measuring a device that is rotating at 100,000 RPM. Assuming that there is 1 interrupt per rotation, that gives us the following:<br /><br /><span rel='lightbox'><img class='bbc_img' style="vertical-align: middle;" src="http://latex.codecogs.com/gif.latex?&#092;mathrm{100k\:rpm = \frac{100k}{60} \frac{rotations}{sec}}" border="0"/></span><br /><br />Therefore, <span rel='lightbox'><img class='bbc_img' style="vertical-align: middle;" src="http://latex.codecogs.com/gif.latex?&#092;mathrm{\frac{60}{100k} \frac{sec}{rotation}}" border="0"/></span><br /><br />So the period is <span rel='lightbox'><img class='bbc_img' style="vertical-align: middle;" src="http://latex.codecogs.com/gif.latex?&#092;mathrm{\frac{60}{100k} sec}" border="0"/></span> and the frequency = <span rel='lightbox'><img class='bbc_img' style="vertical-align: middle;" src="http://latex.codecogs.com/gif.latex?&#092;mathrm{\frac{1}{\frac{60}{100k} sec} = 1666Hz\:(approximate)}" border="0"/></span><br /><br />I set my function generator to a 1666Hz square wave:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_3/gallery_1_3_207536.jpg' alt='Posted Image'  /></span><br /><br />Then connected the output to my Arduino and oscilloscope:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_3/gallery_1_3_95809.jpg' alt='Posted Image'  /></span><br /><br />The oscilloscope shows the signal:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_3/gallery_1_3_591.png' alt='Posted Image'  /></span><br /><br />It's pretty close to what we want, although it looks like the frequency is a tad high (I'm betting on the function generator being off, not the scope, since it's fairly old).<br /><br />So what we want is to do now is use a hardware interrupt on the Arduino to record the number of pulses per second (which we'll multiply by 60 to get the number of pulses per minute).<br /><br />Here's the code to do that:<pre class='prettyprint lang-auto linenums:0'>
const unsigned long serialPeriod = 1000;       // print to the serial console every second
unsigned long timeSerialDelay = 0;

volatile unsigned long numInterrupts = 0;

void setup()
{
  Serial.begin(9600);
  
  attachInterrupt(0, isr, FALLING); // interrupt on falling edge
}

void loop()
{
  outputRPM();
}

void isr()
{
  numInterrupts++;
}

void outputRPM()
{
  if((millis() - timeSerialDelay) &gt;= serialPeriod)
  {
    unsigned long RPM = (numInterrupts*60);
    
    Serial.print(RPM);
    Serial.println(" RPM");
    
    numInterrupts = 0;
    timeSerialDelay = millis();
  }
}

</pre>Uploading the code to the Arduino and opening the serial monitor results in this being shown:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_3/gallery_1_3_6467.png' alt='Posted Image'  /></span><br /><br />The RPM measurements range from 100,080 RPM to 100,200 RPM, which is a little high.<br /><br />The error is <span rel='lightbox'><img class='bbc_img' style="vertical-align: middle;" src="http://latex.codecogs.com/gif.latex?&#092;mathrm{\frac{100,200 - 100,000}{100,000} * 100 = 0.2\%}" border="0"/></span><br /><br />Remember that the oscilloscope said the frequency was a little high, though, so the measurement may actually be correcter (yeah, I just made up that word).<br /><br />Conclusion: it seems possible to measure interrupts at 1.7kHz pretty accurately with an Arduino. More testing would need to be done (with calibrated equipment) to determine how accurate the measurements can be, and I'm also sure that the Arduino code I posted could be optimized.]]></description>
		<pubDate>Wed, 12 Jun 2013 01:57:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-51-measuring-rpms-with-arduino/</guid>
	</item>
	<item>
		<title><![CDATA[Why I no longer buy books at Barnes &#38; Noble]]></title>
		<link>http://www.foxytronics.com/blog/1/entry-42-why-i-no-longer-buy-books-at-barnes-noble/</link>
		<category></category>
		<description><![CDATA[Bookstores have a special place in my heart. I love the atmosphere, the smell of thousands of books, and the opportunity to peruse the literature. But despite that, I no longer purchase books from my local Barnes & Noble. I still go to the store every once and a while - as I said, I love the atmosphere - but I no longer buy anything, except perhaps from the Starbucks inside. The reason: books in Barnes & Noble stores are ridiculously overpriced.<br /><br />Take my most recent book purchase, for example: <a href='http://www.amazon.com/gp/product/0553801473/ref=as_li_qf_sp_asin_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0553801473&linkCode=as2&tag=roboticsguy-20' class='bbc_url' title='External link' rel='nofollow external'>A Dance with Dragons</a> by George R.R. Martin. I was hesitant to buy the book because:<ul class='bbcol decimal'><li>It's still only available in hardback, which is expensive</li><li>There have been a lot of negative reviews for it</li></ul>However, when I saw it on Amazon for $19.89, I decided the price had come down enough that I was willing to buy it. Since I'm impatient and would rather pick up a book in-store the same day as opposed to waiting a few days for it to arrive in the mail, I checked the the price <a href='http://www.barnesandnoble.com/w/dance-with-dragons-george-r-r-martin/1100029984?ean=9780553801477' class='bbc_url' title='External link' rel='nofollow external'>on the Barnes & Noble website</a>. Excitingly, the Barnes & Noble price was $20.48, so I went to the store to pick it up! When I went to checkout, the price of the book was not $20.48 - it was $35! Apparently, I forgot that Barnes & Noble does not honor their online prices (even if you use the "Pick Up In Store" feature).<br /><br />So what did I do? After getting home, I ordered the book <a href='http://www.amazon.com/gp/product/0553801473/ref=as_li_qf_sp_asin_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0553801473&linkCode=as2&tag=roboticsguy-20' class='bbc_url' title='External link' rel='nofollow external'>on Amazon</a> - with free 2-day shipping since I'm a prime member - and saved myself $15.11. What's ironic is that after doing this I remembered the the exact same thing happened when I bought the <a href='http://www.amazon.com/gp/product/0345529057/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=0345529057&linkCode=as2&tag=roboticsguy-20' class='bbc_url' title='External link' rel='nofollow external'>A Song of Ice and Fire boxed set</a> last fall. I should have remembered.]]></description>
		<pubDate>Sun, 24 Feb 2013 23:22:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-42-why-i-no-longer-buy-books-at-barnes-noble/</guid>
	</item>
	<item>
		<title>Looking back - a year without TV</title>
		<link>http://www.foxytronics.com/blog/1/entry-40-looking-back-a-year-without-tv/</link>
		<category></category>
		<description><![CDATA[On January 1<sup class='bbc'>st</sup> I will have gone one year without watching a single television show or movie. In anticipation of this landmark, I thought I’d write why I did it and reflect on what a TV free year – something many people will never experience – was like.<br /><br /><br /><span  style='font-size: 18px'>Why I did it</span><br /><br />Most people will admit that TV is overall a bad influence and a waste of time, but that doesn’t stop them from watching it every day. According to the Internet – the source of absolute truth – American’s watch on average over five hours a day of television. This leads to my first reason for going without TV:<br /><br /><br /><span  style='font-size: 18px'>Reason #1 – Time</span><br /><br />While each day has 24 hours in it, since most people sleep about eight hours a day, that means the “waking day” is really about 16 hours long. So, five hours of television is about a <em class='bbc'>third</em> of the waking day. The average life span of an American is somewhere around 80 years old, give or take a few years, which means that the average American - dying in their beds, many years from now – will have spent a full THIRD of their waking life, about <em class='bbc'>26 years</em>, watching television. A third! What wouldn’t someone on their deathbed give to have 26 more years of real-life experiences?<br /><br />Although I didn't watch 5+ hours of television a day like many people, I still watched enough to significantly cut into my work day. Last summer I had a full-time internship where I worked 40+ hours a week. Instead of coming home and watching a few hours of TV each evening (like most people), I worked on my business. The same thing goes for weekends – many times in the past I would essentially be a "couch potato," playing video games and watching TV much of the weekend. Instead, I worked on my business. The end result was that I was putting in over 40 hours a week on my business in addition to my full time internship. There's no way I could have done that if I watched several hours of TV each day.<br /><br /><br /><span  style='font-size: 18px'>Reason #2 – It’s addictive</span><br /><br />Admit it, you’re addicted to television. Don’t believe me? Try going a few months without watching any TV shows or movies – I guarantee you’ll go through some sort of withdrawal. I can image many people reading this and thinking “I could do it if I wanted to, but I don’t see any reason to do it.” Yeah, that’s what addicts say.<br /><br />Part of the reason I wanted to stop watching TV is that I knew I was addicted to it. I didn’t watch anywhere near the national average of five hours per day, but I still watched a lot every day, perhaps around two hours on average. In addition to TV being a waste of time, I wanted to see if I could kick the addiction – I did, but it wasn’t easy. I legitimately went through withdrawal after I quit watching TV, and although it got easier as time went on, I never really got over it.<br /><br /><br /><span  style='font-size: 18px'>Reason #3 – It is a negative influence</span><br /><br />I am convinced that television (I’m including both TV shows & movies when I say that) has had a tremendously negative impact on our country. Most movies and TV shows are an incredibly unrealistic portrayal of reality and in many (if not most) cases, send very negative messages.<br /><br />Just like the Coliseum, the masses now flock to theaters to be entertained. Real people don't die, but our brains likely don't fully comprehend that. Do some reading on how TV desensitizes people.<br /><br />I won't go into detail on this point because there are already tons of articles talking about the negative effects of television (everything from brain development to eating habits to a person's behavior).<br /><br /><br /><span  style='font-size: 18px'>Reason #4 – The medium exists to inculcate and advertise</span><br /><br />Television and movies, which I have been lumping together, are a little different on this point in that movies aren't generally so much about advertising (although product placement in movies is becoming increasingly common) as they are about sending messages and straight up making money.<br /><br />When it comes down to it, television essentially exists for two reasons:<br /><br />#1 - Advertising: <a href='http://www.turnoffyourtv.com/reviews/Jerry.Mander.html' class='bbc_url' title='External link' rel='nofollow external'>http://www.turnoffyourtv.com/reviews/Jerry.Mander.html</a><br /><br />Television is mainly about advertising. 'nuff said.<br /><br />#2 - Inculcating the general population<br /><br />Do you really think CNN is unbiased? News stations have owners, and those owners have agendas. The same group of people control the general direction of television, with regard to what airs, and thus have the power to tell people what they want them to hear. Many people believe what they see on TV without questioning it (such as what is reported on news stations), but even those to do question its authenticity still see and remember, which influences their beliefs and decisions in the future.<br /><br /><br /><span  style='font-size: 18px'>Reason #5 – I don't like movie stars</span><br /><br />Here are a few reasons:<br /><br />1. I don't think they deserve what they make (the famous ones, at least)<br /><br />I know, I know, it’s supply and demand, but I still think it’s ridiculous that famous actors get paid so much just to act in a movie. Maybe it's not illegal, or morally wrong, but it just doesn't seem<em class='bbc'> right </em>to me. That someone should be paid to the tune of $20 million dollars per movie seems wrong to me, even if it's not.<br /><br />2. People worship them<br /><br />Nothing to do with jealousy, it just really annoys me. No one should be worshiped the way famous actors are, and especially not actors – after all, they're just <em class='bbc'>acting</em>! It's really disturbing how many people are completely obsessed with famous actors. Look at the magazines next time you checkout at the grocery store and you'll know I'm right.<br /><br />3. Most of them seem like jerks<br /><br />The vast majority of famous actors seem like total jerks.<br /><br /><br /><span  style='font-size: 18px'>Reason #6 – </span><span  style='font-size: 18px'>I don't like supporting stars and studios</span><br /><br />I don't like buying movie tickets, or movies and TV shows, because every time I do I'm putting more money into the pockets of movie stars and the uber wealthy who own the studios and, perhaps even more importantly, I'm making a statement (however subtle) saying that I <em class='bbc'>support </em>them. In general I <em class='bbc'>do not</em> support famous actors because frankly they seem to usually be jerks, and the studios are clearly just out to make money and are in bed with the MPAA (see below).<br /><br /><br /><span  style='font-size: 18px'>Reason #7 – The MPAA is bad</span><br /><br />Ever read about the girl who spent two days in jail, faced three years in prison and a hefty fine for filming three minutes of a group of friends at a movie theater birthday party (with the screen in the background)? Well, <a href='http://articles.cnn.com/2009-12-04/entertainment/new.moon.arrest_1_summit-entertainment-new-moon-twilight-saga?_s=PM:SHOWBIZ' class='bbc_url' title='External link' rel='nofollow external'>it happened</a>:<br /> <blockquote class='ipsBlockquote' ><p>A birthday celebration that culminated in a trip to catch the blockbuster movie "The Twilight Saga: New Moon" could land 22-year-old Samantha Tumpach in prison for three years.<br /><br />The Chicago, Illinois-area woman captured three minutes of the film on her videocamera while taping part of her sister's surprise party at a Muvico theater in Rosemont.<br /><br />Theater managers contacted police, who arrested Tumpach. She spent two days in jail. Now she faces a felony charge of illegally copying a movie.<br /><br />"The motion picture industry has encouraged theater owners to adopt a 'zero-tolerance' policy prohibiting the video or audio recording of any portion of a movie," Muvico Entertainment, which oversees the theater, told HLN's "Prime News."</p></blockquote><br />The MPAA is a viscous organization.<br /><br /><a href='http://www.wired.com/threatlevel/2007/08/teen-cops-guilt/' class='bbc_url' title='External link' rel='nofollow external'>Here’s another story</a>: a teenage girl films a 20 seconds of Transformers on her phone to show her brother that she had seen the movie. She faced up to a year in jail and a $2,500 fine.<br /><br />This insanity was made possible due to the <em class='bbc'>The Family Entertainment and Copyright Act</em> (sounds friendly, right?) of 2005, and specifically the subpart <em class='bbc'>Artist's Rights and Theft Prevention Act of 2005</em>, <a href='http://en.wikipedia.org/wiki/Family_Entertainment_and_Copyright_Act' class='bbc_url' title='External link' rel='nofollow external'>which dictates that</a>:<br /> <blockquote class='ipsBlockquote' ><p>Anyone who "knowingly uses or attempts to use an audiovisual recording device to transmit or make a copy of a ... protected work... from a performance of such work in a motion picture exhibition facility..." may be <strong class='bbc'>imprisoned up to three years</strong> for a first time offender, and up to six years for a repeat offender, in addition to any fines that may be levied under the U.S. Criminal Code for copyright infringement. This could apply to <strong class='bbc'>merely taking a cell phone snapshot of a theatre screen</strong>.</p></blockquote><br />Does it really make sense to impose a law stipulating that a person who takes a snapshot of a theater screen on a cell phone can be imprisoned for <em class='bbc'>three years</em>?<br /><br />I'm not advocating piracy, I just don't think there should be laws that <em class='bbc'>severely</em> punish citizens for doing something as simple and harmless as taking a snapshot of a movie theater screen. Would that be annoying? Yes. Should they be kicked out of the theater? Maybe. But <em class='bbc'>three years</em> in prison? That is insane! I also don't think people should be <a href='http://www.wired.com/threatlevel/?s=Richard+E.+Trodden' class='bbc_url' title='External link' rel='nofollow external'>made examples of</a>.<br /><br /><br /><span  style='font-size: 18px'>Moving Forward:</span><br /><br />So, the question is, after the new year rolls around, will I start watching TV again? Answer: Yes.<br /><br />While I still feel that TV is a negative influence on, well, pretty much everything, it's really entertaining and the bottom line is I miss it. I've also had to pass up lots of social events (seeing movies in the theater, movie nights at friends houses, etc.) because of my blanket TV ban. In the future, I will watch TV, but in moderation. I think pretty much anything done in moderation, even bad things, is generally acceptable, and that's the position I will take with television moving forward.]]></description>
		<pubDate>Wed, 26 Dec 2012 18:28:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-40-looking-back-a-year-without-tv/</guid>
	</item>
	<item>
		<title>Notepad++ FAIL</title>
		<link>http://www.foxytronics.com/blog/1/entry-32-notepad-fail/</link>
		<category></category>
		<description><![CDATA[I've used Notepad++ for several years now and have yet to find it's equal. Sure, there are full blown PHP IDEs available, but those are more advanced than what I need and are slow. Notepad++ is very lightweight and starts up almost instantly, has great syntax highlighting, and works for many different languages. In short, it's great. Today however, it failed, and it failed BAD.<br /><br />The fail occured after I performed a WordPress update (which always suck for one reason or another..). The update had overwritten a file which I had code in, so I needed to copy the code from the old file to the new one. I opened up Notepad++ and copied it over, and the website was broken. I'm like, "ok, this happens with almost every update, I probably just made a little mistake. Nothing to worry about, right?" Unfortunately, it was not <strong class='bbc'>my</strong> mistake that screwed things up, it was <strong class='bbc'>Notepad++'s</strong> mistake! Arrrrg!<br /><br />I spent probably half an hour messing around with the stupid php file, trying to figure out what the heck was going on, and it was driving me up the wall because even stuff like<br /> <pre class='prettyprint lang-auto linenums:0'>

&lt;?php

$var = 'this is a var';

// test code

echo $var;

?&gt;

</pre>would not work! That's not the exact code I had, but you get the point: IT SHOULD HAVE WORKED!<br /><br />So, after about half an hour of going nuts I finally copied something over to Notepad (the Microsoft one) and noticed that it looked like this<br /> <pre class='prettyprint lang-auto linenums:0'>

&lt;?php$var = 'this is a var';// test codeecho $var;?&gt;

</pre>Arrrg, what's going on?! For whatever reason, Notepad++ was displaying the code in the file "the right way," but it was really being stored all on one line. That is retarded, and I have no idea why it happened. I closed Notepad++, opened my file again, and sure enough, this time Notepad++ displayed it all on one line.<br /><br />After copying my old code over again, the website started working.<br /><br />FAIL.]]></description>
		<pubDate>Sat, 17 Mar 2012 22:13:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-32-notepad-fail/</guid>
	</item>
	<item>
		<title>My Weigh iBALANCE 601 (i601) Scale Review</title>
		<link>http://www.foxytronics.com/blog/1/entry-31-my-weigh-ibalance-601-i601-scale-review/</link>
		<category></category>
		<description><![CDATA[I recently purchased a <a href='http://www.amazon.com/gp/product/B001U2LNEY/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&tag=roboticsguy-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B001U2LNEY' class='bbc_url' title='External link' rel='nofollow external'>My Weigh iBALANCE 601</a> precision scale for measurements and parts counting. This scale rocks so hard, I just had to write a short review.!<br /><br />I bought the scale from Old Will Knott Scales (link above) and am very happy with their service! I asked several pre-sales questions and they were incredibly helpful. Their marketing strategy - being laid back, funny, and just plain nice - works really well, and I will definitely place orders from them in the future if I can.<br /><br />Here's the item description from the Old Will Knott Scales website:<br /><br /><blockquote class='ipsBlockquote' ><p><span  style='color: #b22222'><strong class='bbc'>Two Weight Displays?</strong></span><br /><br />That's right. My Weigh designed this digital lab scale with two, bright, red, LED weight displays...one on the front, and one on the back. So whether you load the scale from the front or the back, you won't have a problem seeing your weights.<br /><br /><span  style='color: #b22222'><strong class='bbc'>Does This Thing Count?</strong></span><br /><br />You bet it does! All ya need to do is weigh a sample amount of pieces, so the scale can know how much each piece weighs, then start counting. This is a great feature if ya want to use this as a jewelry scale for weighing gems and jewels...you'll be finished counting in no time.<br /><br /><span  style='color: #b22222'><strong class='bbc'>Bright Backlit Display</strong></span><br /><br />This digital laboratory scale has a fancy backlit display to help ya see your weight readings, even in dim lighting.<br /><br /><span  style='color: #b22222'><strong class='bbc'>Protective Windscreen</strong></span><br /><br />When you're weighing with high precision scales like this one, even the tiniest breeze can interfere with weight readings. This My Weigh scale comes with a durable windscreen to keep out those pesky drafts. Oh, and don't worry, this scale makes it easy to put your items on, or take them off, the platform. The windscreen lifts right off.<br /><br /><span  style='color: #b22222'><strong class='bbc'>Stainless Steel Platform</strong></span><br /><br />The i-601 has a durable stainless steel weighing platform to make cleanup a breeze. Unlike gold or silver, stainless steel doesn't scratch easily and keeps its shine without rusting or tarnishing.<br /><br /><span  style='color: #b22222'><strong class='bbc'>Easy Calibration</strong></span><br /><br />To make sure ya keep getting the best weight readings from your precision balance, it helps to calibrate it from time to time. This precision balance has instructions to make calibrating your scale easy.<br />You'll just need to pick up a 500 gram calibration weight to get the job done.<br /><br /><span  style='color: #b22222'><strong class='bbc'>Tare Feature</strong></span><br /><br />The tare button on the front of this digital scale can be pressed to "zero out" the weight on the scale. You can then add more weight, and the display will only show the weight of the items you're adding. This sure is useful when ya want to use an expansion scoop to weigh your things, or if ya want to get separate weights of multiple items.<br /><br /><span  style='color: #b22222'><strong class='bbc'>Liquid Level Indicator</strong></span><br /><br />This very handy feature helps you quickly and easily get your scale nice and level. A level scale is important for getting the most accurate weight readings.<br /><br /><span  style='color: #b22222'><strong class='bbc'>30 YEAR MANUFACTURER'S WARRANTY!</strong></span><br /><br />If ya have a problem with this digital scale, just send it to My Weigh's warranty center in Phoenix, Arizona. They'll fix it or replace it, and send it on its way back to ya within two working days.<br /></p></blockquote><br /><br />The scale was shipped the same day I ordered and arrived fairly quickly. It came well packaged:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_53918.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_2694.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_27607.jpg' alt='Posted Image'  /></span><br /><br />After unboxing it all of the accessories can be seen:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_65787.jpg' alt='Posted Image'  /></span><br /><br />Below the scale and manual are the power cable, a little cup for holding something, a windscreen, and an anti-vibration mat.<br /><br />Here is the scale with the windscreen put together:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_4300.jpg' alt='Posted Image'  /></span><br /><br />I don't know if it's really necessary to use the windscreen and anti-vibration mat, but it's nice that they were included. The windscreen does seem a little flimsy, however, as the pieces just slide together.<br /><br />There's a level in the front left corner, and are adjustable feet on the bottom in all four corners:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_64910.jpg' alt='Posted Image'  /></span><br /><br />I have it leveled pretty well in the above picture and you can see the bubble in the middle of the circle.<br /><br />A scale this precise needs to calibrated on a regular basis.To calibrate the scale, hold down the "0" button and then turn on the scale. Continue holding the button down while the scale does it's self calibration thing (it counts down from 9 to 0) and then makes a really annoying beeping sound, after which the scale tells you to place zero grams on it (i.e. nothing) and then 500 grams (a 500 gram calibration weight is needed for this. The cheapest one I could find was on Amazon, <a href='http://www.amazon.com/gp/product/B0010TGEQE/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&tag=roboticsguy-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B0010TGEQE' class='bbc_url' title='External link' rel='nofollow external'>here</a>). After this, the scale is calibrated. A short while after calibrating, I put the 500 gram weight back on and the display read "499.99 g".<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_26733.jpg' alt='Posted Image'  /></span><br /><br />So, apparently the scale isn't perfect. However, 0.01 grams <em class='bbc'>is</em> the specified accuracy, and 0.01 grams (or 0.00035 oz.) is pretty darn accurate!<br /><br />Probably the biggest reason I purchased the scale is parts counting, and this is something that the i601 excels at! To put the scale into parts counting mode, hit the second button from the left.The scale asks you to put 10 pcs on it:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_76886.jpg' alt='Posted Image'  /></span><br /><br />After putting the pieces on the scale, hit the button again, and the scale is now in parts counting mode!<br /><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_55095.jpg' alt='Posted Image'  /></span><br /><br />Parts can now be added or removed at will and the scale update the count. I grabbed a handful of LEDs and dropped them on:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_71266.jpg' alt='Posted Image'  /></span><br /><br />I tried adding and removing single LEDs and the scale took it all in stride, never making an error! It's amazing to me that this thing can accurately measure the weights of these small, lightweight LEDs.<br /><br />The "tare" feature on the scale is also is also extremely useful. To tare the scale, remove whatever is on it and then place a container/box/whatever on it:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_39305.jpg' alt='Posted Image'  /></span><br /><br />Obviously there aren't any LEDs on the scale, but the scale doesn't know I placed a container on it, so I need to tell it that. Go back to the weighing mode by pressing the parts counting button again:<br /><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_19784.jpg' alt='Posted Image'  /></span><br /><br />Hit the tare button (second from right):<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_17895.jpg' alt='Posted Image'  /></span><br /><br />Then go back to parts counting mode and once again place 10 pcs on the scale and press the parts counting button. Now the scale will ignore the weight of the container while counting parts.<br /><br />I put all the LEDs from before back on:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_78267.jpg' alt='Posted Image'  /></span><br /><br />Lo and behold, it's the same!<br /><br />In addition to the display on the front, the scale also has a display on the back:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_11336.jpg' alt='Posted Image'  /></span><br /><br />There's a DB9 connector on the side, right next to the power jack:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_88095.jpg' alt='Posted Image'  /></span><br /><br />Hmm... What could that be for? I tried connecting it to my computer over a USB to RS232 adapter but didn't get anything from it. I will have to explore this more in the future.<br /><br />Something I wasn't expecting when I purchased this scale was the large battery in it, which lasts a long time!<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_19/gallery_1_19_94442.jpg' alt='Posted Image'  /></span><br /><br />I removed a panel on the bottom of the scale and you can see the large battery in the above picture.<br /><br />Overall I'm <em class='bbc'>very</em> happy with this scale! While it's not cheap, I really can't think of anything I don't like about it, and I plan on getting a lot of use out of this thing!]]></description>
		<pubDate>Tue, 14 Feb 2012 21:06:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-31-my-weigh-ibalance-601-i601-scale-review/</guid>
	</item>
	<item>
		<title>Small things in big packages</title>
		<link>http://www.foxytronics.com/blog/1/entry-36-small-things-in-big-packages/</link>
		<category></category>
		<description><![CDATA[There's a saying, "Big things come in small packages." So, what comes in big packages? Small things of little value, of course. Take this package I received, for example:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_3/gallery_1_3_51452.jpg' alt='Posted Image'  /></span><br /><br />A fairly large package, right? I wonder what could be inside?<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_3/gallery_1_3_2201.jpg' alt='Posted Image'  /></span><br /><br />A parking permit holder!<br /><br />Jeez, what a waste...]]></description>
		<pubDate>Mon, 13 Feb 2012 19:56:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-36-small-things-in-big-packages/</guid>
	</item>
	<item>
		<title><![CDATA[Rigol DS1052E Oscilloscope Unboxing &#38; Review]]></title>
		<link>http://www.foxytronics.com/blog/1/entry-34-rigol-ds1052e-oscilloscope-unboxing-review/</link>
		<category></category>
		<description><![CDATA[My Rigol DS1052E oscilloscope arrived today! I know patience is a virtue, but I have a really hard time waiting for packages, so I was very excited when it finally arrived! Here it is, just waiting to be unboxed:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_88377.jpg' alt='Posted Image'  /></span><br /><br />I excitedly cut open to find... another box! A box within a box -- brilliant!<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_40551.jpg' alt='Posted Image'  /></span><br /><br />The second box contains the oscilloscope and accessories. As shown in the picture below, the oscilloscope came very well packaged, being nested comfortably in those foam padding thingies:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_34193.jpg' alt='Posted Image'  /></span><br /><br />Here is the unboxed DS1052E, power cord, and accessories:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_73728.jpg' alt='Posted Image'  /></span><br /><br />A close up of the accessories:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_28159.jpg' alt='Posted Image'  /></span><br /><br />By default the probes have, well, a probe on the end:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_129692.jpg' alt='Posted Image'  /></span><br /><br />But it can easily be swapped out for the normal clip you usually see on oscilloscope probes.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_14557.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_11869.jpg' alt='Posted Image'  /></span><br /><br />The power cord that comes with the DS1052E is rather short, so after finding an extension cord I hooked everything up and gave it a go:<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_22156.jpg' alt='Posted Image'  /></span><br /><br />Nice! Next step: <a href='http://www.eevblog.com/forum/blog-specific/changing-the-rigol-ds1052e-to-ds1102e-using-usb-the-dummy-guide' class='bbc_url' title='External link' rel='nofollow external'>hack it to 100MHz</a>!<br /><br />Here are a couple of really good videos about the Rigol DS1052E:<br /><br /><br />UPDATE:<br /><br />I later noticed that two of the small knobs on the oscilloscope had large cracks in them.<br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_105578.jpg' alt='Posted Image'  /></span><br /><br /><span rel='lightbox'><img class='bbc_img' src='http://www.foxytronics.com/uploads/gallery/album_18/gallery_1_18_57249.jpg' alt='Posted Image'  /></span><br /><br />I emailed Rigol about this, not really expecting them to be helpful, but surprisingly received the following reply:<br /> <blockquote class='ipsBlockquote' ><p>Hi Nathan,<br /><br />My name is Jason [removed last name] and I am an Applications Engineer at Rigol Technologies USA.<br /><br />Thanks for writing in.<br /><br />Sorry about the broken knobs. That is a known issue with some units. We would be more than happy to send you some replacements.<br /><br />Can you provide the following:<br /><br /><strong class='bbc'>Address:</strong><br /><br /><strong class='bbc'>Product Serial Number:</strong><br /><br />We'll ship them out ASAP.<br /><br />If you ever have any questions, please drop us a line.<br /><br />Sincerely,<br />Jason</p></blockquote><br />I received not two, but <strong class='bbc'>four</strong> new knobs a few days later! Go Rigol!<br /><br />Here are some useful links for the Rigol DS1052E oscilloscope:<br /><br /><a href='http://www.rigolusa.com/support/drivers.html' class='bbc_url' title='External link' rel='nofollow external'>http://www.rigolusa.com/support/drivers.html</a><br /><a href='http://download.ni.com/support/softlib/visa/VISA%20Run-Time%20Engine/4.6.2/win/' class='bbc_url' title='External link' rel='nofollow external'>http://download.ni.com/support/softlib/visa/VISA%20Run-Time%20Engine/4.6.2/win/</a><br /><a href='http://www.eevblog.com/forum/blog-specific/changing-the-rigol-ds1052e-to-ds1102e-using-usb-the-dummy-guide/' class='bbc_url' title='External link' rel='nofollow external'>http://www.eevblog.com/forum/blog-specific/changing-the-rigol-ds1052e-to-ds1102e-using-usb-the-dummy-guide/</a><br /><iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="640" height="390" src="http://youtube.com/embed/Q7KnDoL8cCM?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe>]]></description>
		<pubDate>Wed, 08 Feb 2012 16:27:00 +0000</pubDate>
		<guid>http://www.foxytronics.com/blog/1/entry-34-rigol-ds1052e-oscilloscope-unboxing-review/</guid>
	</item>
</channel>
</rss>