Hochschule Kempten      
Fakultät Elektrotechnik      
Interface Electronics       Fachgebiet Elektronik, Prof. Vollrath      

EEBench Installation

Webserver on a PC

Prof. Dr. Jörg Vollrath


EE Bench Research Summary




Overview


Software installation time: 1.5 hours
Hardware installation time: 1.5 hours
Test usage: 1 hour

Node Install


Everything will be installed (copied) to C:\temp\NodeEEBench without administrator rights.
Some node zip files contain npm otherwise npm has to be installed separately.
Get node binary (node.exe) from http://nodejs.org/download/
Download the last zip version of npm from http://nodejs.org/dist/npm
Unpack the zip inside the node folder.

FPGA programming environment


If the XADC is not present the project can not be compiled and only the bit file can be transfered to the BASYS3 board
The BASYS3 can also be permanently programmed by transfering the bitfile to the Flash memory.

Nodejs Webserver


Issues

  • Missing nodejs modules
    Cannot find module 'express'
    Open command line window. Change to node directory. Install missing modules with npm.
    npm install express
    npm install serialport
    npm install socket.io
  • Check the COM port settings with a text editor in ServerEEBench.js
          var serialPort = new SerialPort({  //"\\.\COM22"
            path: "COM22",
            baudRate: 230400      //  Baud rate befor 19200, 52 us per bit
          });     
        
    and modify accordingly.
  • Go to the subdirectory and double click on NodeEEBench.bat
    A command line window should open and the webserver should be started.
    If there are problems open a command line window, set the path and start node ServerEEBench.js and examine the error message

Hardware assembly and test

  • Assemble a 16 bit R2R DAC on the breadboard according to the schematic and picture
  • Connect the inputs D0..D15 to the PMOD JB, JC connectors
    JB: lower Bits D7..D0: 10,9,8,7,4,3,2,1
    JC: upper bits D15..D8: 10,9,8,7,4,3,2,1
  • Connect the output to the PMOD JXA oscilloscope connectors
    Channel 1: JXA 1 in JXA 7 gnd
    Channel 2: JXA 2 in JXA 8 gnd
    Channel 3: JXA 3 in JXA 9 gnd
    Channel 4: JXA 4 in JXA 10 gnd
  • Programm the AWG with the Web interface and look at the waveforms with the oscilloscope
  • Look at the FFT and play around



For debugging an external wave generator and oscilloscope should be used.

Summary


Platform Software and Hardware


Tasks EEBench Software


Tasks Hardware