Collect the following pieces of hardware to get started building your own Alfrid artificial intelligence system

  • Intel Edison Development Kit
  • Arduino Uno
  • Pan/Tilt Servo Turret Kit
  • Microsoft Lifecam 5000
  • USB serial wire
  • Jumper Wires
intel edison and arduino connection


Install pre-compiled image

  • 1

    Install Image

    1. log in to Edison through terminal 2. systemctl disable edison_config.service 3. dd if=/media/sdcard/edison_backup.img of=/dev/mmcblk0 4. Add self.finalText = [] to line 18 in ~/chatty/speech/stt.py
  • or install manually

    • 1

      Assemble board

      Screw the Edison module into its slot, slide the switch to position SW! plug in the two usb cables.
    • 2

      Setup WiFi

      configure_edison --wifi
      When asked if you want to set up Wi-Fi, type Y and press Enter.
    • 3

      login with new password on putty program in SSH

      Set up a new password and SSH configure_edison --password
    • 4

      install Intel IoT SDKs

      Open Vi
      vi /etc/opkg/intel-iotdk.conf
      Paste in the following lines together
      src intel-all http://iotdk.intel.com/repos/1.1/iotdk/all
      src intel-iotdk http://iotdk.intel.com/repos/1.1/intelgalactic
      src intel-quark http://iotdk.intel.com/repos/1.1/iotdk/quark
      src intel-i586 http://iotdk.intel.com/repos/1.1/iotdk/i586
      src intel-x86 http://iotdk.intel.com/repos/1.1/iotdk/x86
      Close Vi by press 'esc' then input 'ZZ'
    • 5

      Update and install packages

      opkg update
      opkg upgrade
      opkg install python-numpy 
      opkg install python-opencv 
      opkg install libjpeg-dev libv4l-dev
      wget --no-check-certificate https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
      python ez_setup.py
      easy_install pip
      pip install flask
      pip install pyserial
      pip install twilio
    • 6

      Add videodev.h

      Install CAM files

      ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h
    • 7

      Disable default server commenting the last line

      //http.createServer(requestHandler).listen(80); in '/usr/lib/edison_config_tools/edison-config-server.js'
    • 8

      Change ip address in pantilt.html file in templates folder and ip in cam.py. Copy Cam folder in FileZilla and set executable right

      ##LOG INTO FILEZILLA AND UPLOAD FILES NOW Enable SSH with (Configure_edison password ) copy
      cd Cam
      chmod +x start_stream.sh
      chmod +x start_cam.sh
    • 9

      Copy files cam.service and stream.service on /lib/systemd/system and type commands to add in autostart

      systemctl daemon-reload
      systemctl enable cam
      systemctl enable stream
      Set max mic volume: amixer set Digital,0 100%, 100% unmute