This driver used to connect Quantis USB TRN Generator to Arduino-like platforms.
For this project used:
-
Arduino-like platform: Teensy 3.2
Your platform should has at least one SPI interface to work with USB shield. -
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. -
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). -
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.
- Arduino IDE v1.6.9 or higher
- Teensyduino driver
- USB Host Shield Library v2.0
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.
MeasureTRNGSpeed.ino
Waits available QuantisUSB devices and every second count how many bytes has been received from them.