Search results

  1. C

    Possible ringing issue

    Thanks for the reply. You're right, the capacitance wasn't doing the trick on its own and it did need resistance on the output of the SN74LVC14A. I read in the datasheet for the SN74LVC14A: I wondered if this was a problem with the Teensy's pin having too high impedance and causing...
  2. C

    Possible ringing issue

    Hi, I've got a really simple project for a Teensy 4.0 where I use it to count incoming pulses from something else I'm working on. Frequency is <500Hz so should be easy right? Relevant code below: void count_input_pulse_isr() { input_pulse_count++; } void setup() { pinMode(INPUT_PIN...
  3. C

    Always have to press button to upload

    Thanks for the replies. Watching "tail -f /var/log/syslog", when I plug the Teensy in, I get: Apr 11 09:49:44 colin-ThinkPad-Edge-E130 kernel: [ 757.972566] usb 1-1.2: new full-speed USB device number 16 using ehci-pci Apr 11 09:49:44 colin-ThinkPad-Edge-E130 kernel: [ 758.067548] usb 1-1.2...
  4. C

    Always have to press button to upload

    Hi, I'm using Teensyduino with Arduino 1.6.7 on Ubuntu 15.10 amd64. I can't easily access my Teensy's physical button as it's inside an enclosure (I can get to the USB connector easily however). It used to be possible for me to upload new programs without pressing the button, but that no...
  5. C

    Gameport Yoke & Pedals USB Conversion

    On a slightly random note while I wait for capacitors: The rubber feet were all either damaged or missing on my yoke. I replaced them with http://www.ebay.co.uk/itm/200822625317?_trksid=p2057872.m2749.l2649&var=500101630894&ssPageName=STRK%3AMEBIDX%3AIT which seem to fit nicely.
  6. C

    Gameport Yoke & Pedals USB Conversion

    The 22nF cap, averaging set to 32 and resolution at 10 bit is quite good. There's still some jitter occasionally though, as if the pot is half way between two values. I'm tempted to just do something like check if the new value differs from the last one by more than 2. That would appear to fix...
  7. C

    Gameport Yoke & Pedals USB Conversion

    The buttons were fed into an Atmel ATF20V8B-25PC, and a lot fewer wires came out of that towards the gameport than went in on the other side, so that seems highly plausible.
  8. C

    Gameport Yoke & Pedals USB Conversion

    Hi again, Just reporting back as promised to say that firstly yes, you're right about the jitter! It's far worse than I would have expected. But the good news is the capacitor trick works. I found a 22nF ceramic capacitor and just put it in there between the ADC pin and AGND as Paul suggested...
  9. C

    Gameport Yoke & Pedals USB Conversion

    Hi mfremont, Thanks for your reply and yes I've made a decision. In the end I just tried connecting a pot up with an extra 100k resistor and used it as a joystick axis. The results were that it worked, but of course I wasn't using the full range of the Teensy's analog input because of the...
  10. C

    Gameport Yoke & Pedals USB Conversion

    Hi, I’ve got an old CH Products Virtual Pilot Pro yoke and Pro Pedals here, and they use the old gameport interface. I was originally going to put a Teensy inside the chassis of each, wired directly to the potentiometers and buttons. For the potentiometers (of which there is one per axis), I...
Back
Top