After realizing the new possibilities that Windows 10 IoT brings to developers with devices like the Raspberry Pi, we were thinking about a first demo Project to build. After some reading and going through the basic tutorials an old slide projector caught our attention.
The projector is controlled by just two buttons. One for turning the light on and off and a second one for going forward (short push) and back (long push) through the physical array of slide pictures.
The idea: using the speech recognizion feature of Windows 10 UWP to control two relais steering the projector. The first version adds some basic speech functionality to the projector like switching it on and of and going through the slides.
In a future version an extended commands set could take into account what pictures are in the projector allowing to navigate to a specific image after saying something like "Show me the lighthouse."
The steps
- Hardware tinkering: Open the projector, identify the wires that are attached to the hardware buttons. Attach cables to these switches that go outside the projector. Connect the cables to the relais. Connect the relays to the Raspberry Pi's GPIO pins.
- Implement the software to recognize the command set and control the GPIO pins.
- Talk to the machine.
Hardware
Software
The software consists of two official example projects by Microsoft:
Check out the relevant code snippets below. The full sourcecode will soon be available on GitHub.
Links
www.intuisoft.de | www.windowsondevices.com | www.raspberrypi.org
Next steps
Which direction shall we go?
- Question & Answer : Add speech synthesis to the software and a loudspeaker to the Raspberry so you could implement a riddle (for example). The machine asks a question, according to your answer a certain image gets projected.
- Web connectivity: Add a webcam and an app to the system so the projector can be remote controlled and the current image gets streamed to the web or an app.
- Anything else we didn't think about yet.
Comments