<?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> &#187; Projects</title>
	<atom:link href="https://gonazar.x10.mx/?cat=9&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://gonazar.x10.mx</link>
	<description></description>
	<lastBuildDate>Sat, 02 Sep 2017 04:26:41 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>3D Printing Tests: Thermomolding</title>
		<link>https://gonazar.x10.mx/?p=922</link>
		<comments>https://gonazar.x10.mx/?p=922#comments</comments>
		<pubDate>Mon, 05 Jan 2015 23:57:44 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[3D Printing Tests]]></category>
		<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Test Printing]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=922</guid>
		<description><![CDATA[Trying out a new method to create more complex shapes using PLA. This wrist brace model was found on Thingiverse and I just gave it a go. The idea behind thermomolding is thanks to the properties of PLA which is the plastic I am using. PLA is liquified at around 200°C but actually softens at [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Trying out a new method to create more complex shapes using PLA.</p>
<p>This wrist brace model was found on Thingiverse and I just gave it a go. The idea behind thermomolding is thanks to the properties of PLA which is the plastic I am using. PLA is liquified at around 200°C but actually softens at around 100°C. This means the plastic becomes malleable and can be shaped just by dunking it for a few seconds in boiling water. However, once it cools, it becomes quite stiff. The print itself it pretty simple, a mostly 2 dimensional object, though probably one of the largest I&#8217;ve done in terms of print bed surface area used. It took approximately 5.5 hours to print this, mainly due to the complexity of the lattice and the tool pathing required adds additional time.</p>
<p>This particular design has reinforced bars on the long axis of the brace. The notches on the sides are for adding straps to secure it.</p>
<p><img class="aligncenter size-large wp-image-926" src="http://gonazar.x10.mx/wp-content/uploads/2015/01/IMG_1230-1024x768.jpg" alt="IMG_1230" width="640" height="480" /></p>
<p>The actual process of thermomolding was straight forward. Dunk the plastic in hot water and you&#8217;ve got about 10 seconds to shape it before it starts to stiffen up again. The pro: you can isolate which sections of the print are exposed to the hot water to control where the bending takes place. The con: molding it over your arm might burn you with hot water droplets.</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2015/01/IMG_1233.jpg"><img class="aligncenter size-large wp-image-923" src="http://gonazar.x10.mx/wp-content/uploads/2015/01/IMG_1233-1024x768.jpg" alt="IMG_1233" width="640" height="480" /></a></p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2015/01/IMG_1237.jpg"><img class="aligncenter size-large wp-image-924" src="http://gonazar.x10.mx/wp-content/uploads/2015/01/IMG_1237-1024x768.jpg" alt="IMG_1237" width="640" height="480" /></a></p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2015/01/IMG_1238.jpg"><img class="aligncenter size-large wp-image-925" src="http://gonazar.x10.mx/wp-content/uploads/2015/01/IMG_1238-1024x768.jpg" alt="IMG_1238" width="640" height="480" /></a></p>
<p>For something that wasn&#8217;t designed for my hand size and was molded by an amateur, I&#8217;d say the fit is pretty good. Even if it&#8217;s not perfect, I imagine it&#8217;d be good to squeeze some padding in there.</p>
<p>Overall this print was very successful and I look forward to applying this technique to future prints.</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=922</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 1: Electronics and Software</title>
		<link>https://gonazar.x10.mx/?p=896</link>
		<comments>https://gonazar.x10.mx/?p=896#comments</comments>
		<pubDate>Mon, 24 Nov 2014 08:37:32 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P1]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=896</guid>
		<description><![CDATA[This part has taken me a long time, mainly because I worry too much about burning electronics and lack of resources to debug things. It also didn&#8217;t help that I kept starting and stopping work on this so it was hard to maintain continuous progress. I&#8217;d forget what it was I was doing or what [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This part has taken me a long time, mainly because I worry too much about burning electronics and lack of resources to debug things. It also didn&#8217;t help that I kept starting and stopping work on this so it was hard to maintain continuous progress. I&#8217;d forget what it was I was doing or what I got stuck on.</p>
<p>Additionally, there were a lot of features I wanted to include in this that required various bits of hardware and logic to run it all. In retrospect, it would have been better to create a roadmap or outline of what I waned to accomplish, then work on individual parts and put it all together. However in some sense I thought it wouldn&#8217;t be too difficult to put it altogether in one go, so I just winged it. Working on multiple parts of the code simultaneously is not a good idea. Especially when you get bugs and have no idea where they are originating from.</p>
<p>Since I am writing this in post, it&#8217;s much easier for me to outline what has been done and give a proper road map of where this is going:</p>
<ol>
<li>Create time keeping electronics that display on an LCD</li>
<li>Add LED Lamp brightness control (input from a potentiometer and create PWM output)</li>
<li>Add alarm functionality (manual alarm set + sunrise effect for alarm action)</li>
<li>Add button array for user input (include debouncing and UI logic)</li>
<li>Modify firmware to be able to display time, alarm time and modify either by using button inputs (remove manual time/alarm set)</li>
<li>Add switches to change modes (might be trouble since we&#8217;re running out of digital I/Os)</li>
<li>Add Winamp communication functionality to buttons in different modes (media buttons, playlist selection, volume)</li>
<li>Create script on computer to handle communication between MCU and Winamp</li>
<li>Add an independent power supply</li>
<li>Move all electronics to custom PCB boards or Prototyping boards</li>
<li>Design and print an enclosure to hold all the electronics.</li>
</ol>
<p>Steps 1-3 were fairly easy since I relied heavily on <a href="http://startingelectronics.com/beginners/start-electronics-now/tut16-arduino-clock/">this tutorial</a> and the RTC library. Step 4 was a bit more challenging since at first I didn&#8217;t know how to approach debouncing on multiple buttons. This changed after I resolved to use a button map and used that for checking debouncing. Subsequently, once the buttons were figured out, adding alarm functionality for step 5 was a matter of playing with the RTC library a bit more in depth.</p>
<p>Step 6 has been one of the more difficult challenges. I needed two switches but only had one digital I/O left. Instead I opted to use analog pins, however due to the time it takes to process the value of these pins I think I was accumulating latency and errors. Since the switches are flip/rocker switches I don&#8217;t have to worry about debouncing and don&#8217;t need to check the value as often. As far as I can tell this bug has been resolved, but more testing is needed to see if it&#8217;s been totally cleared.</p>
<p>Step 7 and 8 have been mostly figured out on another program. Earlier this year I was already playing with trying to make an external Winamp controller, before I changed the goal of this project to a led lamp with the same functionality. In the other program I had used an PS/2 mouse as an input, utilizing a low level serial communication to interface the two buttons and mouse wheel. A python script was already in place to handle commands from the external MCU for media control, playlist selection and volume. This project was mainly dropped because originally I wanted to display currently playing tracks on the small 2&#215;16 character LCD. However the majority of my music is Japanese and uses many asian characters that the LCD is not able to display, making it effectively useless. With the LED Lamp however, I plan to just use the computer monitor to display this data which means I can also modify the python script as an interface for selecting playlists.</p>
<p>Step 9 was something I had wanted ever since I installed the LED strip. The LED strip runs at 12 V and draws about 0.5 A, while the MCU and all the electronics run at 5V with about 100mA draw. Throughout the prototyping process I have been using my Hydra which is a programmable digital power supply which was set for 5V and 12V outputs. While great for prototyping, I did not want this project dependent on it if it were to become a stand alone product. Thus, added a 9V regulator and utilized the DC input socket of the arduino. I have a 12V 1.6A switching power supply which feeds the LED strip and this small regulator which in turn powers everything else.</p>
<p>Step 10 is one of the slowest parts mainly because I am unsure of how to proceed. Ideally I would have liked to have a custom PCB, but it&#8217;s incredibly expensive or time consuming to manufacture a single board. Therefore I have to resort to prototyping board on which I have very limited space. On this board I need to fit the power circuit, PWM transistors circuits, a pin socket for the potentiometer, and the real-time clock circuit (in which the coin cell batter takes up a huge amount of space). The button array has already been moved to a much nicer board with fancy colorful buttons.</p>
<p>Step 11 I will not be able to start until the last board is finished. Otherwise I won&#8217;t know for sure the dimensions I need to fit everything in.</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=896</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 1: Mechanical Design and Construction</title>
		<link>https://gonazar.x10.mx/?p=893</link>
		<comments>https://gonazar.x10.mx/?p=893#comments</comments>
		<pubDate>Mon, 24 Nov 2014 08:17:07 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P1]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=893</guid>
		<description><![CDATA[With the rough design in mind I designed all the joint components in Solidworks for 3D printing. In total there are 6 joint pieces per side; two at the base, two at the top, and two small nubs that will connect the reflector (not shown above). The two joint pieces at the base are pretty straight [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>With the rough design in mind I designed all the joint components in Solidworks for 3D printing.</p>
<p><img class="aligncenter  wp-image-904" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/LEDLamp2.jpg" alt="LEDLamp2" width="292" height="400" /></p>
<p>In total there are 6 joint pieces per side; two at the base, two at the top, and two small nubs that will connect the reflector (not shown above). The two joint pieces at the base are pretty straight forward, the only important feature in this was to make the inner piece, which fits inside the copper tube, hollow so that the LED wires could be run internally. The top two joint pieces are the most complex of this design. The outer (left) piece has a large hole in the bottom so that it can be fixed to to the copper tube. The majority of this piece is hollow aside from the core which supports the axial screw. The hollow cavity is for extra slack in the wires so the connecting piece can rotate without tugging on them. The inner (right) piece is the crux of this joint system.</p>
<p><img class="aligncenter size-large wp-image-907" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/LEDLamp5.jpg" alt="LEDLamp5" width="492" height="644" /></p>
<p>a) Hole for axial screw and bolt. b) slot for aluminum bar with a notch for the led wires. c) Hole for locking screw to fix aluminum bar in place. d) Slots to allow reflector to move from front to back. e) Mounting hole for telescoping bar.</p>
<table>
<tr style="background-color:#3E3E3E;">
<td><img class="wp-image-906 aligncenter" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/LEDLamp4.jpg" alt="LEDLamp4" width="403" height="250" /></td>
<td><img class="wp-image-905 aligncenter" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/LEDLamp3.jpg" alt="LEDLamp3" width="284" height="250" /></td>
</tr>
</table>
<p>The bottom reflector nub attaches to both ends of a brass bar and slots into the inner-top joint. The top nub also attaches to both ends of a brass bar which connect to the top of the telescoping bars.</p>
<p><img class="aligncenter size-large wp-image-899" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7209-1024x768.jpg" alt="IMG_7209" width="640" height="480" /></p>
<p>The most difficult part of this was determining tolerances since I had not yet made anything that joined to other parts (of various materials). Additionally, I found that the 3D printed PLA changes over time, depending on the shape and the way it was extruded, it can shrink, expand and even warp if under stress over a long period of time.</p>
<p><img class="aligncenter size-large wp-image-901" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7211-1024x768.jpg" alt="IMG_7211" width="640" height="480" /></p>
<p><img class="aligncenter size-large wp-image-902" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7212-1024x768.jpg" alt="IMG_7212" width="640" height="480" /></p>
<p>The only way to resolve this was by trial and error. Parts were designed to fit snugly however I quickly realized I needed at least 0.1&#8243; extra clearance to get &#8216;snug&#8217; fits.</p>
<p><img class="aligncenter size-large wp-image-900" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7210-1024x768.jpg" alt="IMG_7210" width="640" height="480" /></p>
<p>Joints aside, I also needed to get together the non plastic parts that would fill in everything in between. I sourced 2&#8243; #6-32 machine screws + nuts, 1/2&#8243; wood screws, a 1/4&#8243;aluminum bar, 2 1/8&#8243; brass rods, a piece of 3/4&#8243; diameter copper pipe (meant for plumbing) and a 8&#8242; plank of 1&#215;3, all from Home Depot. All the metal components were cut to size and polished with steel wool to achieve a very nice shine. The wood was cut to length, however I found despite being very careful to pick one that was straight, after cutting it it turned out to be very warped.</p>
<p>Additionally I picked up a sheet of poster board from the dollar store which would become my reflector and a set of bunny ears (telescoping TV antennas) which was the single worst purchase I&#8217;ve ever made. I don&#8217;t think I&#8217;ve been scammed worse than for the bunny ears which cost me ~$10 for 2 pieces of telescoping metal, a plastic shell and a copper wire that was screwed to the bottom of each &#8216;ear&#8217; that went out to the TV. I had no idea these things were that simple and it certainly was worth much much less than $10.</p>
<p>With all the joints printed, it was a simple matter to assemble everything together. It really is amazing to be able to develop a concept in my mind and make it into a reality. However, like any other prototyping process, design flaws may not be realized until after the thing has been built.</p>
<p><img class="aligncenter size-large wp-image-908" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7223-1024x768.jpg" alt="IMG_7223" width="640" height="480" /></p>
<p>Two of the major issues I found with my design are weight distribution and using screws in rotational joints. Looking back at the design, I had imagined that the majority of the lamp would be fairly light, but having used metal bars, pipes and rods with a light cedar base, the lamp is very top heavy. This was further compounded with the fact that the rotational joints had fixed slots for the nuts, meaning the joints would loosen every time it was moved. Even if the top heavy lamp managed to stay upright, there was a good chance the reflector section would just spin downwards since the joints would not be tight enough for friction to hold it&#8217;s position.</p>
<p>In the mean time, I&#8217;ve left the lamp mostly upright, which is still usable. Now that it&#8217;s been tested, I have a better idea of what I want to do and the design requirements for revision 2. Ah, the life of prototyping.</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=893</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 7: Dynamic Ambient Lighting for TV/Monitor</title>
		<link>https://gonazar.x10.mx/?p=874</link>
		<comments>https://gonazar.x10.mx/?p=874#comments</comments>
		<pubDate>Tue, 11 Nov 2014 23:05:30 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P7]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=874</guid>
		<description><![CDATA[This idea has been floating around for a while. It&#8217;s a very cool way to increase the immersive experience of playing games or watching movies. It&#8217;s based on using RGB LEDs on the back of the monitor to light up the wall behind it with colors similar to the content of the screen. Since you&#8217;re [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This idea has been floating around for a while. It&#8217;s a very cool way to increase the immersive experience of playing games or watching movies. It&#8217;s based on using RGB LEDs on the back of the monitor to light up the wall behind it with colors similar to the content of the screen. Since you&#8217;re eyes are focused on the screen, areas beyond the edges are seen with your peripheral vision. Using dynamic lighting behind the screen, the effective area of the screen is expanded.</p>
<p><img class="aligncenter" src="http://www.technologytell.com/hometech/files/2013/05/Lightpack-Dynamic-DIY-Ambient-Backlighting.jpg" alt="" width="640" height="360" /></p>
<p>When I first saw this the method of achieving it was rather resource heavy. The RGB LEDs and the controller were expensive and there was no simple software to run it. To grab color data from the screen some people were even using VGA/DVI adapters to backward process what was being displayed. Additionally strips came in two kinds: addressable and non-addressable, meaning each LED could be addressed for RGB value or the whole strip would be the same color. Controlling this meant that either I would need to figure out the modulation pattern of whatever addressable strip I buy (at the time I wasn&#8217;t very experienced with this and didn&#8217;t understand the datasheets) or I would need a controller with multiple PWM I/Os to send to multiple short segments of non-addressable strips.</p>
<p>Recently however, I was hired to work on building RGB LED matrix displays. From that project I was able to salvage some leftover WS2811 strips. These strips are rather special since each LED pad contains an R, G, and B diode, plus a WS2811 chip. The chip is designed for controlling a lot of RGB LEDs (up to 4000) with a single microcontroller. This is achieved by sending a high frequency PWM modulated data stream down a single data line along an entire strip. The data stream addresses each LED pad and provides 4 bytes of data, 3 for each value of r, g and b and one for brightness. This makes the strip very versatile and easy to manipulate since the libraries already exist and all I need to do is program an array of data that gets sent to the strip.</p>
<p>To understand this I have been playing with the strip for a while using my MSP430 Launchpad to control it. The <a href="http://forum.43oh.com">43oh</a> forums have been very helpful to get the appropriate libraries and code to start working with it. Example code can be found here:<a href="http://forum.43oh.com/topic/2852-ws2811-led-controller-driver/"> http://forum.43oh.com/topic/2852-ws2811-led-controller-driver/</a></p>
<p>Once I understood how to send data to the strip, the project turned toward grabbing data from the source and transmitting it to the microcontroller</p>
<p>On the software side I did a lot of research to find a simple way to achieve this. I ended up finding this project which was doing something very similar with a non-addressable RGB strip. http://siliconrepublic.blogspot.ca/2011/02/arduino-based-pc-ambient-lighting.html</p>
<p>Here they&#8217;re using Processing, a Java based IDE to take screenshots and analyze the average color of the screen. I took this and modified it to produce multiple regions to analyze instead of just one. To optimize the usage of the strip I needed to assign  a certain number of LEDs per region that was proportional to the area it was reading. Ideally I wanted to minimize the number of cuts I would need to make in the strip.</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/ADLDistribution.jpg"><img class="aligncenter wp-image-877 size-full" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/ADLDistribution.jpg" alt="ADLDistribution" width="885" height="576" /></a>With my 1920*1200 resolution screen and a 60 LED strip I divided it accordingly. Alternatively I could have made it 6 regions of 6 at the top and each side would have 2 regions of 6, but the dimensions of the monitor only allows less than 34 LEDs in the horizontal axis without cutting it. Similarly in the vertical axis I can only put around 20 LEDs without cutting the strip.</p>
<p>Next post: Transmitting Data Serially and Putting It All Together (coming soon)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=874</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 6: MSESS Robot Concept</title>
		<link>https://gonazar.x10.mx/?p=869</link>
		<comments>https://gonazar.x10.mx/?p=869#comments</comments>
		<pubDate>Fri, 07 Nov 2014 19:17:40 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P6]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=869</guid>
		<description><![CDATA[Back in my last years at Uni I was heavily involved with the MSESS (Mechatronics Systems Engineering Student Society). It was a very new student group since the MSE program was only 5 years old at the time and the Student Society had only been around for 2 or 3. With constant cycling of members [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Back in my last years at Uni I was heavily involved with the MSESS (Mechatronics Systems Engineering Student Society). It was a very new student group since the MSE program was only 5 years old at the time and the Student Society had only been around for 2 or 3. With constant cycling of members as the course loads were heavy and people taking co-ops in all semesters around the year, it was hard to get the society off the ground. Once it was established though, we were very ambitious. One of the society&#8217;s goals was to develop a mascot (so it could be used at engineering conferences or aka being envied by other student societies and having it stolen).</p>
<p>From our first year of Alumni we had a big trophy made of welded machine parts and making a weak attempt to combine all the aspects of our program, it also doubled as a beer bong. However what we wanted was something similar to WESST&#8217;s mascot Debbie, the concrete Donkey. It&#8217;s more iconic and easy to get attached to than a 50lb inanimate jumble of machine parts.</p>
<p>So after a committee meeting, I came of with a concept for a Mechatronics robot which followed the style of Pixar&#8217;s Wall-E.</p>
<p>I named him MAD-E (Mechatronics <del>Autonomous</del> Alcoholic Drink Expeller).</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/MAD-E-001.jpg"><img class="aligncenter size-large wp-image-870" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/MAD-E-001-1024x744.jpg" alt="MAD-E 001" width="640" height="465" /></a></p>
<p>The idea was to have this little box robot follow people around autonomously and fire beer cans out it&#8217;s top. Some of the features i would have included are:</p>
<ul>
<li>RC chassis and battery</li>
<li>MCU Autonomous and remote control</li>
<li>Camera to use for tracking and obstacle detection</li>
<li>LED Matrix display on the front to display faces and &#8216;emotions&#8217;</li>
<li>Cooling unit that can store at least 6 cans</li>
<li>Mechanism to transfer cans into cannon</li>
<li>Some sort of mechanism to fire cans out the top</li>
<li>A speaker and maybe a vibrator to get pre-programmed behavioral quirks in</li>
</ul>
<p>Since the robot was fairly complex the plan was to execute project development over 3 years and commit a certain amount of resources every semester. However, the primary resource no one had to spare was time and almost no one was willing to commit to it. I would have been happy to lead the project, but with no members it was a flop from the beginning.</p>
<p>In the end we decided to keep the beer bong as our mascot, albeit we fixed it up so it was a bit more presentable.</p>
<p>I guess an autonomous beer dispensing robot that will follow me around will continue to be a dream for the future.</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=869</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 5: 8x8x8 LED Matrix Cube</title>
		<link>https://gonazar.x10.mx/?p=865</link>
		<comments>https://gonazar.x10.mx/?p=865#comments</comments>
		<pubDate>Fri, 07 Nov 2014 18:44:45 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P5]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[Launchpad]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[microcontrollers]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=865</guid>
		<description><![CDATA[Another back burner project. This one&#8217;s concept I saw a long time ago on Instructables.com but it happened to end up being the main project for one of my courses at SFU. I thought that was pretty awesome, do a project I wanted to try and also get marks for it too. During university I [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Another back burner project.</p>
<p>This one&#8217;s concept I saw a long time ago on <a href="http://www.instructables.com/id/Led-Cube-8x8x8/?ALLSTEPS">Instructables.com</a> but it happened to end up being the main project for one of my courses at SFU. I thought that was pretty awesome, do a project I wanted to try and also get marks for it too. During university I had very little time to work on personal projects so it was great to be able to allocate school work hours into something I wanted to do anyways.</p>
<p>The twist is that the course was Microcontroller and Embedded Systems, meaning we were not permitted to use the Arduino used in the step-by-step project tutorial online. We had to learn the architecture of another mcu and use that instead. However the university resources were pretty outdated and they wanted us to use a HCS12 Dragon (educational) board programmed via Freescale Codewarrior. Since I believe I&#8217;ll never use this architecture in the future, I wanted to learn something useful instead. I have already been working with Texas Instruments boards for a bit, their Launchpad development boards are stupidly cheap (so much I think they lose money on it). The MSP430 DSPs are equivalent to an arduino and I think are equally capable if not more (imo the biggest difference to me is the community and library support). However in recent years, TI started a new line of products called the Stellaris Launchpads. These are designed as introductory products to their high performance Stellaris products and Stellarisware libraries. I&#8217;ve used this before on a Intelligent Display Module Stellaris dev kit (RDK-IDM) for my Capstone.</p>
<p>The Stellaris Launchpad (EK-LM4F120) carries a mcu (LM4F120H5QR ) with absolutely amazing specs for a dev kit that <strong>only costs $13</strong>. When I bought it they were just introducing it and had a promotion and I got 2 of them for $5 each.</p>
<p>A quick overview of it&#8217;s specs:</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/LM4F120H5QR.jpg"><img class="aligncenter size-full wp-image-866" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/LM4F120H5QR.jpg" alt="LM4F120H5QR" width="730" height="682" /></a></p>
<p>So I&#8217;m using this mcu to control my LED Matrix Cube, it has just enough I/O pins to do it too. My goal is to utilize the DSP parts of it to run a spectrum analyzer on an audio feed and play an animated equalizer on the cube.</p>
<p>After meeting the minimum requirements for the course I have not touched this in a while. During the course I hit a lot of bugs in the firmware that I was not able to resolve and I suspect I will need to rebuild the firmware from scratch in order to continue the project.</p>
<p>The project goal is purely aesthetic and the cube will not really serve any purpose, which is why this is a back burner project. I do hope to eventually get back to this so I can learn more about mcu architecture and embedded programming. I did at least put in the effort to create a CAD model of a nice case and had that made from laser cut acrylic. As you can see in the photo, it has a nice gloss black base (missing some square brackets that are used to keep the lid closed and act as feet). Additionally I had cut a clear acrylic box that goes around the LEDs to protect it.</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=865</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 4: Custom Ear Bud connector</title>
		<link>https://gonazar.x10.mx/?p=861</link>
		<comments>https://gonazar.x10.mx/?p=861#comments</comments>
		<pubDate>Fri, 07 Nov 2014 17:56:30 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P4]]></category>
		<category><![CDATA[3D modelling]]></category>
		<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=861</guid>
		<description><![CDATA[This one has been on my back burner for a very long time. Story time: About 7 years ago my brother gave me a pair of very awesome Sennheiser ear buds, CX55&#8217;s, for my birthday. I had been looking at getting a decent pair for a while and marked out Sennheiser, but wasn&#8217;t really sure [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This one has been on my back burner for a very long time.</p>
<p>Story time: About 7 years ago my brother gave me a pair of very awesome Sennheiser ear buds, CX55&#8217;s, for my birthday. I had been looking at getting a decent pair for a while and marked out Sennheiser, but wasn&#8217;t really sure which model to get. I had my eye on a very expensive pair around ~$120 at the time. Pretty pricey for a pair of ear buds for a high-schooler. So my brother got me a pair, but one of the cheaper models. The actual value of the CX55&#8217;s was around $80 at the time. I was a little disappointed at first, but after using them for a bit, I came to love them. The quality was absolutely amazing. I was very sad when the connector wore out 2 years later and I had to start looking for another pair.</p>
<p>After doing a bit of research I was shocked to find the exact same ear buds for sale on Deal Extreme, the cheap Chinese supplied online shopping site. Everything about the Cx55&#8217;s were identical, except the price: $12.49 and down to $10.60 if I bought it in bulk&#8230; which is exactly what did. I figured if even if they were crap and lasted a couple months, if 5 pairs can last as long as the original for te same price then it was fine.</p>
<p>When they arrived I did a thorough check. The only difference I could find was that the shape of the plastic nub where the L and R wires split was a different shape. The quality of sound, I could hear no difference than the original.</p>
<p>I started using these regularly, but as expected I found that they didn&#8217;t last too long, 6 months at best with my regular wear and tear. The common defect among them was the audio jack.</p>
<p>After getting a 3rd gen iPod in 2011 I noted that the audio jack on it was pretty crap. No matter what ear buds I used the connection occasionally disconnected in one channel or both. At the time I thought it was a defective iPod, but after recently getting a similar behavior from a 3rd gen iPhone I believe it&#8217;s just a shitty design. I think the apple ear buds have just a slightly longer jack which makes the connection more secure.</p>
<p>After that I decided to try something different. I noted that the iPod docks are often incorporated into speakers which means the proprietary Apple connector feeds audio channels. I bought a cheap connector off of Deal Extrememe, cut the connector and opened it up to find exactly what i was hoping for. So I spliced one of the dead earbuds and tested it out. Perfect audio coming through.</p>
<p>The one and only problem: no volume control. By default the Apple devices will max out the audio signal through the dock connector since it&#8217;s expected that the dock device (a speaker) would have it&#8217;s own amplifier and volume control. This meant if I wanted to use this I needed a in-line volume controller. I researched a little into this and found I could easily just use a potentiometer per audio line since I have no need of amplification, I only need a negative gain. However, after playing around splicing a few of the other ear buds I know all to well that the wires inside them are extremely delicate and require very good strain relief. This meant I couldn&#8217;t just find an existing in-line volume controller and splice it between the cables. I&#8217;d never be able to get a decent strain relief that wouldn&#8217;t look super ugly.</p>
<p><strong>TL;DR: I bought great quality sounding ear buds with defective connectors and want to splice an Apple connector instead of an audio jack but I need a volume controller with good strain relief.</strong></p>
<p>After purchasing my 3D printer I can now design a plastic module that will hold a pair of potentiometers and provide decent strain relief.</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=861</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 1: LED Lamp Design</title>
		<link>https://gonazar.x10.mx/?p=857</link>
		<comments>https://gonazar.x10.mx/?p=857#comments</comments>
		<pubDate>Fri, 07 Nov 2014 17:21:52 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P1]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[3D modelling]]></category>
		<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[microcontrollers]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=857</guid>
		<description><![CDATA[In my previous post I talked about influences that lead to the idea of this lamp. Concerning Japanese lighting elements, I&#8217;d like to add that two key defining aspects I&#8217;ve learned from them are indirect lighting and ambient lighting. In most cases in common household a point source (bulb) lamp is used to light an area [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In my previous post I talked about influences that lead to the idea of this lamp. Concerning Japanese lighting elements, I&#8217;d like to add that two key defining aspects I&#8217;ve learned from them are indirect lighting and ambient lighting. In most cases in common household a point source (bulb) lamp is used to light an area while using a shade to block direct light. Having a direct view of a bulb can sometimes be too bright for the eye. Typically these lamps are either directed upwards to reflect off the ceiling or downwards to light up the floor. With ambient lighting we focus on smaller areas to create a contrast with light at dark. Some examples of this are using focused point sources directly on walls to light up a certain section, a highlight lamp to bring out a feature in the space and using edge lighting near the ceiling or floor.</p>
<p><img class="aligncenter" src="http://www.cmstatic1.com/33926/33926.214619.jpg" alt="" width="400" height="380" /></p>
<p>In my room I have a lot of blank wall space which I like to use like a reflective surface for lighting as previously mentioned. Additionally, my bed has no headboard, but has a 4&#8243; ledge the length of the wall about a foot above it, perfect for mounting my lamp. However I don&#8217;t want to mount directly to it since it has a nice finished surface, so I&#8217;ll need a base to my lamp that will sit on it.</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/001.jpg"><img class="aligncenter size-large wp-image-858" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/001-1024x744.jpg" alt="001" width="640" height="465" /></a></p>
<p>This is my target design. The idea was to create 3D printed hinges and connectors and whatever raw materials I could easily pick up at home depot. In this case I planned to pick up a 2&#215;4, some sort of pipe and metal bars. The design of the reflector (not a shade) was the more complex aspect of this. I wanted the reflector to be capable of multiple orientations for different lighting dynamics. In the top left you can see in one mode it reflects upwards, directing the light toward the wall and ceiling for ambient lighting. In the next the reflector is straight and covers a larger area downwards. Below that the reflector is curved to focus light right below it.</p>
<p>To achieve these modes I designed a custom hinge (mid bottom). In the stationary half it connects to the pipe holding it up through which wires are fed for a clean wireless appearance. The LED strip itself is adhered to an aluminum bar slotted into bottom of the rotational part of the hinge.  At the top of the rotational part, there is a slot that splits into two directions. This is for the base of the reflector so that it can be changed to reflect forwards or backwards. At the very top of the rotational part there will be a hole to add a small telescoping pipe. This will attach to the top of the reflector so that the curvature can be adjusted.</p>
<p>The electronics enclosure will be set in the middle of the base with wires being fed under or behind it in channels. Since the the ATmega is part of the arduino development board, it&#8217;s easier to run everything with pin connectors than create a custom pcb. This also allows for different orientations of circuits so that the LCD can be perpendicular to the board and secondary boards for buttons, clock electronics can be mounted to the walls. The arduino will be at the bottom with a power splitting circuit to split off a 5v feed to run the microcontroller from the 12V supply.</p>
<p>The diagonal split between the top and bottom of the electronics box is to maximize access to the electronics while minimizing the number of pieces. There is a lip on the front edge so that the pieces will hinge and rotate around that edge. This is to minimize the length of the wires attaching the button array and LCD to the bottom half of the electronics and allowing access without having to disconnect them.</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=857</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 3: iPad Wall Mounted Stand (Tetra Project)</title>
		<link>https://gonazar.x10.mx/?p=845</link>
		<comments>https://gonazar.x10.mx/?p=845#comments</comments>
		<pubDate>Thu, 06 Nov 2014 09:21:22 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P3]]></category>
		<category><![CDATA[3D modelling]]></category>
		<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Blender]]></category>
		<category><![CDATA[Tetra Society]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=845</guid>
		<description><![CDATA[In the last couple months I have been involved with a non-profit organization called Tetra Society. Tetra Society is a group of skilled volunteers who are dedicated to create customized assistive devices for people with physical disabilities. My first project with them was to help a young quadriplegic woman with muscular dystrophy to find a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In the last couple months I have been involved with a non-profit organization called <a href="http://www.tetrasociety.org/">Tetra Society</a>. Tetra Society is a group of skilled volunteers who are dedicated to create customized assistive devices for people with physical disabilities.</p>
<p>My first project with them was to help a young quadriplegic woman with muscular dystrophy to find a way to mount her iPad to a wall so that can could use it at eye level. After meeting her in person we determined the needs and requirements for this project.</p>
<p>She was looking for a way to use her iPad without causing strain on her neck since she could not easily look down at the iPad even if it was on a stand on a table or desk. Ideally she wanted it on her wall at eye level where she could use her remote to interact with it. However there were not many commercial solutions that fit her needs or were far to expensive. To get an idea of what she wanted I researched several commercial solutions and ask for her feedback on what features she needed or liked most.</p>
<p>In the end we determined her needs were very simple and the solution I chose was based on this 3D printed wall stand. Not only does it have a sturdy stand, but also a cam-lock mechanism to keep it from falling or leaning out.</p>
<div style="width: 700px" class="wp-caption aligncenter"><a href="http://www.thingiverse.com/thing:136847"><img class="" src="http://thingiverse-production.s3.amazonaws.com/renders/d7/a5/d9/25/88/IMG_20130820_152747_220_preview_featured.jpg" alt="" width="690" height="518" /></a><p class="wp-caption-text">Cam-Locking Tablet Wall Mount by TheKretchfoop</p></div>
<p>I made a few changes in the design, modifying the STL file in Blender3D I added a hole in the bottom of the stand for the charging cable and after it was printed I glued felt to protect the device since she had no case on it.</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/TabletWallMount.jpg"><img class="aligncenter size-large wp-image-849" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/TabletWallMount-1024x618.jpg" alt="TabletWallMount" width="640" height="386" /></a><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/TabletWallMount2.jpg"><img class="aligncenter size-large wp-image-850" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/TabletWallMount2-1024x618.jpg" alt="TabletWallMount2" width="640" height="386" /></a><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/TabletWallMount3.jpg"><img class="aligncenter size-large wp-image-851" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/TabletWallMount3-1024x618.jpg" alt="TabletWallMount3" width="640" height="386" /></a></p>
<p>The cam lock assembly is pretty straight forward. The design was very simple, elegant almost. It was very easy for me to print and the finish on it was very smooth.</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/2014-09-16-14.52.56.jpg"><br />
</a> <a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/2014-09-16-14.53.04.jpg"><img class="aligncenter size-large wp-image-847" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/2014-09-16-14.53.04-613x1024.jpg" alt="2014-09-16 14.53.04" width="613" height="1024" /></a></p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/2014-09-16-14.52.47.jpg"><img class="aligncenter size-large wp-image-848" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/2014-09-16-14.52.47-613x1024.jpg" alt="2014-09-16 14.52.47" width="613" height="1024" /></a></p>
<p>&nbsp;</p>
<p><img class="aligncenter size-large wp-image-846" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/2014-09-16-14.52.56-1024x613.jpg" alt="2014-09-16 14.52.56" width="640" height="383" /></p>
<p>Installation took just minutes and my client was very happy with the result. The total cost of this project was less than $20.</p>
<p>Project Complete!</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=845</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 2: Replacement mount for Ikea Lamp</title>
		<link>https://gonazar.x10.mx/?p=835</link>
		<comments>https://gonazar.x10.mx/?p=835#comments</comments>
		<pubDate>Thu, 06 Nov 2014 08:54:07 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[P2]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Solidworks]]></category>

		<guid isPermaLink="false">http://gonazar.x10.mx/?p=835</guid>
		<description><![CDATA[Despite the simplicity of this, I am documenting it for the sake of documentation. On my desk I have a very very common Ikea lamp. The bendy one that looks like the pixar lamp. The lamp is mounted to the side of my desk, as I expect most people do, since my desk is quite [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Despite the simplicity of this, I am documenting it for the sake of documentation.</p>
<p><img class="aligncenter" src="http://ecx.images-amazon.com/images/I/71m%2BzpV8GHL._SL1500_.jpg" alt="" width="399" height="399" /></p>
<p>On my desk I have a very very common Ikea lamp. The bendy one that looks like the pixar lamp. The lamp is mounted to the side of my desk, as I expect most people do, since my desk is quite deep and  I have computer monitors in the way. The problem with this is the lamp gets a lot of strain in the perpendicular axis to which it is clamped. As a result, one of the flanges on the sides gets over stressed, cracks and eventually breaks off completely, catching me by surprise as I scramble to pick up a tumbling lamp while it&#8217;s still on.</p>
<p>With one lamp I&#8217;ve gone through two standard Ikea mounts, so when I finally got my 3D printer, this is one of the parts I replaced with my own.</p>
<p>To start off, I wanted a near exact replica so I carefully measured all the dimensions of the mount with my caliper and recreated it in Solidworks. From there I modified the base of it so the flanges were thicker. At this point I realized there is a lot of material going into this print and even though the flanges are thicker, it doesn&#8217;t change the way the forces act on them. So I decided to modify the clamping points. The flange was already thicker, so why not add more mounting holes? Since I have a spare clamp to go in, I designed this to be secured by the flanges rather than the middle hole. This way I get the largest counter moment via the opposite flange clamp wrt to the flange that gets bent.</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/IkeaReplacementCuraScreenCap.jpg"><br />
</a> <a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/IkeaRepSolidworks.jpg"><img class="aligncenter size-large wp-image-837" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IkeaRepSolidworks-1024x618.jpg" alt="IkeaRepSolidworks" width="640" height="386" /></a></p>
<p>With the model completed, it goes through Cura, my (open-source) slicing software that turns the 3D model into CNC (computer numerical control) code a.k.a. gCode. Through the software I can change the layer height, print speeds, infill density and a few other settings. At the time that I printed this I was still learning how to achieve smoother overhangs which you&#8217;ll see later I was still getting it pretty rough.</p>
<p><img class="aligncenter size-large wp-image-836" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IkeaReplacementCuraScreenCap-1024x603.jpg" alt="IkeaReplacementCuraScreenCap" width="640" height="376" /></p>
<p>The final result was a very sturdy and reliable replacement part. I&#8217;m quite happy with it, and it&#8217;s great knowing I can easily replace or redesign it again if it breaks.</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7200.jpg"><img class="aligncenter size-large wp-image-839" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7200-1024x768.jpg" alt="IMG_7200" width="640" height="480" /></a></p>
<p>&nbsp;</p>
<p>Here you can see the infill honeycomb on the inside of the part. It&#8217;s set to 20% fill so most of it will be hollow. The honeycomb keep the material usage and weight wayyy down but it will maintain it&#8217;s strength.</p>
<p><img class="aligncenter size-large wp-image-841" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7203-1024x768.jpg" alt="IMG_7203" width="640" height="480" /></p>
<p>Nearly done&#8230;</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7204.jpg"><img class="aligncenter size-large wp-image-840" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7204-1024x768.jpg" alt="IMG_7204" width="640" height="480" /></a></p>
<p>and Viola!</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7203.jpg"><img class="aligncenter size-large wp-image-843" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7206-1024x768.jpg" alt="IMG_7206" width="640" height="480" /></a></p>
<p>Here is a comparison to the old mount. If you look carefully in the bottom right you can see where the old one has cracked at the corner of the flange.</p>
<p><a href="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7208.jpg"><img class="aligncenter size-large wp-image-842" src="http://gonazar.x10.mx/wp-content/uploads/2014/11/IMG_7208-1024x768.jpg" alt="IMG_7208" width="640" height="480" /></a>Here it is in action, with the double clamp setup. It&#8217;s much much stronger now.</p>
<p>Project Complete!</p>
]]></content:encoded>
			<wfw:commentRss>https://gonazar.x10.mx/?feed=rss2&#038;p=835</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
