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

Search:

Type: Posts; User: Xenoamor

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,916

    Maybe something like this..?...

    Maybe something like this..?
    http://www.instructables.com/id/how-to-defuse-an-LED/
  2. Found something quite interesting...

    Found something quite interesting. Not very useful for this but still
  3. Replies
    6
    Views
    1,402

    This got me thinking about how delete[] knows the...

    This got me thinking about how delete[] knows the size of the array.
    Turns out there's a good discussion on it over here

    The two methods commonly done by compilers are:
    over-allocation...
  4. Replies
    6
    Views
    1,402

    If the array is fixed you want to define it...

    If the array is fixed you want to define it statically. Then keep track of how much it actually contains seperately


    int myArray[MAXSIZE]
    int numOfDataPoints = 0;

    // Add data point to array...
  5. Pictures of the board would be a good start. ...

    Pictures of the board would be a good start.

    Is this part of a keyboard? What is this 'assembly' part I can't find a reference to it

    If the device is an I2C slave things will be more tricky if...
  6. Replies
    15
    Views
    4,360

    Have a look at using wavelet transforms for...

    Have a look at using wavelet transforms for reducing noise. I've had good results with this in the past

    Right leg drive systems can help to increase the CMRR
  7. Hmmm, perhaps just rewrite the init and ledon...

    Hmmm, perhaps just rewrite the init and ledon commands from scratch. The datasheet seems pretty clear
  8. Replace all instances of word with uint16_t

    Replace all instances of word with uint16_t
  9. Replies
    2
    Views
    1,369

    Yep, either that or modify the source code

    Yep, either that or modify the source code
  10. Pin 8 is the ICP1 (Input Capture Pin 1). As there...

    Pin 8 is the ICP1 (Input Capture Pin 1). As there is only one of these you can not switch the pin

    Unfortunately this is also the RX pin which is probably needed for your TFT LCD.

    Can you post...
  11. This looks really dodgy...

    This looks really dodgy

    See this for why. The Teensy is almost certainly 32bits for a word and in this case it should be 16bits
  12. Replies
    5
    Views
    1,728

    You can always use a zener diode to protect from...

    You can always use a zener diode to protect from overvoltage
  13. Replies
    49
    Views
    11,221

    Did you try my example code? You can't transfer...

    Did you try my example code?
    You can't transfer more than one byte at a time. You can do multi-reading of bytes sure but you still have to have an acknowledgement between bytes. See Page 36
  14. Replies
    49
    Views
    11,221

    See the following explanation: Actually...

    See the following explanation:



    Actually reading #31 I see this may not be true. The device does support multi-reading as described in Page 36. This does state however:


    Because of this we...
  15. Replies
    49
    Views
    11,221

    You can't typecast a signed 8 bit value to a...

    You can't typecast a signed 8 bit value to a signed 16 bit value.
    Well you can but 0xFF(-1) will become 0x00FF(127). Assuming Char is signed in this case which may not be true

    If you're after a...
  16. Replies
    49
    Views
    11,221

    Shouldn't it be: out3 = out1 | (out2

    Shouldn't it be:
    out3 = out1 | (out2 << 8);
  17. Oh wow, thanks for the pointer to that library....

    Oh wow, thanks for the pointer to that library.
    His explanation of Kalman Filters are really rather good

    This should give you a serious hand in understanding it. I wish I found this sooner when I...
  18. ... I'm really struggling to see what you're...

    ... I'm really struggling to see what you're doing here.

    Don't you just assign a function to a special area in the linker. Then in the linker you mark that area as OVERLAY? Such as in:...
  19. Looks like a very cool project, congratulations...

    Looks like a very cool project, congratulations on the 100A discharge!

    The kalman filter for the propsheild is (I imagine) deeply tied into the use of Quaternions and you'll find most of the code...
  20. Replies
    17
    Views
    3,475

    ... woops, yes you are quite right! I was...

    ... woops, yes you are quite right! I was thinking of data plotting for some reason

    More than possible if your ADC interrupt is triggering fast enough, try the double buffered version

    Yeah you...
  21. Replies
    49
    Views
    11,221

    Isolate the CLK with a GND line. MOSI and MISO...

    Isolate the CLK with a GND line. MOSI and MISO can go together as they probably won't be transmitting at the same time. SS can go wherever unless it toggles a lot which it normally doesn't.
    Ground...
  22. Replies
    49
    Views
    11,221

    If you wish to use SPI for this either reduce...

    If you wish to use SPI for this either reduce it's speed or use shielded CAT5 cables. I'd recommend doing both

    At 3 feet you probably want to start considering a different communication protocol
    ...
  23. Replies
    25
    Views
    7,428

    Surely with a board this size you should increase...

    Surely with a board this size you should increase the pin count right?
    Multiple PCI-e slots in parallel would be good with tristate buffers

    Actually I take that back, I see what you're going for...
  24. Ouch, looks like a painful task. Just use this:...

    Ouch, looks like a painful task.
    Just use this:
    https://www.cirrus.com/en/pubs/proDatasheet/CS8416_F3.pdf
    Or https://www.cirrus.com/en/pubs/proDatasheet/WM8804_v4.5.pdf
  25. Beep boop...

    Beep boop
    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/17302.html

    Also you'll want to read this for the linker: ftp://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_22.html
  26. Replies
    7
    Views
    4,734

    I believe the Teensy LC did. Why don't you just...

    I believe the Teensy LC did. Why don't you just use a voltage divider to bring your battery down to 1.2v?
  27. Replies
    27
    Views
    4,203

    Desolder the bootloader chip.?

    Desolder the bootloader chip.?
  28. Replies
    7
    Views
    4,734

    The Teensy 3.0 only has a 3.3v and 1.2v...

    The Teensy 3.0 only has a 3.3v and 1.2v reference. Is this what you are using?
  29. Replies
    3
    Views
    980

    .. What simulator is this? Also the Teensy can...

    .. What simulator is this?

    Also the Teensy can only read 0->3.3V. You'll have to voltage divide
  30. Replies
    13
    Views
    2,769

    This is probably to limit the maximum current in...

    This is probably to limit the maximum current in case it's resistance drops to a low value

    I'm not surprised it floats though, I imagine it has some capacitance just looking at how it's constructed
  31. Replies
    13
    Views
    2,769

    Can you attach this to an oscilloscope and check...

    Can you attach this to an oscilloscope and check the signals are actually noisy?
  32. Replies
    19
    Views
    6,121

    I use Kinetis Design Studio which is free and...

    I use Kinetis Design Studio which is free and will allow you to develop and program any Kinetis device all from within one application. It certainly is not everyone's cup of tea though

    The hex...
  33. Replies
    17
    Views
    3,475

    I'm glad this has given you the speed upgrade you...

    I'm glad this has given you the speed upgrade you were looking for! It's always good to keep your time specific code at a high priority and to reduce it's processing time as much as possible

    It is...
  34. Replies
    19
    Views
    6,121

    Just stick the same microcontroller on the board...

    Just stick the same microcontroller on the board and bring out the JTAG pins. Then use a Segger J-Link to program the hex file in
  35. Replies
    19
    Views
    6,121

    Nordic Semiconductor do a range of SoC bluetooth...

    Nordic Semiconductor do a range of SoC bluetooth devices. Have a look at the RFduino for example
    The ESP8266 is the same sort of thing but WiFi. It can also be programmed from the Arduino enviroment...
  36. Replies
    17
    Views
    3,475

    Give this a try perhaps? /** * TeensyADC -...

    Give this a try perhaps?

    /**
    * TeensyADC - High speed audio sampling with the teeny 3.2 ARM board This code samples the ADC on the teensy3.2 at
    * the highest stable rate possible and dumps...
  37. Replies
    17
    Views
    3,475

    You should always shield analogue signal wires....

    You should always shield analogue signal wires. Also decouple the microphone VCC to GND at the device

    Buff0/1 should be volatile as your interrupt changes them

    If you want high speed I'd...
  38. Replies
    19
    Views
    6,121

    I use the Segger J-link EDU to program the MK20...

    I use the Segger J-link EDU to program the MK20 over JTAG.
    There are some serial bootloaders floating around that you can then use to program the device from the pc (or other device) from that stage...
  39. Replies
    13
    Views
    2,769

    1) Yes that's correct, although don't forget to...

    1) Yes that's correct, although don't forget to set the Teensy to use the 3.3V reference for the ADC. This is done with analogReference()

    2) No idea. I believe the ones on the top are 5V tolerant...
  40. 74LS241 All pins that output from the MKL02 to...

    74LS241
    All pins that output from the MKL02 to the MK20. All MKL02 input pins can be ignored.
    Check the SWD protocol for which pins are inputs/outputs

    Enable/disable the tristate buffer from a...
  41. The MKL02 is probably being parasitically...

    The MKL02 is probably being parasitically powered. Paul hasn't programmed in a disable pin for the MKL02 so your only option is to insert a tri-state buffer chip (hint hint for the upcoming board...
  42. You need a pull up resistor on the RESET line...

    You need a pull up resistor on the RESET line else when the device is powered down the K20 has a floating RESET line. This could cause it to reset continuously or not even start

    Also just for the...
  43. Replies
    24
    Views
    5,206

    This is impressive stuff! A little overkill,...

    This is impressive stuff!

    A little overkill, I've had these chips running on breakout boards but it's nice to see such an eye for detail
  44. I can't see anything wrong with your code. Here's...

    I can't see anything wrong with your code. Here's what I feel should work though:


    #include <Bounce.h>

    #define HWSERIAL Serial1

    Bounce button2 = Bounce(2, 10);
    Bounce button3 = Bounce(3,...
  45. Replies
    10
    Views
    3,236

    Do you have any Teensy 3.x that works?

    Do you have any Teensy 3.x that works?
  46. Can you post your latest version of your sender...

    Can you post your latest version of your sender sourcecode?
  47. Hey Ryan, use the code tags to wrap your code...

    Hey Ryan, use the code tags to wrap your code next time just to ease our eyes a little!

    Here's my envisioning of what you're trying to do. Where possible stick to good naming and indentation...
  48. Welcome to the forum Ryan, Everytime you call...

    Welcome to the forum Ryan,

    Everytime you call HWSERIAL.read() your program reads the oldest value recieved by HWSERIAL, returns it and then deletes it. This is the basic principle of FIFO (first...
  49. Replies
    10
    Views
    2,949

    Yep of course

    Yep of course
  50. U5 looks a little dodgy yeah. You have a lot of...

    U5 looks a little dodgy yeah. You have a lot of solder going on there so I'll assume you're using solder paste. You'll find it very hard to apply the right amount without a stencil

    What I find...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4