Search results

  1. KrisKasprzak

    Stockfish running on a Teensy

    Display looks great. I'm not familiar with those displays, do they even need calibrating? Just ordered one from Amazon!
  2. KrisKasprzak

    Stockfish running on a Teensy

    How are these screens in terms of viewing angle, visibility outside, and backlight if the display is dimmed? I'm using a 2.8" TFT LCD ILI9341 for a home monitor and even with the LED driven very low (night setting), the backlight leaks bad--unusable. If this display addresses the above, I...
  3. KrisKasprzak

    Stockfish running on a Teensy

    If I were smart, i'd take a photo of each move and make a vid. Next time!
  4. KrisKasprzak

    Stockfish running on a Teensy

    Could be interesting. I'll reach out privately. I pretty sure SF 19 will beat v 11.
  5. KrisKasprzak

    Stockfish running on a Teensy

    I like chess, I like Teensy. Why not run open source Stockfish on a Teensy 4.0. My project consists of a Teensy 4.0 and and a 2.8" TFT LCD with touch and open the Stockfish code. I've been wanting to do this project for a while but not enough time to figure out the port. I'm able to code all...
  6. KrisKasprzak

    Would everyone like USB-C on the Teensy 4.1?

    Here's what I would rather have 1. USB be actual pins on the board. that way I can put a usb jack directly on my PCB's and wire it to the Teensy. I need this for easier field (re)programming. Right now i have to design PCB such that the Teensy usb is near the edge so I can plug a cable through...
  7. KrisKasprzak

    2D graphics libraries recommendations

    I assume a Teensy and what display are you planning on using?
  8. KrisKasprzak

    How to get RTC from Teensy 4.0 (after power down, and the back up)

    RESOLVED: Dead teensy--at least the ability to store date/time.
  9. KrisKasprzak

    How to get RTC from Teensy 4.0 (after power down, and the back up)

    What exactly does one have to do to set/get time from a Teensy 4.0 using it's built in RTC? I cannot get a 4.0 to retain date/time. Teensy 4.0 Win 11 Arduino 2.3.10 Teensy 4.0 connected to nothing except CR2032 connected to VBAT and GND (tried GND and the other GND) CR2032 coin cell with 3.0...
  10. KrisKasprzak

    Drawing graphics with ILI9341_t3.h breaks FreqMeasure.h EDIT: Looks specific to a T4.0

    Adding serial plotter of the data, clearly there is an issue.
  11. KrisKasprzak

    Drawing graphics with ILI9341_t3.h breaks FreqMeasure.h EDIT: Looks specific to a T4.0

    All, I have a telemetry system that measures wheel rotations where the sensor generates a pulse for every revolution. When displaying the speed I'm computing rpm using the example in <FreqMeasure.h> and displaying the data along with graphics and such. Input pin is pin 22, I have several units...
  12. KrisKasprzak

    Electrical questions

    Kinda following your question. 1. Do not power the Teensy 4.x by applying 3v3 power to the 3v3 pin. While it will work, there are some internal bootup proceedures that will be skipped. Power with 3v7 to 5v5 to the Vin pin. 2. If powering via the external Vin AND you connect the USB. You could...
  13. KrisKasprzak

    Basic Teensy 4.1 GPX Logger

    Code I use after I've tested and found the RTC is not correct. There may be better (other ways) but this works for me. // check the accuracy of the RTC // if the RTC battey died, we will still get a date/time but will wrong // if so, get the GPS time (when available and update the...
  14. KrisKasprzak

    Basic Teensy 4.1 GPX Logger

    Incrementing a filename will work, but upon restart you risk writing to a file that exists. I have a similar logger, and I get the date / time from the GPS and build a filename from that. In my case it made finding the right log easier. I also have code to check if the file exist and increments...
  15. KrisKasprzak

    Power consumption?

    My USB power meter indicates 20 ma for a Teensy 3.2 (with unconnected pins ).
  16. KrisKasprzak

    My Teensy alarm clock

    post a vid?
  17. KrisKasprzak

    Would using a buck converter be suitable for my circuit?

    I think that is actually a linear regulator, at any rate the power side of the schematic looks reasonable. I power my 4.0's in the same way. My only comment is the electrolytic cap: 470 nF or do you mean 470 uF? I would recommend the a latter.
  18. KrisKasprzak

    I have a project from a while ago made with a teensy 3.2 and I wanted to know if it would be possible in the custom pcb to change it to a 4.0

    I see you are powering the 3.2 with the 3v3 pin--a common practice. The 4.0 should not be powered this way, even though it may work. It should be powered by the VIN pin (and with 3.6 to 5.5 volts). There are some other threads that explain why. I'm not familiar with your 3.2 footprint, so I...
  19. KrisKasprzak

    Time to pay back---a FlickerFree library that supports printing with RIGHT justification

    Bouncing is expected with right justified and non-proportional fonts. I mention in my repo, right justified is more for printing proportional fonts where you want to align everything to the right. What do you mean by slow? There is a delay in the code to slow update times. Your suggestions...
  20. KrisKasprzak

    Time to pay back---a FlickerFree library that supports printing with RIGHT justification

    All, You may be aware of my FlickerFree library that lets you print text to a TFT LCD and avoids annoying text flickering upon updates. Hot off the press is an updated version that now supports drawing text with RIGHT justification for both proportional or non-proportional fonts. Since this...
  21. KrisKasprzak

    Cannot read data from a pressure differential sensor (XGZP6897A)

    All, I'm trying to read data from a pressure differential sensor I2C-based. My I2C scanner sees the device, but any public library cannot read any data. I've tried using bare minimum code to read the device ID and it returns 0. Maybe it is, but I cannot ready any other register. The datasheet...
  22. KrisKasprzak

    Unsure about my PCB

    Audio is not really my area, but here's what jumped out at me 1. are you sure about the pinouts on the jacks? I thought the "ring" (shown as the rectangle) was ground. 2. I would add a 0.1 uf ceramic cap to output of the 7805 and at the power inputs for all devices, and as close to the device...
  23. KrisKasprzak

    8.82-Inch 768x768 Square TFT LCD in Flight Simulator Applications

    I was excitged to see a larger display but just throwing a link over that wall to a drawing is not useful to most of us. 1. are the libraries to drive this display? 2. is there a recommended / required communication path between Teensy and RPI? 3. Are there examples in getting this display to work?
  24. KrisKasprzak

    TeensyUserInterface update to support ST7796

    Glad you found my lib useful. One of my goals in life is to have my name on a building before I leave this world. That is not going to happen, but this is a good alternative.
  25. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    It's not real clear to me which devive initiates the coversation. In loop it "listens" but just once, then sends. I'm not sure there is ample listen time--at least that's what I see. I have a similiar system in my house where a base communicates wirelessly with sensors around the house. The...
  26. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    Agree on above, also send as little data as possible. There are some tricks you can do to trim data. For example I measure outdoor temperature, which is stored as a float which takes 4 bytes (32 bits), but I don't need 5-6 decimals of precision. I'll make a decision on how much precision and how...
  27. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    I leave mine at the default 9600, but I'm only sending 80 bytes or so every second. Some things I've found to get longest range 1) slowest air data rate possible, 2) max transmit power 3) min of 3.5db antennas EBYTE has these Where will your antennas be located?
  28. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    I use these things all the time such as my home monitoring system. EBYTE also offers a 30db unit EBYTE E220-90T30D that will give more range. Caution, you cannot power these from the onboard power regulators, you must power them from an external source.
  29. KrisKasprzak

    Just white display screen

    This may be a long shot, but a common issue causing with these LCD's causing white screens is the reset line. I see you are pulling it low in setup. Looking at how other libs handle the reset is by cycling it with some delays. ... if (_rst < 255) { pinMode(_rst, OUTPUT)...
  30. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    1. Are you only using the ESP's for communications through your network? Could the units be connected wired using Ethernet (or is wireless a requirement) 2. Or are you trying to use the ESP's just for wireless between the Teensy's, meaning if you could communicate Teensy to Teensy using a...
  31. KrisKasprzak

    Teensy remote display

    Thanks for sharing. Used this utility to make a very very very cheap oscilloscope.
  32. KrisKasprzak

    memcpy can fail on a Teensy 4.0, 100% reliable on a 3.2

    After days of debugging I’ve found my issue is not with memcpy. I initially thought it was since often the convert from a float to bytes would give 255 255 255 255. Even simple bit shifting to convert a uint165_t would give 255 255--at least that were the saved bytes to the flash chip. After...
  33. KrisKasprzak

    Help Wiring Teensy 4.1 to MCP3208 and MAX31855 for Thermocouple Logging

    I would recommend starting with getting just one device working--say the SD card. There are several YouTube vids and examples search "sd card pinout arduino" There are also good libraries with examples for SD cards Sd_fat is my go to. The add a second device, and go from there.
  34. KrisKasprzak

    memcpy can fail on a Teensy 4.0, 100% reliable on a 3.2

    I'll some more detail, but I powered down my 4.0 for a few hours and upon restarting, it seems to be working. I've noticed this, that after several hours of usage, the problem returns. This will be a pain to debug.
  35. KrisKasprzak

    memcpy can fail on a Teensy 4.0, 100% reliable on a 3.2

    All, I have a datalogger project based on a Teensy 3.2 that uses a database library to save telemetry data to a flash chip. Over they last 3 years, I've logged > 100 MB of data and have never lost a single bit. The driver can save a wide variety of data types. I've converted my project to a...
  36. KrisKasprzak

    RPM Sensor for Car

    Correction : Above I said to use pin 23 for the signal with a 4.0 but it’s pin 22.
  37. KrisKasprzak

    RPM Sensor for Car

    Here is the library. I took the examples right out of the box and implemented them in my code. https://github.com/PaulStoffregen/FreqMeasure
  38. KrisKasprzak

    RPM Sensor for Car

    I have tried a similar approach in the past with very poor success. I always ran into bounce issues, amongst many other issues. I finally found a winning solution. Maybe this will work in your case. 1) I had to get off the LED or infrared,sensors and move to a magnetic one, I can give you a...
  39. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    You need to get the latest lib. Amongst some fixes, I've added a routine to calibrate the display touch coordinates.
  40. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    Keypad lib for the Adafruit display lib has been updated fixed to run on a Teensy 4.0.
  41. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    Library fixed. I've made some internal changes as well to reduce memory consumption and speed things up. The init for the number pad includes and extra parameter. I would recommend deleted current installs of the ILI9341_t3_Keypad and getting the latest at...
  42. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    What display lib are you using? The keypad you are trying to use is for the Adafruit_ILI9341 driver. If you are using the ILI9341_t3 driver, you need to use https://github.com/KrisKasprzak/ILI9341_t3_Keypad
  43. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    I tried your .ino on a Teensy 4.0 Arduino IDE 2.3.2 Teensyduino 1.57 ILI9341_t3 that delivers with Teensyduino Add default compiler settings (600 mhz/faster) using an ILI9341 with these 3 sizes: 2.2", 2.4" and 2.8" All displays show a red background with text properly drawn Not sure what the...
  44. KrisKasprzak

    Let's talk of possible new accessory boards

    Note some of these exist, but I’m thinking Teensy branded, and with dedicated libraries. Flash chip memory board a Winbond is fine but some board we can plug into PCB or solderless ADC expansion board (8 inputs) Offer low cost 12 bit board Offer precision 16 bit board Must have tri-state...
  45. KrisKasprzak

    ILI9488_T3 Display load flicker

    post a pic of your screen? I've got a lib that draw cartesian graphs--it may help.
  46. KrisKasprzak

    Writing to Windbond chips--byte-by-byte reliable, write in sequence is unrelaible

    @h4yn0nnym0u5e and @jmarsh Full marks! I was able to leverage the code to solve this issue.
  47. KrisKasprzak

    Writing to Windbond chips--byte-by-byte reliable, write in sequence is unrelaible

    not sure why my copy/paste lost the first set of records. Here's the full record set. Address: 0, Record: 0 - 35-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255- Address: 35, Record: 1 -...
  48. KrisKasprzak

    Writing to Windbond chips--byte-by-byte reliable, write in sequence is unrelaible

    All, thanks for jumping in. A bit more detail. My chip is the W25Q64JVSSIQ I saw that part about page boundaries. however my write errors are very random. After a full erase and writing 150 records. Oddly I don't get a fail every 256-byte writes. But when it does fails seem to happen at the...
  49. KrisKasprzak

    Writing to Windbond chips--byte-by-byte reliable, write in sequence is unrelaible

    Writing to the Windbon flash chip All, I have a library to write to the Teensy approved Windbon chip and to date has been 100% reliable in writing/reading data. I'll estimate I've written some 100 mb and have not lost even 1 bit. My library writes byte-by-byte and NOT arrays or bytes in...
Back
Top