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

Search:

Type: Posts; User: stephanschulz

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,027

    The Websocket library looks very promising. I...

    The Websocket library looks very promising.
    I does mention it does not support "Sec-Websocket-Key".
    Do you know if it is possible to add this option? I want to use an existing Websocket sever on...
  2. Thanks Matthew for your advice via private...

    Thanks Matthew for your advice via private message.

    I think I got it working. I had to use SPI_MODE0 to make it work with teensy LC


    //Teensy LC
    //EMS22A encoder

    #include <Arduino.h>...
  3. Thanks for sharing. I will try this with the...

    Thanks for sharing.

    I will try this with the AMT233A-V 12 bit encoder.

    So far I have used tis code but have a feeling your might be more stable.
    ...
  4. Replies
    11
    Views
    2,383

    An update. The AMT233A-V did not work with the...

    An update.
    The AMT233A-V did not work with the mentioned code.
    But since the AMT233A-V use SSI for communication I was able to use this example to get good reading:...
  5. Replies
    11
    Views
    2,383

    Thanks again for your input. I will try a 2.0...

    Thanks again for your input.
    I will try a 2.0 teensy too.

    Interesting to learn you used the AMT233 which uses SSI communication while the AMT203 used SPI. Aren't they different things?

    I think...
  6. Replies
    11
    Views
    2,383

    yes I am using the Vin from the teensy to feed...

    yes I am using the Vin from the teensy to feed the encoder. Vin is 5 volts since it gets it from the USB power.
    I am using the standard SPI pins
    MISO 12
    MOSI 11
    CS 10
    SCK 13

    it's very...
  7. Replies
    11
    Views
    2,383

    Thanks for sharing. It's very much appreciated. ...

    Thanks for sharing. It's very much appreciated.

    Sorry to ask more question, but it's not yet working for me.

    Don't you have to do the 0xA5 and 0x10 stuff to query the sensor?

    I only get this...
  8. Replies
    11
    Views
    2,383

    Hey ChrisBaron. Do you mind posting your...

    Hey ChrisBaron.

    Do you mind posting your working code. I am working with the same encoder on a teensy 3.2 and have not had any luck.
    Thank you.
  9. Replies
    3
    Views
    373

    it looks like I am able to make this board:...

    it looks like I am able to make this board:
    https://www.seeedstudio.com/MAXREFDES117-HEART-RATE-AND-PULSE-OXIMETRY-MONITOR-p-2762.html

    work with this library:...
  10. Replies
    3
    Views
    373

    Hello @MechanicalLumber I am also hoping to...

    Hello @MechanicalLumber

    I am also hoping to use the MAXREFDES117 to read heart rates.
    Did you by any chance Finnish your project and can share code on how to convert the data to BPMs?

    I...
  11. Replies
    9
    Views
    755

    Thank you both for your valuable input. For now...

    Thank you both for your valuable input.
    For now I will unplug the touch sensor and see if the teensy still overheats at points.
    But even went not doing touchRead() did it heat up to the point of...
  12. Replies
    9
    Views
    755

    I finally have physical access to the problem...

    I finally have physical access to the problem teensy / PCB setup.

    To re-cap.
    I am using PIN A8 as a capacity touch sensor. I have a 1.5 meter cable running to a 3D printed part that is covered in...
  13. Replies
    9
    Views
    755

    thanks pictographer. I thought I already took...

    thanks pictographer.

    I thought I already took care of most clamping via the constrain() function.
    But I will look it over again.

    In addition if move the touch code to processing to look for...
  14. Replies
    9
    Views
    755

    Thanks Paul for the quick reply. I certainly...

    Thanks Paul for the quick reply.

    I certainly agree that posting code help.
    Right now I only have the full project which has too much meat around the edges....
  15. Replies
    9
    Views
    755

    I learned that the max touchRead value returned...

    I learned that the max touchRead value returned is 65535.
    I am still not sure if it might also output -1 during an error; similar to the capacity touch library on the teensy site.

    I did apply...
  16. Replies
    9
    Views
    755

    teensy 3.2 touchRead() range ?

    Hello

    I have a few teensy 3.2 running in an exhibition and am using the touchRead to see if people are touching a pad.
    The touch pad is connected to pin A8 and it's readings are send out over...
  17. attachInterrupt CHANGE - how to check if the change was a HIGH or LOW

    I am using attachInterrupt on a teensy 3.2.
    Inside my interrupt function I need to know if the CHANGE was due to a pin going HIGH or LOW. Because inside the function then measure the time difference...
  18. seems like this example works. ...

    seems like this example works.
    http://forum.arduino.cc/index.php?topic=10680.msg83655#msg83655

    right now I am just shifting out the same 8 bit pattern to all 32 LED.
    next test is to see how to...
  19. how to get 32 bit shift register working - HV5523

    I am on a teensy 3.2 and want to use the open drain function of the HV5523 (by Microchip) shift register.

    The ShiftPWM library is for 8 bit data.

    But the HV5523 has 32 output pins which means...
  20. Replies
    4
    Views
    1,297

    could it be as simple as not picking 96 MHz but...

    could it be as simple as not picking 96 MHz but rather 72 MHz for the CPU speed?
  21. Replies
    4
    Views
    1,297

    many TLC5940

    Hi.

    I made a PCB layout with 12 daisy chained TLC5940 but all my different tests show that only 6 in a row work. As soon as i connect the other 6 i get random LED.

    I added the 0.1uF and a 2.2K...
  22. Replies
    12
    Views
    5,022

    for OSC we pretty much followed these...

    for OSC we pretty much followed these instructions: https://www.pjrc.com/store/wiz820_sd_adaptor.html

    the teensy reads the hall sensors directly via out custom BLDC driver. the driver has the 6...
  23. Replies
    12
    Views
    5,022

    Hello Gerrit. My communication will be with...

    Hello Gerrit.

    My communication will be with the teensy over OSC via the wiz ethernet shield.
    I can alter the speed but was hoping for constant control that allows for smooth - non-stutter motion....
  24. Replies
    12
    Views
    5,022

    Hello everyone. I just started reading about...

    Hello everyone.

    I just started reading about PID control.

    I am using a linear actuator with brushless DC motor that has 3 internal hall sensors through which i can count steps and ultimately...
  25. this works perfectly. thanks

    this works perfectly. thanks
  26. thanks a lot for this advice. i will try it...

    thanks a lot for this advice.
    i will try it tomorrow morning.
  27. i wonder if this has to do with the problem of...

    i wonder if this has to do with the problem of usb disconnect described here:

    https://forum.pjrc.com/threads/24304-_reboot_Teensyduino()-vs-_restart_Teensyduino()/page2?highlight=teensy+reboot
  28. USB teensy does not wake up OS X computer

    I am running a simple USB keyboard example connected to a Mac computer with a teensy LC
    The sketch works fine and characters are being typed.

    But when i put the computer to sleep and try to use...
  29. thank you for your efforts. it's much appreciated.

    thank you for your efforts. it's much appreciated.
  30. i followed your advice and connected an...

    i followed your advice and connected an oscilloscope to one of the 3 AC outputs which are controlled by the WS2811.
    the AC curve looks find to me, considering that i am not monitoring the zero...
  31. My design already has LEDs on the AC side of the...

    My design already has LEDs on the AC side of the optocouplers and TRIAC. See LED7.
    These LEDs do come on reliably and do not display the delay i see with the AC devices, even though they both get...
  32. Thanks for your input. I just tried adding a...

    Thanks for your input.
    I just tried adding a 0.1uF between the GND and VDD pins of the WS2811 IC but i still see the same delay.

    Here is a short video of two "RGB pixels" being turned on one...
  33. using OctoWS2811 to control custom AC Power circuit

    Hi Forum.

    I am using the OctoWs2811 library on a teensy 3.1 with the Octo Adaptor to control 8 line of each 36 x WS2811 RGB drivers. I do not have LED strips but rather use the RGB-Driver IC.
    I...
  34. Replies
    13
    Views
    7,085

    i see. so if i follow this post for the teensy...

    i see.

    so if i follow this post for the teensy 3.0
    https://forum.pjrc.com/threads/23950-Parallel-GPIO-on-Teensy-3-0?p=34158&viewfull=1#post34158
    Pin2 = D2 -> PortD

    ...
  35. Replies
    13
    Views
    7,085

    thanks for the reply. I saw the...

    thanks for the reply.
    I saw the NVIC_SET_PRIORITY but i did not know how to set it from within my sketch and how to set it for the right pin. in my case pin 2.

    right now i am doing this:


    ...
  36. Replies
    13
    Views
    7,085

    it would be great if we could set the...

    it would be great if we could set the attachInterrupt priority.

    As mentioned here my DMX signal on the RX pin is sometimes preventing an attachInterrupt read on Pin2.

    A solution would be much...
  37. How to set interrupt priority for DmxReceiver

    I am using DmxReceiver successfully for a 20 channel DMX dimmer.
    The same Teensy 3.1 is used to do AC Light Dimming but i see flicker once i a while in the lights.
    There is no flicker if i command...
  38. i too would be very interested in knowing if this...

    i too would be very interested in knowing if this can be made to work reliably.
    i was planning on using the new teensy LC with the LIDAR Lite sensor.

    i hope one of you finds a solution.
    good...
  39. Replies
    2
    Views
    899

    Teensy LC + CC3000 wifi modul ?

    here the LC is not yet listed:
    https://www.pjrc.com/store/adafruit_cc3000.html

    i want to make sure i can use the LC, since it can not supply or handle 5v signals.

    should i supply the cc3000...
  40. Replies
    23
    Views
    8,389

    we finished the project and these are my final...

    we finished the project and these are my final design files:

    https://github.com/antimodular/VCB-LED-Driver--LM3407-

    thanks to everyone for helping out.
  41. finally had some more time to work on this. i am...

    finally had some more time to work on this.
    i am now able to dim 22 channels.
    https://github.com/antimodular/multi-channel-ac-dimmer

    but since i am using just one timer that gets called every...
  42. this looks very interesting chris. do you think...

    this looks very interesting chris.
    do you think you could also upload an example sketch to github for dmx send, receive and RDM?

    thanks.
  43. this happened many time to me too (broken teensy...

    this happened many time to me too (broken teensy 3.1 + super hot), without being able to track down the exact problem source.

    in my setup i provide 5v to the VIN pin via this OKAMI dc/dc...
  44. Replies
    1
    Views
    1,080

    ok. just downloaded this newer version and it...

    ok.
    just downloaded this newer version and it seems to have removed the flicker.
    https://github.com/jimparis/DmxReceiver

    s.
  45. Replies
    1
    Views
    1,080

    DmxReceiver and Enttec ODE

    Hi.

    I my code has been successfully running using the great DmxReceiver.h library.
    I supplied a DMX signal with the Enttec USB PRO interface. The dmx controlled LEDs faded nice and steady.

    Now...
  46. Replies
    9
    Views
    1,871

    here is the code:...

    here is the code: https://github.com/antimodular/nkk_lcd_smartswitch
    which is used for this artwork: http://lozano-hemmer.com/nineteen_eighty-four.php

    if anyone wants to take it to the next...
  47. Replies
    9
    Views
    1,871

    true. budget is spent. everything does work well,...

    true. budget is spent. everything does work well, on my first proto PCB. but the next version (smaller) seemed to have introduced some noise on the data line and one of the screens sometimes has an...
  48. Replies
    9
    Views
    1,871

    i have 13 SPI device in total, one of which is an...

    i have 13 SPI device in total, one of which is an SD card, the others are these LCD buttons: http://ca-en.alliedelec.com/search/productdetail.aspx?SKU=70192511

    i wanted to see if a fast SPI bus...
  49. Replies
    9
    Views
    1,871

    i see. thanks for taking the time.

    i see. thanks for taking the time.
  50. Replies
    9
    Views
    1,871

    sd card + SPIFIFO or spi4teensy3

    hi.

    is it possible to use any of these two SPI libraries to read data of an SD card?

    i am currently using <SPI.h> and <SdFat.h> successfully on my teens 3.1.
    but i was hoping to try the...
Results 1 to 50 of 86
Page 1 of 2 1 2