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

Search:

Type: Posts; User: Garug

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. For controlling analogue B4 lense 3 DAC's would...

    For controlling analogue B4 lense 3 DAC's would be great (focus, zoom, aperture) , but filtered PWM works too. Additional electronics is needed anyway as the control voltage is up to 7.5V
  2. Replies
    46
    Views
    25,749

    ;) This project is modernising and old lens...

    ;) This project is modernising and old lens control.
  3. Replies
    46
    Views
    25,749

    The 10nF capacitors cleaned nicely some of the...

    The 10nF capacitors cleaned nicely some of the noise, https://vimeo.com/292309614 , but the main problem remains. I think the problem must be on the potentiometers, they are old. this is a probably...
  4. Replies
    46
    Views
    25,749

    This is how it looks like....

    This is how it looks like. https://vimeo.com/292294446

    This is without filtering the raw readings, but just realised I am reading around 10 kHz and printing 100 Hz, so it could have something to...
  5. Replies
    46
    Views
    25,749

    Yes I think I need to experiment something like...

    Yes I think I need to experiment something like that next. I wonder though why is the problem worst at about center position of the potentiometer. there is certain positions where the noice is really...
  6. Replies
    46
    Views
    25,749

    I am getting much more noice at about the center...

    I am getting much more noice at about the center area, i.e at 14bit around 8000, at 12bit at around 2000. Why is this?

    The reference voltage is 3.3 from the board (teensy 3.2) connected to 10 Kohm...
  7. the PWMServo seems to give a very gorse control....

    the PWMServo seems to give a very gorse control. Servo-tester I use seems to give much better control.

    I have modified a servo, disconnected the potentiometer, and controlling the servo speed....
  8. Replies
    17
    Views
    6,950

    Thanks Theremingenieur and Paul, It looks like as...

    Thanks Theremingenieur and Paul, It looks like as it should be fine, especially as I noted the actual signal we will read will remain 350 ns down.
  9. Replies
    17
    Views
    6,950

    Thanks for the fast reply. It is just that...

    Thanks for the fast reply.

    It is just that need to build some HW to test, SMD components... so asking.

    But so if I understand correctly there is a trigger that detects the raising or falling...
  10. Replies
    17
    Views
    6,950

    How fast signals can the interrupts detect. I...

    How fast signals can the interrupts detect. I would need to detect a signal that goes down for 150 ns. (This happens 24 to 60 times in a second.)
  11. Replies
    28
    Views
    5,563

    Thanks KurtE, I finally found it as mentioned...

    Thanks KurtE, I finally found it as mentioned above. I never looked under Java, do not understand why it is there? anyway problem solved.
  12. Replies
    28
    Views
    5,563

    Finally I found it. On Mac the files that need to...

    Finally I found it. On Mac the files that need to be edited are not to be found with the find functionality, they are located under the Arduino icon, right click and select 'Show package content'
    ...
  13. Replies
    28
    Views
    5,563

    But where is this stuff I need to modify? where...

    But where is this stuff I need to modify? where is it located on Mac?

    Buting the hardwareserial.h to arduino/libraries does not work and I can not find it anywhere. I just installed the 1.8.3 and...
  14. Replies
    13
    Views
    6,390

    I am really suffering here, spend last 3 hours...

    I am really suffering here, spend last 3 hours trying to figure out where are the files that can be edited. I want to activate 9bit for serial for teensy 3.6. Editing HardwareSerial.h does not work....
  15. Replies
    28
    Views
    5,563

    Does the Teensy 3.6 support 9bits serial? how?

    Does the Teensy 3.6 support 9bits serial? how?
  16. Replies
    28
    Views
    5,563

    I just think the HardwareSerial does not get used...

    I just think the HardwareSerial does not get used because even when I comment out SERIAL_8N1 it compiles ok with Serial1.begin(26315, SERIAL_8N1);

    #define SERIAL_7O1 0x03
    //#define SERIAL_8N1...
  17. Replies
    28
    Views
    5,563

    Here is the code, The code works if I set...

    Here is the code, The code works if I set SERIAL_8N1 (but communication does not) with SERIAL_9N1 I get the above error



    void setup() {
    Serial1.begin(26315, SERIAL_9N1);
    ...
  18. Replies
    28
    Views
    5,563

    No matter what I do, I only get Arduino: 1.8.3...

    No matter what I do, I only get

    Arduino: 1.8.3 (Mac OS X), TD: 1.37, Board: "Teensy 3.6, Serial, 180 MHz, Faster, US English"

    Build options changed, rebuilding all
    HoverBoard_Control: In...
  19. Replies
    28
    Views
    5,563

    This is what I have in HardwareSerial.h //...

    This is what I have in HardwareSerial.h

    // uncomment to enable 9 bit formats
    #define SERIAL_9BIT_SUPPORT

    it is saved and I have tested this is the one that show on Arduino include library, so...
  20. Replies
    28
    Views
    5,563

    Thanks. My problem is that editing...

    Thanks. My problem is that editing HardwareSerial.h does nothing. and it seems the HardwareSerial.h I am editing in fact is not in use, and I have no idea where to find the HardwareSerial.h that is...
  21. Replies
    28
    Views
    5,563

    I am so confused. How do I enable SERIAL_9N1 with...

    I am so confused. How do I enable SERIAL_9N1 with Teensy 3.6 Editing the HardwareSerial.h does nothing. where is the file I need to edit located? It is not the one I have in Libraries, it does...
  22. Replies
    118
    Views
    60,164

    Could you point some directions how to get the...

    Could you point some directions how to get the USB mouse working. I have currently PS2 mouse conected and can emulate Mouse via the USB connection towards computer. What I really would need is USB...
  23. Replies
    118
    Views
    60,164

    Its been quiet here, what is the current status...

    Its been quiet here, what is the current status of Teensy 3.2, 3.5, 3.6 USB host? is there any libraries to get a mouse working?
  24. Replies
    118
    Views
    60,164

    @xxxajk , did you have success with the USB mouse?

    @xxxajk , did you have success with the USB mouse?
  25. Replies
    118
    Views
    60,164

    That would be awesome, I would be happy to test...

    That would be awesome, I would be happy to test as soon as available.
  26. Replies
    118
    Views
    60,164

    I am looking a way to connect USB mouse (non PS2)...

    I am looking a way to connect USB mouse (non PS2) to Teensy 3.2, 3.5 or 3.6 is there already a way to do that?
  27. Replies
    30
    Views
    17,731

    Paul, would you please clear this out. What is...

    Paul, would you please clear this out. What is free to be used with the Teensy boards (I am thinking of using 3.2 and 3.6, maybe 3.5), what is contaminated by the GNU? Even some of the core libraries...
  28. Replies
    30
    Views
    17,731

    Thanks Kurt, I just can not find the files on my...

    Thanks Kurt, I just can not find the files on my Mac, but looking the files in Github, it looks pretty bad for SPI (if I was looking right libraries), but maybe ok for Serial, I2C_t3 and CAN. Is...
  29. Replies
    30
    Views
    17,731

    Probably yes, but I have no Idea where to find...

    Probably yes, but I have no Idea where to find the Teensy 3.5 and 3.6 used SPI, Serial and I2C libraries and if there is other code I should be worried about.

    And further more it should not be...
  30. Replies
    30
    Views
    17,731

    Yes, But it would be good to get an overall...

    Yes, But it would be good to get an overall understanding of the situation. I am most concerned of Serial, SPI and I2C, those I need.

    (I have not looked to the Teensy 3.5 and 3.6 libraries yet...
  31. Replies
    30
    Views
    17,731

    Thanks Michael. That is what I am afraid of, so...

    Thanks Michael. That is what I am afraid of, so it would not be usable for me, unless I dedicate one board just for SD...

    But I am a bit confused the SD_t3.h seems not to be that limited

    /* Why...
  32. Replies
    30
    Views
    17,731

    is it/will it/could it be possible to load...

    is it/will it/could it be possible to load updated code using the SD card?
  33. Replies
    30
    Views
    17,731

    The SD library seems to be GNU General Public...

    The SD library seems to be GNU General Public License V3, but what does that mean, yeah, the exact legal definition I can easily find, but not as easily to understand.

    So can I use the SD library...
  34. Replies
    12
    Views
    7,921

    Thanks, I got it working as edited above, and...

    Thanks, I got it working as edited above, and good to know in future where to look for latest version.
  35. Replies
    12
    Views
    7,921

    Where do I find that, I used the link you...

    Where do I find that, I used the link you provided above (I think, will try again. I use MAC)

    Edit: Installed again and now it seems to work, Thanks. Not sure where I got the Beta1 version...
  36. Replies
    12
    Views
    7,921

    So I assume it is these examples...

    So I assume it is these examples https://github.com/PaulStoffregen/SD/blob/master/examples/CardInfo/CardInfo.ino

    I do not find SD.begin() on it but did try const int chipSelect = BUILTIN_SDCARD;...
  37. Replies
    12
    Views
    7,921

    Is there any example/instructions how to use it?...

    Is there any example/instructions how to use it? Where? I am testing now with Teensy 3.6 Arduino 1.6.12 and the linked Teensyuino, but do not find examples that would work. Create file and write...
  38. Replies
    14
    Views
    3,861

    Thanks KurtE, It was many things related also to...

    Thanks KurtE, It was many things related also to the other timers I had. First I thought elapseMillis was working perfectly, but turned out it had also the same problem, just not as often. I an not...
  39. Replies
    14
    Views
    3,861

    I have some problems with elapseMicros and teensy...

    I have some problems with elapseMicros and teensy 3.2. It is a video frame simulator, so relatively fast USB etc. I am using 3 elapseMicros timer, is there some limit how many can be used?

    if I...
  40. Replies
    7
    Views
    3,095

    Is there any solution to remotely update the...

    Is there any solution to remotely update the Teensy 3.2 FW? I have an application where Teensy will be high up, difficult to reach and long USB cable would be too visible (and + 10 meters). Testing...
  41. Thread: Teensy 3.2 SBUS

    by Garug
    Replies
    14
    Views
    4,415

    There is no flow control with SBUS, no other...

    There is no flow control with SBUS, no other choice than send what is required.
  42. Thread: Teensy 3.2 SBUS

    by Garug
    Replies
    14
    Views
    4,415

    Yes, for receiving 8E1 is working, for some...

    Yes, for receiving 8E1 is working, for some devices 8E1 is working also on sending, but not all. Is there any way to set the Teensy 3.2 to send 8E2? On the above linked 47.3.3 I do not directly find...
  43. Thread: Teensy 3.2 SBUS

    by Garug
    Replies
    14
    Views
    4,415

    SBUS is just serial data send as 1 startbit + 8...

    SBUS is just serial data send as 1 startbit + 8 databit + 1 paritybit + 2 stopbit (8E2), baudrate = 100'000 bit/s 25 bytes (it is inverted levels). the SBUS data wrapping is build inside those bytes...
  44. Thread: Teensy 3.2 SBUS

    by Garug
    Replies
    14
    Views
    4,415

    The S-BUS protocol The protocol is 25 Byte...

    The S-BUS protocol

    The protocol is 25 Byte long and is send every 14ms (analog mode) or 7ms (highspeed mode).
    One Byte = 1 startbit + 8 databit + 1 paritybit + 2 stopbit (8E2), baudrate = 100'000...
  45. Thread: Teensy 3.2 SBUS

    by Garug
    Replies
    14
    Views
    4,415

    My idea is to generate the complete bit steam,...

    My idea is to generate the complete bit steam, including start/stop bits parity etc. It is 25 bytes each with additional bits 12 bits. so should be 300 bits. Just would need a way to send that...
  46. Thread: Teensy 3.2 SBUS

    by Garug
    Replies
    14
    Views
    4,415

    Teensy 3.2 SBUS

    I have been using Teensy 3. for sending SBUS and it has worked fine with 8E1 inverted 100000 baud, though the specification says 8E2.

    However now I have found HW that does not accept the 8E1, and...
  47. Replies
    89
    Views
    81,195

    Did not get it working on pins 8 and 7 with...

    Did not get it working on pins 8 and 7 with internal pullups. Works now fine with the further simplified code below on inputs 3 and 4.



    //Simplified for one encoder connected to pins 3 and 4. ...
  48. Replies
    89
    Views
    81,195

    Interesting, just taking into use a rotary...

    Interesting, just taking into use a rotary encoder, it is just a hand knob so no fast pulses, was thinking writing my own code, simply polling the lines, but this looks interesting, thanks for...
  49. Replies
    11
    Views
    10,931

    Thanks, I had some problems getting it working,...

    Thanks, I had some problems getting it working, because of some mine mistakes before finding the right example. Now running at 96 MHz, Do you mean it would be better to run 48 MHz?
  50. Replies
    11
    Views
    10,931

    Hi, I would simply like to send one PPM, 8 or...

    Hi,

    I would simply like to send one PPM, 8 or 12 channels at best possible resolution to transmitters trainer port. I will use also SPI for reading encoders but nothing much else.

    What would be...
Results 1 to 50 of 73
Page 1 of 2 1 2