Hello, I've never owned a microcontroller and have no background in EE, so I have a lot of questions. The project will consist of a Teensy 4.0 / 4.1, the ILI9341 touch display (https://www.pjrc.com/store/display_ili9341_touch.html), a phototransistor and a white LED. The goal is an automated mouse movement to photon input lag tester without any software and driver dependencies on the PC side. The white LED is meant for self-testing the measurement overhead.
1. Does the Teensyduino 'Mouse.h' module work without special drivers? If I were to plug in the device to a computer without the Arduino IDE and Teensyduino installed, would it be recognized as HID-compliant mouse without prompting any driver installation?
2. Does the Teensy 4.0 / 4.1 support 8000 Hz USB communication with the 'Mouse.h' module or is Raw HID code required?
3. Do I need the special Micro-B USB cable (https://www.pjrc.com/store/cable_usb_micro_b.html) for this or will a generic one do the job?
4. I've seen plenty of people who use resistors with the ILI9341 display but also plenty of people who don't. Does the "Connections" section still apply to the Teensy 4.0 / 4.1 (only resistor being 100 Ohm for the LED)?
5. Does the display come with pre-soldered pin headers?
6. I plan to use the phototransistor with a probe to an analog pin. How do I determine what resistor I need between the transistor and ground? Are there any specifications (both on the Teensy and phototransistor side) I need to account for (e.g. max photocurrent)?
7. Are there any ADC noise / signal integrity considerations with very long (~ 1 meter) cables for the phototransistor?
1. Does the Teensyduino 'Mouse.h' module work without special drivers? If I were to plug in the device to a computer without the Arduino IDE and Teensyduino installed, would it be recognized as HID-compliant mouse without prompting any driver installation?
2. Does the Teensy 4.0 / 4.1 support 8000 Hz USB communication with the 'Mouse.h' module or is Raw HID code required?
3. Do I need the special Micro-B USB cable (https://www.pjrc.com/store/cable_usb_micro_b.html) for this or will a generic one do the job?
4. I've seen plenty of people who use resistors with the ILI9341 display but also plenty of people who don't. Does the "Connections" section still apply to the Teensy 4.0 / 4.1 (only resistor being 100 Ohm for the LED)?
5. Does the display come with pre-soldered pin headers?
6. I plan to use the phototransistor with a probe to an analog pin. How do I determine what resistor I need between the transistor and ground? Are there any specifications (both on the Teensy and phototransistor side) I need to account for (e.g. max photocurrent)?
7. Are there any ADC noise / signal integrity considerations with very long (~ 1 meter) cables for the phototransistor?