Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: GremlinWrangler

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    217

    There is not an easy way to do this. The basic...

    There is not an easy way to do this. The basic idea is to use the USB serial port and send messages either as single letters or more structured commands from your program. The basic proof of concept...
  2. The simple option is to delay(50) or similar and...

    The simple option is to delay(50) or similar and then release, short delay before checking if digital read is still low. Exact timings will depend on the USB bus handler at your computer. This will...
  3. Replies
    2
    Views
    138

    Is there any particular reason to not use the...

    Is there any particular reason to not use the Teensy optimized audio library?
    https://www.pjrc.com/teensy/td_libs_Audio.html
    Which has an inbuilt FFT.
    If your application wants more specialization...
  4. 1. The 12 sensors should not be a big issue as...

    1. The 12 sensors should not be a big issue as long as you are not trying to get too complex with the flower lighting effects. If you have a teensy already suggest adding the read logic for the other...
  5. There are lots of ways to make things permanent,...

    There are lots of ways to make things permanent, but given you have a working breadboard layout something like these will be relatively straight forward
    https://www.adafruit.com/product/591
    Proto...
  6. If you have nothing higher than give volts best...

    If you have nothing higher than give volts best option is probably a 5V battery bank. They will not be optimal but they come in many sizes/shapes and bypass challenges over getting all the parts to...
  7. Replies
    168
    Views
    155,521

    4.0 is very new, unsure how complete USB joystick...

    4.0 is very new, unsure how complete USB joystick support is. It also has ADC hardware that seems to take more effort to get good results out of. You certainly do not need the performance for this,...
  8. Replies
    1
    Views
    59

    page 31 of...

    page 31 of https://www.pjrc.com/teensy/K64P144M120SF5.pdf lists the voltage range as 1.71 to 3.6V, matching the 3.3-2.7 of a lithium coin cell. So yes some form of regulation is going to be needed...
  9. That should be how it all works, the bias...

    That should be how it all works, the bias voltage/reference may end up being half way through your range. Depends on internals of the amp and how it is powered. If you are chasing precision you need...
  10. To offset your voltage you can use where your...

    To offset your voltage you can use where your would use a resistive divider on the non inverting input to set your range midpoint and the ratio of the input resistor and gain resistor to adjust gain...
  11. Replies
    4
    Views
    125

    Sorry, had missed the part about this being a...

    Sorry, had missed the part about this being a hard fault that persisted after resets, which is why my suggestion about overflows. Not having any ideas on how a pulsed input could hard fault after X...
  12. Replies
    4
    Views
    125

    Is it possible that the under the hood changes...

    Is it possible that the under the hood changes around 8bit to 32bit and higher clock rates mean that you can overflow usEarliestPossibleWindTurn?
    if (usNow > usEarliestPossibleWindTurn)
  13. To get a feel for what a solenoid can do, have a...

    To get a feel for what a solenoid can do, have a look at a relays. This https://www.sparkfun.com/products/100 will draw 10mA at 5V (right at it's lower limit) and pull a very light arm a mm or so....
  14. Replies
    3
    Views
    81

    Basic option is probably to leave the USB data...

    Basic option is probably to leave the USB data lines connected through, and just use a relay or FET to control the 5V power. One option would be a row of USB extension cables (or OEM cables for that...
  15. Replies
    91
    Views
    4,565

    For the things I do, a native ethernet option...

    For the things I do, a native ethernet option would be interesting for those cases where you just want a networked device that does one thing well without needing to secure a full linux install....
  16. The first suggestion before spending money with...

    The first suggestion before spending money with this would be to download and install arduino and Teensyduino https://www.pjrc.com/teensy/td_download.html, have a look at...
  17. The deeper question here is what else is being...

    The deeper question here is what else is being powered with the Teensies and Pi. If all you have is the assorted T2+Pi running along in a steady state most power supplies will produce the target...
  18. Replies
    5
    Views
    119

    Unfortunately it is pretty normal for encoders to...

    Unfortunately it is pretty normal for encoders to have more than one step per click, no idea why. And just for extra challenge you may find that it is not an even four per click either.

    Edit: data...
  19. Replies
    5
    Views
    119

    Pin 13 has the LED, suggest using another pin as...

    Pin 13 has the LED, suggest using another pin as that may be complicating things.

    If you do not have pullups set that can cause problems, but believe the library does that.

    If problems are...
  20. Replies
    9
    Views
    554

    I am not PJRC but with the end of life Question,...

    I am not PJRC but with the end of life Question, Paul still has kept the T2 models in production alongside the T3 series, and the T3.2 fulfills a different need than the T4.0. from posts elsewhere...
  21. There are several layers here and not an expert...

    There are several layers here and not an expert on the features listed but:

    As configured by default there is no way to use the USB port to extract code unless you added software to do so in the...
  22. Clamping a 5V supply when 5.5V is Vmax is tricky...

    Clamping a 5V supply when 5.5V is Vmax is tricky since most basic options will need 20-50% over to do anything.

    Along with having a fuse or circuit breaker on the power supply sized as close as...
  23. Replies
    2
    Views
    92

    Ok, have not got to the bottom of it yet, but...

    Ok, have not got to the bottom of it yet, but have tweaked the formating and wrapped it in code tags (press the # button when creating a post)



    void setup() {
    // put your setup code here, to...
  24. Various threads on the topic but nothing all in...

    Various threads on the topic but nothing all in one place. Basic idea is that the program pin connects to the separate bootloader CPU. When pressed it tells the bootloader IC to take control of the...
  25. The general idea is an H-bridge...

    The general idea is an H-bridge
    https://en.wikipedia.org/wiki/H_bridge
    Either built up from transistors, from a driver IC or as a module.

    Or can also be done with a pair of relays.
  26. Replies
    1
    Views
    96

    Do you have the hamshield_kiss\src\KISS file on...

    Do you have the hamshield_kiss\src\KISS file on your system, or has it not installed correctly?

    If libraries are not working for you, moving just the simpleFIFO files to your project directory and...
  27. If you really want to use pin one for something...

    If you really want to use pin one for something else you need to do either set TX pin to be pin 5 is it is free https://www.pjrc.com/teensy/td_uart.html , manually disable the port config bits or...
  28. The problem is more the line Serial.begin(9600);...

    The problem is more the line
    Serial.begin(9600);
    Which will set pin 1 as an output driven by the serial out buffer, so regardless of the MIDI stuff there will be a problem using it as an encoder...
  29. Pin 0 and 1 is the hardware serial port, so if...

    Pin 0 and 1 is the hardware serial port, so if you are using conventional MIDI wiring there will be data there. It is MIDI out so it may be possible to partially disable the serial hardware in...
  30. Since the magic is the the HID descriptor the LC...

    Since the magic is the the HID descriptor the LC should be able to run to follow https://forum.pjrc.com/threads/23681-Many-axis-joystick, specifically that around...
  31. Replies
    5
    Views
    314

    That said, unless you are planing to actually...

    That said, unless you are planing to actually leave some critical part of your code out and actually execute on a Teensy or use the crypto hardware you can probably use the smaller 3.2 or even an LC...
  32. The Y splitter should be fine since the buttons...

    The Y splitter should be fine since the buttons are open circuit when not pressed so it will give the needed OR logic.

    The actual teensy activitation is a bit trickier. The safe option is to use a...
  33. Basic suggestion is to add a delay(100); to your...

    Basic suggestion is to add a delay(100); to your Teensy loop so there is time for all the other USB things to happen rather than data as fast as the ADC can cycle.
  34. The basic solution is to add an Amplfier block to...

    The basic solution is to add an Amplfier block to your patch system, between the SD card and the i2S output
    https://www.pjrc.com/teensy/gui/?info=AudioAmplifier

    You will need to map the 0-1024...
  35. Replies
    8
    Views
    775

    For a T3.2 it should be using interrupts by...

    For a T3.2 it should be using interrupts by default without any action from you, as I understand it the code you had was intended for T1/T2 8 bit Teensyies. If you were using the encoders on say a...
  36. Replies
    8
    Views
    775

    Confirm this is a Teensy LC or 3.2? Below...

    Confirm this is a Teensy LC or 3.2? Below assumes the newer flavours, if you are using a T2 that will change things.

    For midi control type inputs you should be running out of pins before you run...
  37. Replies
    8
    Views
    775

    Which tutorial are you following? For all...

    Which tutorial are you following?

    For all current generation Teensy most/all the pins will default to interrupt operation
    https://www.pjrc.com/teensy/td_libs_Encoder.html
    If you are seeing more...
  38. Replies
    5
    Views
    572

    There are some unasnwered questions here so...

    There are some unasnwered questions here so tricky to provide perfect answers.

    Putting 7V without current limit straight into a Teensy will damage things, though the input protection may mean the...
  39. Replies
    1
    Views
    251

    The prop shield includes a dedicated Class D amp...

    The prop shield includes a dedicated Class D amp to drive a mono speaker, otherwise you look at something like https://www.adafruit.com/product/3006 or the stero versions. Key thing is using a class...
  40. The resistance will not make any particular...

    The resistance will not make any particular difference to the Teensy and in fact will probably work 'fine' assuming the buttons themselves are reliable. Problems would start to happen if your pullup...
  41. Several different approches, but one is to go...

    Several different approches, but one is to go into the two relevant if(button.fallingEdge()) statements and instead of sending the not, set a previously defined (and zeroed)variable to one, say...
  42. Replies
    6
    Views
    376

    The LEDS are already doing PWM when you set the...

    The LEDS are already doing PWM when you set the 0-255 value via an internal controller. All you can do is send red green and blue values in the range of 0-255 to that controller and leave it to PWM...
  43. The Ground pin should be connected to the ground...

    The Ground pin should be connected to the ground plane which should be connected to the USB gnd.
    https://www.pjrc.com/teensy/schematic.html
    (scroll down for LC).

    There are filters on analog gnd...
  44. Replies
    3
    Views
    299

    Some suggests steps, apologies if you have...

    Some suggests steps, apologies if you have already done these:
    Have you already swapped the solinoids/drive transistors/control pins?
    Have you used a multimeter to check the IO pins actually...
  45. This may need a photo of your setup along with a...

    This may need a photo of your setup along with a schemetic. As a basic step you can look at the voltage out of the amp unit with a multimeter, and depending on your design use a variable resistor to...
  46. A photo of your setup might be needed here. ...

    A photo of your setup might be needed here.

    Things to do:
    Check that there actually is power on the start of the strip
    load up blink, change it to toggle pin 11 and change the timing to about 5...
  47. Replies
    2
    Views
    224

    There is no HID command for point of view, so it...

    There is no HID command for point of view, so it would depend on the game either providing a control mechanism supporting joystick of a POV control or finding what API it does use for VR applications...
  48. Replies
    3
    Views
    228

    Getting to grips with Sine is a really useful...

    Getting to grips with Sine is a really useful step in generating all sorts of brightness and other effects that moves in gentle curves hence why I suggested starting with processing which makes...
  49. Replies
    3
    Views
    228

    Hard to tell, but the design looks achievable...

    Hard to tell, but the design looks achievable running on a Uno generating the effects live, though would take some care to achieve. Using a Teensy would give a lot more RAM and clock cycles avoiding...
  50. Replies
    14
    Views
    444

    For what it is worth have used RCSwitch in in...

    For what it is worth have used RCSwitch in in both modes with a T3.2 without any particular hassle other than the input pins for the library being built around the Arduino Uno interrupt pins, has...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4