element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Documents Alexa Automated Workbench Part 2 -- Episode 326
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 7 Dec 2017 6:38 PM Date Created
  • Last Updated Last Updated: 19 Jan 2018 8:24 AM
  • Views 3471 views
  • Likes 8 likes
  • Comments 15 comments
Related
Recommended

Alexa Automated Workbench Part 2 -- Episode 326

image

element14's The Ben Heck Show

Join the Ben Heck team every week for amazing hacks! Watch them build and mod community-inspired projects using electronics!

Back to The Ben Heck Show homepage image

The Learning Circuit
sudo Sergeant
See All Episodes

 

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Bob Baddeley returns to continue helping Ben automate his workbench using Alexa and Raspberry Pi.   They’ve already gotten Alexa up and running, talking to a microcontroller over USB.  Now it's time to automate everything else in the shop.  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. 

 

 

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.   They hook it up to the terminal on the Raspberry Pi to determine what steps to take next.  The data returned depends on what mode the multimeter is in.  They’ll need to parse the data to see what they care about and send it back over the JsonResponse.  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.  The PHP script takes that response then takes that response and splits it up into the individual comma separated values.  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.   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.  They’ll need to do some quick conversions in their PHP script to accommodate that.

Next, they’ll automate their MD0-3106 Tektronix a oscilloscope using a list of commands from a datasheet.  They’ll use Putty to set up a telnet connection with their oscilloscope.  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.  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.

After testing the oscilloscope commands they move onto the Gert board. Before plugging into the Alexa API they draw everything out on a whiteboard.  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.  Wiring Pi has been deprecated so they’ll need to use RPi.GPIO.  Alexa is now able to set pins hi and low or on and off.

 

Disclaimer

  • hack
  • episode 326: alexa automated workbench part 2
  • bh_accessibility
  • heck
  • ben
  • tbhs_ep
  • workbench
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • beacon_dave
    beacon_dave over 8 years ago +2
    Perhaps Ben could automate the workshop further by making use of a pair of Intel's new Vaunt smart glasses for augmented reality meter readouts ? https://www.theverge.com/2018/2/5/16966530/intel-vaunt…
  • shabaz
    shabaz over 8 years ago in reply to mikesparks +1
    I've yet to watch this second part, but Lambda in general is reasonably understandable if you're already familiar with the languages it currently supports (JavaScript and Python from memory, maybe more…
  • beacon_dave
    beacon_dave over 8 years ago in reply to makerkaren +1
    Ok, reading through the text accompanying the video it says: "That laser shines a red, monochrome image somewhere in the neighborhood of 400 x 150 pixels onto a holographic reflector on the glasses’ right…
  • COMPACT
    COMPACT over 8 years ago in reply to koudelad

    JSON appears just to be a CSV with an additional ':' delimiter for field name metadata.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • koudelad
    koudelad over 8 years ago

    Great episodes, this is probably the first time I have seen a voice control demonstration for a reason other than laziness and/or bragging image

     

    I personally don't want to sacrifice the privacy of all family members for things like switching on and off a light bulb. This can be usually performed faster (compared to saying the whole intention sentence) and with lower latency (voice recognition, parsing the command...) using a traditional switch. Using the technology for working purposes like these looks very promising. However, there will be another issues using Alexa in an open-space with a 100 work benches image

     

    In addition to that, (and Ben mentioned it) there might also be use cases for disabled people. It could be a great project to find a person who would appreciate such help and automate everything as needed in his/her house or workplace (I am now appealing to social responsibility departments of technology companies.)

     

    Good job Ben and Bob, I hope you will both cooperate again on some future project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • koudelad
    koudelad over 8 years ago in reply to COMPACT

    Hopefully, devices like these will start to using JSON, which is a lightweight format compared to XML.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • COMPACT
    COMPACT over 8 years ago

    A nice demonstration!

     

    CSV, Comma Separated Values not difficult at all.

    It is just a list of values in a predetermined order. It was a workhorse of the past.

     

    These days with much more computing power at hand we can use XML (which is larger) that includes metadata (data about data) so the data can be presented in any order and be easily read by humans.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Very good demonstration of the power of voice control and automated workbench potential.

    I really like the ability to have the multimeter value spoken on command.  There are a lot of times when you do not have the luxury of looking up at the meter when you are concentrating on positioning the probes.

     

    Excellent episode.

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube