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

Search:

Type: Posts; User: KrisKasprzak

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. @tonton81. can you ellaborate on "cranking" can...

    @tonton81. can you ellaborate on "cranking" can reset MCU? I have a data logger in an electric go kart and use a simple buck converter to power a Teensy 3.2 It works well, but every once in a while...
  2. Replies
    19
    Views
    729

    Welcome to the club. I too switched from Arduino...

    Welcome to the club. I too switched from Arduino to Teensy and have been wildly happy with that move
    1. better product
    2. better help from the Forum (and friendlier)

    I have found nearly 100%...
  3. PS the PCB image is my version 3.0 but the boards...

    PS the PCB image is my version 3.0 but the boards shown are a previous incarnation and don't match exactly
  4. https://www.4pcb.com/free-pcb-layout-software/?gcl...

    https://www.4pcb.com/free-pcb-layout-software/?gclid=Cj0KCQjw2IrmBRCJARIsAJZDdxAEyUDNbdrkcwcBdW2COMqUK1QScqQj6wlCqV03ElmoyRKE5A13BpwaAldREALw_wcB
  5. The software I use is PCB artist and is a free...

    The software I use is PCB artist and is a free download. I built my own libraries for displays, Teensy 3.2, buck converters, and several other components so creating new designs is simplified. In my...
  6. I'm now printing my own PCB boards and using...

    I'm now printing my own PCB boards and using sockets to mount my Teensy 3.2. Designing and printing PCB's is actually very easy to do. On medium complex projects I can generally design / etch / drill...
  7. Replies
    1
    Views
    208

    well done.

    well done.
  8. What version of Windows are you using and do you...

    What version of Windows are you using and do you have any virus checking software running?
    I have Win7 and McCafe. I can rarely upload code to my Teensy 3.2 unless I disable real-time scanning.
    ...
  9. Replies
    7
    Views
    255

    Thanks to all, We're using a Teensy 3.2....

    Thanks to all,

    We're using a Teensy 3.2. defragster--will look at that code tonight. All my time var are volatile unsigned longs . I've been looking for a direct access to the chips timer as it...
  10. Replies
    7
    Views
    255

    JWScotSat, thanks for chiming in. Our v1.0...

    JWScotSat, thanks for chiming in.

    Our v1.0 used your approach, the issue was that speed resolution based on our wheel diameter is 3.31 MPH (too low for our needs)--this is with a 1 second update...
  11. Replies
    1
    Views
    159

    very cool!

    very cool!
  12. Replies
    7
    Views
    255

    Issue with micros() in an ISR

    All,

    I have a data logger that is being used to measure wheel RPM (0 to about 500 RPM) in and electric go cart. I'm using an infrared sensor and for the most part it works very well. When the...
  13. Unfortunately i'm using every one of the 8 wires...

    Unfortunately i'm using every one of the 8 wires in CAT5 for display and a few buttons--I sure could use some more conductors.
  14. update from my data logging saga... based on...

    update from my data logging saga...

    based on tips from above (thanks randomvibe) , i'm now able to send data to my display (2.4 inch TFT) reliably. Recall my data logger is in a small electric...
  15. @linarism, Thanks for the tips. I'm having...

    @linarism,

    Thanks for the tips. I'm having severe write issues with my data logging system. I'm writing around 126 characters every second to an 8GB sandisk card. I'm using good old fashion SD.h...
  16. Regarding the displays I generally connect the...

    Regarding the displays I generally connect the backlight pin to a digital pin, that way I can turn the display on/off or even write PWM to the pin to control brightness--my favorite is to use the...
  17. Replies
    11
    Views
    387

    What speed are you compiling your code to run?...

    What speed are you compiling your code to run? I've used the SD card boards (with level shifters) and if compiled above 72 MHZ, the SD card could not be recognized. At 72 MHZ, the card reader worked...
  18. looks like i got it working ino file...

    looks like i got it working

    ino file
    Transceiver.GetTheData(&TheData, sizeof(TheData));


    .h file
    void GetTheData(const void *TheStructure, uint16_t size_);

    .cpp file
  19. All, I could really use some more complete...

    All,

    I could really use some more complete help here, a line of code may help an experienced c programmer but it's making me more confused. I'm not a c programmer and have no idea how to implement...
  20. Thanks Jarkkol, I implemented and got the code to...

    Thanks Jarkkol, I implemented and got the code to compile, but it doesn't work. I can pass in a data structure but the reported sizeof is 2 bytes. I'm told that the size of “void *” is the size of a...
  21. Help writing a library (passing in an unknown structure for serial writing)

    All,

    I've been using small UART based transcievers (E50-TTL-100) with great success. I can read / write and even program them. RadioHead library will work with and E32, but I want different...
  22. Replies
    4
    Views
    313

    I've controlled display brightness with my 2.8"...

    I've controlled display brightness with my 2.8" TFT displays, and it is that easy. Just connect a PWM capable pin from your teensy to the lite pin on the display (my displays usually say LED for the...
  23. Replies
    6
    Views
    1,107

    Yea, this tool is a total home run.

    Yea, this tool is a total home run.
  24. Replies
    5
    Views
    337

    Thanks my display is one from Amazon, and based...

    Thanks my display is one from Amazon, and based on the ILI_9341. I'm using the ILI_9341_t3 display driver and UTOUCH.h https://github.com/dgolda/UTouch/archive/master.zip

    I'll just add some...
  25. Replies
    5
    Views
    337

    I did a bit more digging and found the touch...

    I did a bit more digging and found the touch chips datasheet. Looks like IRQ pin is an output for the purpose I need--it's to trigger when a pen presses the display. Only issue is the output is not...
  26. Replies
    5
    Views
    337

    TFT displays and interrupts

    All,

    I'm using some 2.8" TFT displays with my Teensy 3.2 and can get them working with touch, buttons, SD,etc. However I have several places that i want to be able to push a button on the screen...
  27. Replies
    2
    Views
    286

    Not sure how i missed that one. Up and running...

    Not sure how i missed that one. Up and running again.

    How many beers do I now owe you?
  28. I too started out on Arduinos (using them for...

    I too started out on Arduinos (using them for data loggers mainly) but after spending dozens of hours trying to get code to fit into 32K, i abandoned them and move to Teensy. My largest project has...
  29. What PWM frequency are you driving the mosfet...

    What PWM frequency are you driving the mosfet (Arduino through U1) with 1.7kHz, how are you getting that? I see no timer divisor capable of getting that frequency. Maybe add a current limiter between...
  30. Replies
    2
    Views
    286

    Can't install Teensydiono

    I had to reinstall my Teensyduino and when I get to the "Select Folder Step" the Next button is disabled. oddly the default folder i c:\users\administrator.....

    Even if I select the arduino folder...
  31. Replies
    10
    Views
    685

    UPDATE: I got my "bad" displays to read a...

    UPDATE:

    I got my "bad" displays to read a pixel. Turned out it was a bad solder joint on one of the components on the back of the display. As a last ditch effort i heated up all resistors and caps...
  32. Replies
    10
    Views
    685

    PS i looked in the lib and withing the .cpp file...

    PS i looked in the lib and withing the .cpp file within the readRect function


    SPI.beginTransaction(SPISettings(2000000, MSBFIRST, SPI_MODE0));

    I tried making the 2000000 to as low as 50000,...
  33. Replies
    10
    Views
    685

    I can't get readRect to even work, but then again...

    I can't get readRect to even work, but then again i struggle with using pointers---see any errors in my code snippet? An image of my PCB is attached, with a small note to where MISO is. Oddly one...
  34. Replies
    10
    Views
    685

    Need some more help.... My PrintScreen() works...

    Need some more help....

    My PrintScreen() works like a champ, but only on certain displays. I have have 2 different 2.8" tft based on ILI9341 chips

    this display returns 65535 upon a call to...
  35. @randomvibe any guidance on what wires should be...

    @randomvibe any guidance on what wires should be connected to the twisted pairs? For example GND/3v3 one one twisted pair MOSI/SCK another twisted pair, etc. We're redesigning PCB boards now and want...
  36. For clarification, i'm not using RS232...

    For clarification, i'm not using RS232 communication protocol to send data to the SPI display, i'm only using that type of cable, the data sent throught the cable is SPI stuff (MOSI, DS, CS) as well...
  37. Responding to this post as much of what's been...

    Responding to this post as much of what's been discussed may be my issue as well.

    I'm coaching my high school teams electric race car and we've built a very elaborate data logger (measures...
  38. Replies
    10
    Views
    685

    Thanks all, i don't know my my doxygen did not...

    Thanks all, i don't know my my doxygen did not list those methods, but thanks for point them out. I looked in the .h and yep--there they are. I liberated some example code elsewhere and i now have a...
  39. Replies
    10
    Views
    685

    Getting pixel data with ILI9341 lib

    All,

    I'm using some 2.8" TFT displays and driving them with the ILI9341_t3 library and all works well. My project records voltages and such over time and plots the values on a graph, along with...
  40. Replies
    4
    Views
    503

    I'm having the same issues with a similar IR...

    I'm having the same issues with a similar IR sensor. I didn't know about the bounce lib and wrote my own checker in the ISR--basically if the last pulse was greater that some value it would count it...
  41. Replies
    20
    Views
    1,131

    PS since it took me 3 year of fiddling to get...

    PS since it took me 3 year of fiddling to get this working, i may actually create a YouTube vid. I can't believe how hard it was to get this simple circuit working....
  42. Replies
    20
    Views
    1,131

    Yes, i got something working. I'm still...

    Yes, i got something working.

    I'm still waiting on parts to make the circuit you supplied for a P-Channel.

    In the meantime, I created a circuit with a dedicated MOSFET driver and N-Channel...
  43. Can you do a quick test and change the PWM...

    Can you do a quick test and change the PWM frequency to say 450 or so and see if the mosfet still gets hot? I see your link to the mosfet, but how are you driving the gate? Directly from teensy, or...
  44. Rds at 150 mOhms is pretty high, but current is...

    Rds at 150 mOhms is pretty high, but current is low, so I don't think you are creating heat due to current. what frequency are you running PWM at? What mosfet driver are you using?
  45. Replies
    11
    Views
    1,433

    as far as driving an LED display i'm not sure...

    as far as driving an LED display i'm not sure what libs are out there, the ili9341_t3 lib i used has scrolling text
  46. Replies
    20
    Views
    1,131

    @JBeal, that's actually where i started off. I...

    @JBeal, that's actually where i started off. I have a CC/CV converter but there was no way to programitically control either. I need to be able to adjust either depending on conditions. Here's the...
  47. Replies
    20
    Views
    1,131

    I really dont see how to connect given "connected...

    I really dont see how to connect given "connected to the collectors of those 2 transistors and the mosfet source pin" I can see connecting across collectors but how to do that AND the mosfet source...
  48. Replies
    20
    Views
    1,131

    also my power source is an old laptop ac...

    also my power source is an old laptop ac adapter--puts out around 19 v at 4.5 amps.
  49. Replies
    20
    Views
    1,131

    I think i get it, like this?14724

    I think i get it, like this?14724
  50. Replies
    20
    Views
    1,131

    PS "You *must* have a power supply decoupling...

    PS "You *must* have a power supply decoupling capacitor" Is that just a cap between +12 and GND? but connected to the 2907 ground and the 2222 +12 right? I'll be printing circuit boards if i can get...
Results 1 to 50 of 162
Page 1 of 4 1 2 3 4