<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Alexa Automated Workbench Part 2 -- Episode 326</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3289/alexa-automated-workbench-part-2----episode-326</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Alexa Automated Workbench Part 2 -- Episode 326</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3289/alexa-automated-workbench-part-2----episode-326</link><pubDate>Fri, 19 Jan 2018 08:24:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:46f8a5e7-8375-405b-be83-e437838ebf2d</guid><dc:creator>Matt</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3289/alexa-automated-workbench-part-2----episode-326#comments</comments><description>Current Revision posted to Documents by Matt on 1/19/2018 8:24:00 AM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png" data-e14adj="t"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/" data-e14adj="t"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/" data-e14adj="t"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="" href="https://www.element14.com/community/community/experts/benheck/thelearningcircuit?ICID=BH-episodedoc-topban" target="_blank" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;The Learning Circuit&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="" href="https://www.element14.com/community/community/experts/benheck/sudosergeant?ICID=BH-episodedoc-topban" target="_blank" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;sudo Sergeant&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=fN5wYORbWQM"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:634px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;Bob Baddeley returns to continue helping Ben automate his workbench using Alexa and Raspberry Pi.&amp;nbsp;&amp;nbsp; They’ve already gotten Alexa up and running, talking to a microcontroller over USB.&amp;nbsp; Now it&amp;#39;s time to automate everything else in the shop.&amp;nbsp; They’ll use a multimeter and get a reading from it, they’ll go over the network connection to the oscilloscope so that they can change its settings and take screenshots with voice commands. They will interface a Gert Board with the GPIO on the Pi so they can turn bits on and off.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;The Fluke Multimeter has an IR port on the top, so when they plug it into a device, it shows up as a regular serial port.&amp;nbsp;&amp;nbsp; They hook it up to the terminal on the Raspberry Pi to determine what steps to take next.&amp;nbsp; The data returned depends on what mode the multimeter is in.&amp;nbsp; They’ll need to parse the data to see what they care about and send it back over the JsonResponse.&amp;nbsp; They are asking the python script to send a serial signal to the multimeter to request the reading, and then they take the response back and send it to their PHP script.&amp;nbsp; The PHP script takes that response then takes that response and splits it up into the individual comma separated values.&amp;nbsp; They’ll take the data sheet for the multimeter and convert it into its actual readings, pulling out the values that they care about. They’ll need to parse the data ain order for Alexa to pronounce the information correctly.&amp;nbsp;&amp;nbsp; As it turns out, the Fluke has an internal reading that it sends over the serial port that is different from what it displays on the screen.&amp;nbsp; They’ll need to do some quick conversions in their PHP script to accommodate that.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;Next, they’ll automate their MD0-3106 Tektronix a oscilloscope using a list of commands from a datasheet.&amp;nbsp; They’ll use Putty to set up a telnet connection with their oscilloscope.&amp;nbsp; Unlike the multimeter, you can control pretty much anything on an oscilloscope using tel-net commands. They can even reuse the code from the multimeter using different intents such as stop, run, save zoom, pan, scale, single, auto set, and repeat. Bob goes over the code they are using with Ben.&amp;nbsp; Alexa interprets voice and sends that to their Apache server which is running PHP, the PHP is calling Python which then goes down to the scope, and the Scope interprets.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;After testing the oscilloscope commands they move onto the Gert board. Before plugging into the Alexa API they draw everything out on a whiteboard.&amp;nbsp; Ben sets up a skill that has an intent of set to allow them to set a specific pin while Bob sets puts a table in python.&amp;nbsp; Wiring Pi has been deprecated so they’ll need to use RPi.GPIO.&amp;nbsp; Alexa is now able to set pins hi and low or on and off.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-wiki-small" href="/challengesprojects/element14-presents/benheck/w/documents/2888/element14-s-the-ben-heck-show-disclaimer" data-e14adj="t"&gt;Disclaimer&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: hack, episode 326: alexa automated workbench part 2, bh_accessibility, heck, ben, tbhs_ep, workbench&lt;/div&gt;
</description></item><item><title>Episode 326: Alexa Automated Workbench Part 2</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3289/alexa-automated-workbench-part-2----episode-326/revision/1</link><pubDate>Thu, 10 May 2018 01:16:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:46f8a5e7-8375-405b-be83-e437838ebf2d</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3289/alexa-automated-workbench-part-2----episode-326#comments</comments><description>Revision 1 posted to Documents by tariq.ahmad on 5/10/2018 1:16:32 AM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="" href="https://www.element14.com/community/community/experts/benheck/thelearningcircuit?ICID=BH-episodedoc-topban"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;The Learning Circuit&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="" href="https://www.element14.com/community/community/experts/benheck/sudosergeant?ICID=BH-episodedoc-topban"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;sudo Sergeant&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=fN5wYORbWQM"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:634px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;Bob Baddeley returns to continue helping Ben automate his workbench using Alexa and Raspberry Pi.&amp;nbsp;&amp;nbsp; They’ve already gotten Alexa up and running, talking to a microcontroller over USB.&amp;nbsp; Now it&amp;#39;s time to automate everything else in the shop.&amp;nbsp; They’ll use a multimeter and get a reading from it, they’ll go over the network connection to the oscilloscope so that they can change its settings and take screenshots with voice commands. They will interface a Gert Board with the GPIO on the Pi so they can turn bits on and off.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;The Fluke Multimeter has an IR port on the top, so when they plug it into a device, it shows up as a regular serial port.&amp;nbsp;&amp;nbsp; They hook it up to the terminal on the Raspberry Pi to determine what steps to take next.&amp;nbsp; The data returned depends on what mode the multimeter is in.&amp;nbsp; They’ll need to parse the data to see what they care about and send it back over the JsonResponse.&amp;nbsp; They are asking the python script to send a serial signal to the multimeter to request the reading, and then they take the response back and send it to their PHP script.&amp;nbsp; The PHP script takes that response then takes that response and splits it up into the individual comma separated values.&amp;nbsp; They’ll take the data sheet for the multimeter and convert it into its actual readings, pulling out the values that they care about. They’ll need to parse the data ain order for Alexa to pronounce the information correctly.&amp;nbsp;&amp;nbsp; As it turns out, the Fluke has an internal reading that it sends over the serial port that is different from what it displays on the screen.&amp;nbsp; They’ll need to do some quick conversions in their PHP script to accommodate that.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;Next, they’ll automate their MD0-3106 Tektronix a oscilloscope using a list of commands from a datasheet.&amp;nbsp; They’ll use Putty to set up a telnet connection with their oscilloscope.&amp;nbsp; Unlike the multimeter, you can control pretty much anything on an oscilloscope using tel-net commands. They can even reuse the code from the multimeter using different intents such as stop, run, save zoom, pan, scale, single, auto set, and repeat. Bob goes over the code they are using with Ben.&amp;nbsp; Alexa interprets voice and sends that to their Apache server which is running PHP, the PHP is calling Python which then goes down to the scope, and the Scope interprets.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;After testing the oscilloscope commands they move onto the Gert board. Before plugging into the Alexa API they draw everything out on a whiteboard.&amp;nbsp; Ben sets up a skill that has an intent of set to allow them to set a specific pin while Bob sets puts a table in python.&amp;nbsp; Wiring Pi has been deprecated so they’ll need to use RPi.GPIO.&amp;nbsp; Alexa is now able to set pins hi and low or on and off.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-wiki-small" href="/challengesprojects/element14-presents/benheck/w/documents/2888/element14-s-the-ben-heck-show-disclaimer"&gt;Disclaimer&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: hack, episode 326: alexa automated workbench part 2, bh_accessibility, heck, ben, tbhs_ep, workbench&lt;/div&gt;
</description></item></channel></rss>