Hi
I found the mistake. Unfortunately I have used pin 8 twice in my test setup. Therefore there was a conflict.
Now I have corrected the setup and everything works fine.
Hi @mjs513
It seems that the issue is wider than expected while using Adafruit WiFiNINA.
Can you check, test to see if this is an SPI conflict / bad SPI-related design (seen with many SD cards) by using SPI1/SPI2...
Hi everyone, I recently discovered Teensy 4.0 ... Wonderful! My idea is to create an "easy-to-build" HF SDR RTX. For the moment, without many filters and particular functions... I made an SDR RX PART using Derek...
So replying to my own thread here, as it may help somebody else. In the situation I describe above, I double-clicked on my new project's .ino file to open it. I hit the Checkmark icon to build it, and it failed as...
Dear All,
i'am searching for a email client library to realize the following specifications:
- Connection to a IMAP Server
- Mailbox Change notification
- Receiving and sending mails.
- Deleting...
______________________________________________________________________________________________________________
OMG!! LEGEND!!
I don't know how to thank you. I found the Arduino.app and the Next button just lit up...
Thanks for taking the time to answer.
Yes I will try that, don't know why I overlooked it when reading it the first time. I'll report the results here.
Technically I have access to the schematics but I can't...
I've got a dumb question about using teensy libraries. I'm a fairly experienced embedded developer, but new to Arduinio and Teensy. My project is to use a Teensy 4.1 to receive some low bandwidth incoming UDP/IP data...
From the linked threads, this one is something you can try in software: https://forum.pjrc.com/threads/69717-High-gain-audio-amp-picks-up-noise-from-analogRead?p=303208&viewfull=1#post303208
You could read 1 of 5...
Understood but I just tried using a Adafruit M0 datalogger with the WiFiNINA library and while it connected and show some life it did not show the graph or even try to update - basically just hung:
Did try and get...
Yes.
For a quick intro, check out the audio tutorial.
https://www.pjrc.com/store/audio_tutorial_kit.html
Turn to page 24 for the part about using FFT. Maybe first read pages 8-11 for background intro to the...
The Documents/Arduino folder is where the programs you write get saved.
This installer wants you to tell it the location of the Arduino software you downloaded (from Arduino's website). Normally browsers on MacOS...
Greetings, and thanks for the wonderfull teensies !
I have an issue on a product I'm developping.
My project is an audio effect with 1 input and two outputs using a teensy 4.0 and the sgtl5000.
The user has...
Hi Folks,
Like the title says - I am new to the coding thing. I have a Mac on high sierra and I am trying to install Arduino and Teensy. Getting a little frustrated as I cannot get Teensy to find the Arduino folder....
Thanks for working this through guys.
I had the same problem on my very first Teensy project and stripped the code way back to find out this is expected behaviour. It totally makes sense, but to be honest it did...
Ok guys, I have good news.
After a lot of trials, and errors in MIDIOX, I have finally managed to get it to work :D
I had previously tried to split the message but it iddn't work because it was sent too quickly.
So...
Hi,
I am looking for fast fourier transform on streaming audio input (analog). Can the audio shield do this and do I need to wire in an input to specific pads?
Thanks,
@mjs513,
It seems that there is some severe issue when using T4.1 + Featherwing + even Adafruit WiFiNINA; now you have to check if we still have the same issue with any other board you have (SAMD, nRF52, RP2040,...
Here's a version that is designed for QNEthernet. I took out the #ifdefs for readability and added a few notes. (Hopefully I didn't make any mistakes.) There's a few other ways to do things here, this is just one way.
...
Glad you got it working.
Following up, quoting myself
Got this idea to work. mentioning as the strategy may be worth looking at to slow large amounts of sysex for older synths.
@mjs513, @khoih-prog - Got everything setup in WiFiNINA_Generic as per p#147. Had the same result as Mike did. Connects but hangs waiting for the welcome message. We ran into this before and I will have to look back and...
And @wwatson
First I had to modify the advanced webserver sketch to work with the adafruit WiFiNINA library:
in the serial monitor after connection I see:
Starting AdvancedWebServer on TEENSY 4.1/4.0 with...
SysEx Dump works now. See short video.
It was a bit more complicated than I thought. First, conversion routines had to be developed for all 212 parameter values in the Jeannie, which convert 8/16-bit integer values...
Just got home and have about an hour to setup and test. Will let you know how it turns out. Thanks for the info. Testing with the WiFiWebServer makes sense to isolate any hardware issues...
Well the data are in. I tested my Teensy in another circuit with different program...and it works fine.
So...when I blew up Teensy #1, it took out some chips downstream. Thankfully I put all my chips in sockets so...
Found this one link: electronics.stackexchange.com/questions/152075/inkjet-cartridge-control
And: instructables.com/Make-a-Handheld-InkJet-Printer-Print-on-ANY-Surfac/
I've some simple tests here and :
1. WiFiNINA and WiFiNINA_Generic are working OK with Nano_33_IoT and Nano_RP2040_Connect (using arduino-pico core) running WiFiWebServer. Using mbed_rp2040 core =>...
Had some time so first thing I wanted to check was WiFiNINA_Generic:
1. Running WifiWebServer - does not work can make a connection to the T4.1/Airlift
2. Running the WebClient sketch succeeds:
Starting connection...
I am looking for any info, links for Printer Cartridges that detail how to make/control them. I recall, several years ago, a few kits that let you control various brands, Epson, HP, etc... but I can not find the kits...
Most of the examples used here from the host thread where it developed had a line in the code to edit.
Run the first time with a command to go into pairing mode, then rebuild with that turned off after the device is...
I am thinking of using this display for a project, but the page for the displays does not show a dimensional drawing for the 3.2" version, just the 2.8".
Hello. I have a BT dongle. I've been looking throughout the forum and the many USBHost_t36 samples for the code that will allow the BT dongle to get in pairing mode. One of the samples, Digitizer, allowed me to verify...
HI @mjs513
That's good news. As I suspect, the xfer bug affects 2-ways in WiFiNINA. We already fixed just 1-way, now still have to find out and fix the other way.
Sorry, have no time now. Can you use...
Made the suggested change but also had to copy over the retry function and while I was at it I did copy over the setRetry function as well.
Two tests were run. Transferring from the PC to T4.1 and then from the...
Gave this a try with your Generic library that I downloaded this morning. Made the changes to WiFiNINA_Pinout_Generic.h and client says again about waiting for response from server.
Maybe @wwatson will have...
24Mhz. Ouch! We gotta figure how to sidestep that. Neither Jeannie or my project will like it.
Busy with home renovations, rain is coming, have a couple of ideas.
Thinking of post 39, let's say we have a block of...
It's very difficult to predict. 5V tolerant chips like MK20 on Teensy 3.2 have more complex ESD protection than just simple diodes. NXP and other companies almost never share the design of those circuits. But as a...
Annotation:
The normal processor clock of the Teensy4.1 CPU is 600MHz. I reduced the clock setting for the processor in Arduino to 24Mhz. Transmission errors no longer occur.
The transfer rate on the USB...
HI @wwatson,
You can also help test using WiFiNINA_Generic with Featherwing, just by modifying file WiFiNINA_Pinout_Generic.h, line #368-381
to
#if defined(__IMXRT1062__)
// For Teensy 4.x
...
Following on, 2048 bytes Sysex block size does seem to be the limit but I suspect this limit is imposed by the MS generic usbMidi driver.
Perhaps borrow from Midiox the concept of Sysex Continue and say you want to...
Hi @wwatson
Thanks for the code. It'll take some time later to merge the Adafruit WiFiNINA to WiFiNINA_Generic library, as I currently don't have the Featherwing to test.
To test the new mod, which fixes the file...
Below are my versions of FTP_Server_Teensy41 and WiFiNINA. This was tested with a T4.1 and the Adafruit ESP32 Airlift Featherwing. With my hack to 'DoStore()' I am able upload large and small files to the T4.1. I know...
Commented out line 364 C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\usb.c as you suggest and no longer have truncated sysex. Thank you for finding it Rolf.
Is not necessary to include Sysex status...
I only put the 12 volts on D15, nothing else. Had I put it on Vin...I would have blown everything on the board...all TTL 5 volt devices. The only way I think of ensuring my spare Teensy is working is by using it in...
Write a test code to test your electronics. We don't know how the 12V may have damaged everything else. The very least, find a way for 12V to not be accidentally wired to a Teensy pin. This could involve optimizing your...
Arrrggghh! Thanks defragster. I was hoping it would be the opposite. I'll start checking downstream of the logic chips. Better pull out the schematic.
Two photos: pcb layout and board with Teensy at upper left.
Hi @wwatson
Could you please post the code or make a PR to add WiFiNINA support to FTP_Server_Teensy41, so that we can save duplication and time.
I'll try to have a look to see if there is any more bug when...
I don't see any problem with long sysex messages. Like the MIDI Sample Dump Standard you can send samples.
I've found this :
I think your real problem is the 'generic USB to Midi cable' at it uses Microsoft class...
I wanted to be sure, so I've checked the official Yamaha documentation. See page 37 here :
http://synthmanuals.com/manuals/yamaha/tx7/owners_manual/tx7e1.pdf
I posted your DX7 problem in Sequencer Forum. Look at here: https://www.sequencer.de/synthesizer/threads/yamaha-dx7iid-midi-dump.102499/
Greetings Rolf
Found this on Arduino boards: rugged-circuits.com/10-ways-to-destroy-an-arduino/
perhaps this or other things apply - given 'some signs' of catastrophe in the package seems all safety margins and components violated:
Yes. Your SysEx data block is too large. With MIDI-OX a maximum of only 2048 bytes per SysEx block can be received.
Such a large block of data is not normal. All synthesizers I know send a block of less than 500 bytes...
Since most of the questions here are quite intelligent, let me ask a stupid one.
I've been working with electronics for ...50 years at least, yet still managed to blow up a Teensy by applying 12 volts to a digital...
Hi,
I am testing it with my app in Python.
But I can see lot of noise:
If I have connected signal generator, I have no problem with noise and no problem witth all range of frequencies from 0-15000Hz:
Hi Rolf,
It's a dump of a DX7 bank with 32 patches inside. So the file actually already has only one F0, then 4102 bytes, then one F7 at the end.
In MIDIOX, I see that the usbmidi lib truncates this 4104 buffer in 266...
@wwatson - @KurtE - @defragster
Decided to have a little fun with MTP/MSC/USBHost so I picked up a M.2 SATA 500GB card and used a M.2 SSD adapter to USB:...
I wrote a small Arduino sketch and tested it on a Teensy 4.1 board.
Transmission errors occur with unchanged usb.c file. With the change to usb.c file, there is no transmission error.
The waiting time after...
Thanks for the reply.
I found the USB library (https://github.com/PaulStoffregen/cores/blob/master/teensy4/usb_mouse.h#L46). I assume usb_mouse_move(int8_t x, int8_t y, int8_t wheel, int8_t horiz) is the function...
On my side I managed to get it "working" with 4 channels, but I'm getting some crackling which I haven't figured out yet.
So if anyone more experienced would like to spend one hour debugging with me, that would be...
Great thanks Jay!
On my side I managed to get it "working" with 4 channels, but I'm getting some crackling which I haven't figured out yet.
So if anyone more experienced would like to spend one hour debugging with...
Thank you very much for your help, you wont believe what happened... i was such in a hurry when i connected the pins that i actually used 5v instead of ground and reversed positive with negative so instead of it going...
Note: Not sure if the one time that I thought the files was preserved was a fluke or not.
As I mentioned up on other thread, finally have version of teensy_loader_cli I can build with VisualStudio 2022, so now easier...
Hi @mjs513
I suggest you first try using another known-working FTP Server, such as VSFTP, ftpd, or FTP_Server_Teensy41 to be sure your Adafruit Featherwing board is working OK (hardware, nina-fw, etc). Then moving on...
I just emailed thesycon to put this project on their radar and ask for their contribution. If anyone has the knowledge to finally put the nail in this Wishlist item they definitely have it. They've written a...
It's ok and it works? :)
The next time I lay out this chip I'll be sure to read all of the PJRC page on this https://www.pjrc.com/store/ic_mkl02_t4.html. Scroll down and you'll find a great strategy for getting better...
@khoih-prog and @wwatson
Sorry been away from this for a while been distracted as I mentioned before but been following whats going on. Its great that you found the bug !!!!
Anyway, I just downloaded the updated...
Amazing job!
Thank you for these files as a starting point, can't wait to make my own design.
For the BGA I would've tried a heat gun soldering station... thanks for the tip with the hot plate, never seen these for...
This is my code to send SysEx to usbMIDI()
In the SysEx dump menu from my synthesizer I query a key and set the sendSyssExflag.
If the flag was true then send sysex dump. I always send a block of 348 bytes.
Then I...
Ah geez, you're right. I made those changes and now it's working. I didn't even need to mess with the sample rate with setI2SFreq() or anything. I tried with the sine wave sketch and my more complicated project and no...
Did you change the usb.c in your Arduino Library as I suggested ?
After that it is important that your project has to be completely recompiled (restart Arduino IDE).
File Path: C:\Program Files...
Hello,
I have a art project that involves PID control of a process (many actually, up to 25), that has to run at least at around 20Hz to have the required performance and stability margins.
I'm using a Teensy 3.2...
The fourth line in the screenshot of MIOS Studio in post#1 shows f0 only.
Sketch in post#23 ran on bare T4.1 usbType MIDI, Win10, IDE 1.8.19 TD 1.56, produced this:-
Note the second block, finishes with F0 and...
Hi all,
I've now published my Kicad schematic and board files for making a custom T4.1 on https://github.com/jenschr/Teensy-4.1-example
This file has a known bug in that it turns the USB switch for the USB host...
Many questions. Here's quick answers and some comments about phototransistors in general...
On Teensy, you use the Tools > USB Type menu in Arduino rather than "Mouse.h". It is detected by Windows, Mac and Linux as...
@Srx Shouldn't be hard if you have a hot-plate. Does not need to be big either. I used the MiniWare MHP30 (https://www.youtube.com/watch?v=JKlTd1B6Au8). It's tiny, but perfect for doing stuff like this & reflowing IC's....