Control LED - Speechhandler

⚠️ Note: Here's an example of a plugin package for Naomi providing basics information about the plugin such as: language and the version support, include others specific files (i.e. provide your Arduino code) and instructions...

This should be used as a generic template

A really simple module that combine Naomi and the Arduino platform to show possibilities in IOT and new interactions.

With this really simple plugin you can basically control 2 leds using your voice.

  • Languages: English and French

  • Naomi version support: V2.1

  • dependencies: pyserial

Installation

⚠️ first make sure you have the necessary dependencies to run it

To install this plugin in Naomi using terminal:

1. Open a terminal window and run Naomi with the "--install" flag:

$ cd your_naomi_installation_directory
$ ./Naomi --install "Control LED"

2. Upload the arduino code available in /controlLED/arduino_code in the board

3. and then launch Naomi ! H

Have fun 😉

Need help ? we have a discord server for support

Arduino setup

  • IDE version: 1.8.5
  • Arduino board: Any (Nano for the example below)

Wiring

Using digital PIN 2 for the green led and digital pin 6 for the red led

Image not available for now, please contact support on discord

Error

  • could not open port

Naomi tries both '/dev/ttyACM0' and '/dev/ttyUSB0' to search for your Arduino. If your Arduino has been assigned to a different device name in linux (such as '/dev/ttyACM1') you can put the device name in profile.yml:

Control LED:
    device: '/dev/ttyACM1'

Need help ? we have a discord server for support