<?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>Hoboken MakerBar</title>
	<atom:link href="http://blog.makerbar.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.makerbar.com</link>
	<description>Hoboken&#039;s Hackerspace - The Place for Incredible Projects</description>
	<lastBuildDate>Fri, 10 May 2013 19:41:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Raspberry Python Call Mom Button &#8211; Sunday April 28th</title>
		<link>http://blog.makerbar.com/?p=627</link>
		<comments>http://blog.makerbar.com/?p=627#comments</comments>
		<pubDate>Thu, 25 Apr 2013 13:36:15 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Classes and Workshops]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[raspberry pi]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=627</guid>
		<description><![CDATA[I finally got time to hack together the prototype for the class project for my class this weekend. We&#8217;re going to be using the RaspberryPi to connect to Plivo and...]]></description>
				<content:encoded><![CDATA[<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/04/wpid-20130425_090455.jpg"><img title="" class="alignnone size-full" alt="image" src="http://blog.makerbar.com/wp-content/uploads/2013/04/wpid-20130425_090455.jpg" /></a></p>
<p>I finally got time to hack together the prototype for the class project for my class this weekend. We&#8217;re going to be using the RaspberryPi to connect to Plivo and make phone calls, nominally to our Mom&#8217;s. I thought one button was boring so our call Mom Button class will actually have 4 buttons suggested as:</p>
<p>* Call Mom<br />
* Call Dad<br />
* Text Mom &#8220;I love you&#8221;<br />
* Mother&#8217;s day special </p>
<p>For more details or to sign up see <a href="http://meetu.ps/P75PY">Meetup.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=627</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Review: Encyclopedia of Components, Vol 1</title>
		<link>http://blog.makerbar.com/?p=619</link>
		<comments>http://blog.makerbar.com/?p=619#comments</comments>
		<pubDate>Tue, 16 Apr 2013 19:19:21 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=619</guid>
		<description><![CDATA[Today, I review The Encyclopedia of Electronic Components, Volume 1 by Charles Platt, published by O&#8217;Reilly under the Make Magazine name. I&#8217;m a guy who hacks a lot of electronics, and the...]]></description>
				<content:encoded><![CDATA[<p>Today, I review <em>The Encyclopedia of Electronic Components, Volume 1</em> by Charles Platt, published by O&#8217;Reilly under the Make Magazine name. I&#8217;m a guy who hacks <em>a lot</em> of electronics, and the MakerBar&#8217; resident &#8220;guy everyone asks to solve their circuit problems.&#8221;</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/04/cover.jpg"><img class="aligncenter size-full wp-image-620" alt="cover" src="http://blog.makerbar.com/wp-content/uploads/2013/04/cover.jpg" width="493" height="600" /></a></p>
<p>So, while I read through the book, I kept two questions in mind:<br />
1) Will this fill gaps of my own self-taught electronics knowledge?<br />
2) When someone asks me for help, can I just hand them this book? Seriously people, leave me alone.</p>
<p>Disclosure: The publisher, O&#8217;Reilly, provided a free review copy of the <em>Encyclopedia </em>through the MakerBar&#8217;s status. I love biting the hand that feeds me and would have loved to test O&#8217;Reilly&#8217;s moral integrity by slamming their book&#8230; except it&#8217;s <em>actually really damn helpful!</em></p>
<p><strong>What it is: <i></i></strong>A Who&#8217;s Who of circuit thingies with a wide range of high-level information on each part. It covers LCR, switches, electromechanical, diodes, voltage converters, and transistors. For each component, sections explain What It Does, How It Works, Variants, Values, How to Use It, and What Can Go Wrong. Sample circuits, graphs, diagrams, and color pictures explain concepts, and technical terms are highlighted and defined inline.</p>
<p><strong>What it isn&#8217;t: </strong>A tutorial, introduction, or reference. The <em>Encyclopedia</em> explains what each component can do, but offers very little help to actually do it. The information is tightly packed and assumes you know basic circuit concepts, making it unsuitable for new hackers. Many uses and critical formulae of each component are missing, making it an inconsistent help. The book is not organized for quick reference.</p>
<p><strong>Who should read it: </strong>Hardware hackers who design their own projects, and engineering students. The <em>Encyclopedia</em> is at its best when you&#8217;re browsing. To a rookie circuit builder, this is the absolute best way to &#8220;see what&#8217;s out there&#8221;. A self-taught hacker will find that this book fills in many little gaps that circumstance just hasn&#8217;t taught yet. I wish I had this book while taking my sophomore circuits class &#8211; the professors teach the equations about each component but never explain what it actually does!</p>
<p><strong>Who shouldn&#8217;t bother: </strong>Brand-new hackers or veterans. While the book is clearly written, it&#8217;s still useless without some basic electronics literacy. A beginning hacker would only get confused &#8211; it doesn&#8217;t explain how to use the components or what makes various properties significant. An expert has nothing to gain from this book, as the information is very high-level, everyday usage.</p>
<p><strong>What&#8217;s good: </strong>Great illustrations, clear writing, and a to-the-point style get to the important information right away. This is all killer, no filler &#8211; here is a component, here&#8217;s how it works, here are some different versions, here&#8217;s what you can do with it, here&#8217;s how to blow it up, next component. You can open the book to any place and learn something new.</p>
<p><strong>What&#8217;s bad: </strong>Poor organization and layout make it virtually impossible to find the exact fact you&#8217;re looking for. The component names on the headers are near the book&#8217;s spine, so you can&#8217;t flip through the book to land on your target component. Important info is buried in odd places. The book has a bad habit of putting a figure on one page and the explanation on another. Components and subassemblies are shown in diagrams but model numbers are not provided. Terms usually found in datasheets, like h_fe and input impedance, are mentioned in the text but not included in the index.</p>
<p><strong>Buy, borrow, or bootleg? </strong>Buy, if you find yourself making many of your own electronics projects. You&#8217;ll cut out hundreds of hours of aimless Googling. You&#8217;ll fill in gaps in your knowledge and have a wider array of ideas to choose between when you&#8217;re at the breadboard. You&#8217;ll also be forewarned about the tricky issues that can destroy components, saving you debugging time and money.</p>
<p><strong>Does it solve my problem?</strong> I now have more information to call on when designing and troubleshooting my many circuits. However, I don&#8217;t feel comfortable giving this book to a brand-new hacker in need of immediate help. Looks like I&#8217;m stuck being the resident know-it-all after all.</p>
<p><strong>The Zack Freedman Objectively Arbitrary Rating: </strong>Four out of five TI boost/buck converters, which totally should have been named in the text, because I want one.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=619</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excitement Rising for the Hoboken BakerBar!</title>
		<link>http://blog.makerbar.com/?p=607</link>
		<comments>http://blog.makerbar.com/?p=607#comments</comments>
		<pubDate>Mon, 01 Apr 2013 18:04:13 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[The Space]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=607</guid>
		<description><![CDATA[Fresh from a wildly successful fundraising event, we&#8217;re proud to announce the launch of our sister organization, the Hoboken Bakerbar! The BakerBar is the Garden State&#8217;s first bakerspace, a communal...]]></description>
				<content:encoded><![CDATA[<p>Fresh from a wildly successful fundraising event, we&#8217;re proud to announce the launch of our sister organization, the Hoboken Bakerbar!</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/04/BakerBar-Logo2.png"><img class="aligncenter size-medium wp-image-615" alt="BakerBar Logo" src="http://blog.makerbar.com/wp-content/uploads/2013/04/BakerBar-Logo2-289x300.png" width="289" height="300" /></a></p>
<p>The BakerBar is the Garden State&#8217;s first bakerspace, a communal kitchen for casual cooks and aspiring <em>pâtissiers </em>to learn and experiment. Through the efforts of Bake Magazine and Baker Faire, as well as startups like Adafruitcake and Sparkdough, the Baker Movement has rapidly become the toast of the media. The BakerBar will bring the magic of DIY pastry to Hoboken, the city of Carlo&#8217;s and cannoli, in an accessible and fun community center.</p>
<p style="text-align: center;"><a href="http://blog.makerbar.com/wp-content/uploads/2013/04/2012-03-15-15.45.47.jpg"><img class=" wp-image-609 aligncenter" alt="2012-03-15 15.45.47" src="http://blog.makerbar.com/wp-content/uploads/2013/04/2012-03-15-15.45.47-1024x768.jpg" width="372" height="279" /></a></p>
<p>To house the new organization, BakerBar founders have leased a 1,100-square-foot extension to the historic Neumann Leathers building on Observer Highway. Over the next three weeks, volunteers will work around the clock, tearing up rotted beams, restoring the parquetry floor, and installing industrial kitchen equipment donated by Hoboken businesses. The end result will feature two large work tables, a lounge/dining room, a shop stocked with dough hooks, rolling pins, and mixing bowls, and dry ingredient storage.</p>
<p style="text-align: center;"><a href="http://blog.makerbar.com/wp-content/uploads/2013/04/2013-03-15-22.38.26.jpg"><img class=" wp-image-610 aligncenter" alt="2013-03-15 22.38.26" src="http://blog.makerbar.com/wp-content/uploads/2013/04/2013-03-15-22.38.26-1024x768.jpg" width="372" height="279" /></a></p>
<p>Just $100 per month gains a BakerBar member 24/7 access to the kitchen, free classes, and a dedicated oven rack. Nonmembers are free to participate in two free open events each week &#8211; Frosting Wednesday, where participants can purchase custom BakerBar recipe kits; and Friday Bake Night, where our equipment is open for free use. In addition, members share their skills in exciting classes, including:</p>
<ul>
<li>Learn Ganache the Hard Way &#8211; Follow the challenging online glazing course with help from BakerBar members. This popular teach-yourself-icing class doesn&#8217;t cut corners; you need to chop your own chocolate and regulate your own temperature, no pre-made ingredients allowed!</li>
<li>Phyllo for Organic Life-Forms &#8211; Get a hands-on crash course with the wildly popular dough in our introductory class! Phyllo is the base for countless pastry projects like cookies, pies, and even Beef Wellington. Even if you&#8217;ve never set an oven or defrosted a dough, you&#8217;ll be baking in no time. Toppings kit included!</li>
<li>Raspberry Pie Hack Day &#8211; Our favorite British import, Raspberry Pie is sweeping the nation! Learn how you can modify and use your Raspberry Pie. Install a new filling, experiment with alternative toppings, and decorate a custom box to bring home.</li>
</ul>
<p>The BakerBar is set to open on April 20th due to massive community response. &#8220;My friends are all talking about &#8216;getting baked&#8217; on 4/20,&#8221; said MakerBar founder Zack Freedman. &#8220;I&#8217;ve never seen them cook before, so they must be ashamed to practice it openly. That&#8217;s why I got behind the BakerBar project &#8211; everyone should feel comfortable doing their hobby, and have access to the skills and tools they need.&#8221;</p>
<p>The MakerBar is Hoboken&#8217;s hackerspace, a place for hackers of New Jersey and New York to gather and build incredible things. Members share skills and practice soldering, electronics, handicrafts, 3D printing, woodworking, rocketry, robotics, and more. A 501(c)3-pending nonprofit, the MakerBar&#8217;s 16 members will celebrate the organization&#8217;s first anniversary next month.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=607</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>STEM Education &#8211; Minecraft Classes hosted by MakerBar</title>
		<link>http://blog.makerbar.com/?p=594</link>
		<comments>http://blog.makerbar.com/?p=594#comments</comments>
		<pubDate>Wed, 27 Mar 2013 21:59:29 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[Classes and Workshops]]></category>
		<category><![CDATA[Community]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=594</guid>
		<description><![CDATA[Our Gaming Technology class uses Minecraft to teach basic networking, Java, and interpersonal skills&#8230; we&#8217;re hosting these in 2 locations- MakerBar and the Hopes Computer Lab @ Jacob Rue school...]]></description>
				<content:encoded><![CDATA[<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/03/Minecraft-Poster-Mar-2013.jpg"><img class="alignnone size-medium wp-image-599" alt="Minecraft Poster Mar 2013" src="http://blog.makerbar.com/wp-content/uploads/2013/03/Minecraft-Poster-Mar-2013-300x221.jpg" width="300" height="221" /></a></p>
<p>Our Gaming Technology class uses Minecraft to teach basic networking, Java, and interpersonal skills&#8230; we&#8217;re hosting these in 2 locations- MakerBar and the Hopes Computer Lab @ Jacob Rue school in Hoboken.</p>
<p>Come join us as we attach Raspberry Pi to Minecraft in the coming months.</p>
<p>Tell your Minecraft-loving friends !</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/03/Minecraft-Class-March-2013.jpg"><img class="alignnone size-medium wp-image-600" alt="Minecraft Class March 2013" src="http://blog.makerbar.com/wp-content/uploads/2013/03/Minecraft-Class-March-2013-300x169.jpg" width="300" height="169" /></a>Ou</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=594</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MiniPOV Code Fix</title>
		<link>http://blog.makerbar.com/?p=577</link>
		<comments>http://blog.makerbar.com/?p=577#comments</comments>
		<pubDate>Sat, 16 Mar 2013 04:00:04 +0000</pubDate>
		<dc:creator>Will Wnekowicz</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[miniPOV]]></category>
		<category><![CDATA[myPOV]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=577</guid>
		<description><![CDATA[While following the miniPOV programming instructions from Adafruit, we ran into the following error while compiling mypov.c  (running make mypov.hex): We fix it by modifying the Makefile in the minipovfirmware...]]></description>
				<content:encoded><![CDATA[<p>While following the <a href="http://www.ladyada.net/make/minipov3/programming.html" target="_blank">miniPOV programming instructions</a> from Adafruit, we ran into the following error while compiling mypov.c  (running make mypov.hex):</p>
<pre class="brush: plain; title: ; notranslate">
mypov.c:81:9: error: attempt to use poisoned &quot;SIG_TIMER1_COMPA&quot;
mypov.c: In function ‘SIG_TIMER1_COMPA’:
mypov.c:81:1: warning: ‘SIG_TIMER1_COMPA’ appears to be a misspelled signal handler [enabled by default]
make: *** [mypov.o] Error 1
</pre>
<p>We fix it by modifying the Makefile in the minipovfirmware directory from:</p>
<pre class="brush: plain; title: ; notranslate">
CFLAGS = -g -O$(OPT) \
-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums \
-Wall -Wstrict-prototypes \
-DF_CPU=$(F_CPU) \
-Wa,-adhlns=$(&amp;lt;:.c=.lst) \
$(patsubst %,-I%,$(EXTRAINCDIRS)) \
-mmcu=$(MCU)
</pre>
<p>to:</p>
<pre class="brush: plain; highlight: [7,8]; title: ; notranslate">
CFLAGS = -g -O$(OPT) \
-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums \
-Wall -Wstrict-prototypes \
-DF_CPU=$(F_CPU) \
-Wa,-adhlns=$(&amp;lt;:.c=.lst) \
$(patsubst %,-I%,$(EXTRAINCDIRS)) \
-mmcu=$(MCU) \
-D__AVR_LIBC_DEPRECATED_ENABLE__
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=577</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raspberry Pi Project: Color My Desk</title>
		<link>http://blog.makerbar.com/?p=546</link>
		<comments>http://blog.makerbar.com/?p=546#comments</comments>
		<pubDate>Wed, 13 Mar 2013 14:00:29 +0000</pubDate>
		<dc:creator>Will Wnekowicz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cakePHP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[raspberry pi]]></category>
		<category><![CDATA[RGB lights]]></category>
		<category><![CDATA[servoBlaster]]></category>
		<category><![CDATA[wheezy]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=546</guid>
		<description><![CDATA[Cross-posted from Will Makes Things Control Something Do you need to exercise some control over the physical world, but don&#8217;t want to leave your computer? Well then, take a minute...]]></description>
				<content:encoded><![CDATA[<p>Cross-posted from <a title="Will Makes Things" href="http://willmakesthings.com/color-my-desk/" target="_blank">Will Makes Things</a></p>
<h3>Control Something</h3>
<p>Do you need to exercise some control over the physical world, but don&#8217;t want to leave your computer? Well then, take a minute to set the color of my desk on a day of your choosing at <a href="http://colormydesk.com/" target="_blank">http://colormydesk.com/</a></p>
<p>Yes, I backlit my desk and connected the lights to a server that anyone can control.</p>

<a href='http://blog.makerbar.com/?attachment_id=553' title='Breadboard'><img width="150" height="150" src="http://blog.makerbar.com/wp-content/uploads/2013/03/IMG_2491-150x150.jpg" class="attachment-thumbnail" alt="First step was to breadboard the circuit to make sure it worked. It did!" /></a>
<a href='http://blog.makerbar.com/?attachment_id=552' title='Proto board'><img width="150" height="150" src="http://blog.makerbar.com/wp-content/uploads/2013/03/IMG_2502-150x150.jpg" class="attachment-thumbnail" alt="I then set out to solder it together on some proto board." /></a>
<a href='http://blog.makerbar.com/?attachment_id=551' title='The shield'><img width="150" height="150" src="http://blog.makerbar.com/wp-content/uploads/2013/03/IMG_2508-150x150.jpg" class="attachment-thumbnail" alt="I mounted it on a second proto board to which I soldered a Raspberry Pi header." /></a>
<a href='http://blog.makerbar.com/?attachment_id=550' title='Lights with new hardware'><img width="150" height="150" src="http://blog.makerbar.com/wp-content/uploads/2013/03/IMG_2506-150x150.jpg" class="attachment-thumbnail" alt="The test worked! So I went on to write the software." /></a>
<a href='http://blog.makerbar.com/?attachment_id=549' title='My Desk'><img width="150" height="150" src="http://blog.makerbar.com/wp-content/uploads/2013/03/DSC_40601-150x150.jpg" class="attachment-thumbnail" alt="Here’s the whole setup functioning with the full string of lights installed behind my desk." /></a>

<h3><strong>THE BASICS</strong></h3>
<ul>
<li>I used a <a href="http://en.wikipedia.org/wiki/Raspberry_Pi" target="_blank">Raspberry Pi</a>, a small Linux server.</li>
<li>I built a circuit that allows me to power RGB lights with 12-volt power without frying the Raspberry Pi.</li>
<li>I developed the website, <a href="http://colormydesk.com/" target="_blank">http://colormydesk.com/</a>, on <a href="http://cakephp.org/" target="_blank">CakePHP</a> that handles requests from the general public. I ran this on my web server.</li>
<li>I wrote some software in Python on the Raspberry Pi that pulls the information daily from the web server using JSON.</li>
</ul>
<p><strong>If this is already too much for you, consider just going to the site and setting a color: <a href="http://colormydesk.com/" target="_blank">http://colormydesk.com/</a>. </strong>If you&#8217;re really interested in that how / why, read on.</p>
<h3><strong>THE NOT-SO-BASICS</strong></h3>
<h4>Forcing the Pi to Fake PWM</h4>
<p>The first step was to get the Raspberry Pi to run some lights. Since the Pi doesn&#8217;t have 3 PWM pins, I used <a href="http://mitchtech.net/raspberry-pi-pwm-rgb-led-strip" target="_blank">this tutorial </a>on using   <a href="https://github.com/richardghirst/PiBits/tree/master/ServoBlaster" target="_blank">ServoBlaster</a> for RGB lights.</p>
<p>I ran into some issues and had to use Wheezy instead of Occidentalis because its kernel version, 3.2.7 was more up-to-date. Then I used the older version of ServoBlaster, instead of the one built for the newest 3.6.11 mainly because I didn&#8217;t want to figure out how to upgrade the kernel. I used this thread to figure out kernel versions: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=15011&amp;p=278566</p>
<h4>Building the Shield</h4>
<p>Once that was working, I soldered the basic circuit onto some proto board. I then realized I should&#8217;ve used my Raspberry Pi proto board instead of the regular Radio Shack one. But no worries, I hooked up some headers and a custom shield was born.</p>
<h4>CakePHP and a Web Server</h4>
<p>I built the CakePHP site on a separate web server because I didn&#8217;t want the Pi to get overloaded. Besides, I&#8217;m a web developer and have plenty of server resources at my disposal. I then wrote some Python code on the Pi to pull the data from the site&#8217;s JSON feed with some simple authentication to protect email addresses from the public. A crontab runs every day at 6pm ET to pull the data and turn the lights on. Another one runs at 11pm ET to turn them off.</p>
<h4>Translating Hex to ServoBlaster</h4>
<p>ServoBlaster allows you to set a &#8216;servo position&#8217; from 0 &#8211; 249. Since a color value for each red, green, or blue, can only be between 0 &#8211; 255, I decided to simply clip the last 6 values (250, 251, etc&#8230;) down to a servo position of 249. What this really means is that anything above the hex value of F9, just looks like F9. #FFFFFF, is just #F9F9F9, a dimmer white.</p>
<h4> The Python Code</h4>
<pre class="brush: plain; title: ; notranslate">

#!/usr/bin/env python

import os

import requests
import json
import datetime
import time

import smtplib
# FUNCTIONS
def pwm(pin, angle):
angle = checkmax(angle)
print &quot;servo[&quot; + str(pin) + &quot;][&quot; + str(angle) + &quot;]&quot;
cmd = &quot;echo &quot; + str(pin) + &quot;=&quot; + str(angle) + &quot; &amp;gt; /dev/servoblaster&quot;
os.system(cmd)

def checkmax(angle): #PWM can only handle 249 units, so we're simply cutting the hex values 250-255 down to 249
if angle &amp;gt; 249:
angle = 249
return angle

def setcolor(hex):
pwm(5, int(hex[1:3],16))
pwm(2, int(hex[3:5],16))
pwm(0, int(hex[5:7],16))

# Define a Thank You Email
def send_email():
SMTP_SERVER = 'smtp.gmail.com'
SMTP_PORT = 587

sender = ''
password = ''
recipient = data[0]['email_address']
subject = 'Color My Desk: Thank you!'
body = 'Hey '+data[0]['name']+&quot;,&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&quot;+&quot;Thanks for setting my desk color to &amp;lt;span style='color:&quot;+data[0]['color']+&quot;'&amp;gt;&quot; + data[0]['color'] + &quot;&amp;lt;/span&amp;gt; today! &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&quot;+&quot;You wrote: &quot;+data[0]['details']+&quot;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&quot;+&quot;Will Wnekowicz&quot;

headers = [&quot;From: &quot; + sender,
&quot;Subject: &quot; + subject,
&quot;To: &quot; + recipient,
&quot;MIME-Version: 1.0&quot;,
&quot;Content-Type: text/html&quot;]
headers = &quot;\r\n&quot;.join(headers)

session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)

session.ehlo()
session.starttls()
session.ehlo
session.login(sender, password)

session.sendmail(sender, recipient, headers + &quot;\r\n\r\n&quot; + body)
session.quit()

# Getting the JSON Feed
os.environ['TZ'] = 'America/New_York'
time.tzset()
r = requests.get('http://colormydesk.com/full_calendar/events/feed?start='+str(datetime.date.today())+'&amp;amp;api_secret=thesecret')
data = r.json()

# Setting the Color of the Strip
if data:
setcolor(data[0]['color'])
send_email()
else:
setcolor(&quot;#7733F0&quot;) # default color if no color is scheduled, aka no one loves me.

</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=546</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAKERBAR&#8217;s 1st FUNDRAISER Wednesday March 27, 2013</title>
		<link>http://blog.makerbar.com/?p=560</link>
		<comments>http://blog.makerbar.com/?p=560#comments</comments>
		<pubDate>Wed, 13 Mar 2013 08:49:48 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[MakerBiz]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=560</guid>
		<description><![CDATA[Come join this FUN event and support the MakerBar! The MakerBar is in the process of changing its IRS filing status to 501c3. Essentially this means that donations made to...]]></description>
				<content:encoded><![CDATA[<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/03/885630_136346043207673_591050976_o.jpg"><img class="size-medium wp-image-563 alignleft" alt="885630_136346043207673_591050976_o" src="http://blog.makerbar.com/wp-content/uploads/2013/03/885630_136346043207673_591050976_o-300x200.jpg" width="300" height="200" /></a></p>
<p style="text-align: right">Come join this FUN event and support the MakerBar!</p>
<p style="text-align: right">The MakerBar is in the process of changing its IRS filing status to 501c3. Essentially this means that donations made to the organizatiom will be tax deductible after the filing has been processed and approved. This status will help the MakerBar evolve and ultimately allow us us to offer improved facilities, shop equipment and education opportunities to the MakerBar community.</p>
<p style="text-align: right">Besides a mountain of paperwork (not fun) there&#8217;s a hefty filing fee that needs to be paid (not fun). To help defray some of the expense, MakerBar is hosting it&#8217;s first public Fundraiser (very fun!) at a beloved Hoboken waterfront bar and restaurant, <a title="Facebook Page" href="https://www.facebook.com/TheMeltingPotHoboken?rf=178244215565933" target="_blank">The Melting Pot</a>.</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0664.jpg"><br />
</a><a href="http://blog.makerbar.com/wp-content/uploads/2013/03/69678_10151427335153028_666762294_n.jpg"><img class="size-medium wp-image-570 alignright" alt="69678_10151427335153028_666762294_n" src="http://blog.makerbar.com/wp-content/uploads/2013/03/69678_10151427335153028_666762294_n-300x111.jpg" width="300" height="111" /></a></p>
<p>The FUN!</p>
<p>The event is 3 hours and will be held in the bar and party room areas. Besides socializing with fellow MakerBar members and founders there will be:</p>
<p>Several complimentary chocolate fondue stations. Yum!<br />
Cash bar with drink specials.<br />
Unique member created projects for auction. Photos/details to be uploaded soon.<br />
Member sponsored tutoring certificates for auction<br />
A kit sales table to purchase our featured soldering/hacking kits that you can assemble at home or at one of our open nights.<br />
In addition to the Meetup reservations online @ $17.00, we will have ticket sales at the door for $20.00 per person.</p>
<p>We look forward to seeing you!</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0664.jpg"><img alt="IMG_0664" src="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0664-300x225.jpg" width="300" height="225" /></a></p>
<p>&nbsp;</p>
<p>Don&#8217;t forget to grab your tickets on Meetup, they&#8217;ll be more expensive at the door, plus you can check out our other classes and events while you&#8217;re on Meetup. <a href="http://www.meetup.com/MakerBar/" target="_blank" rel="nofollow nofollow">http://www.meetup.com/MakerBar/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=560</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Raspberry Pi Inventor to Visit Hoboken MakerBar</title>
		<link>http://blog.makerbar.com/?p=534</link>
		<comments>http://blog.makerbar.com/?p=534#comments</comments>
		<pubDate>Mon, 25 Feb 2013 01:05:14 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Classes and Workshops]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Special Guest]]></category>
		<category><![CDATA[Pi]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=534</guid>
		<description><![CDATA[Eben Upton, visionary engineer behind million-selling mini-computer, to visit Hoboken on international tour Eben Upton, founder and Trustee of the Raspberry Pi Foundation, will visit the Hoboken MakerBar Tuesday, February...]]></description>
				<content:encoded><![CDATA[<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/2012-10-20-16.00.07.jpg"><img class="alignright size-medium wp-image-535" alt="SAMSUNG" src="http://blog.makerbar.com/wp-content/uploads/2013/02/2012-10-20-16.00.07-300x225.jpg" width="300" height="225" /></a></p>
<p>Eben Upton, visionary engineer behind million-selling mini-computer, to visit Hoboken on international tour</p>
<p>Eben Upton, founder and Trustee of the Raspberry Pi Foundation, will visit the Hoboken MakerBar Tuesday, February 26th at 7pm to talk about his experiences designing the Raspberry Pi, the $35 miniature computer designed to introduce children and adults to programming that has recently sold its millionth unit.</p>
<p>The MakerBar is proud to host Eben on his tour of the East Coast&#8217;s Makerspaces and Hackerspaces. The visionary inventor will meet over 30 Raspberry Pi users from the East Coast technology community to talk shop, see the latest projects, and tell the story of how his unorthodox idea became a multimillion-dollar nonprofit phenomenon.</p>
<p>The event will be held at the MakerBar, Hoboken&#8217;s community workshop, at 7:00pm on Tuesday, February 26th. Participants will get to tour the MakerBar’s collaborative work space, hear a brief talk with Upton about the Raspberry Pi Foundation and his six year journey, and participate in Lighting Talks about their own high-tech projects.<br />
The Hoboken MakerBar is Hudson County&#8217;s hackerspace, a nonprofit communal workshop for learning, tinkering, and collaborating on high tech projects for fun. In its inaugural year, MakerBar has grown to 14 members who host classes and events for hundreds more. The MakerBar holds open-house events every Wednesday and Friday at 7:00pm.</p>
<p>The Raspberry Pi Foundation is a charity based in the United Kingdom that facilitates interest in programming by producing accessible and fun hardware. Its premier product, the Raspberry Pi, is a fully-functional computer the size of a credit card that sells for only $35 and is designed to be modified. In its first year, the Foundation sold over one million Raspberry Pi&#8217;s to children, hobbyists, educators, and others. More information is available at <a title="RaspberryPi.org" href="http://www.Raspberrypi.org/about">www.Raspberrypi.org/about</a>.</p>
<p>Guests can RSVP online for the Eben Upton visit event via Meetup at:<a title="MakerBar on Meetup" href="http://www.meetup.com/MakerBar/events/105715962/t/ea1_grp/?rv=ea1"> http://www.meetup.com/MakerBar/events/105715962/t/ea1_grp/?rv=ea1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=534</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sign of the Times</title>
		<link>http://blog.makerbar.com/?p=503</link>
		<comments>http://blog.makerbar.com/?p=503#comments</comments>
		<pubDate>Fri, 15 Feb 2013 12:01:19 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[The Space]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=503</guid>
		<description><![CDATA[After listening to hundreds of visitors whine about how &#8220;The MakerBar is too hard to find&#8221; and how &#8220;they accidentally ended up in the gym next door&#8221; and that &#8220;the...]]></description>
				<content:encoded><![CDATA[<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0664.jpg"><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0664.jpg"><img alt="IMG_0664" src="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0664-1024x768.jpg" width="620" height="465" /></a></a></p>
<p>After listening to hundreds of visitors whine about how &#8220;The MakerBar is too hard to find&#8221; and how &#8220;they accidentally ended up in the gym next door&#8221; and that &#8220;the door looks like a painted rectilinear turd from the set of a horror movie&#8221;, we caved to to the bellyaching. The MakerBar&#8217;s front door is now emblazoned with a <em>breathtakingly beautiful</em> sign!</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-02-05-03.01.14.jpg"><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-02-05-03.01.14.jpg"><img alt="2013-02-05 03.01.14" src="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-02-05-03.01.14-1024x768.jpg" width="620" height="465" /></a></a> <a href="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0662.jpg"><br />
</a></p>
<p>Geek cred: The sign is made of a solid plate of 1/4&#8243; aircraft-grade aluminum taken from the scrap heap of the US Army&#8217;s experimental manufacturing division*. A MakerBar buddy routed it in an ultra-precise CNC mill. It&#8217;s probably worth at least a hundred bucks**.</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0662.jpg"><img alt="IMG_0662" src="http://blog.makerbar.com/wp-content/uploads/2013/02/IMG_0662-1024x768.jpg" width="620" height="465" /></a></p>
<p>So no more of that walk-back-and-forth-looking-for-a-cardboard-sign business, just keep your peepers peeled for the MakerBar red and silver.</p>
<p>It also has our phone number, 1-855-MAKERBAR, on it in case you get locked out. As of today, 2/7/13, if you find yourself locked out, we recommend putting down the blunt and having a cup of coffee because the lock isn&#8217;t installed yet.</p>
<p>Next up: Parking!***</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>*Yes, this is a thing, and no, I can&#8217;t help you get an interview there.</p>
<p>**Don&#8217;t try any funny business, it&#8217;s attached to the door with 1/4&#8243; one-way sheet-metal screws and ain&#8217;t goin&#8217; nowhere. I hope for the landlord&#8217;s sake that we don&#8217;t move the MakerBar because he&#8217;ll have to replace the door.</p>
<p>***LOLJK</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=503</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 3D Printer is Online!</title>
		<link>http://blog.makerbar.com/?p=483</link>
		<comments>http://blog.makerbar.com/?p=483#comments</comments>
		<pubDate>Tue, 12 Feb 2013 12:08:43 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[The Space]]></category>

		<guid isPermaLink="false">http://blog.makerbar.com/?p=483</guid>
		<description><![CDATA[A 3D printer? In the MakerBar? It&#8217;s more likely than you think! The MakerBar now has a modded MakerBot Cupcake for visitors and members to use! Like a &#8220;stock&#8221; Cupcake,...]]></description>
				<content:encoded><![CDATA[<p>A 3D printer? In the MakerBar? It&#8217;s more likely than you think! The MakerBar now has a modded MakerBot Cupcake for visitors and members to use!</p>
<p><img alt="2004-12-31 23.00.00-107" src="http://blog.makerbar.com/wp-content/uploads/2013/02/2004-12-31-23.00.00-107-1024x768.jpg" width="620" height="465" /><br />
Like a &#8220;stock&#8221; Cupcake, the MakerBot&#8217;s new printer builds thingies up to 100x100x200mm, about the size of a frosted cupcake, using biodegradable PLA plastic. Jim, the generous donor and previous owner, tricked it out with a custom low-backlash extruder gearbox, underlit heated bed, and spotlights. We added some bubble levels for calibration. It&#8217;s pretty sweet, and unlike new MakerBots, it&#8217;s open hardware.</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-02-02-00.55.15.jpg"><img alt="2013-02-02 00.55.15" src="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-02-02-00.55.15-1024x768.jpg" width="620" height="465" /></a></p>
<p>We tried to repair it with limited success. One Craft Night, Matt and Jeremy, local students at High Tech High School, dropped by and asked to play with it. Within two hours, it was almost totally working! They came back a couple of weeks later and fixed the heated bed! That&#8217;s them below looking pretty damn pleased with themselves.</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-01-18-23.40.09.jpg"><img alt="2013-01-18 23.40.09" src="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-01-18-23.40.09-1024x768.jpg" width="620" height="465" /></a></p>
<p>If you&#8217;re new to the 3D printing thing, here&#8217;s a quick primer. These printers use <em>fused deposition</em> <em>modeling;</em> a robotic nozzle squirts a continuous bead of melted plastic as it traces the layers, building your thingy from the bottom up. Be careful watching it in action &#8211; it&#8217;s known to hypnotize MakerBar members for hours!<strong><br />
</strong></p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-01-18-23.30.26.jpg"><img alt="2013-01-18 23.30.26" src="http://blog.makerbar.com/wp-content/uploads/2013/02/2013-01-18-23.30.26-1024x768.jpg" width="620" height="465" /></a></p>
<p>The printer does have a couple of quirks to watch out for. Prints are coming out about 20% shorter than they&#8217;re supposed to, and an upper layer occasionally gets misaligned and ruins the print. Feel free to come in on an Open House day and play with it, or run off simple prints anyways.</p>
<p>As of now, the MakerBar doesn&#8217;t have any policies around the printers &#8211; feel free to come in during any Soldering Wednesday or Craft Night and run something off in clear PLA. Chip in to our Filament Fund if you please. Prints take a LONG TIME (that RepRap part above took over two hours) so make sure you arrive early!</p>
<p>Jim Galvin, a former head gaffer (big-shot lighting dude) for major films, brought us his MakerBot a few months ago after a two-year battle to get it to work properly. That&#8217;s him below after futzing with it. Thanks Jim for the ultra-generous donation! You rule!</p>
<p><a href="http://blog.makerbar.com/wp-content/uploads/2013/02/2004-12-31-23.00.00-105.jpg"><img alt="2004-12-31 23.00.00-105" src="http://blog.makerbar.com/wp-content/uploads/2013/02/2004-12-31-23.00.00-105-1024x768.jpg" width="620" height="465" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makerbar.com/?feed=rss2&#038;p=483</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
