Latest activity

  • PaulS
    PaulS replied to the thread MODBUS TCP.
    That's interesting, you are writing value 1000 to AOx but you are reading back value 2000 from AOx. You may want to try the other use of the modbusTCPClient.holdingRegisterWrite() command. Instead of boolean writeSuccess =...
  • sbfreddie
    How about this compressed file of just the Main.cpp, I am sure you can figure out the rest. About the IDE, I also have used many different IDE systems over the past 5 decades, and you are correct many of them had steep learning curves. I have...
  • h4yn0nnym0u5e
    I can understand and sympathise with your opinion, but it remains the fact that a lot of users use nothing but the Arduino IDE, and on this forum it is the canonical way of supplying a concise example of code that reproduces an issue. Often the...
  • M
    mborgerson replied to the thread Teensy 4.1 serial USB crash.
    OK,, since the OP specified 300 LEDs, it seems that each update is going to take about 9 milliseconds. Since the show() function starts with while (update_in_progress) ; If you have multiple frames of data, after the first call, each...
  • M
    MarkT replied to the thread Designing an Inverse Notch Filter?.
    A biquad with setBandPass is clearly the way to go... Very high Q may cause stability issues though, but you should be able to get higher than 5...
  • M
    Start with one. The DRV8833 datasheets how to use it in fast-decay and slow-decay modes. There are encoder libraries for standard quadrature AB and ABZ encoders.
  • A
    The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
  • S
    shawn replied to the thread Teensy 4.1 serial USB crash.
    In WS2811-and-Octo-land, the strip is likely to operate at 800kHz, 1.25us per bit. There are 24 bits per pixel and maybe 300us between frames. This means that for N pixels in the longest strip, each frame is about N*24*1.25 + 300 microseconds...
  • S
    shawn replied to the thread EtherCat on Teensy 4.1?.
    According to this Wikipedia page, EtherCAT has an EtherType of 0x88A4. You could at least monitor the traffic if you wanted some visibility.
  • sbfreddie
    @h4yn0nnym0u5e: I created a bare bones project to try using your Audio system to play from QSPI Flash Memory using LittleFS, and it does not work. My code tells me that it is playing, but nothing is coming out of the audio system which is...
  • M
    Hi! I'm a beginner with Teensy audio, and I want to design an inverse notch filter to amplify resonances over white/pink noise, similar to the one in the screenshot below. So far, I have tried using the filter object from the Audio Design...
    • Screenshot 2024-03-28 at 13.46.18.png
  • M
    mborgerson replied to the thread Teensy 4.1 serial USB crash.
    I'm not familiar with the Octo-Leds, but I have done a lot of high-speed comms between PC and Teensy. In one of your earlier posts you noted that the problems disappeared if you commented out leds.show(). For me, that immediately raised the...
  • B
    blazini36 replied to the thread EtherCat on Teensy 4.1?.
    Unfortunately I don't know enough about anything code related to say but I think an ethercat slave device will probably never work in software. I didn't really know the details when I posted this but I just started working on a PCB design using...
  • S
    I am attempting to wire and code 3 drv8833 motor drivers to a Teensy 4.1 preferably with encoders on each motor. Any guidance would be appreciated.
  • C
    Thanks, Joe. Problem solved. It was a dumb logical error on my part. In fact when I correct this, and assign both conversion results to e.g. value1, I can increase the sampling rate to 1MHz with no errors.
  • J
    (flipflop++ % 1) should be (flipflop++ % 2)
  • P
    paniclemur replied to the thread Teensy 4.1 serial USB crash.
    Was wondering if anyone had any thoughts on the above? I've managed to improve the situation a bit in terms of only calling led.show() after a third of the LEDs have been updated, but it still hangs roughly every hour. I can also provide a Python...
  • M
    Thanks!
  • W
    usb.c ?
  • M
    Quick update: I managed to run it on Teensy 3.0 using IDE 1.8.15 with Serial USB Type. I copied the read_cmd & write_cmd function into wiring.h file and create the request & requestType cases on usb_dev.c file on cores/teensy3 folder. Now I...
    • usb_dev.png
  • mjs513
    Not having much luck on win11 pc. Every time I download. Funny though while I still get the trust issue from MS norton reports hello3 as safe.
    • 1711626918423.png
  • mjs513
    This latest one appears to work... Got the two messages that Defragter mentioned and then: And ran from terminal window and it worked
  • KurtE
    This latest one appears to work... Got the two messages that Defragter mentioned and then: And ran from terminal window and it worked
    • 1711626273508.png
  • BriComp
    As @defragster reported and BitDefender still complains vociferously!.
    • z.png
    • z1.png
  • P
    The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
  • L
    Lavanya rajan replied to the thread MODBUS TCP.
    Hello again, I'm encountering an issue with another device from the same series. This particular device features analog input and output, each with four channels. The analog output is of the Read/Write type, operating with a function code of 03...
    • 1711621524174.png
  • M
    Yes, I was given an old copy of the whole Arduino 1.0.5 folder & Teensy 3.0 device and was given a task to make it work on Teensy 4.0. Don't worry, backup is safe on cloud and I also only made changes on files in Arduino 1.8.15 folder which I...
  • D
    d10 reacted to joepasquariello's post in the thread DAC80501 Help with Like Like.
    There may be other issues, but your spi_Write function is calling SPI.transfer(data_byte), which sends one byte, but data_byte is type uint16_t, which is two bytes. You at least need to send both bytes of the data value. You might want to rename...
  • D
    d10 reacted to houtson's post in the thread DAC80501 Help with Like Like.
    Hi, I was just typing what @joepasquariello said.. A couple of other points you might want to look at: - have you got the right SPI_MODE? The data sheet says it clocks the data on falling edge (SPI_MODE 1 or SPI_MODE2?) - in loop you're...
  • C
    I'm using the adc .h library in an application requiring high speed 12 bit a/d conversion by interleaving the two A/Ds on a T4 or T4.1 running at 600MHz. The interrupt service is called every 2 microseconds by the timer in the Timer.lib. The bug...
  • defragster
    The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
  • T
    The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
  • G
    The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
    • AfricanLights.jpg
    • FlashingTilefish.jpeg
    • OnTheOperatingTable.jpeg
    • UnderTheHood.jpeg
  • M
    After thinking about your goal--collecting RMS voltage data, I decided to try a software aproach that relies on a single ADC channels collecting data at 50KSamples/second. Other than the ADC channel (using timer-controlled ADC collection), and...
  • defragster
    Hopefully it is CERT trust that will build with more exposure as it is NEW - even though PJRC NAME is common from prior. Still needed Double Keep - with EXE name change it will still be inclined to show this as 'not commonly downloaded': Until...
    • 1711584820131.png
    • 1711584837006.png
    • 1711584905155.png
  • PaulStoffregen
    How about this? https://www.pjrc.com/tmp/hello4.exe Maybe with more of these downloaded enough times, SmartScreen will take notice?
  • S
    shawn replied to the thread EtherCat on Teensy 4.1?.
    I’m not sure if it helps, but the QNEthernet library can do raw Ethernet frames. I’m also making a small update so that the library can be built without any IP support (IPv4, etc., and any protocols built on top), should you not want those...
  • defragster
    Does right click properties show it as BLOCKED - - not seen that here but downloads can get marked that way too and require flipping that switch to allow it to run.
  • N
    Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows PS C:\Users\chris\Downloads> .\hello3.exe Hello Defragster So it runs fine...
  • houtson
    houtson replied to the thread DAC80501 Help.
    Hi, I was just typing what @joepasquariello said.. A couple of other points you might want to look at: - have you got the right SPI_MODE? The data sheet says it clocks the data on falling edge (SPI_MODE 1 or SPI_MODE2?) - in loop you're...
  • J
    joepasquariello replied to the thread DAC80501 Help.
    There may be other issues, but your spi_Write function is calling SPI.transfer(data_byte), which sends one byte, but data_byte is type uint16_t, which is two bytes. You at least need to send both bytes of the data value. You might want to rename...
  • D
    Hello. I have been trying to get this DAC80502-01 evaluation Board to output a signal other than zero. https://www.digikey.co.uk/en/products/detail/texas-instruments/DAC80502-01EVM/22188397 In the the 8051 datasheet, it states that the CS pin...
    • SDS00001.png
    • SDS00003.png
    • SDS00005.png
  • H
    HansBenze replied to the thread Suggested ADC component.
    There's this library https://github.com/RobTillaart/MCP_ADC for the MCP3208
  • PaulS
    PaulS replied to the thread EtherCat on Teensy 4.1?.
    Getting the hardware integrated on your board is probably the easy part, the coding is the part that is harder to accomplish. You still may want purchase the shield as a reference for the person is doing the actual coding... Paul
  • L
    Best thing you can do while you wait for replacement hardware is extensively test your application running on the damaged board. If it runs successfully for the rest of this week, perhaps that will be good enough to meet your deadline next week.
  • PaulStoffregen
    Best thing you can do while you wait for replacement hardware is extensively test your application running on the damaged board. If it runs successfully for the rest of this week, perhaps that will be good enough to meet your deadline next week.
  • L
    Thanks a lot for the guidance and solving my queries at the earliest, I have made the order will see if it will arrive by the time.
  • PaulStoffregen
    Maybe. There is no 100% certain answer. The power quality will be lower, but I can not predict whether the lower quality will manifest as problems in your application. You should begin testing to answer this question for yourself, specific to...
  • L
    I am using a SD card for data logging will the noise caused due to absence of C21 decoupling capacitor cause problem to the SD card or any serial, I2c protocol Or pwm signal. As I am using these. I am also using a analog voltage sensor but I can...
  • B
    blazini36 replied to the thread EtherCat on Teensy 4.1?.
    Yeah, I've been digging into it since yesterday and EtherCAT works a bit differently than I thought it did. The master can run on a standard ethernet port with just some software. The slaves need an EtherCAT Slave Controller or ESC. The ESC has...
Back
Top