Inspiration

When working in an electronics lab there are rarely enough hands on deck. From holding probes to manipulating circuits, every task seems to pull full attention away from the others, the only real way to focus on your work is to have an assistant do the busy work for you. But what if that assistant were a computer? This is what we thought about as we designed our hack.

What it does

Smart Scopes is a combination hardware/software hack, combining electrical engineering equipment with consumer electronics to allow the most common tasks in the lab to be done automatically. Commands are spoken to an Amazon Echo, which listens intently and then quickly solves problems, provides answers, or even performs data analysis.

How we built it

Oscilloscopes often times have a serial port on the back, designed to be connected to a remote interface. We have brought this decades-old technology back to the present by integrating voice control. Our commands run as subcomponents of one omniscient Alexa voice control skill, capturing relevant input from the user while ignoring conversation. While the Echo helps with its solid voice recognition api, a significant amount of post processing makes our interface perfectly tuned for use in a lab.

Commands from the echo are processed by an AWS Lambda process, reducing high overhead server costs and making our platform scalable to an arbitrary number of users. The lambda process communicates with slave devices through a high throughput redis instance, which facilitates bidirectional communication even through proxies and unreliable networks while ensuring security through its industry standard practices.

Challenges we ran into

Most of our challenges came from interfacing devices. We are utilizing 9 separate computational units in this hack (Oscilloscope, FGEN, Raspberry Pi, AWS Lambda Instance, Redis Instance, Image Proxy Server, User display laptop, Octopart Servers, Wolfram Servers) and every synapse is a place for complication.

One of the hardest problems we faced was utilizing the Echo’s voice capabilities. While it comes with the necessities to make a basic command system it lacks the processing to be able to listen constantly while filtering out non-targeted speech with a high degree of accuracy. We wanted to avoid the dreaded hotword as much as possible, so fine tuning this system was essential.

Another issue we had was interfacing with the test equipment. The oscilloscope and function generator we brought are decades old, and so require care to interface with properly. Even standard RS-232 serial cables were not compatible, and so we had to partially fashion our own cable out of breadboards and jumper wires.

Accomplishments that we're proud of

One thing which we are especially happy with is how responsive the test equipment interface is. Thanks to the real-time bi-directional communication provided by redis we are able to push updates to the Oscilloscope and FGEN before the echo has finished saying its first word. In a lab environment people don’t have time to wait for yet more technology, and so reaching the point where our hack actually makes things simpler was an achievement.

In our hacks we try to be budget friendly as well as creative. While for development purposes we limited ourselves to budget of a few hundred dollars, the system is designed to be able to scale down to just a few dollars in chips. This gives it potential even for the hobbyist, who is often strapped for cash after buying big ticket items such as oscilloscopes and function generators.

What we learned

While we had a little experience working with voice recognition coming into this event, spending 36 hours interacting and developing with a state of the art voice control device gave us a better understanding of where the technology is and how best to use it to create effective offerings to consumers.

What's next for Smart Scope

We are all electrical engineering majors, and some of us teach EE labs where students often have trouble finding joy in the grind of lab. We hope to integrate this into our electronics experimenting, and to use it to get students more involved in electrical engineering.

Built With

Share this project:

Updates