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.01 seconds.

  1. Replies
    2
    Views
    37

    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...
  2. 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...
  3. 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.
  4. Replies
    1
    Views
    43

    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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. Replies
    5
    Views
    232

    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...
  10. 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...
  11. 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.
  12. 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...
  13. Replies
    8
    Views
    642

    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...
  14. Replies
    8
    Views
    642

    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...
  15. Replies
    8
    Views
    642

    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...
  16. Replies
    5
    Views
    519

    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...
  17. Replies
    1
    Views
    231

    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...
  18. 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...
  19. 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...
  20. Replies
    6
    Views
    320

    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...
  21. 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...
  22. Replies
    3
    Views
    215

    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...
  23. 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...
  24. 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...
  25. Replies
    2
    Views
    197

    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...
  26. Replies
    3
    Views
    199

    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...
  27. Replies
    3
    Views
    199

    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...
  28. Replies
    14
    Views
    337

    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...
  29. The basic steps are: Install with instructions...

    The basic steps are:
    Install with instructions here
    https://www.pjrc.com/teensy/td_download.html

    Have a look at
    https://www.pjrc.com/teensy/td_keyboard.html
    and...
  30. Several ways to do it, none of them trivial. ...

    Several ways to do it, none of them trivial.

    By personal preference I prefer to generate pattern on the fly using Perlin noise and similar effects but this requires a fair bit of knowledge about...
  31. Replies
    5
    Views
    306

    Anything that leaves air inside WILL pull...

    Anything that leaves air inside WILL pull moisture in during temperature cycling. Basic principles are:
    Conformal coatings of various sorts work well, but are tricky with buttons and plugs ...
  32. Replies
    10
    Views
    413

    Re programing if sticking to the supported micro...

    Re programing if sticking to the supported micro controllers, common method is to do early versions with bootloaders from PJRC and once you are sure your firmware is solid delete the bootloader from...
  33. Designing your circuit to approximate the 1M...

    Designing your circuit to approximate the 1M input impeadance will improve the precision of your measurements but unless you are really interested in the exact levels it is probably simpler to do a...
  34. Hmm, your matrix processing is going to be...

    Hmm, your matrix processing is going to be interesting. If I am understanding what you are doing that would be defined as an array of 3*2500*uin32_t which is 30k of 256k RAM. Depending on the logic...
  35. The component getting hot is probably the poly...

    The component getting hot is probably the poly fuse (top left corner https://www.pjrc.com/teensy/schematic.html )which means something is drawing excess current. Reasons for that are generally:
    ...
  36. Replies
    5
    Views
    454

    If you can, suggest changing your title to...

    If you can, suggest changing your title to specifically refer to the bat detector code, and probably post to that thread.
  37. The sensor data rate should be achievable,...

    The sensor data rate should be achievable, probably even via polling. Driving the amp may get tricky, 100khz square waves are certainly possible, doing it as a since wave is more problematic, depends...
  38. Replies
    5
    Views
    234

    As long as you have told Arduino that you want...

    As long as you have told Arduino that you want the USB all modes software loaded your code will have access to both USB keyboard, USB serial and hardware serial data to do whatever you want to code...
  39. Replies
    5
    Views
    234

    Good question! The Teensy supports a HID data...

    Good question! The Teensy supports a HID data transfer type to allow Arduino serial in all modes, but only shows up as USB serial to the OS when you have the relevant device type selected. So you...
  40. Replies
    5
    Views
    234

    If you already have serial data that the Condor...

    If you already have serial data that the Condor Software understands see file->examples->teensy->usb serial->USBtoSerial

    Depending on how Condor and your source device works you may need to add...
  41. Some checks of your level conversion process...

    Some checks of your level conversion process might be useful, point the standard blink at the pin (7?) and confirm the input to the pixels swings 0 to 5V. Other check is to measure the 5V power...
  42. Replies
    6
    Views
    246

    It may be worth looking at some of what Martin of...

    It may be worth looking at some of what Martin of Wintergarten is up to, especially the discussion around latency and timing here https://www.youtube.com/watch?v=dNv8AeZfuUc

    While your methods of...
  43. Replies
    6
    Views
    246

    The electronics part is not hugely complex since...

    The electronics part is not hugely complex since there are a number of midi libraries around for either classic serial or USB midi

    The tricky part is getting the forces needed to play the notes...
  44. Re attuation boring method is to just adjust...

    Re attuation boring method is to just adjust volume down below 1V peak to peak and leave it there. My main concern is that headset out these days can be powerful enough to run small speakers wound...
  45. Powering from a USB battery bank will actually...

    Powering from a USB battery bank will actually simplfiy things since it can float. Switching noise can be a potential problem but this is not intended to be a data collection device or anything where...
  46. Replies
    1
    Views
    229

    The pinout is intended to match audio cables...

    The pinout is intended to match audio cables intended for a PC motherboard, but I think you have the pinout right, though check your actual jacks since if done as per your photos I think you would...
  47. Headphone to line in can work, but you need to be...

    Headphone to line in can work, but you need to be careful with the maximum volume and what the earth potential is. Normal PC design puts the shield at earth potential but not impossible to find...
  48. There are a bunch of potential issues as you note...

    There are a bunch of potential issues as you note having LEDs doing PWM on the same system as audio. One useful element here is that both Teensies are actually running at 3.3V from internal...
  49. Replies
    2
    Views
    202

    You possibly need to post a photo og the button...

    You possibly need to post a photo og the button setup but from the description you are never getting the switch contacts closed/short. A suggested step is to remove the button and replace it with a...
  50. As stated above, you have not provided enough...

    As stated above, you have not provided enough information on what you actually want to do to provide meaningful advice since that depends on mounting/fitting/feel decisions. Quality also matters and...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4