As for priority hard to say... It may not be fully related to this hub... But simply order of what things stings startup in what order
I will try to take a look on why when it Starts in certain order it ends up...
Give the code below a try. In addition to the "output_width_pct", there is a new "output_delay_pct". You're right that C2V defines the rising edge time, and in this update it is modified on line #54 of the sketch. That...
Nope, not yet. It's been sitting on my desk, still inside the original box.
We're just today catching up to backlog of Teensy 4.0 orders (mostly for distributors) but I have a huge pile of stuff on my workbench. ...
Gave the driver a try and works as expected since it worked before to get report 8 data - but I can;t find anywhere it sends a request for that particular report? This is a sample output from the driver
...
Paul,
I am not sure if you had a chance to play with this HUB yet?
But I am getting a good HANG with this one. It depends on order of when devices are added.
Trying to debug Logictech G Pro Mouse with...
Hi,
I'm observing a curious behaviour of the watchdog on a Teensy 3.5.
To demonstrate this I connected pin 0 and pin 1 (RX1, TX1) and used the following sketch:
#define RFrec Serial1
#define WDT0_8S 8000
uint32_t...
@joe, I have one more (new) request -- we'd like to be able to adjust the starting time of the response pulse. Right now, the response pulse is set to begin shortly after the rising edge of the source pulse. How can...
I updated my Teensyduino and downloaded MTP, however under tools I don't have the option to select Serial + MTP, only the two separately. Am i missing something?
Another thing to try - rather than checking all 5 encoders in one call to pollEncoders() every 5 ms try cycling around each of them, 1 every millisecond.
Hmmm ... I don't have any experience of PlatformIO, I've been working using Windows and the Arduino IDE to ensure things work for the majority audience. I assume...
You should only need to replace AudioStream.cpp and...
Hello. I'm a complete newbie when it comes to Arduino and Teensy and would very much appreciate some assistance on a project I'm trying to do.
This is the video of what I'm following and trying to accomplish. ...
I'm new to teensy and Microcontrollers. I wanted to ask if someone would be kind enough to walk me through connecting 2 cc1101 modules to my teensy 4.1? Thanks In Advance.
I felt this way about 0.65mm pitch back in 2018 (when most of the Teensy 4.0 design work was done), when NXP was not yet offering the IMXRT parts in 0.8mm pitch.
As you can see from Teensy 4.0, if you only need to...
Yeah, I've seen the CAN analyzer program crash as well with too much CAN activity. The program can keep up though when you apply frame-ID filtering.
Another option is to use the Teensy as a CAN bus monitor. Here is the...
Not sure, wonder what driver are you using?
Saw this page: https://support.huion.com/en/support/discussions/topics/44001010998
Which shows you can use the digimend driver...
Or you can use theirs which is...
@KurtE
Just as a followup here is a Wireshark dump from RPI4. Pretty much does the same thing as windows. Maybe you can make heads or tails of whats its doing.
hi @h4yn0nnym0u5e
I'm trying to use your dynamic audio library but at the moment there's no sound at all,
I'm using VsCode with platformIO,
replaced the core in .platformio/packages/framework-arduinoteensy
replaced...
// Wire Master Reader
// by Nicholas Zambetti <http://www.zambetti.com>
// Demonstrates use of the Wire library
// Reads data from an I2C/TWI slave device
// Refer to the "Wire Slave Sender" example for use with...
Those are the 0.65mm pitch version, it would complicate and make the PCB and assembly much more expensive. In BGA I only work with the smallest pitch 0.8mm.
If you look at Mouser stocks, you will see 32bit processors...
That's pretty far outside the scope of PJRC and I doubt that anyone could help here.
However, I did see that this version of the IMXRT1062 is available (11 in stock, ~1,400 expected in September):...
I finally got around to trying the NCV1124. I moved from a breadboard to a prototype board. I'm getting sporadic results.
I've wired up the 1124 with 5v to vcc pin 8, gnd to pin 4, stepper to pin 2 (in1), pin 7...
@KurtE
I couldn't tell from Linux if a command was set to change the report - I was looking for that in input-wacom and Wireshark but didn't see anything specific. This is the closest thing that I could see:
I...
An update. Checked out the DRO read head outputs and they appear to be standard 5V TTL levels. This is good, since I can use the spare pins on my 74LVC245 level translator. I am already using three of the pins for...
yes, noted! i usually make sure my fork is synced before i do any changes, but sleepless nights and kids don't help... and i was excited to have the intuos4 working :)
I just connected the analyzer to my car to see which data is transmitted and try to interact sending the command and check if there is an answer and which one, but I was not lucky. Too much data on the bus so program...
@DrM: To be honest, I didn't keep looking into this any further. With the examples I found in the wiki, I've managed to start piecing something together that looks promising.
Is the RAW HID approach the right/best...
Sorry sort of sidetracked with keyboard/mouse USB Hub issue.
@mjs513 - Wonder if Linux is sending out a request for the different report ID?
@All - Also, Github is fun ;) :D
Note with Github and working...
Due to the supply problem getting a 3.2, I've moved on to a teensy 4 with a SPI connected DAC (MAX5443). Right now I'm struggling to get it to convert a 440hz sine wave. On the scope it looks like garbage. I'd like...
Not sure if there is anything wrong or not with your setup. Several of us played with these a year or two ago and there is some interesting information on them in a few different threads.
like: ...
Hi all.
Just to inform all of you that I've found the 3 Teensy 3.1 needed for my HAM-radio project, and to say a big THANKS to Michael Meissner, who sold the 3 boards to me at the cost he had payed at the time he...
That's great. By using a time-slice long enough that thread swaps occur only via thread.yield() and thread.delay(), you are avoiding preemption and using TeensyThreads as a cooperative RTOS. That means you don't have to...
Have you tried removing the LCD update calls and "flying blind" to see if the problems go away? Looking at the library, it seems it's a pretty time-consuming job to update it, which would at least affect the MIDI...
@wpunkts That looks like it is coming from the call to hid.enumerate(). Rejecting a keyword is a little surprising. Perhaps you are using a different python library for the hid? Or, perhaps the api changed since my...
See here https://github.com/luni64/EncoderTool/tree/master/Resources/Extras for a few multiplexing examples using the EncoderTool. Corresponding code is in the examples folder
I think that should be fine, but the best way would be to test it, which should be very easy. Wire one pin to another pin, set the first as an output so it can send a pulse, and then attach interrupts onto the receiver...
I was using 5 ticks (5 ms) for the main thread and the comm thread. For the led blink thread I was using just one tick.
I wasn't aware that the SPI and I2C communication was non-reentrant, so my reasoning for those...
Thanks! At the risk of going off topic, I will need to support 4 encoders and their push switches. Does anyone have a clever scheme to conserve Teensy pins? I’m using an analog multiplexer for my non-encoder knobs.
In an – so far unsuccessful – attempt to get RAWHID communication between Teensy and Python working, I came across this post and your code example. As I have very little experience with Python, I am hoping to find...
@defragster mentioned the breadcrumbs in version 1.57 - they are super useful to use along with crash report.
I sprinkle the breadcrumbs in areas that I'm interested, typically on entry to key functions e.g.
void...
Mark, Thanks for your reply! I understand that making the teensy multitask can produce these kinds of effects. Unfortunately I can't add any more PCB's/get a new board due to deadlines for my project (it's for uni). I'm...
I also have another idea using PTC Heating Element - 5V up to 40°C and try to keep the thing within acceptable temperature range from the inside. Did any of you ever used one? 🤔 Thanks
Suggest: Unplug the Teensy and having Teensy Loader open and In the IDE do a Verify build. In the Teensy Loader open Help / Verbose info to see log of the USB messages it processes. In Verbose select the Log menu item...
Hi Paul,
I've been a longtime visitor to the Teensy forum pages when I needed help or inspiration to build up my VoiceBot project. VoiceBot is an easy-to-use and somewhat cheeky fluency-builder for second language...
There are SPI versions of the radio but I have not used any of them. There are drivers out there for the SPI devices, you would have to search for them.
The advantage of the UART based devices is that it makes them...
@defragster - thanks for your comments. You are correct, the button press also did not work. The USB cable is good to transfer the previous versions of the codes - it is unlikely an issue. I would assume this is...
You can give this https://github.com/luni64/EncoderTool a try. It should be able to read your encoders. You can use both strategies (interrupt or polled) with the lib. I prefer the polled approach.
Hello, I am working on correctly wiring an OV7670 without FIFO RAM camera sensor to a teensy 4.0. My goal is to stream the images via USB to my computer (similar to this example). I haven't found a wiring diagram...
Hi!
I’m testing the encoder library using pins 23 and 21 on my Teensy LC. It responds but most of the time it interprets clockwise and counterclockwise rotation as a positive increment. As I read in a thread here, I...
@b0lero:
Although we haven't executed a balloon launch for several years, the North Texas Balloon Project (NTBP) team previously launched at least one amateur radio experimental balloon per year. For all flight...
Thanks for the responses, and for the offer Paul.
Would it be possible to use the RT1064 as a replacement for the RT1062? I guess it will be more compatible than the RT1052.
I already read this thread in which...
Here is a hacked-up sketch I was trying out this afternoon.
It forwards both mouse and keyboard to host... DId not process buttons on mouse yet, but...
T_4.1 is spec'd at 5.5V input voltage. Has that been considered and allowed for with whatever is chosen?
https://ee-paper.com/18650-li-ion-battery-benefits-and-operating-temperature-range/
charging temperature:...
Hi all, 👋 will get straight to my issue. I am trying to choose the correct type of batteries to power up Teensy 4.1 + GY91 + uBlox GPS + LoRa RF Module + 3x Micro Geared Servos + 2 Micro Geared Steppers (via DRV8833)....
Yes, it takes two of the same unit, with one on each end. The communication uses proprietary protocols and signaling and data protections.
The post #6 link to AdaFruit device gave that and other informative details...
Sorry, the keyboard forward sketch/passthrough sketch are the same just different wording (for me at least).
The keyboard foreward sketch listens on attachRawPress and attachRawRelease, not just onpress as the mouse...
Excellent and comprehensive writeup. OMG thank you so very kindly. This definitely set me in the right direction and then some. just wish the 1076 was around to take advantage of the duel core Architecture.
So the...
After many hours of searching and trying, I think I've found the solution to my problem. You have to subtract 2000 from Year.
Also: canMsg1.data = (now.year() - 2000);
I use platformIO and had the same problem - you need to tell the compiler to compile with debug info - this is default on the Arduino IDE but not with platformIO.
I included the -g option in the .platformio.ini...
Thanks for the info on the changes to EEPROM.h
To be clear - arduino.h is/was included in this project already (unless it needs to be re-included for some reason).
including WString.h fixed the compile...
AFAIK: That post suggests there are unique and a few DMA channels of different types for different purposes.
Again, AFAIK in some fashion: When it comes to running together any DMA will need unique BUS access at the...
Just an quick update. I currently have 3 different Teensy 3.5 running my full application (with huge slice times for each thread and the threads stack placed on the main thread's stack). No crashes or reboots yet! :)
@rsoric:
I don't know if what you are experiencing originates from the same underlying cause, but in the latest version of my TeensyMIDIPolySynth (T4.1), I am also using a touch display using the RA8875 controller. ...
The mouse controller sketch actually has two Keyboard controller objects in it.
One that is claimed by the Wireless adapter.
Edit: Sorry, I am unclear on how the keyboard forward sketch has to do with the keyboard...
As it says in the error message, you have to select a different USB type for the Teensy.
Select the Tools drop down menu
Select the USB Type sub-menu
Within the USB Type sub-menu, select either 'MTP Disk...
You can get the E220 library here.
It is a modification of the excellent library written by Kris Kasprzak, modified for the E220.
So far no one other than myself has used this library. Welcome to the guinea pig club.
WOW BriComp thank you for the time and effort. This should get me pointed in the right direction for sure. I have a friend helping me with is who is more coding efficient then i am. I am more of a hardware guy and do...