Skip to content

mcfly722/QuantisUSB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuantisUSB

This driver used to connect Quantis USB TRN Generator to Arduino-like platforms.

Hardware

For this project used:

  1. Arduino-like platform: Teensy 3.2
    Your platform should has at least one SPI interface to work with USB shield.

  2. USB Shield: DuinoFun UHS mini v2.0 (Aug. 16, 2014)
    This shield version:
    a. provides only 3.3 volts (Quantis USB requires 5). To resolve it use USB hub with external power or another one USB Shield which has 5 volts support.
    b. has entangled pinout (see my post), so be aware with SPI connection.

  3. USB Hub: DEXP BT7-01
    You can use any other one, it just dependes on that how much devices you want to connect to one USB Host and does it provide required power for it.
    (If you are using mini shield version with 3.3 volts and USB Hub with external power, you have to screen power contact from USB Hub. I'm using just adhansive tape on USB connector to screen pin 1, you can unsolder it or use 5V mini shield modification).

  4. TRN Generator: Quantis USB
    Driver has VID & PID values in Quantis.h file, so if you need to use another generator, just change it to required values. Also, another generator could have another QUANTIS_INPUT_PIPE_ADDR, so you also have to change it.

Connection Scheme:

alt tag

Software

  1. Arduino IDE v1.6.9 or higher
  2. Teensyduino driver
  3. USB Host Shield Library v2.0

Examples

GenerateTRN.ino
Waits till device will be connected, shows it parameters (name,serial...), obtains every second new 192 bytes block from Quantis USB and shows it on the screen. alt tag

MeasureTRNGSpeed.ino
Waits available QuantisUSB devices and every second count how many bytes has been received from them. alt tag

Releases

No releases published

Packages

No packages published

Languages