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

Search:

Type: Posts; User: Demolishun

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. You might want to delete your email. Bots will...

    You might want to delete your email. Bots will grab it and send you spam.
  2. Replies
    11
    Views
    672

    Schematic Capture and PCB Design

    I tried searching the forums for Schematic Capture. All I found was a reference to some cloud based stuff. I don't want that.

    I am looking for a simple and cheap (less than $500, $500 is still...
  3. Replies
    2
    Views
    296

    And this whole time I thought PJRC was Santa...

    And this whole time I thought PJRC was Santa Claus and the boards were built by elves at the North Pole.
  4. What awg of wire is feeding the relay board? It...

    What awg of wire is feeding the relay board? It could be if the wire is small enough and long enough it cannot handle the surge. Using a cap at the device will help. Not sure what size of wire you...
  5. Replies
    12
    Views
    636

    I will be going down this route soon. Thanks for...

    I will be going down this route soon. Thanks for the warning. I plan on doing BT audio via I2S to the Teensy 4. I really am starting to dig wireless audio.
  6. Okay, I see you are checking for a range. I was...

    Okay, I see you are checking for a range. I was curious if the fully on PPM signal was moving around enough to cause it to move into and out of detection. That doesn't sound like the case.
    Do...
  7. Isn't 2mS on the upper end of a RC PPM signal? ...

    Isn't 2mS on the upper end of a RC PPM signal? Have you tried 1.75mS or 1.5mS to check if the signal is on the edge? Can you adjust the PPM signal trim to more than 2mS? This would ensure it is...
  8. Replies
    6
    Views
    1,189

    To add to this discussion. Is the bit resolution...

    To add to this discussion. Is the bit resolution 16 bit for all frequencies on the Teensy 4? I have looked through the chip specs and cannot tell definitively, but it looks like it always has 16...
  9. Replies
    106
    Views
    160,225

    Yes it has the card and nice little anti static...

    Yes it has the card and nice little anti static bag.


    Okay, good to know.

    Love this board so far! Nice upgrade!
  10. Replies
    106
    Views
    160,225

    I bought a Teensy 4.0 by the seller PJRC. I...

    I bought a Teensy 4.0 by the seller PJRC. I didn't even think about if it was legit or not. It looks like it was fulfilled by "Sports Internet Solutions LLC" even though the listing says "by PJRC"....
  11. Thread: DMA Modes

    by Demolishun
    Replies
    24
    Views
    8,227

    Are you using the DMA library? Because there...

    Are you using the DMA library? Because there is/was a bug in the reference inside the library when sending the ADC0_RA reference to it:...
  12. Replies
    36
    Views
    11,832

    On what side of the chip are we talking about? ...

    On what side of the chip are we talking about? The computer side or the Teensy side?

    If changes are made on the Teensy side that break backwards compatibility with older USB that is just stupid. ...
  13. If you are slowing things down for power...

    If you are slowing things down for power consumption you can do what a lot of low energy applications do:

    Turn off all peripherals and assign wakup interrupts to specific peripherals.
    Go...
  14. Replies
    6
    Views
    2,041

    How about feeding the power supplies via diodes...

    How about feeding the power supplies via diodes into something like this:
    http://www.ti.com/lit/an/slyt256/slyt256.pdf

    That will allow your battery voltage to drop really low, and give your high...
  15. Replies
    549
    Views
    239,750

    I am not picky. So just "PLEASE!!!". ;)

    I am not picky. So just "PLEASE!!!".

    ;)
  16. Hey Paul, I think I am starting to understand...

    Hey Paul,
    I think I am starting to understand your code raw hid implementation. I think the device I am trying to emulate has multiple endpoints. So in order to see a response from the rawhid I do...
  17. I did try before. Here is what it puts out...

    I did try before.

    Here is what it puts out when I just ran that:


    C:\arduino-1.0.5-r2 1.20 rc2\hardware\tools\arm-none-eabi\bin\arm-none-eabi-g++ -c -g -Os -Wall -fno-exceptions...
  18. I am soooooo close to what I want. I have...

    I am soooooo close to what I want.

    I have added a new entry for the raw HID device into the menu of the IDE for Teensy:


    teensy31.menu.usb.rawhidrt.name=Raw HID (RT)...
  19. Replies
    7
    Views
    2,246

    Awesome, thanks for the info.

    Awesome, thanks for the info.
  20. Replies
    7
    Views
    2,246

    Wow! Some really great options here. ...

    Wow! Some really great options here.

    @onehorse,
    Those EEPROMs are very nice!

    @Paul,
    I also like the idea of being able to use an SD card so that is a great surprise. My data will probably...
  21. Replies
    18
    Views
    4,881

    @mjhilger, I used to program PICs at an...

    @mjhilger,
    I used to program PICs at an assembler level so I sort of remember some of what you are asking about. What I have found with the Teensy 3.1 is that I can read through Paul's libraries...
  22. Replies
    21
    Views
    10,622

    @Paul, If you do decide to add silkscreen to the...

    @Paul,
    If you do decide to add silkscreen to the product I would use a product code with possibly a batch number/date. This could only help you in the future as you can identify when and where it...
  23. Replies
    21
    Views
    10,622

    If these are used in a class they should be...

    If these are used in a class they should be labeled according to the needs of the teacher, by the teacher. I would in addition make sure they are stored in static bags (original or new ones). ...
  24. @kig, I was wondering if some virtual port stuff...

    @kig,
    I was wondering if some virtual port stuff would work as well. I have a program called com0com (Windows) that will allow connections to a port and creates its own port. I think it is also...
  25. I just created one yesterday and posted to the...

    I just created one yesterday and posted to the other thread:
    http://forum.pjrc.com/threads/27183-Arduino-IDE-1-0-5-r2-(windows)-serial-monitor-problem?p=59335&viewfull=1#post59335

    Maybe this will...
  26. Here is a Python 2.7 program that should do the...

    Here is a Python 2.7 program that should do the trick:


    import time

    from multiprocessing import Process, Queue

    def serialProcess(oQueue):
    import serial
    #import time
  27. You could write a fault tolerant serial console...

    You could write a fault tolerant serial console in Windows. It would just need to be written to expect an exception when the link fails. Doing one in Python would be simple. That is, of course, if...
  28. Replies
    3
    Views
    3,336

    Run the pots from 3.3V pin available on the...

    Run the pots from 3.3V pin available on the Teensy. If they are just input there is no reason to run them from 5V.
  29. Replies
    3
    Views
    3,123

    One (1) clock cycle at 96MHz is 10 nano seconds. ...

    One (1) clock cycle at 96MHz is 10 nano seconds. I don't know how long an instruction takes, but it is probably at least one clock cycle. So a NOP (if that instruction exists) could do that. This...
  30. Replies
    15
    Views
    4,069

    I would think this would depend upon the actual...

    I would think this would depend upon the actual application rather than the complexity of the added circuitry.

    @sermad, What exactly is the "application"?

    On a wild hunch I searched for reading...
  31. Replies
    15
    Views
    4,069

    When I read this I thought it would be good to...

    When I read this I thought it would be good to use a transistor noise generator:
    http://holdenc.altervista.org/avalanche/
    http://imotp.sourceforge.net/noise.pdf...
  32. Actually I saw an article somewhere on doing this...

    Actually I saw an article somewhere on doing this with DMA transfers. It talked about creating really fast clock outputs by setting up continuous DMA transfers to a port. You will have to search,...
  33. Replies
    14
    Views
    6,910

    Or use a MOSFET driver like the TC442x series. I...

    Or use a MOSFET driver like the TC442x series. I am actually using these (TC4425) 3A MOSFET drivers with the Teensy 3.1 and a PWM signal on a small inductive load. If you need more than 3A you can...
  34. Replies
    14
    Views
    6,910

    Why would you need RMS for DC? if you know the...

    Why would you need RMS for DC? if you know the PWM value 0 to 255 and the voltage potential you can calculate the approximate voltage. No need to measure anything.

    So if your mosfet is...
  35. Replies
    3
    Views
    3,713

    I am successfully using analogWriteFrequency on...

    I am successfully using analogWriteFrequency on pins 3 and 5 to have separate frequency outputs. I know if you call the function with the same value more than once it does some wonky things. So in...
  36. I did a quick search about malloc for MCUs and...

    I did a quick search about malloc for MCUs and found this:
    https://forum.sparkfun.com/viewtopic.php?f=4&t=37114
    Check out the link that is referenced inside that link.

    I also found this:...
  37. Then modify the code to read 2 analog inputs at...

    Then modify the code to read 2 analog inputs at once:


    //make val1 and val2 global outside of all the functions
    int val1;
    int val2;
    ...
    // inside the readMux function
    val1 =...
  38. Replies
    14
    Views
    3,262

    Ooh it is another ARM chip:...

    Ooh it is another ARM chip: http://www.keil.com/dd/chip/6142.htm

    This is cool. Similar to the Uno R3 with its serial Atmega interface.

    Thanks for the clarification.
  39. Replies
    14
    Views
    3,262

    I am confused by this thread. Does the...

    I am confused by this thread.

    Does the MK20DX256VLH7 require a boot loader from PJRC or not? Or did you buy one from mouser with the PJRC bootloader on it? I don't understand that part of the...
  40. Replies
    20
    Views
    8,603

    These will NOT return a reference to the...

    These will NOT return a reference to the underlying code:


    txChannel.destination((volatile uint8_t&)SPI0_PUSHR);
    rxChannel.source((volatile uint8_t&)SPI0_POPR);


    SPIO_PUSHR and SPIO_POPR...
  41. Thread: DMA Modes

    by Demolishun
    Replies
    24
    Views
    8,227

    Okay, I have updated the code: #include...

    Okay, I have updated the code:


    #include <DMAChannel.h>

    DMAChannel dmaChan0;
    DMAChannel dmaChan1;

    #define ABUFFERLEN 64
    DMAMEM static uint16_t analogChan0Buffer[ABUFFERLEN];
  42. Thread: DMA Modes

    by Demolishun
    Replies
    24
    Views
    8,227

    It all came down to pointer issues with ADC0_RA:...

    It all came down to pointer issues with ADC0_RA:


    /*
    Testing DMA functions of Teensy 1.20 rc2
    */

    #include <DMAChannel.h>

    DMAChannel dmaChan0;
  43. Thread: DMA Modes

    by Demolishun
    Replies
    24
    Views
    8,227

    Yep, that is one example I am looking at. You...

    Yep, that is one example I am looking at. You helped me a lot. When I get the everything working I will post the whole thing as an example with comments.
  44. Thread: DMA Modes

    by Demolishun
    Replies
    24
    Views
    8,227

    I got DMAMUX_SOURCE_ADC0 to work by removing the...

    I got DMAMUX_SOURCE_ADC0 to work by removing the averaging settings. Now it still does not seem to capture any valid analog data it is triggering the DMA transfer. So something with the analog is...
  45. Thread: DMA Modes

    by Demolishun
    Replies
    24
    Views
    8,227

    1. Okay, I see that it is set for that in the...

    1. Okay, I see that it is set for that in the function itself.
    2. Well, when that was set to the ABUFFERLEN it would only fill half the buffer. When I set it to twice it filled it up completely. ...
  46. Thread: DMA Modes

    by Demolishun
    Replies
    24
    Views
    8,227

    ***bump*** I had it "setup" the AD to channel by...

    ***bump***
    I had it "setup" the AD to channel by doing an analogRead() to at least get the input setup and fed it into the array as the default data.
    That data is getting overwritten by 0's so I...
  47. @zalterman, For the OP of this thread. ALL...

    @zalterman,
    For the OP of this thread.

    ALL inputs to CMOS devices MUST have an input applied or you will get UNDEFINED operation of the device. I see on the breadboard only some of the inputs...
  48. Replies
    16
    Views
    5,249

    Sorry Michael, I was thinking of this chip:...

    Sorry Michael,
    I was thinking of this chip: 74165 when i wrote that. I meant to go back and compare to see if it was indeed a shift register. I think though, that if the application is starving...
  49. Replies
    16
    Views
    5,249

    Internally 8-bit NES controllers user 4021 CMOS...

    Internally 8-bit NES controllers user 4021 CMOS shift registers. The Super NES used the equivalent of 2 in series for 16 bits. You could put as many as you want in a string. It requires 3 lines:...
  50. Thread: DMA Modes

    by Demolishun
    Replies
    24
    Views
    8,227

    I "think" the DMA is working, but I am getting...

    I "think" the DMA is working, but I am getting all zeros in the analog data. So I do not think I am getting any data for some reason.



    #include <DMAChannel.h>

    DMAChannel dmaChan0;

    const...
Results 1 to 50 of 70
Page 1 of 2 1 2