element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
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 Episode 326: Alexa Automated Workbench Part 2
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Ben Heck Featured Content requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 7 Dec 2017 6:38 PM Date Created
  • Last Updated Last Updated: 10 May 2018 1:16 AM
  • Views 451 views
  • Likes 7 likes
  • Comments 15 comments
Related
Recommended

Episode 326: Alexa Automated Workbench Part 2

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

The Learning Circuit
sudo Sergeant
See All Episodes

 

 

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

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
Anonymous

Top Comments

  • beacon_dave
    beacon_dave over 4 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 4 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 4 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…

Parents
  • beacon_dave
    beacon_dave over 4 years ago

    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-smart-glasses-announced-ar-video

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago in reply to beacon_dave

    Interesting, but I would need a way to add them to my existing glasses and not interfere with my bi-focals.

     

     

     

    DAB

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 4 years ago in reply to beacon_dave

    Interesting, but I would need a way to add them to my existing glasses and not interfere with my bi-focals.

     

     

     

    DAB

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Children
  • makerkaren
    makerkaren over 4 years ago in reply to DAB

    From the video, it sounded like these could use corrective lenses. But given the location of the reflective surface for the display, I'm not sure how that would work with bifocals.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 4 years ago in reply to makerkaren

    If I understand correctly, the low power laser projects directly onto the retina and does not go through or project onto the lenses of the glasses. The frames I assume can take normal corrective lenses to suit your eyesight. The laser appears to be calibrated to the individual's eyes.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • makerkaren
    makerkaren over 4 years ago in reply to beacon_dave

    They project directly onto your eye, but I thought it was still reflected off the lens to do so. I could be wrong.
    Edit: Reading that through, I realize that "directly" and "reflected" contradict each other. My point was that your eye doesn't focus on the lens in front of it, but I thought the laser still reflects off the lens directly into the eye so the eye simply sees it.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 4 years ago in reply to makerkaren

    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 lens.  The image is then reflected into the back of your eyeball, directly onto the retina."

     

    So it appears to be reflected off a reflector placed on the lens rather than reflected off the lens itself, and then into the eye and onto the retina.

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube